joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dc4d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5e6d30
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x14], esp
mov esi, esp
push eax
mov dword [esp + 0x30], 0
call fcn.004a7210
mov ebx, dword [esp + 0x38]
movzx edi, bx
add esp, 4
add eax, 0x10
push edi
lea ecx, [esp + 0x20]
mov dword [esi], eax
call fcn.004dbde0
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.004dc450
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
push ecx
add eax, 4
push esi
mov ecx, eax
call fcn.004dbd50
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4dc578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x4dc64a
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.004a7210
add eax, 0x10
add esp, 4
mov dword [esi], eax
xor eax, eax
mov dl, bl
and dl, 1
mov ecx, ebx
shr ecx, 8
cmp dl, 1
sete al
push ecx
mov cl, bl
xor edx, edx
and cl, 2
cmp cl, 2
sete dl
push eax
xor eax, eax
and bl, 4
cmp bl, 4
sete al
mov byte [esp + 0x34], 2
push edx
push eax
call fcn.004dc450
mov ecx, eax
mov byte [esp + 0x3c], 0
call fcn.004dbb60
mov esi, eax
test esi, esi
je 0x4dc64d
mov eax, dword [esp + 0x34]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebx, esp
push eax
call fcn.004a7210
add esp, 4
add eax, 0x10
push edi
lea ecx, [esp + 0x20]
mov dword [ebx], eax
call fcn.004dbde0
push eax
mov byte [esp + 0x2c], 3
call fcn.004dc450
mov ecx, eax
add ecx, 4
call fcn.004dc280
mov dword [eax], esi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dc64d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4dc64d
mov esi, dword [esi + 8]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4dc675
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret

Function at 0x4e1600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e71e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 1
call fcn.004e0ce0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e1645
push eax
call fcn.00579483
add esp, 4
mov ecx, esi
call fcn.004dfcc0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4e2310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, dword [ecx + 0x34]
test esi, esi
jne 0x4e231e
mov esi, 0x400000
mov eax, dword [esp + 0x14]
movzx ecx, word [esp + 0xc]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x4e233b
pop esi
pop ebx
ret 0xc
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x4e2363
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, eax
test esi, esi
je 0x4e2363
push esi
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
jne 0x4e236b
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
mov ebx, dword [esp + 0x14]
push edi
push eax
lea edx, [edi + 1]
push edx
mov ecx, ebx
call fcn.0046aa10
push eax
call fcn.0057bfc0
add esp, 0xc
push edi
mov ecx, ebx
call fcn.004e22c0
push esi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0xc
Function at 0x4e9a10
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e7a18
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], eax
call fcn.004e8d20
mov dword [esp + 0x18], vtable.CDuiMenuODWnd.0
mov dword [esp + 0x3c], vtable.CDuiMenuODWnd.1.0
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x38]
push ebx
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x68], ecx
mov ecx, dword [esi + 0x44]
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x1c], esp
mov dword [esp + 0x74], eax
mov eax, esp
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x30]
push ebx
mov dword [esp + 0x68], edx
mov edx, dword [esi + 0x3c]
push ebx
push ebx
push ecx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xac]
mov dword [esp + 0x88], ecx
mov dword [eax], ebx
mov eax, esp
mov dword [esp + 0x2c], esp
push edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x9c], ebx
mov dword [eax], ebx
call fcn.004e9930
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x1c]
push eax
push ecx
or edi, 0x100
call fcn.004e8c80
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x98]
add esp, 8
push edx
mov edx, dword [esi]
push ebp
push ebx
push ecx
push eax
push edi
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp esi, ebx
je 0x4e9b75
test dword [esp + 0x88], 0x100
jne 0x4e9b75
mov ecx, dword [esp + 0x94]
push ebx
push esi
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x3c], vtable.CDuiObject.0
cmp eax, ebx
je 0x4e9b96
push eax
call fcn.004cefc0
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 0x14
Function at 0x4f5f60
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5e8168
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x65f810]
xor eax, esp
mov dword [esp + 0x16c], eax
push esi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x190], 0
call fcn.004e89e0
test eax, eax
je 0x4f5fff
mov esi, dword [eax + 4]
mov eax, dword [esp + 0x188]
add eax, 0xfffffff0
mov dword [esp + 0x180], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f5ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4f60b1
mov ecx, dword [esp + 0x188]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x4f6081
push 0x15c
lea edx, [esp + 0x1c]
push 0
push edx
mov dword [esp + 0x20], 0
call fcn.00578cb0
mov ecx, dword [esp + 0x194]
add esp, 0xc
push 0x300
push 0x160
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4f6081
cmp dword [esp + 0x14], 0
je 0x4f6081
mov edx, dword [esp + 0x188]
push edx
mov ecx, esi
call fcn.004e1b70
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x188]
call fcn.004dbb40
mov eax, esi
jmp 0x4f60b1
mov eax, dword [esp + 0x188]
add eax, 0xfffffff0
mov dword [esp + 0x180], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f60af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.005792fc
add esp, 0x17c
ret 4
Function at 0x5001d7
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub eax, 1
push esi
mov esi, ecx
je 0x500220
sub eax, 1
jne 0x500247
push eax
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 0
lea ecx, [esi + 0x3c]
push ecx
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0x6183ae
lea ecx, [esi + 0x34]
call fcn.0046aad0
mov edx, dword [esi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_KillTimer]
pop esi
ret 4
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push 1
mov ecx, esi
call fcn.00500100
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 4]
push 0
push ecx
push 2
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop esi
ret 4

Function at 0x500300
Capabilities:
Hide graphical window

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 4]
add eax, 0xfffffe00
push esi
mov esi, ecx
cmp eax, 8
ja case.0x500323.515
movzx eax, byte [eax + 0x50044c]
jmp dword [eax*4 + 0x500440]
mov ecx, dword [esi + 4]
push 0
push ecx
mov dword [esi + 0x24], 0
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 0
lea edx, [esi + 0x3c]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0x6183ae
lea ecx, [esi + 0x34]
call fcn.0046aad0
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_KillTimer]
pop esi
pop ebx
add esp, 8
ret 4
movsx ecx, word [ebx + 0xe]
movsx eax, word [ebx + 0xc]
push edi
push ecx
push eax
lea edi, [esi + 0x3c]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5003d4
mov ecx, dword [esi + 4]
push eax
push ecx
mov dword [esi + 0x24], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0x6183ae
lea ecx, [esi + 0x34]
call fcn.0046aad0
mov edx, dword [esi + 4]
push 2
push edx
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 4]
lea edi, [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x500436
mov ecx, dword [esi + 0x34]
cmp dword [ecx - 0xc], eax
je 0x500436
mov edx, dword [edi]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x2c]
mov ecx, dword [edi]
push 0
push eax
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebx]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0x415
push 0
push 0
add ecx, 0x18
push ecx
push edx
push 0
mov ecx, edi
call fcn.0046b120
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x5059f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push ebp
push esi
push edi
push 0x12
mov ebp, ecx
call ebx
movzx esi, ax
push 0x11
and esi, 0x8000
call ebx
movzx edi, ax
push 0x10
and edi, 0x8000
call ebx
and eax, 0x8000
test esi, esi
jne 0x505a3c
test edi, edi
jne 0x505a4c
test eax, eax
jne 0x505a6b
xor ecx, ecx
lea eax, [esi + 1]
mov word [ebp + 0x128], cx
jmp 0x505aca
test edi, edi
jne 0x505a79
test eax, eax
jne 0x505a75
lea eax, [edi + 8]
lea edx, [edi + 4]
jmp 0x505ac3
test eax, eax
jne 0x505a63
mov ecx, 2
mov eax, 4
mov word [ebp + 0x128], cx
jmp 0x505aca
test edi, edi
jne 0x505aa2
test eax, eax
je 0x505ab9
mov eax, 2
lea edx, [eax - 1]
jmp 0x505ac3
test edi, edi
je 0x505a94
test eax, eax
jne 0x505a90
mov ecx, 6
mov eax, 0x40
mov word [ebp + 0x128], cx
jmp 0x505aca
test edi, edi
jne 0x505ab9
test eax, eax
je 0x505ab9
mov eax, 0x20
lea edx, [eax - 0x1b]
jmp 0x505ac3
test eax, eax
je 0x505ab9
mov ecx, 3
mov eax, 0x10
mov word [ebp + 0x128], cx
jmp 0x505aca
mov eax, 0x80
mov edx, 7
mov word [ebp + 0x128], dx
test word [ebp + 0x124], ax
je 0x505ae1
mov ax, word [ebp + 0x126]
mov word [ebp + 0x128], ax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x506880
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x5e8e10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65f810]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
push eax
call fcn.00506520
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x40], ebx
call fcn.004ea5a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x1c], edi
mov eax, dword [esi + 0x12c]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
mov byte [esp + 0x48], 1
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
push edi
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov eax, dword [esp + 0x18]
push eax
push edi
call ebp
mov ecx, esi
call fcn.004ea5a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
push edi
call eax
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esi]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call edx
mov ecx, esi
call fcn.004ea5a0
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x24]
mov edi, dword [ecx]
sub eax, esi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, esi
push eax
mov eax, dword [esp + 0x2c]
lea eax, [edx + eax + 2]
mov edx, dword [edi + 0x40]
push eax
call edx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x40], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x50699d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x506b70
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x130], 0
je 0x506c0a
movzx eax, word [esi + 0x12a]
movzx ecx, ax
push ebx
mov ebx, dword [esp + 0xc]
cmp ebx, ecx
jne 0x506ba2
pop ebx
mov dword [esi + 0x130], 0
pop esi
ret 0xc
push edi
test ax, ax
jne 0x506be4
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
mov edx, 0x8000
test dx, ax
jne 0x506be4
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x506be4
push 0x11
call edi
mov edx, 0x8000
test dx, ax
jne 0x506be4
mov dword [esi + 0x130], 0
jmp 0x506bf3
cmp ebx, 0x10
je 0x506bf3
cmp ebx, 0x12
je 0x506bf3
cmp ebx, 0x11
jne 0x506c08
mov ecx, esi
call fcn.005059f0
mov ecx, esi
call fcn.00506880
mov ecx, esi
call fcn.004d47c0
pop edi
pop ebx
pop esi
ret 0xc
Function at 0x5097b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e924f
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0050ab00
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0050ab00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.0050ab00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.0050ab00
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.0050ab00
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x3c], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.0050ab00
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.0050ab00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret

Function at 0x509930
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e924f
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.0050ac90
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.0050ac90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.0050ac90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.0050ac90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.0050ac90
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0050ac90
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
call fcn.0050ac90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret

Function at 0x518ed0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
cmp esi, esp
call fcn.005848f3
push eax
call fcn.00518ea0
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4
Function at 0x5240d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e924f
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0050ac00
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0050ac00
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0x18
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.0050ac00
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.0050ac00
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.0050ac00
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x3c]
mov byte [eax + 0x3c], dl
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x40
call fcn.0050ac00
mov byte [ebp - 4], 5
mov eax, dword [ebp + 8]
add eax, 0x4c
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x4c
call fcn.0050ac00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x529e30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xf0]
mov ecx, 0x3c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], 0
jmp 0x529e62
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x100
jae 0x529eb5
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
jmp 0x529e83
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 8
jae 0x529ea6
mov eax, dword [ebp - 0x14]
shr eax, 1
mov ecx, dword [ebp - 0x14]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 0x14], eax
jmp 0x529e7a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax*4 + 0x682d40], ecx
jmp 0x529e59
jmp 0x529ec0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x800
jae 0x529ef7
mov eax, dword [ebp - 8]
mov ecx, dword [eax*4 + 0x682940]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
and eax, 0xff
mov ecx, dword [ebp - 0x2c]
shr ecx, 8
xor ecx, dword [eax*4 + 0x682d40]
mov edx, dword [ebp - 8]
mov dword [edx*4 + 0x682d40], ecx
jmp 0x529eb7
mov dword [0x67e7ac], fcn.0055c810
call fcn.0055cb70
test eax, eax
jne 0x529f14
mov dword [0x67e7ac], 0x55c940
pop edi
pop esi
pop ebx
add esp, 0xf0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret
Function at 0x53cd80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
push ebx
push esi
push edi
lea edi, [ebp - 0xfc]
mov ecx, 0x3f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
sar ecx, 4
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
xor ecx, 0x7ff
sar ecx, 4
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
sar ecx, 4
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
xor ecx, 0x7ff
sar ecx, 4
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x38], 0
jmp 0x53ce13
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 8
jae 0x53ce51
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0x10]
jb 0x53ce26
jmp 0x53ceda
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 3
mov edx, dword [ebp + 0xc]
shl edx, 3
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 4]
push ecx
call fcn.0053cef0
add eax, dword [ebp - 8]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], eax
jmp 0x53ce0a
jmp 0x53ce5c
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x10
jae 0x53ce9d
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0x10]
jb 0x53ce6c
jmp 0x53ceda
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 8
push ecx
push 3
mov edx, dword [ebp + 0xc]
shl edx, 3
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2 + 0x104]
push ecx
call fcn.0053cef0
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + edx*4], eax
jmp 0x53ce53
jmp 0x53cea8
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp + 0x10]
jae 0x53ceda
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
sub ecx, 0x10
push ecx
push 8
mov edx, dword [ebp + 8]
add edx, 0x204
push edx
call fcn.0053cef0
add eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp + 0x14]
mov dword [edx + ecx*4], eax
jmp 0x53ce9f
pop edi
pop esi
pop ebx
add esp, 0xfc
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0x14