joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c4c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ab7c8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x45c4f9
inc eax
mov dword [esi + 0x10], eax
jmp 0x45c60c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x45c50d
mov eax, 0xffffffc7
jmp 0x45c60e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x45c51e
cmp dword [esi + 8], eax
jne 0x45c50d
cmp dword [esi + 8], eax
jne 0x45c537
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x45c537
mov eax, 0xffffffc7
jmp 0x45c60e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x45c54b
push eax
mov ecx, ebx
call fcn.0045bcf0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.0042c3d0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x45c57c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.0042c3f0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.0045b460
test eax, eax
mov dword [esp + 0x38], eax
je 0x45c5af
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x118d760
call fcn.0042c5d0
mov eax, dword [esp + 0x38]
jmp 0x45c60e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.0045c320
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x45c5f3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.0045c340
mov esi, eax
test esi, esi
jne 0x45c623
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.0045c320
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x45c5c5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x118d760
call fcn.0042c5d0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x118d760
call fcn.0042c5d0
mov eax, esi
jmp 0x45c60e

Function at 0x461030
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x461090
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x461090
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x461090
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x461090
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4610d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x46cc20
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004a4ac6
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0046c580
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004a49f4
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004a12b5
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004a12b5
push 1
push 0
push 0
mov ecx, esi
call fcn.004a125d
push 1
push 0
push 1
mov ecx, esi
call fcn.004a125d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a4b38
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x46cda0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004a4ac6
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0046c580
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004a49f4
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x46ce64
cmp dword [esp + 0x40], 1
jne 0x46ce62
cmp ecx, eax
jge 0x46ce64
mov eax, ecx
cmp eax, 0xc8
jge 0x46ce70
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0046cc20
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a4b38
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x46d660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac183
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.0049f6d5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.004a4d6e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a628a
test eax, eax
je 0x46d77c
mov ecx, dword [esp + 0x3c]
call fcn.004a4d9b
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 0x46d740
push edi
mov ecx, esi
call fcn.004a2400
mov ecx, esi
call fcn.0046d920
cmp dword [esp + 0x38], 1
jne 0x46d775
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.004a253b
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 0x46f960
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x46f993
push esi
call fcn.0047dbd0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46f98c
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 0x46fa19
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x46fa02
mov eax, dword [esi + 8]
test eax, eax
je 0x46f9b7
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 0x46f9fe
cmp eax, 2
je 0x46fa02
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46f9aa
cmp eax, 3
je 0x46f9dd
cmp eax, 1
jne 0x46f9aa
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 0x46f9aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46f9aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0046fa40
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x46fa28
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0046fa40
add esp, 4
pop esi
ret

Function at 0x4702b0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4702d1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4702d1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4702d1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x48b010
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x11ab6fc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x48b023
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x48b064
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x11ab7a4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x48b096
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48b09a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x48b08b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x48b0b8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x48b0bc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x48b0ad
xor ecx, ecx
mov eax, 0x11ab70c
xor ebx, ebx
mov bl, byte [ecx + 0x11ab7b4]
cmp byte [esp + ebx + 0x14], 0
je 0x48b0e7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x11ab7cc]
cmp byte [esp + ebx + 0x14], 0
je 0x48b0fe
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x48b0ce
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x48b057
lea edx, [esp + 0x84]
push edx
call fcn.0048b140
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4a04cb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a0503
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.0049e582
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049e55a
jmp 0x4a050f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a1bbd
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 0x4a1bff
call fcn.004a767a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a1bff
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a1bf6
xor eax, eax
jmp 0x4a1c07
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a1c0d
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a7baa
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 0x4a7bd8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a7bf6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a7b10
jmp 0x4a7bf6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a7bf6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a7b10
test edi, edi
mov eax, edi
jne 0x4a7be0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x6180193c
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x17404a5c
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x422937
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419b87
and dword [ebp - 4], 0
cmp dword [0x42ffe0], 0
mov ebx, eax
jne 0x4229e8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422a99
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422a99
push eax
call fcn.00419b15
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42ffe0], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42ffe4], eax
call esi
push eax
call fcn.00419b15
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42ffe8], eax
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42fff0], eax
test eax, eax
je 0x4229e8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00419b15
pop ecx
mov dword [0x42ffec], eax
mov eax, dword [0x42ffec]
cmp eax, ebx
je 0x422a40
cmp dword [0x42fff0], ebx
je 0x422a40
push eax
call fcn.00419b90
push dword [0x42fff0]
mov esi, eax
call fcn.00419b90
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x422a40
test edi, edi
je 0x422a40
call esi
test eax, eax
je 0x422a37
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x422a37
test byte [ebp - 0xc], 1
jne 0x422a40
or dword [ebp + 0x10], 0x200000
jmp 0x422a79
mov eax, dword [0x42ffe4]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422a79
mov eax, dword [0x42ffe8]
cmp eax, ebx
je 0x422a79
push eax
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a79
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42ffe0]
call fcn.00419b90
pop ecx
test eax, eax
je 0x422a99
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422a9b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x71847b68
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5cf316b8
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40190c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4a8
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [eax + 0x33a4f]
test edx, edx
mov dword [esp], eax
je 0x40196e
mov esi, dword [eax + 0x33a53]
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [eax + edi*4 + 0x33a57]
add ebx, esi
mov dword [esp + edi*4 + 0x64], ebx
inc edi
cmp edx, edi
jne 0x40194c
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0x128]
jmp 0x40196e
mov byte [esp + 4], 0
mov dword [esp + 5], esi
mov dword [esp + 9], edx
mov edx, dword [esp + 0x188]
mov byte [esp + 0xd], dl
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x48]
jmp 0x40199d
inc edx
mov esi, dword [esp + 0xdc]
test esi, esi
je 0x4019d4
cmp byte [edx], 0
jne 0x40199c
lea edi, [esi - 1]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp edi, ebx
je 0x4019d4
movzx eax, byte [esp + ebx + 5]
lea ebp, [ebx + 1]
cmp al, byte [edx + ebx*2 + 2]
mov ebx, ebp
je 0x4019bc
cmp ebp, esi
jb 0x40199c
mov eax, dword [esp + 0xdc]
lea edx, [edx + eax*2]
invalid
invalid

Function at 0x401ad0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 0x14]
Function at 0x401c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
and al, 0x8b
je 0x401c86
sbb al, 0x89
je 0x401cac
or al, 0x8b
inc esp
add ah, byte [ecx + ecx*4]
inc esp
and al, 0x1c
Function at 0x4020a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
nop
movsx ecx, byte [esi]
imul ebp, dword [edi + 0xa8]
movzx ecx, cx
add ebp, ecx
inc esi
dec ebx
jne 0x4020a2
cmp ebp, dword [esp]
jne 0x4020c9
jmp 0x4020cc

Function at 0x4021d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 4]
mov ecx, dword [edx + ecx*4]
add ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x10]
mov dword [esp], ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov esi, dword [ecx + edx*4]
add esi, eax
mov ebp, 0xffffffff
xor ecx, ecx
mov ebx, ecx
cmp byte [esi + ebp + 1], 0
lea ebp, [ebp + 1]
lea ecx, [ecx + 1]
jne 0x402202
test ebp, ebp
je 0x402242
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movsx ecx, byte [esi]
imul ebp, dword [edi + 0xa8]
movzx ecx, cx
add ebp, ecx
inc esi
dec ebx
jne 0x402222
cmp ebp, dword [esp]
jne 0x402249
jmp 0x40224c
xor ebp, ebp
cmp ebp, dword [esp]
je 0x40224c
inc edx
jmp 0x4021f2
mov ecx, dword [esp + 0xc]
movzx ecx, word [ecx + edx*2]
mov edx, dword [esp + 4]
mov ecx, dword [edx + ecx*4]
add ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [edi]
mov dword [esp], ecx
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x4031a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
xor esi, esi
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x403266
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
and ecx, 0xffff
sub eax, esi
mov dword [esp + 0x1c], ecx
je 0x403257
dec eax
je 0x40321f
dec eax
jne 0x40330e
mov eax, dword [esp + 0x14]
cmp eax, 5
mov esi, 1
jne 0x40320e
cmp edx, esi
jae 0x403215
mov eax, 0xe7c9
jmp 0x403312
jb 0x40325c
cmp edx, 1
jb 0x40325c
mov eax, 0xe7cb
jmp 0x403312
cmp edx, 0xa
jae 0x403239
xor ecx, ecx
mov esi, 3
mov eax, 0xe70d
mov dword [esp + 0x1c], ecx
jmp 0x403312
cmp edx, 0x5a
mov esi, 4
jae 0x40324d
mov eax, 0xe7c6
jmp 0x403312
mov eax, 0xe7ca
jmp 0x403312
mov esi, 2
mov eax, 0xe70b
jmp 0x403312
mov ax, bx
shr ax, 8
movzx edi, bl
movzx edx, al
xor ecx, ecx
cmp ebx, 0x80000000
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x24], cl
jae 0x4032d2
cmp edi, 5
mov esi, 1
jne 0x4032ab
cmp edx, esi
jae 0x4032b2
shr ebx, 0x10
mov ecx, ebx
mov eax, 0xe7c9
mov dword [esp + 0x1c], ecx
jmp 0x403312
jb 0x4032c2
cmp edx, 1
jb 0x4032c2
shr ebx, 0x10
mov ecx, ebx
mov eax, 0xe7cb
mov dword [esp + 0x1c], ecx
jmp 0x403312
shr ebx, 0x10
mov ecx, ebx
mov eax, 0xe70b
mov dword [esp + 0x1c], ecx
jmp 0x403312
cmp bl, 4
jae 0x4032f2
shr ebx, 0x10
and ebx, 0xffff7fff
mov ecx, ebx
mov esi, 2
mov eax, 0xe70b
mov dword [esp + 0x1c], ecx
jmp 0x403312
cmp al, 0xa
jae 0x403302
mov esi, 3
mov eax, 0xe70d
jmp 0x403312
mov esi, 4
mov eax, 0xe7c6
jmp 0x403312
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0xa8]
test edi, edi
je 0x40338a
test ecx, ecx
je 0x40335d
lea ebx, [esp + 0x24]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ecx
push eax
call fcn.0040de90
add esp, 4
push eax
push 0xe7c7
call fcn.0040de90
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x98
ret 4
lea ecx, [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
call fcn.0040de90
add esp, 4
push eax
push 0xe7c8
call fcn.0040de90
add esp, 4
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x98
ret 4