joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498a34
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x498a6c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x498a4d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x498a5c
or bl, 4
test esi, 0x20000000
je 0x498a67
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x49f6a8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49f6ba
add esp, 0xfffffff0
call fcn.00403964
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427c10
mov eax, dword [0x5f5b28]
mov dword [eax + 4], ebx
mov dword [eax], 0x49fa4c
mov eax, dword [0x5f5b3c]
mov dword [eax + 4], ebx
mov dword [eax], 0x49fa58
mov eax, ebx
call fcn.0049fa64
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x49bd24
push eax
push 0
push 0
mov eax, dword [0x5f5da4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429d44]
call fcn.0042b61c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429d44]
call fcn.0042b61c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429d44]
call fcn.0042b61c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0049ff5c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49fdf0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49fdf0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49fdf0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49f7f7
call fcn.004039bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49fbd4
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 0x49fd7f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x49fd60
mov dl, 1
mov eax, dword [0x41c5fc]
call fcn.004035d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004043b0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49fd4f
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.0048b450
test al, al
je 0x49fd42
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, 0x49fd90
lea eax, [ebp - 0x254]
call fcn.0040a648
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49fd42
xor eax, eax
push ebp
push 0x49fd3b
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 0x49fdc8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49fd24
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404630
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 0x49fd24
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404630
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fd42
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49fc45
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00421894
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 0x49fd86
lea eax, [ebp - 0x260]
call fcn.004043b0
ret

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

Disassembly:
push ecx
mov eax, dword [0x5f7c18]
cmp byte [eax + 0xa5], 0
jne 0x4a0835
cmp dword [0x5f7c30], 0
jne 0x4a07f6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4a0780
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5f7c30], eax
cmp dword [0x5f7c2c], 0
jne 0x4a0811
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5f7c2c], eax
cmp dword [0x5f7c34], 0
jne 0x4a0835
push esp
push 0
push 0
push 0x4a0724
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x5f7c34], eax
pop edx
ret
Function at 0x4a0988
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4a099f
add esp, 0xfffffff0
call fcn.00403964
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00427c10
mov eax, dword [0x5f5d80]
cmp word [eax + 2], 0
jne 0x4a09c7
mov eax, dword [0x5f5d80]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a2108
mov eax, dword [0x5f5ecc]
cmp word [eax + 2], 0
jne 0x4a09e1
mov eax, dword [0x5f5ecc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004a2300
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bf78]
call fcn.004035d0
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 [0x42a8c4]
call fcn.00433050
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4a0b68
mov eax, dword [0x5f5bd0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00433420
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4a28b0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x5f5bd0]
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.0040e4a0
test eax, eax
je 0x4a0ad6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409ffc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e4c8
test eax, eax
je 0x4a0aea
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.00404630
mov eax, dword [0x5f599c]
cmp byte [eax], 0
jne 0x4a0b1e
mov eax, ebx
call fcn.004a0c90
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.004a2a8c
mov eax, ebx
call fcn.004a3450
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a0b5e
call fcn.004039bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0f10
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5f7c18]
cmp dword [eax + 0x30], 0
je 0x4a0fba
cmp dword [ebx + 0x94], 0
jne 0x4a0fb4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a0ea0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a0fb4
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 0x4a0f7a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a0fb4
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.0041eb24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a0f89
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a1b1c
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 0x4a1b51
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.004044a0
jmp 0x4a1b5e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404404
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4a2c68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4a2ca9
mov eax, esi
call fcn.004869d4
test al, al
je 0x4a2ca9
mov eax, dword [ebx + 0x84]
call fcn.004866d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4a2ca9
push 0
mov eax, dword [ebx + 0x84]
call fcn.004866d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4b1fb4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004b1f7c
mov eax, dword [ebx]
call fcn.00404680
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4b1ffa
mov eax, ebx
mov edx, 0x4b2008
call fcn.00404688
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b200c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov edx, ebx
lea eax, [ebp - 0x104]
call fcn.004b1f7c
mov eax, dword [ebx]
call fcn.00404680
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x4b2052
mov eax, ebx
mov edx, 0x4b2060
call fcn.00404688
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bce54
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bcfc5
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bcfa0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404598
lea eax, [ebp - 0x118]
mov edx, 0x4bcfdc
call fcn.00404688
mov eax, dword [ebp - 0x118]
call fcn.00404880
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x4bcf12
lea eax, [ebp - 0x111]
call fcn.00409fc0
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004044a0
jmp 0x4bcf19
mov eax, esi
call fcn.004043b0
cmp bl, 0x61
jae 0x4bcf3a
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040e374
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404404
jmp 0x4bcf54
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040e2e8
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404404
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4bcfe8
call fcn.0040a6c8
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404404
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcfa7
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4c0794
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb4
push ebx
xor edx, edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c08b8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x4c089a
lea eax, [ebp - 0x244]
mov edx, dword [ebx + 0xc]
mov ecx, 0xff
call fcn.0040465c
lea edx, [ebp - 0x244]
lea eax, [ebp - 0x41]
mov cl, 0x40
call fcn.00402e28
cmp byte [ebp - 0x41], 0
je 0x4c080c
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x41]
call fcn.00404624
mov eax, dword [ebp - 0x248]
call fcn.004bf8e0
test al, al
jne 0x4c081c
lea eax, [ebp - 0x40]
push eax
push 0x40
call sub.kernel32.dll_GetTempPathA
mov byte [ebp - 0x41], al
jmp 0x4c082b
lea eax, [ebp - 0x41]
mov edx, 0x4c08c4
mov cl, 0x40
call fcn.00402dec
cmp byte [ebp - 0x41], 0
je 0x4c084c
xor eax, eax
mov al, byte [ebp - 0x41]
cmp byte [ebp + eax - 0x41], 0x5c
je 0x4c084c
lea eax, [ebp - 0x41]
mov edx, 0x4c08c8
mov cl, 0x40
call fcn.00402dec
lea eax, [ebp - 0x140]
push eax
push 0
push 0x4c08cc
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x24c]
lea eax, [ebp - 0x140]
call fcn.0040a1d8
mov edx, dword [ebp - 0x24c]
lea eax, [ebx + 0x10]
call fcn.00404404
push 2
mov ecx, dword [ebx + 0x10]
mov dl, 1
mov eax, dword [0x41c7fc]
call fcn.00421e74
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x18], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c08bf
lea eax, [ebp - 0x24c]
mov edx, 2
call fcn.004043d4
ret
Function at 0x4cf940
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x40
call fcn.004043b0
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.004043b0
xor eax, eax
push ebp
push 0x4cf9ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.004d4224
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x3c
call fcn.004043b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4cf9fc
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e24f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
xor edx, edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e2665
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x14], 0
je 0x4e262c
lea eax, [ebp - 0x244]
mov edx, dword [ebx + 0x10]
mov ecx, 0xff
call fcn.0040465c
lea edx, [ebp - 0x244]
lea eax, [ebp - 0x41]
mov cl, 0x40
call fcn.00402e28
cmp byte [ebp - 0x41], 0
jne 0x4e2569
lea eax, [ebp - 0x40]
push eax
push 0x40
call sub.kernel32.dll_GetTempPathA
mov byte [ebp - 0x41], al
jmp 0x4e2578
lea eax, [ebp - 0x41]
mov edx, 0x4e2674
mov cl, 0x40
call fcn.00402dec
cmp byte [ebp - 0x41], 0
je 0x4e2599
xor eax, eax
mov al, byte [ebp - 0x41]
cmp byte [ebp + eax - 0x41], 0x5c
je 0x4e2599
lea eax, [ebp - 0x41]
mov edx, 0x4e2678
mov cl, 0x40
call fcn.00402dec
lea eax, [ebp - 0x140]
push eax
push 0
push 0x4e267c
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x140]
call fcn.0040a1d8
mov edx, dword [ebp - 0x248]
lea eax, [ebp - 0x244]
mov ecx, 0xff
call fcn.0040465c
lea edx, [ebp - 0x244]
lea eax, [ebp - 0x41]
mov cl, 0x40
call fcn.00402e28
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x41]
call fcn.00404624
mov edx, dword [ebp - 0x24c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 2
lea eax, [ebp - 0x250]
lea edx, [ebp - 0x41]
call fcn.00404624
mov ecx, dword [ebp - 0x250]
mov dl, 1
mov eax, dword [0x4e1d7c]
call fcn.00421e74
xor edx, edx
mov dword [eax + 8], edx
jmp 0x4e263d
mov dl, 1
mov eax, dword [0x4e1df4]
call fcn.004035d0
xor edx, edx
mov dword [eax + 0x14], edx
mov edx, eax
mov eax, dword [ebx + 8]
call fcn.0041e978
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e266c
lea eax, [ebp - 0x250]
mov edx, 3
call fcn.004043d4
ret
Function at 0x4e8580
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e867a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c8ec]
call fcn.004035d0
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x17c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00540760
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov ecx, dword [ebx + 8]
mov edx, 0x4e8690
call fcn.004046cc
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e86a0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x48]
push eax
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 8]
mov edx, 0x4e8690
call fcn.004046cc
mov edx, dword [ebp - 0x10]
mov ecx, 0x4e86b0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x4c]
push eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 8]
mov edx, 0x4e8690
call fcn.004046cc
mov edx, dword [ebp - 0x14]
mov ecx, 0x4e86c0
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebx + 0x22c]
push eax
lea eax, [ebp - 0x18]
mov ecx, dword [ebx + 8]
mov edx, 0x4e8690
call fcn.004046cc
mov edx, dword [ebp - 0x18]
mov ecx, 0x4e86d0
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.00403600
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e8681
lea eax, [ebp - 0x18]
mov edx, 5
call fcn.004043d4
ret
Function at 0x4fd27c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fd3e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 4]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xf8]
mov eax, dword [eax + 0xf4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00540818
mov eax, dword [0x5f5c60]
fld xword [eax]
fmulp st(1)
fstp xword [ebp - 0x10]
wait
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0xa8]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0xac]
mov dword [eax + 0x2c], ecx
mov cx, word [edx + 0xb0]
mov word [eax + 0x30], cx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
call fcn.004f9178
mov esi, eax
dec esi
test esi, esi
jl 0x4fd3b5
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.004f9180
fld xword [eax + 8]
fld xword [ebp - 0x10]
faddp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax + 0x18]
wait
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.004f9180
mov eax, dword [eax + 4]
mov edx, dword [0x54bfd8]
call fcn.0040378c
test al, al
jne 0x4fd3ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.004f9180
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x94]
je 0x4fd3ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.004f9180
cmp byte [eax + 0x12], 0
jne 0x4fd3ad
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc2], 0
jne 0x4fd3ad
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x9c]
mov edx, ebx
call fcn.004f9180
mov eax, dword [eax + 4]
call fcn.004fd244
pop ecx
inc ebx
dec esi
jne 0x4fd312
mov eax, dword [ebp - 4]
fld xword [eax + 0x100]
fld xword [ebp - 0x10]
faddp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax + 0x18]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd3e7
lea eax, [ebp - 0x14]
call fcn.004043b0
ret
Function at 0x502a04
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0042c7cc
xor edx, edx
push ebp
push 0x502af9
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
call fcn.0042b9d0
mov ebx, eax
neg ebx
mov eax, dword [ebp - 4]
fild dword [eax + 0xc]
mov eax, dword [ebp - 4]
fild dword [eax + 0x10]
fdivp st(1)
fstp xword [ebp - 0x20]
wait
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x24]
fld xword [ebp - 0x20]
fdivp st(1)
mov eax, dword [ebp - 4]
fld xword [eax + 0x30]
faddp st(1)
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x44]
inc eax
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fdivrp st(1)
call fcn.00402d00
test eax, eax
jne 0x502a8a
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
jmp 0x502ae0
mov dword [ebp - 0x24], ebx
fild dword [ebp - 0x24]
fld xword [ebp - 0x20]
fdivp st(1)
mov edx, dword [ebp - 4]
fld xword [edx + 0x30]
faddp st(1)
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fmulp st(1)
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x44]
inc eax
mov dword [ebp - 0x2c], eax
fild dword [ebp - 0x2c]
fsubrp st(1)
fstp xword [ebp - 0x10]
wait
fld xword [ebp - 0x10]
fcomp dword [0x502b08]
fnstsw ax
sahf
jne 0x502ae0
mov dword [ebp - 0x10], 0xe219652c
mov dword [ebp - 0xc], 0xd1b71758
mov word [ebp - 8], 0x3ff1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502b00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0042cba0
ret
Function at 0x510cbc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x510cea
mov eax, ebx
call fcn.00511770
cmp dword [ebx + 0x40], 0
je 0x510ce3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x510d5b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x510d4d
cmp dword [ebx + 8], 0
je 0x510d0c
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 0x510d1e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x510d4d
cmp dword [ebx + 8], 0
je 0x510cff
cmp eax, 3
je 0x510d31
dec eax
jne 0x510cff
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 0x510cff
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x510cff
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x510d79
cmp dword [ebx + 0x14], 0xcc
je 0x510d79
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.00510d84
pop ebx
ret
Function at 0x5282a8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5f7e1c
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x5282ca
shr eax, 1
xor eax, 0xedb88320
jmp 0x5282cc
shr eax, 1
dec edx
jne 0x5282b8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5282b1
mov byte [0x5f821c], 1
pop esi
pop ebx
ret

Function at 0x5282e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x5f821c], 0
jne 0x5282ff
call fcn.005282a8
mov eax, edi
dec eax
test eax, eax
jl 0x528328
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5f7e1c]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x528309
mov eax, ebx
pop edi
pop esi
pop ebx
ret