joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54653c
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x546664
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00546428
mov eax, dword [esi]
call fcn.00409604
add eax, 0x28
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x418e20]
call fcn.004097b8
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.004047c8
mov ebx, 0x1c
mov eax, dword [ebp - 4]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.004047c8
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00409604
mov dword [ebp - 0xc], eax
mov eax, dword [0x601310]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 4]
mov ecx, ebx
call fcn.00535c0c
add ebx, 4
mov eax, dword [ebp - 4]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00405084
add ebx, 3
mov eax, dword [ebp - 4]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.00409604
push eax
lea ecx, [ebp - 4]
mov eax, dword [esi]
xor edx, edx
call fcn.00535be8
mov edx, dword [ebp - 4]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov ebx, eax
mov eax, ebx
call fcn.005359a0
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.00535c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54666b
lea eax, [ebp - 4]
mov edx, dword [0x418e20]
call fcn.004098dc
ret

Function at 0x5702a0
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
mov edx, 0x10
call fcn.00408544
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5702c5
sub eax, 4
mov eax, dword [eax]
mov dword [esp], eax
push esp
mov eax, dword [ebx]
call fcn.004083b0
push eax
call sub.KERNEL32.DLL_GetComputerNameW
test eax, eax
je 0x5702e4
mov eax, ebx
mov edx, dword [esp]
call fcn.00408544
pop ecx
pop edx
pop ebx
ret
Function at 0x5a6b1c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec edx
test edx, edx
jl 0x5a6bc1
inc edx
mov dword [ebp - 0x10], edx
mov edx, dword [eax]
and edx, 0xffff
or edx, 2
mov dword [ebp - 0xc], edx
movzx edx, byte [esi]
mov ebx, dword [ebp - 0xc]
xor ebx, 1
imul ebx, dword [ebp - 0xc]
shr ebx, 8
xor dl, bl
mov byte [esi], dl
mov edx, dword [ecx]
movzx ebx, byte [esi]
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x5fecf4]
mov ebx, dword [ecx]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [ecx], edx
mov edx, dword [ecx]
and edx, 0xff
add dword [edi], edx
mov edx, dword [edi]
imul edx, dword [ebp + 8]
inc edx
mov dword [edi], edx
mov edx, dword [eax]
mov ebx, dword [edi]
shr ebx, 0x18
xor dl, bl
movzx edx, dl
mov edx, dword [edx*4 + 0x5fecf4]
mov ebx, dword [eax]
shr ebx, 8
and ebx, 0xffffff
xor edx, ebx
mov dword [eax], edx
inc esi
dec dword [ebp - 0x10]
jne 0x5a6b44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5a8564
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.0041ee04
mov eax, dword [ebx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x5a85a5
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5a85bb
mov eax, ebx
mov edx, 0x5a85cc
call fcn.004085c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ab7fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.005ab7c4
mov eax, dword [ebx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x5ab83d
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5ab853
mov eax, ebx
mov edx, 0x5ab864
call fcn.004085c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ab868
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.KERNEL32.DLL_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.005ab7c4
mov eax, dword [ebx]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
test eax, eax
je 0x5ab8a9
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x5ab8bf
mov eax, ebx
mov edx, 0x5ab8d0
call fcn.004085c4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5c663c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6079dc], 0
jne 0x5c6653
call fcn.005c65f8
mov eax, edi
dec eax
test eax, eax
jl 0x5c667b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6075dc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5c665d
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x5c92f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5c938a.0
jmp dword [ecx*4 + 0x5c9323]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5c9355
sub dl, 8
je 0x5c9364
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c8fbc
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c9010
jmp case.0x5c938a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5c938a.0
movzx ecx, byte [ecx + 0x5c9391]
jmp dword [ecx*4 + 0x5c93a2]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c90b0
jmp case.0x5c938a.0
cmp dl, 3
jne 0x5c93cf
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c9108
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c90c4
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c914c
jmp case.0x5c938a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5c93fa
sub dl, 8
je 0x5c9406
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c9178
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c91dc
jmp case.0x5c938a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5c9425
sub dl, 8
je 0x5c9431
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c928c
jmp case.0x5c938a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5c92b4
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x5c94d3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005c84f8
test eax, eax
je 0x5c94d3
mov eax, ebx
call fcn.005c94dc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5c946c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5c94dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x5c950d
dec al
je 0x5c9548
dec al
je 0x5c958d
dec al
je 0x5c95f6
jmp 0x5c9680
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5c9680
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5c951d
jmp 0x5c9680
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5c9680
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5c9558
jmp 0x5c9680
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5c9680
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x5c95bc
xor ebp, ebp
jmp 0x5c95cc
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5c95d5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5c959d
jmp 0x5c9680
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5c9680
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x5c964f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.005c6684
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5c960a
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5cd3a4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x10]
push esi
push edi
push eax
push ebx
push ecx
push edx
lea edi, [0x5ffa7c]
mov esi, dword [ebp - 4]
mov ax, word [ebp - 8]
mov dx, word [ebp - 6]
mov ecx, dword [ebp - 0xc]
or ecx, ecx
je 0x5cd3f5
xor ebx, ebx
mov bl, al
lodsb al, byte [esi]
xor bl, al
mov al, ah
mov ah, dl
mov dl, dh
xor dh, dh
shl bx, 1
shl bx, 1
add ebx, edi
xor ax, word [ebx]
xor dx, word [ebx + 2]
loop 0x5cd3d5
mov word [ebp - 0x10], ax
mov word [ebp - 0xe], dx
pop edx
pop ecx
pop ebx
pop eax
pop edi
pop esi
mov eax, dword [ebx]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cdac0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00407704
mov eax, dword [ebp - 8]
call fcn.00407704
mov eax, dword [ebp + 0xc]
call fcn.00407704
mov eax, dword [ebp + 8]
call fcn.00407704
xor eax, eax
push ebp
push 0x5cdce3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20]
push eax
push 0
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
lea edx, [ebp - 0x224]
lea eax, [ebp - 0x220]
call fcn.0041ee04
push dword [ebp - 0x224]
push 0x5cdd00
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004086a4
lea edx, [ebp - 0x22c]
mov eax, dword [ebp - 0xc]
call fcn.0041e964
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.0041d230
mov eax, dword [ebp - 0x228]
mov edx, 0x5cdd10
call fcn.00408754
je 0x5cdbb7
mov ecx, 0x5cdd28
mov dl, 1
mov eax, dword [0x41931c]
call fcn.00423634
call fcn.00406cfc
xor eax, eax
push ebp
push 0x5cdc84
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.ole32.dll_OleInitialize
lea edx, [ebp - 0x10]
mov eax, dword [0x600dc8]
call fcn.004b598c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x5cdd50
call fcn.0040af84
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x5cdd60
call fcn.0040af84
mov eax, dword [ebp - 4]
call fcn.004083b0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov eax, dword [ebp - 8]
call fcn.004083b0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0041e8e8
mov eax, dword [ebp - 0x230]
call fcn.004083b0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [ebp + 8]
call fcn.004083b0
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004084bc
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00408214
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cdc8b
call sub.ole32.dll_OleUninitialize
ret
Function at 0x5e61b4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x5e61bc
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x5e6309
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x5e62ca
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebx + 0x390]
mov edx, 0xd4
call fcn.0052dd80
test ax, ax
jne 0x5e62c0
cmp dword [ebx + 0x3dc], 0
jle 0x5e62c0
push 0x5e6318
call sub.KERNEL32.DLL_OutputDebugStringW
push 0
mov eax, dword [0x600680]
push eax
push 0x5e6328
push 0x5e6334
push 0x5e633c
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x390]
call fcn.0052dd9c
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042a064
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042a064
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0042a064
add esp, 0x14
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.0042fd8c
lea eax, [ebp - 0x10]
call fcn.00430e14
test al, al
jne 0x5e62c0
lea eax, [ebp - 0x10]
call fcn.00430e28
test al, al
jne 0x5e62c0
push 0x5e6348
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0042a064
add esp, 0xc
lea edx, [ebp - 0x60]
lea eax, [ebx + 0x3d4]
call fcn.0042f0c0
mov eax, dword [ebx + 0x3d4]
call fcn.004083b0
push eax
call sub.KERNEL32.DLL_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e62e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e6310
lea eax, [ebp - 0x60]
mov edx, dword [0x4012c0]
mov ecx, 5
call fcn.00408c98
lea eax, [ebp - 0x10]
call fcn.0042a05c
ret
Function at 0x4c0150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ced8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004bb070
test eax, eax
jne 0x4c01bc
push ebp
push 0x49af68
mov ecx, edi
call fcn.004bf3d0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.004babf0
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.004ae490
push ebx
mov dword [esp + 0x4c], ebp
call fcn.004bb220
add esp, 4
test eax, eax
je 0x4c025f
add esi, 0x18
push esi
call fcn.004aef20
add esi, eax
push esi
call fcn.004aef20
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x4c0562
jmp dword [ecx*4 + 0x41a9a0]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.004bf510
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.004aef20
add esi, eax
push esi
call fcn.004aef20
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x4c02b0
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.0048162c]
test eax, eax
je 0x4c02b0
mov eax, 1
jmp 0x4c02b2
xor eax, eax
cmp ebx, 8
jge 0x4c0517
cmp ebx, 7
ja 0x4c0562
jmp dword [ebx*4 + 0x41a9b0]
test eax, eax
jne 0x4c052a
mov ecx, dword [esp + 0x10]
push eax
push 0x49af54
call fcn.004bf3d0
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004c0a70
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x484e28
call fcn.004ae690
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x4c9270
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b7bd0]
xor edx, edx
cmp eax, edx
jne 0x4c9296
xor eax, eax
mov byte [eax + 0x4b7ad0], al
inc eax
cmp eax, 0x100
jl 0x4c927e
mov dword [0x4b7bd0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b7ad0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c9327
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c92fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c92c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c93a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4c93f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4c93da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cd690
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x4cd8b1
cmp eax, 8
jg 0x4cd8b1
cmp dword [esp + 0x8c], 2
jl 0x4cd8b1
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x4cd8b1
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4cd8b1
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4cd717
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x4cd89a
mov ebp, dword [fcn.004815b0]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4cd749
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4cd881
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4cd769
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [fcn.004815a0]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4cd7a8
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.004815a4]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.004815e4]
test eax, eax
jne 0x4cd868
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.004ccca0
cmp eax, 1
jne 0x4cd892
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004cd550
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4cd75d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4cd89a
jmp 0x4cd734
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004cc8a0
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c