joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475ee4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47608f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476070
mov dl, 1
mov eax, dword [0x41e97c]
call fcn.00403e1c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c80
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47605f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0046396c
test al, al
je 0x476052
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4760a0
lea eax, [ebp - 0x254]
call fcn.0040c148
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x476052
xor eax, eax
push ebp
push 0x47604b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4760d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x476034
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x476034
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476052
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x475f55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004235dc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476096
lea eax, [ebp - 0x260]
call fcn.00404c80
ret

Function at 0x4769c4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5a5bec]
cmp byte [eax + 0xa5], 0
jne 0x476a35
cmp dword [0x5a5c04], 0
jne 0x4769f6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x476980
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5a5c04], eax
cmp dword [0x5a5c00], 0
jne 0x476a11
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5a5c00], eax
cmp dword [0x5a5c08], 0
jne 0x476a35
push esp
push 0
push 0
push 0x476924
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5a5c08], eax
pop edx
ret
Function at 0x476b2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x476b43
add esp, 0xfffffff0
call fcn.004041b0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00429b90
mov eax, dword [0x5a4324]
cmp word [eax + 2], 0
jne 0x476b6b
mov eax, dword [0x5a4324]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004782ac
mov eax, dword [0x5a4520]
cmp word [eax + 2], 0
jne 0x476b85
mov eax, dword [0x5a4520]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004784a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41e318]
call fcn.00403e1c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41e318]
call fcn.00403e1c
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x42c204]
call fcn.00434658
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x476d0c
mov eax, dword [0x5a4080]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00434a28
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x478a54
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5a4080]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004105f8
test eax, eax
je 0x476c7a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040b78c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00410620
test eax, eax
je 0x476c8e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404ef0
mov eax, dword [0x5a3ca4]
cmp byte [eax], 0
jne 0x476cc2
mov eax, ebx
call fcn.00476e34
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00478c30
mov eax, ebx
call fcn.004795f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x476d02
call fcn.00404208
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4770b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5a5bec]
cmp dword [eax + 0x30], 0
je 0x47715e
cmp dword [ebx + 0x94], 0
jne 0x477158
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x477044
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x477158
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47711e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x477158
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00420bcc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47712d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x477cc0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x477cf5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d70
jmp 0x477d02
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cd4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x478e0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x478e4d
mov eax, esi
call fcn.0045edec
test al, al
je 0x478e4d
mov eax, dword [ebx + 0x84]
call fcn.0045eae8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x478e4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045eae8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x482970
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48299e
mov eax, ebx
call fcn.00483424
cmp dword [ebx + 0x40], 0
je 0x482997
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x482a0f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x482a01
cmp dword [ebx + 8], 0
je 0x4829c0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4829d2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x482a01
cmp dword [ebx + 8], 0
je 0x4829b3
cmp eax, 3
je 0x4829e5
dec eax
jne 0x4829b3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4829b3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4829b3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x482a2d
cmp dword [ebx + 0x14], 0xcc
je 0x482a2d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00482a38
pop ebx
ret
Function at 0x4936bc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff00
mov ebx, eax
cmp byte [ebx + 0xc], 7
jne 0x4936d6
mov dl, 6
mov eax, ebx
call fcn.0047bd50
cmp byte [ebx + 0xc], 6
jne 0x493705
mov dl, 1
mov eax, dword [0x47aab8]
call fcn.0047ae84
mov esi, eax
mov edx, esi
mov eax, ebx
call fcn.00493634
mov edx, esi
mov eax, ebx
call fcn.0047b4bc
mov eax, esi
call fcn.00403e4c
jmp 0x493770
xor ecx, ecx
mov esi, esp
lea edi, [ecx + ecx*2]
mov eax, dword [ebx + 0x24]
movzx eax, byte [eax + edi + 2]
add eax, eax
mov edx, dword [ebx + 0x24]
movzx edx, byte [edx + edi + 1]
lea edx, [edx + edx*2]
add eax, edx
mov edx, dword [ebx + 0x24]
movzx edx, byte [edx + edi]
add eax, edx
add eax, 3
mov edi, 6
xor edx, edx
div edi
mov byte [esi], al
inc ecx
inc esi
cmp ecx, 0x100
jne 0x493709
mov edx, dword [ebx + 0x20]
mov eax, edx
mov edx, dword [ebx + 0x18]
test edx, edx
jle 0x49375d
xor ecx, ecx
mov cl, byte [eax]
mov cl, byte [esp + ecx]
mov byte [eax], cl
inc eax
dec edx
jne 0x493750
mov eax, dword [0x5a4230]
mov edx, dword [ebx + 0x24]
mov esi, eax
mov edi, edx
mov ecx, 0xc0
rep movsd dword es:[edi], dword [esi]
add esp, 0x100
pop edi
pop esi
pop ebx
ret

Function at 0x4947a4
Capabilities:
Hash data with crc32

Disassembly:
pushal
mov edi, eax
mov esi, edx
jecxz 0x4947ca
mov edx, dword [edi + 0xc]
cld
xor eax, eax
lodsb al, byte [esi]
xor al, dl
shl eax, 2
mov ebx, 0x598d50
add ebx, eax
mov eax, dword [ebx]
shr edx, 8
xor edx, eax
loop 0x4947af
mov dword [edi + 0xc], edx
popal
ret
Function at 0x499cf4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax - 0x2c], 0xffffffff
jne 0x499d2d
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
dec esi
test esi, esi
jl 0x499d83
inc esi
xor ecx, ecx
movsx eax, byte [ebx + ecx]
cdq
xor eax, edx
sub eax, edx
add dword [ebp - 4], eax
inc ecx
dec esi
jne 0x499d1b
jmp 0x499d83
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
cmp dword [eax - 0x2c], 0xfffffffe
jne 0x499d6f
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
dec esi
sub esi, 4
jl 0x499d83
inc esi
mov ecx, 4
mov al, byte [ebx + ecx]
cmp al, byte [ebx + ecx - 4]
jne 0x499d69
cmp al, byte [ebx + ecx - 3]
jne 0x499d69
cmp al, byte [ebx + ecx - 2]
jne 0x499d69
cmp al, byte [ebx + ecx - 1]
jne 0x499d69
dec dword [ebp - 4]
inc ecx
dec esi
jne 0x499d4b
jmp 0x499d83
mov ecx, 0x454
mov edx, 0x499d94
mov eax, 0x499dcc
call fcn.00404bdc
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4a02e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4a0335
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4a031c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4a030c
jmp 0x4a0335
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4a031d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ae7f8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41d8a0]
call fcn.004056a0
xor eax, eax
push ebp
push 0x4ae93c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5997bc], 0
jne 0x4ae84b
mov ecx, dword [0x5a3d04]
mov dl, 1
mov eax, dword [0x4095d4]
call fcn.0040f798
call fcn.00404618
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040330c
mov eax, ebx
call fcn.00405510
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4ae94c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004069e8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405520
test eax, eax
jle 0x4ae8e3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4ae8dc
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404f08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ef0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a57c
test eax, eax
jne 0x4ae8dc
mov ebx, 0x15
jmp 0x4ae8e8
mov ebx, 0x10
jmp 0x4ae8e8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x5997bc]
call fcn.004ae750
mov eax, dword [ebp - 8]
call fcn.004ae750
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406a00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae943
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404ca4
lea eax, [ebp - 0x10]
mov edx, dword [0x41d8a0]
call fcn.00405770
ret
Function at 0x4bd768
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x599be4], 0
mov eax, dword [0x5a48b8]
cmp dword [eax], 2
jne 0x4bd941
mov eax, dword [0x5a4088]
cmp dword [eax], 5
jl 0x4bd941
call fcn.004ba904
test al, al
jne 0x4bd799
call fcn.004ba910
call fcn.004ba8fc
mov dword [0x599bec], eax
push 0x4bd944
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bb0], eax
cmp dword [0x599bb0], 0
jne 0x4bd7f4
mov edx, 0x8000
mov eax, 0x4bd958
call fcn.004114e4
mov dword [0x599be8], eax
mov eax, dword [0x599be8]
mov dword [0x599bec], eax
push 0x4bd944
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bb0], eax
cmp dword [0x599bb0], 0
je 0x4bd93c
push 0x4bd964
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bb4], eax
cmp dword [0x599bb4], 0
je 0x4bd93c
push 0x4bd970
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bb8], eax
cmp dword [0x599bb8], 0
je 0x4bd93c
mov byte [0x599be4], 1
push 0x4bd980
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bbc], eax
push 0x4bd98c
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bc0], eax
push 0x4bd998
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bc4], eax
push 0x4bd9a8
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bc8], eax
push 0x4bd9b8
mov eax, dword [0x599bec]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bcc], eax
mov edx, 0x8000
mov eax, 0x4bd9d0
call fcn.004114e4
mov dword [0x599bf0], eax
cmp dword [0x599bf0], 0
je 0x4bd941
push 0x4bd9e0
mov eax, dword [0x599bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bd0], eax
push 0x4bd9fc
mov eax, dword [0x599bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bd4], eax
push 0x4bda1c
mov eax, dword [0x599bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bd8], eax
push 0x4bda38
mov eax, dword [0x599bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599bdc], eax
push 0x4bda50
mov eax, dword [0x599bf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x599be0], eax
ret
call fcn.004bd6e8
ret
Function at 0x4c0074
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 - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c019c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, 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 - 4]
mov eax, edi
call fcn.004bff60
mov eax, dword [esi]
call fcn.00406020
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4b65cc]
call fcn.004061dc
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00402a40
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00402a40
add ebx, 0x1c
mov eax, dword [esi]
call fcn.00406020
mov dword [ebp - 0xc], eax
mov eax, dword [0x5a472c]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004b7b68
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.0040330c
add ebx, 3
mov eax, dword [ebp - 8]
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.00406020
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004b7aa0
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004b7864
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004b7b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c01a3
lea eax, [ebp - 8]
mov edx, dword [0x4b65cc]
call fcn.004062fc
ret
Function at 0x4f102c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4f109d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 8]
mov eax, dword [esi + 0x30]
call fcn.0040a6d0
mov eax, dword [ebp - 8]
mov esi, dword [0x5a3dd8]
mov esi, dword [esi]
mov edx, dword [ebx]
call esi
mov esi, eax
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.004051a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f10a4
lea eax, [ebp - 8]
call fcn.00404c80
ret

Function at 0x4f8334
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4f838e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004f8328
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004f58e8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004f5504
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8395
lea eax, [ebp - 4]
call fcn.00404c80
ret
Function at 0x500818
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x500845
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x5008c4
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004fec60
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x500892
mov cx, word [esp]
sub cx, si
jmp 0x500894
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x50087b
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x5008ba
mov cx, word [esp]
sub cx, si
jmp 0x5008bc
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5008a3
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x500921
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.005004ec
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x50090c
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x500921
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x500822
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52a394
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
cmp esi, dword [ebp + 8]
jge 0x52a3af
mov bl, byte [ecx + esi]
xor bl, byte [eax + esi]
mov byte [edx + esi], bl
inc esi
cmp esi, dword [ebp + 8]
jl 0x52a3a0
pop esi
pop ebx
pop ebp
ret 4

Function at 0x52a7b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x52a8e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, 9
call fcn.004052cc
lea eax, [ebp - 0x14]
call fcn.00405198
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x14]
call fcn.00405198
mov edx, eax
mov eax, edi
mov ecx, 8
call fcn.00402a40
lea eax, [ebp - 0x14]
call fcn.00405198
mov byte [eax + 8], 0
test ebx, ebx
je 0x52a8c5
cmp byte [ebx], 0
je 0x52a8c5
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 4]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0052a58c
lea eax, [ebp - 0x14]
call fcn.00405198
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0x10]
call fcn.0052a58c
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x10]
lea eax, [ebp - 0x38]
call fcn.0052a6e8
jmp 0x52a88a
lea eax, [ebp - 0x38]
call fcn.0052a768
fmul dword [0x52a8f0]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0052a724
add eax, 0x40
jno 0x52a87d
call fcn.00403d8c
mov edx, dword [ebp - 0x20]
mov byte [edx], al
add dword [ebp - 0x20], 1
add dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
cmp byte [eax], 0
jne 0x52a859
lea eax, [ebp - 0x38]
call fcn.0052a768
fmul dword [0x52a8f0]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0052a724
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x20]
je 0x52a8c5
mov edx, dword [ebp - 0x1c]
xor byte [edx], al
add dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x20]
jne 0x52a8b4
mov eax, dword [ebp - 0x20]
mov byte [eax], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52a8e8
lea eax, [ebp - 0x14]
call fcn.00404c80
ret