joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bfb0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4791c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046c963
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00471ff8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00473514
test eax, eax
je 0x44c0cc
mov ecx, dword [esp + 0x3c]
call fcn.00472025
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44c090
push edi
mov ecx, esi
call fcn.0046f691
mov ecx, esi
call fcn.0044c230
cmp dword [esp + 0x38], 1
jne 0x44c0c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046f7cc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44eb00
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44eb33
push esi
call fcn.00451c10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44eb2c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44ebb9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44eba2
mov eax, dword [esi + 8]
test eax, eax
je 0x44eb57
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44eb9e
cmp eax, 2
je 0x44eba2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44eb4a
cmp eax, 3
je 0x44eb7d
cmp eax, 1
jne 0x44eb4a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44eb4a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44eb4a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044ebe0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44ebc8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044ebe0
add esp, 4
pop esi
ret

Function at 0x46d758
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46d790
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046b80c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046b7e4
jmp 0x46d79c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46ee46
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46ee88
call fcn.004748fa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ee88
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ee7f
xor eax, eax
jmp 0x46ee90
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ee96
pop edi
pop esi
pop ebx
ret 4

Function at 0x474e2a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x474e58
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474e76
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474d90
jmp 0x474e76
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474e76
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00474d90
test edi, edi
mov eax, edi
jne 0x474e60
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4201e0
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0042025f
jae 0x4201ec
xor ecx, ecx
call fcn.0042025f
jae 0x420216
xor eax, eax
call fcn.0042025f
jae 0x420227
mov al, 0x10
call fcn.0042025f
adc al, al
jae 0x420208
jne 0x420254
stosb byte es:[edi], al
jmp 0x4201ed
call fcn.0042026b
dec ecx
loop 0x420233
mov eax, ebp
call fcn.00420269
jmp 0x420255
lodsb al, byte [esi]
shr eax, 1
je 0x42027b
adc ecx, 2
mov ebp, eax
jmp 0x420255
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00420269
cmp eax, 0x7d00
jae 0x420253
cmp eax, 0x500
jae 0x420254
cmp eax, 0x7f
ja 0x420255
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4201ed
pop ebp
ret 8

Function at 0x408938
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edi
add esi, 0xde8c8768
add esi, 0x32963a8c
call fcn.00408970
push 0xfbd92b8d
pop esi
or esi, ebx
xor dword [eax], edi
sub esi, 1
inc eax
cmp eax, ecx
jne fcn.00408938
and ebx, ebx
and ebx, ebx
ret
Function at 0x401d80
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x401de2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x401f60
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetTickCount]
push edi
mov dword [esp + 0x10], ecx
call esi
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.DLL_Sleep]
mov edi, eax
mov ecx, dword [esp + 0x10]
call fcn.00401fa0
test eax, eax
je 0x401f96
push 0
call ebp
call esi
sub eax, edi
cmp eax, ebx
jbe 0x401f7d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4058c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
push ebp
push esi
mov esi, ecx
xor ebp, ebp
cmp dword [esi + 0x74], ebp
je 0x405aa7
push ebx
push edi
lea ecx, [esi + 4]
call fcn.0040bc10
lea ecx, [esi + 0x3c]
mov dword [esp + 0x2c], eax
call fcn.0040bc10
mov ebx, dword [esi + 0xc8]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x94]
xor edx, edx
mov dl, byte [eax + ebx]
mov eax, ecx
mov edi, edx
cdq
sub eax, edx
mov edx, dword [esi + 0x98]
sar eax, 1
lea eax, [edi + eax - 0x80]
mov edi, dword [esi + 0x7c]
mov dword [esp + 0x20], eax
xor eax, eax
mov al, byte [edx + ebx]
mov ebx, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea edx, [ebx + eax - 0x80]
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], eax
jmp 0x40593a
xor ebp, ebp
dec edi
mov dword [esp + 0x18], ecx
cmp eax, edi
jne 0x405947
mov dword [esp + 0x18], ebp
cmp eax, ebp
mov dword [esp + 0x14], ecx
jne 0x405953
mov dword [esp + 0x14], ebp
xor edi, edi
mov edx, ecx
mov ebp, 1
imul edx, eax
dec ecx
cmp edi, ecx
lea eax, [edx + edi]
jne 0x405969
xor ebp, ebp
test edi, edi
mov edx, 1
jne 0x405974
xor edx, edx
mov ecx, dword [esi + 0xd0]
mov ebx, ecx
add ebp, ecx
sub ebx, edx
xor edx, edx
mov dl, byte [ebx + eax]
xor ebx, ebx
mov bl, byte [eax + ebp]
mov ebp, dword [esp + 0x18]
sub ebx, edx
mov edx, dword [esp + 0x20]
sub ebx, edi
lea edx, [ebx + edx + 0x7f]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x28], edx
mov edx, ecx
sub edx, ebx
xor ebx, ebx
add ecx, eax
mov bl, byte [edx + eax]
xor edx, edx
mov dl, byte [ecx + ebp]
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
sub edx, ebx
sub edx, ebp
lea ecx, [edx + ecx + 0x7f]
mov edx, dword [esp + 0x28]
test edx, edx
jl 0x4059d2
cmp edx, 0xff
jle 0x4059d4
xor edx, edx
test ecx, ecx
jl 0x4059e0
cmp ecx, 0xff
jle 0x4059e2
xor ecx, ecx
shl ecx, 8
add ecx, edx
mov edx, dword [esi + 0xd4]
xor ebx, ebx
mov bl, byte [ecx + edx]
mov edx, dword [esp + 0x1c]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [edx + eax*4 + 2]
xor ecx, ecx
mov cl, byte [edx + eax*4 + 1]
mov edx, ebx
mov dword [esp + 0x28], ebp
imul ecx, ebp
imul edx, ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
sar ecx, 8
mov bl, byte [ebp + eax*4]
mov ebp, dword [esp + 0x2c]
imul ebx, dword [esp + 0x28]
sar ebx, 8
sar edx, 8
mov byte [ebp + eax*4], bl
mov byte [ebp + eax*4 + 1], cl
mov byte [ebp + eax*4 + 2], dl
mov ecx, dword [esi + 0x78]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, ecx
jl 0x405955
mov edi, dword [esi + 0x7c]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x405938
mov eax, dword [esi + 0xa4]
mov edx, dword [esi + 0x94]
add edx, eax
mov eax, 0xff
mov ecx, edx
pop edi
cmp ecx, eax
mov dword [esi + 0x94], edx
pop ebx
jle 0x405a83
mov dword [esi + 0x94], 0
mov ecx, dword [esi + 0xa8]
mov edx, dword [esi + 0x98]
add edx, ecx
mov ecx, edx
mov dword [esi + 0x98], edx
cmp ecx, eax
jle 0x405aa7
mov dword [esi + 0x98], 0
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x405be0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea ecx, [ebx + 0x3c]
call fcn.0040bc10
lea ecx, [ebx + 4]
mov dword [esp + 0x48], eax
call fcn.0040bc10
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x50]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x24], eax
lea eax, [ecx*4]
mov dword [esp + 0x10], edx
mov edx, dword [ebx + 0xcc]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x54]
mov edi, dword [ebx + 0x7c]
mov dword [esp + 0x44], eax
xor eax, eax
mov al, byte [edx + esi]
mov edx, dword [ebx + 0xc8]
mov ebp, eax
xor eax, eax
mov al, byte [edx + esi]
mov dword [esp + 0x28], ebp
mov esi, eax
mov eax, dword [esp + 0x5c]
add esi, eax
mov eax, ecx
cdq
sub eax, edx
mov dword [esp + 0x2c], esi
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, edi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
cmp edi, edx
mov dword [esp + 0x1c], edx
jle 0x405dc0
mov edi, eax
imul eax, ebp
imul edi, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x4c], edi
add edx, 2
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edx
test ecx, ecx
mov dword [esp + 0x24], 0
jle 0x405d86
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
sub edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
sub eax, edi
mov edi, dword [esp + 0x20]
imul edi, ebp
xor ebp, ebp
imul ecx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ecx
jmp 0x405ce9
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, ebp
sub eax, ecx
mov ecx, dword [esp + 0x58]
sub eax, edx
sub ecx, edi
mov edi, dword [esp + 0x10]
cdq
idiv edi
add eax, dword [esp + 0x60]
cdq
idiv edi
mov eax, dword [esp + 0x40]
add eax, ecx
mov ecx, dword [esp + 0x44]
mov edi, edx
cdq
idiv ecx
add eax, dword [esp + 0x64]
cdq
idiv ecx
test edi, edi
jge 0x405d23
mov eax, dword [esp + 0x10]
add edi, eax
test edx, edx
lea eax, [edx + ecx]
jl 0x405d2c
mov eax, edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
shl ecx, 2
imul eax, ecx
add edx, eax
add esi, 4
mov cl, byte [edx + edi*4]
lea eax, [edx + edi*4]
mov byte [esi - 6], cl
mov ecx, dword [esp + 0x28]
mov dl, byte [eax + 1]
mov edi, dword [esp + 0x2c]
mov byte [esi - 5], dl
mov al, byte [eax + 2]
mov edx, dword [esp + 0x58]
mov byte [esi - 4], al
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [ebx + 0x78]
inc eax
add ebp, edi
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], edx
jl 0x405cdd
mov ebp, dword [esp + 0x28]
mov esi, edi
mov edi, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
inc edx
add eax, ebp
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
add edx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
add eax, edx
mov edx, dword [ebx + 0x7c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x405c8f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10
Function at 0x406180
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bc9fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
mov esi, ecx
push 0x4f77a4
push 0x104
mov dword [esp + 0x124], 0
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
push ecx
lea eax, [esp + 0x128]
mov ecx, esp
mov dword [esp + 8], esp
push eax
call fcn.004b2520
mov ecx, esi
call fcn.00406620
cmp eax, 1
jne 0x406273
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x4f78a8
call fcn.004b2520
mov ecx, esi
call fcn.004068d0
lea ecx, [esp + 0xc]
push 0x105
push ecx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.004b2819
push str.MacromedFlashFlash.ocx
lea ecx, [esp + 8]
mov byte [esp + 0x120], 1
call fcn.004b2819
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x120], 2
call fcn.004b2bc3
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
cmp esi, 0x20
jae 0x4062a4
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.004b27ab
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.004b27ab
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004b27ab
xor eax, eax
mov ecx, dword [esp + 0x114]
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
push str.DllRegisterServer
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x4062b6
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea ecx, [esp + 4]
mov byte [esp + 0x11c], 1
call fcn.004b27ab
lea ecx, [esp + 8]
mov byte [esp + 0x11c], 0
call fcn.004b27ab
lea ecx, [esp + 0x124]
mov dword [esp + 0x11c], 0xffffffff
call fcn.004b27ab
mov eax, 1
jmp 0x40628c
Function at 0x4068d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bca60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
push str.RUNDLL32.EXE_SETUPAPI.DLL_InstallHinfSection_DefaultInstall_132
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x18], eax
call fcn.004b2819
push 0x4f78a8
lea ecx, [esp + 8]
mov byte [esp + 0x68], 1
call fcn.004b2bc3
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.004b2bdb
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
pop edi
jne 0x406995
lea ecx, [esp]
mov byte [esp + 0x60], al
call fcn.004b27ab
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0xffffffff
call fcn.004b27ab
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 4
mov eax, dword [esp + 4]
push esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
lea ecx, [esp + 4]
mov byte [esp + 0x64], 0
call fcn.004b27ab
lea ecx, [esp + 0x6c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004b27ab
mov ecx, dword [esp + 0x5c]
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret 4
Function at 0x407300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bcb70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.004b8884
mov eax, dword [eax + 4]
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
lea eax, [esp + 0xc]
push 4
push eax
lea ecx, [esp + 0x30]
call fcn.004accf4
mov ecx, dword [esp + 0xc]
push str..JPG
push ecx
mov byte [esp + 0x28], 1
call fcn.004996d0
add esp, 8
cmp eax, ebx
jne 0x4074a4
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call fcn.00456160
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x4074a4
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
cmp eax, ebx
je 0x407476
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
mov dword [esi + 0xac], ecx
push ecx
push eax
lea ecx, [esi + 0x3c]
mov dword [esi + 0xb0], edx
call fcn.0040bc20
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
call fcn.004b8884
mov eax, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp ecx, ebx
mov dword [esi + 0xbc], 0x168
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xc0], eax
jne 0x407408
mov ecx, dword [esi + 0xb4]
shr ecx, 2
mov dword [esi + 0xc4], ecx
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jne 0x407427
mov edx, dword [esi + 0xb8]
shr edx, 2
mov dword [esi + 0xc8], edx
jmp 0x407436
mov ecx, dword [esi + 0xb8]
shr ecx, 2
mov dword [esi + 0xc8], ecx
push eax
mov ecx, esi
call fcn.00407000
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xb4]
push ebx
push 0x20
push edx
push eax
lea ecx, [esi + 0x74]
call fcn.0040b190
push 5
mov ecx, esi
call fcn.004b1f15
call fcn.004b8884
mov eax, dword [eax + 4]
push 0xffffffffffffffff
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x90]
jmp 0x4074d5
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
push eax
push str.Memory_error.
push ecx
call fcn.004b2ab4
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x2c], 2
call fcn.004b74cf
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x2c]
jmp 0x4074d0
lea edx, [esp + 0x28]
lea eax, [esp + 0x30]
push edx
push str.Cannot_open_image
push eax
call fcn.004b2ab4
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x2c], 3
call fcn.004b74cf
mov byte [esp + 0x20], 1
lea ecx, [esp + 0x30]
call fcn.004b27ab
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], bl
call fcn.004b27ab
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.004b27ab
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x408a10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bcd6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0xa
lea ecx, [esi + 0x38]
mov dword [esp + 0xc], esi
call fcn.004ae432
xor edi, edi
push 0xa
lea ecx, [esi + 0x54]
mov dword [esp + 0x18], edi
call fcn.004ae432
mov eax, dword [0x4f4df4]
mov dword [esi + 0x70], eax
mov edx, dword [0x4f4df4]
lea ecx, [esi + 0x78]
mov dword [ecx], edx
push 0x4f77a0
mov byte [esp + 0x18], 3
mov word [esi + 0x8c], di
mov word [esi + 0x8e], di
mov dword [esi + 0x74], edi
call fcn.004b2934
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40ae00
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c4e80
push 0x499a84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
rdtsc
mov esi, eax
mov edi, edx
call ebx
rdtsc
pop ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov edi, dword [ebp - 0x20]
push 1
push esi
push esi
mov eax, dword [ebp - 0x28]
push eax
call fcn.00499f50
sub eax, esi
sbb edx, edi
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sbb edx, esi
mov ecx, dword [ebp - 0x24]
add eax, ecx
adc edx, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40afc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4bce78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov ecx, 1
push eax
push 0x20
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], ecx
push 8
push 8
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esi], 0x4c4ea8
mov dword [esi + 0x20], 0x20
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 4], eax
mov dword [esi + 0x30], eax
call fcn.0040b0a0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40e410
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4bd14b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4f4df4]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
xor edi, edi
push 0x4f77a0
mov dword [esp + 0x18], edi
call fcn.004b2934
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], edi
mov dword [esi], edi
mov dword [esi + 0x1c], 0xffffff
mov dword [esi + 0x40], 1
mov dword [esi + 0x2c], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret