joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45eb24
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45eb36
add esp, 0xfffffff0
call fcn.00403c84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004232a8
mov eax, dword [0x48dab8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45eec8
mov eax, dword [0x48dac4]
mov dword [eax + 4], ebx
mov dword [eax], 0x45eed4
mov eax, ebx
call fcn.0045eee0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
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, 0x45a978
push eax
push 0
push 0
mov eax, dword [0x48dc44]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426ef0]
call fcn.00428744
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426ef0]
call fcn.00428744
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426ef0]
call fcn.00428744
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045f358
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f228
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f228
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45f228
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ec73
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f00c
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 0x45f1b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45f198
mov dl, 1
mov eax, dword [0x418298]
call fcn.004038f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040478c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45f187
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.0045152c
test al, al
je 0x45f17a
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, 0x45f1c8
lea eax, [ebp - 0x254]
call fcn.00409998
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45f17a
xor eax, eax
push ebp
push 0x45f173
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 0x45f200
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45f15c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049fc
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 0x45f15c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004049fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f17a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f07d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041ccf8
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 0x45f1be
lea eax, [ebp - 0x260]
call fcn.0040478c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4915ac]
cmp byte [eax + 0xad], 0
jne 0x45fba1
cmp dword [0x4915c4], 0
jne 0x45fb62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45faec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4915c4], eax
cmp dword [0x4915c0], 0
jne 0x45fb7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4915c0], eax
cmp dword [0x4915c8], 0
jne 0x45fba1
push esp
push 0
push 0
push 0x45fa90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4915c8], eax
pop edx
ret
Function at 0x45fdd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45fde7
add esp, 0xfffffff0
call fcn.00403c84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004232a8
mov eax, dword [0x48dc2c]
cmp word [eax + 2], 0
jne 0x45fe0f
mov eax, dword [0x48dc2c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461880
mov eax, dword [0x48dcf0]
cmp word [eax + 2], 0
jne 0x45fe29
mov eax, dword [0x48dcf0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461a8c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x417bc8]
call fcn.004038f0
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x427a00]
call fcn.0042f38c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45ffe0
mov eax, dword [0x48db34]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f760
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46214c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x48db34]
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.0040d1c4
test eax, eax
je 0x45ff30
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409350
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1f8
test eax, eax
je 0x45ff44
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004049fc
mov byte [ebx + 0xd4], 0
push ebx
push 0x4613e0
call fcn.00424438
mov dword [ebx + 0xc8], eax
mov eax, dword [0x48d9dc]
cmp byte [eax], 0
jne 0x45ff95
mov eax, ebx
call fcn.00460124
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00462328
mov eax, ebx
call fcn.00462e88
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ffd5
call fcn.00403cdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4603a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4915ac]
cmp dword [eax + 0x30], 0
je 0x46044e
cmp dword [ebx + 0x94], 0
jne 0x460448
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460334
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460448
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 0x46040e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460448
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.0041a548
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46041d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461168
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46119d
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.0040487c
jmp 0x4611aa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047e0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46250c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46257a
mov eax, esi
call fcn.0044c25c
test al, al
je 0x46257a
mov eax, dword [ebx + 0x84]
call fcn.0044bee8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46257a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46256e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044bee8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004442c4
jmp 0x46257a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00462348
pop esi
pop ebx
ret
Function at 0x4063a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
call fcn.00404790
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4064b0
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x1c], 0x54
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x1c], 0x57
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x1c], 0
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x1c], 0x78
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x1c], 0x69
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x1c], 0x6f
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x77
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], 0x74
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x1c], 0x65
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x1c], 0x6e
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x1c], 0x57
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x1c], 0x65
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1c], 0x53
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x1c], 0x64
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4064a6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x407f7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041d14e
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x407fb2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00407fd3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4181dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x418222
call fcn.0041d14e
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418222
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41823e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041fd17
mov ebx, eax
test edi, edi
je 0x41823c
test esi, esi
je 0x41823c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4880dd
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004fca22
call fcn.0041d1a2
cmp dword [eax + 0x14], 0
jne 0x4880f8
mov ecx, esi
pop esi
jmp fcn.004874e3
pop esi
ret

Function at 0x4881fe
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041c89a
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x48823a
call fcn.0048841d
mov dword [esi + 0xc], 1
jmp 0x48823f
call fcn.0048841d
cmp dword [esi], 0
je 0x488288
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x488262
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00418295
jmp 0x488273
push 0xff
mov ecx, esi
call fcn.0040a2ee
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b0fd
jmp 0x4882ac
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4882ac
push dword [esi]
push dword [ebp - 4]
call fcn.0041d351
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x488372
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0048841d
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4883ba
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00418295
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040b0fd
jmp 0x4883c5
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d351
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fa75e
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004a974b
call fcn.0041d1a2
cmp dword [eax + 0x14], 0
jne 0x4fa779
mov ecx, esi
pop esi
jmp fcn.004fa047
pop esi
ret
Function at 0x53797c
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59e068]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0052c802
mov dword [ebp - 0x14], eax
cmp dword [0x5a96d4], esi
jne 0x537a6f
push 0x800
push esi
push 0x57b5e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5379fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x537b4f
push esi
push esi
push 0x57b5e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x537b4f
push 0x57b5f8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x537b4f
push eax
call ebx
push 0x57b604
push edi
mov dword [0x5a96d4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x57b614
push edi
mov dword [0x5a96d8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5a96dc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a96e4], eax
test eax, eax
je 0x537a6c
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5a96e0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x537a94
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x537a87
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x537aa9
push 4
pop eax
jmp 0x537b51
cmp dword [ebp - 0x14], esi
je 0x537aa9
push dword [0x5a96d4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x537a8e
mov eax, dword [0x5a96e0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x537b07
cmp dword [0x5a96e4], edi
je 0x537b07
push eax
call ebx
push dword [0x5a96e4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x537b07
test eax, eax
je 0x537b07
call ecx
test eax, eax
je 0x537afc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x537afc
test byte [ebp - 8], 1
jne 0x537b07
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x537b37
mov eax, dword [0x5a96d8]
cmp eax, edi
je 0x537b34
push eax
call ebx
test eax, eax
je 0x537b34
call eax
mov esi, eax
test esi, esi
je 0x537b34
mov eax, dword [0x5a96dc]
cmp eax, edi
je 0x537b34
push eax
call ebx
test eax, eax
je 0x537b34
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5a96d4]
call ebx
test eax, eax
je 0x537b4f
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x537b51
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527b0b
mov esp, ebp
pop ebp
ret
Function at 0x498200
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x49824c
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x498231
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x498241
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x49825c
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x49829b
test ebx, ebx
je 0x498270
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x498265
cmp ecx, 0xfff1
jb 0x49827e
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x498386
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4982c0
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x4982d0
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
dec eax
jne 0x4982d0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
dec dword [ebp + 8]
jne 0x4982c0
test ebx, ebx
je 0x49845f
cmp ebx, 0x10
jb 0x49842c
mov eax, ebx
shr eax, 4
lea esp, [esp]
Function at 0x6186d0
Capabilities:
Authenticate hmac

Disassembly:
iretd
loope 0x6186b2
inc eax
mov cl, 0x92
xchg edi, ecx
shl bl, cl
idiv byte [edi - 0x365fff09]
salc
sbb eax, 0x5c79dada
jle 0x618716
mov cl, pe_nt_image_headers32
into
sbb ebp, ebx
xchg byte [edx], al
std
enter 0x76dc, 0xfffffffffffffffe
sbb dh, dl
add dword [edx + 0x1fde0765], ecx
pop es
ficomp word [edi]
rol byte [esi + ecx*8 + 0x3f], cl
ja 0x618775
das
sub ebp, dword ss:[ebp - 0x17]
adc byte [ebp + 0x66], dh
jne 0x618770
cmc
adc dword [eax + 0x41], ebx
wait
sbb dword [eax - 0x51d7b193], 0xffffff9a
dec ecx
jecxz 0x618708
pslld mm6, mm7
xchg ebx, eax
test al, 0x43
lcall 0x3704, 0xc869d7ea
out dx, eax
inc edi
outsb dx, byte [esi]
js 0x618762
dec esp
outsb dx, byte [esi]
out dx, al
stosd dword es:[edi], eax
dec esp
insd dword es:[edi], dx
dec ecx
mov bh, 0xe9
fmul dword [edi + 0x1fbdfd00]
cmp al, 0x95
mov eax, dword [0xaf480f68]
xor al, 0x5c
inc sp
adc eax, 0x46316340
ja 0x618797
cmp dword [edx - 0x5ab95864], 0x777cd88b
fincstp
wait
mov al, byte [0xdbcecb1e]
jmp 0x6186f9
jg 0x6186f6
xchg esi, eax
xchg dword [0x73529551], eax
invalid
invalid
cmpsb byte [esi], byte es:[edi]
fdivp st(0)
sub eax, 0xd82ae5a
pop ds
invalid
or ah, byte [esi]
jns 0x6187ea
test eax, 0xab7198a
sar byte [ebp - 0x1ae8b93a], 1
add eax, 0x41d61dbb
xchg edi, eax
pushfd
imul edx, ebp, 0xa1ae5583
adc eax, 0x971c8720
out 0xd6, eax
call edx
add ebx, dword [esi]
out 0x53, eax
mov bh, 0x4d
pop ebp
mov bh, 0x44
insb byte es:[edi], dx
push ecx
imul esi, edi, 0x2b
push ebp
push edx
and eax, 0xcb9b0b90
push ebx
mov ch, 0xbe
mov eax, 0x12aab570
sti
rcl bh, 0xf7
push ds
xlatb
scasb al, byte es:[edi]
invalid
in eax, 0xea
jecxz 0x618829
leave
push esi
mov al, byte [0x3621c135]
shl dword [ecx], 0x36
push ebp
cmp al, al
ja 0x6187e2
invalid
cmp dword [ebp - 0x4d], esp
jmp 0xf7b1cc9a

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219