joyce8/EMBER2024-capa huggingface dataset:
Function at 0x54c360
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x323c
call fcn.0056e430
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1064
lea eax, [ebp - 0x3238]
mov esi, edx
push 0
push eax
mov edi, ecx
call fcn.00571c00
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x3238]
push 0x5c9c24
push eax
call esi
push 0x1000
lea eax, [ebp - 0x21d4]
push 0
push eax
call fcn.00571c00
push 0x1190
lea eax, [ebp - 0x11d4]
push 0
push eax
call fcn.00571c00
xorps xmm0, xmm0
lea eax, [ebp - 0x44]
push 0x10
push eax
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call fcn.00583191
lea eax, [ebp - 0x24]
push 0x10
push eax
call fcn.00583267
add esp, 0x40
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x21d4]
push str.____Date:_s___Time:_s____
push eax
call esi
lea eax, [ebp - 0x3238]
push eax
lea eax, [ebp - 0x21d4]
push eax
lea eax, [ebp - 0x11d4]
push str.__s____s
push eax
call esi
push 0x5c945c
lea eax, [ebp - 0x11d4]
push 0x8c8
push eax
call fcn.00574a48
add esp, 0x2c
cmp byte [0x618649], 0
je 0x54c4ae
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x54c4ae
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x323c]
mov dword [ebp - 0x323c], 0
push eax
lea eax, [ebp - 0x11d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x11d4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x61864a], 0
pop edi
pop esi
je 0x54c4e9
lea eax, [ebp - 0x3238]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WIWatch
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x54c4e9
lea ecx, [ebp - 0x11d4]
push ecx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret
Function at 0x554109
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 0x55414e
call fcn.0055f2f5
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x55414e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x55416a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.005501c0
mov ebx, eax
test edi, edi
je 0x554168
test esi, esi
je 0x554168
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x5548ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x5549bd
cmp dword [esi + 0x20], 0
je 0x5549bd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5549bd
cmp dword [ebp + 8], 0
je 0x5549bd
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.0055f2f5
push 0x5b57f0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x55498e
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x5549bd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.005659a4
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x5549ae
test edi, edi
je 0x5549ae
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x5549b9
mov ecx, esi
call fcn.005546dd
mov eax, ebx
jmp 0x5549bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x558943
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5b0321
call fcn.0056e28b
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x558969
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x5589c9
call fcn.00550b4e
push eax
lea ecx, [ebp - 0x10]
call fcn.005509cb
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x5b2814]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0057f4bc
push eax
call fcn.004012e0
add esp, 0x14
test esi, esi
je 0x5589bc
push esi
call fcn.00574cc1
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401610
mov eax, ebx
call fcn.0056e254
ret 8
Function at 0x558f04
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x558f2f
cmp dword [ebx + 0x80], 0
jne 0x558f2f
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.0055f2f5
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0055916f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x561672
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x5616c5
push esi
push dword [ebp + 8]
call fcn.0056185b
mov edi, eax
test edi, edi
je 0x5616c0
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x5616c0
mov eax, dword [ebp - 8]
jmp 0x5616d7
mov eax, dword [ebp + 0x10]
jmp 0x5616d7
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x5624b3
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.0056250c
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x5624fb
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.005510d5
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.005510f8
jmp 0x562506
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.005665dd
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x58c197
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058be3e

Function at 0x58c1a2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058bfc8
Function at 0x405210
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor eax, eax
push ebp
push 0x4052b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
call fcn.00404f48
test al, al
je 0x40527e
mov eax, dword [0x4077a8]
mov eax, dword [eax]
call fcn.00404e64
test eax, eax
je 0x40527e
push 0x105
lea eax, [ebp - 0x105]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov eax, dword [0x40a7e0]
push eax
call sub.kernel32.dll_GetCommandLineA_1
push eax
lea eax, [ebp - 0x105]
push eax
call dword [0x407798]
mov edx, dword [0x4077a0]
mov dword [edx], eax
call fcn.00404ecc
xor ebx, ebx
test bl, bl
je 0x405299
push 0x10
push 0x4052c8
push 0x4052dc
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4052c0
mov eax, dword [0x4077a8]
mov eax, dword [eax]
call fcn.00403b24
push eax
call sub.kernel32.dll_DeleteFileA
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x4da4214b
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x309c3929
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x100017e9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
lea eax, [esp + 0x58]
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x4c], eax
jmp 0x1000183a
mov eax, esp
mov dword [eax], 0x1d494c
mov eax, dword [sym.imp.ole32.dll_RevokeDragDrop]
call eax
sub esp, 4
mov ecx, esp
mov dword [ecx], 0x2f
mov ecx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [esp + 0x48], eax
call ecx
sub esp, 4
mov word [esp + 0x46], ax
jmp 0x1000188b
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov edx, esp
mov dword [edx], 0x2e5433
mov edx, dword [sym.imp.SHLWAPI.dll_SHRegDuplicateHKey]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
call edx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x40]
sub edx, 0x29
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
je 0x1000180a
jmp 0x10001874
mov eax, dword [esp + 0x40]
sub eax, 0xa
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
jne 0x100018d4
jmp 0x1000188b
mov eax, dword [sym.imp.USER32.dll_GetFocus]
call eax
mov dword [esp + 0x64], 0x36
mov dword [esp + 0x24], eax
mov eax, esp
lea ecx, [esp + 0x64]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0xeea
mov dword [eax + 4], 0x58
mov dword [eax], 0xeed368
mov eax, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
call eax
sub esp, 0x14
mov dword [esp + 0x20], eax
jmp 0x10001944
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov ecx, esp
mov edx, dword [esp + 0x50]
mov dword [ecx], edx
mov ecx, dword [sym.imp.ADVAPI32.dll_FreeEncryptionCertificateHashList]
mov dword [esp + 0x1c], eax
call ecx
sub esp, 4
mov eax, esp
mov dword [eax + 4], 0xeaa
mov dword [eax], 0x3ef00c
mov eax, dword [sym.imp.GDI32.dll_SetTextAlign]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x3011e7
mov ecx, dword [sym.imp.GDI32.dll_WidenPath]
mov dword [esp + 0x18], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
jne 0x100018d4
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x6e
mov dword [esp + 0x4c], eax
jne 0x1000183a
mov esp, ebp
pop ebp
ret
Function at 0x1000b2e4
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000c402
lea ecx, [0x1000b3ea]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov dword [esp + 0x78], 0x14c200
mov dword [0x10042f14], 0x882
mov edx, dword [0x10042f00]
mov dword [esp + 0x4c], edx
mov edx, dword [0x10042f04]
mov dword [esp + 0x48], edx
mov edx, dword [0x10042f08]
mov dword [esp + 0x3c], edx
mov edx, dword [0x10042f0c]
mov dword [esp + 0x34], edx
mov edx, dword [0x10042f10]
mov dword [esp + 0x58], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000b382
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1000b3a0
mov dword [0x10042f14], 0x1759
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000b35f
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1000c29e
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10042f14], 0x26d9
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1000b9f5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10042f20], 0
mov byte [0x10042f24], 0
mov dword [0x10042f14], 0x1df0
mov dword [0x10042f1c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10042f1c]
add eax, 1
mov dword [0x10042f1c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000ba3a
jmp 0x1000ba79
mov eax, dword [0x10042f14]
add eax, 0x166c
mov dword [0x10042f14], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x10042f1c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000ba8a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x10042f20]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x10042f20], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10042f24], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x10042f24]
mov edx, dword [0x10042f20]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10042f1c]
add edx, 1
mov dword [0x10042f1c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x1000ba8a
jmp 0x1000ba62
Function at 0x1000bb1b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10042f1c], 0
mov dword [0x10042f20], 0
mov dword [0x10042f28], 0
mov dword [0x10042f18], 0xf3e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1000bc62
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10042f1c], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10042f20], edx
mov dword [0x10042f14], 0x24e2
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x10042f24], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10042f24]
mov edx, dword [0x10042f20]
mov byte [edi + edx], cl
mov dword [0x10042f14], 0xb03
mov edx, dword [0x10042f1c]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10042f20]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10042f28], ebx
mov dword [0x10042f14], 0x8a0
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x1000bc62
mov eax, dword [0x10042f1c]
mov ecx, dword [0x10042f20]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
jmp 0x1000bb7e
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000bdbc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1000bc6a
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000bdf8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [0x10042f18], 0x13cf
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x1000bf33
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x1000be70
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x40]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x1000bec5
jmp 0x1000be8c
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edx
jmp 0x1000be45
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x55], ch
mov byte [ebp - 0x56], dl
mov al, byte [ebp - 0x55]
mov cl, byte [ebp - 0x56]
and al, cl
test al, 1
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], edx
jne 0x1000be45
mov al, byte [ebp - 0x46]
test al, 1
jne 0x1000bef8
jmp 0x1000bece
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov edx, dword [ebp - 0x4c]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jb 0x1000be70
jmp 0x1000bf33
mov eax, dword [ebp - 0x50]
mov cx, word [eax]
mov edx, dword [ebp - 0x24]
add edx, 0x1c
movzx esi, cx
mov dword [0x10042f18], 0xa93
mov edi, dword [ebp - 0x1c]
add edi, edx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x5c]
add eax, dword [ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x60]
add edx, dword [eax + esi*4]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000c29e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1000c2d1
mov dword [0x10042f14], 0x1bc7
mov eax, dword [ebp - 0x30]
add eax, 0x12b2
mov dword [ebp - 0x34], eax
jmp 0x1000c3cd
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1000d4de]
mov dl, byte [eax + 0x1000d4af]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x1000c2d1
lea eax, [ebp - 0x20]
mov dword [0x10042f14], 0xe5c
mov dword [ebp - 0x38], eax
call fcn.1000c06e
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.1000c152
mov dword [ebp - 0x3c], eax
xor eax, eax
mov ecx, dword [0x10042f14]
add ecx, 0xffffef22
mov dword [0x10042f14], ecx
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0
mov dword [ebp - 0x34], eax
je 0x1000c3cd
mov eax, dword [ebp - 0x3c]
mov dword [0x10042f14], 0xe80
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x30], eax
call fcn.1000b6f9
mov eax, dword [ebp - 0x30]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x44], eax
mov dword [0x10042f14], 0x162c
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x30], edx
cmp edx, 0
mov dword [ebp - 0x34], eax
jne 0x1000c2b7
mov eax, dword [ebp - 0x34]
add esp, 0x4c
pop ebp
ret
Function at 0x494f0c
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], esp
call fcn.00494f15
dec ebx

Function at 0x494f15
Capabilities:
Execute anti-debugging instructions

Disassembly:
push word [esp + 2]
jns 0x494f4e
lea esp, [esp + 2]
mov dword [esp], ebp
push ecx
jmp 0x494f89
jmp 0x494f38
mov word [esp + 1], dx
push dword [esp + 1]
jmp 0x494f59

Function at 0x494f2d
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf04863bc
jmp 0x494fe0
lea esp, [esp]
mov dword [esp], ebx
call fcn.00494f0c
lea esp, [esp + 2]
mov dword [esp], ebp
push ecx
jmp 0x494f50
mov word [esp + 1], dx
push dword [esp + 1]
mov dword [esp + 4], esi
call 0x494f63
jg 0x494fca
push dword [esp + 2]
js 0x494f94
pushal
pop dword [esp + 8]
mov byte [esp + 0x1b], bh
jmp 0x494fbf
jmp 0x494fd5
lea esp, [esp + 0x1c]
pushal
lea esp, [esp + 0x19]
lea esp, [esp + 1]
mov dword [esp + 0xc], edi
jmp 0x494ff8
lea esp, [esp + 0x1c]
pushal
jmp 0x494f9b
push esi
and ecx, ebp
fimul dword [ebx]
add byte [eax], al
into
pop ecx
mov eax, 0x448f609b
and al, 8
pushal
pop dword [esp + 8]
mov byte [esp + 0x1b], bh
jmp 0x494f96
rdtsc
xchg ch, bl
jmp 0x495002
lea esp, [esp + 0xc]
pushfd
jmp 0x494eee
mov edi, dword [esp + 0x2c]
xchg dx, ax
mov ax, word [esp]
lea esi, [esp]
jmp 0x495015
bswap ecx
lea edx, [edi*4]
pushfd
jmp 0x4950dc
sub esp, 0xbc
mov ebp, esp
call fcn.0049508a

Function at 0x494f63
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf04863bc
jmp 0x494fe0
lea esp, [esp]
mov dword [esp], ebx
call fcn.00494f0c
lea esp, [esp + 2]
mov dword [esp], ebp
push ecx
jmp 0x494f50
mov word [esp + 1], dx
push dword [esp + 1]
mov dword [esp + 4], esi
call 0x494f63
jg 0x494fca
push dword [esp + 2]
js 0x494f94
pushal
pop dword [esp + 8]
mov byte [esp + 0x1b], bh
jmp 0x494fbf
jmp 0x494fd5
lea esp, [esp + 0x1c]
pushal
lea esp, [esp + 0x19]
lea esp, [esp + 1]
mov dword [esp + 0xc], edi
jmp 0x494ff8
lea esp, [esp + 0x1c]
pushal
jmp 0x494f9b
push esi
and ecx, ebp
fimul dword [ebx]
add byte [eax], al
into
pop ecx
mov eax, 0x448f609b
and al, 8
pushal
pop dword [esp + 8]
mov byte [esp + 0x1b], bh
jmp 0x494f96
rdtsc
xchg ch, bl
jmp 0x495002
lea esp, [esp + 0xc]
pushfd
jmp 0x494eee
mov edi, dword [esp + 0x2c]
xchg dx, ax
mov ax, word [esp]
lea esi, [esp]
jmp 0x495015
bswap ecx
lea edx, [edi*4]
pushfd
jmp 0x4950dc
sub esp, 0xbc
mov ebp, esp
call fcn.0049508a

Function at 0x49508a
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp fcn.00495033
cmc
jne 0x495059
rdtsc
call fcn.0049503d
aam 0xff
je 0x4950bc
add al, 0xc2
or byte [eax], al
inc esi
retf