joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4078e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
test esi, esi
push edi
mov ebx, ebp
je 0x407acb
cmp byte [esi + 0x5c], 0x72
jne 0x407acb
mov eax, dword [esi + 0x38]
cmp eax, 0xfffffffd
je 0x407ac0
cmp eax, 0xffffffff
je 0x407ac0
cmp eax, 1
jne 0x407925
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [esp + 0x14], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], 0x4000
cmp dword [esi + 0x58], 0
jne 0x407a43
cmp dword [esi + 4], 0
jne 0x407992
cmp dword [esi + 0x3c], 0
jne 0x407992
call fcn.0041a556
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call fcn.0041a90d
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x40798d
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call fcn.0041aa77
add esp, 4
test eax, eax
jne 0x407ab4
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, esi
call fcn.00409590
cmp eax, 1
mov dword [esi + 0x38], eax
jne 0x407a00
mov edi, dword [esi + 0xc]
mov edx, dword [esi + 0x4c]
mov eax, edi
sub eax, ebx
mov ecx, ebx
call fcn.004058e0
mov dword [esi + 0x4c], eax
mov eax, esi
mov dword [esp + 0x10], edi
call fcn.00407bc0
cmp eax, dword [esi + 0x4c]
jne 0x407a18
mov eax, esi
call fcn.00407bc0
call fcn.00407370
cmp dword [esi + 0x38], 0
jne 0x407a1f
mov ebx, dword [esi + 8]
mov ebp, dword [esi + 0x14]
mov edi, esi
call fcn.00409400
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebp
call fcn.004058e0
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
mov dword [esi + 0x4c], eax
cmp dword [esi + 0x38], 0
jne 0x407a21
cmp dword [esi + 0x3c], 0
jne 0x407a21
cmp dword [esi + 0x10], 0
jne 0x407933
jmp 0x407a21
mov dword [esi + 0x38], 0xfffffffd
mov ebx, edi
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x4c]
sub eax, ebx
mov ecx, ebx
call fcn.004058e0
mov dword [esi + 0x4c], eax
mov eax, 0x4000
sub eax, dword [esi + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esi + 4]
mov eax, dword [esi + 0x10]
cmp edi, eax
jbe 0x407a4f
mov edi, eax
test edi, edi
jbe 0x407a75
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push edi
push ecx
push edx
call fcn.0041faf0
add dword [esi], edi
sub dword [esi + 0x10], edi
lea eax, [edi + ebp]
add esp, 0xc
sub dword [esi + 4], edi
mov dword [esp + 0x14], eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
test eax, eax
jbe 0x407a93
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push eax
push 1
push edx
call fcn.0041a90d
add esp, 0x10
sub dword [esi + 0x10], eax
mov eax, 0x4000
sub eax, dword [esi + 0x10]
add dword [esi + 8], eax
add dword [esi + 0x14], eax
test eax, eax
jne 0x407ad0
mov dword [esi + 0x3c], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov dword [esi + 0x38], 0xffffffff
jmp 0x407a21
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x407ae0
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x407b83
cmp byte [edi + 0x5c], 0x77
jne 0x407b83
mov dword [edi + 4], ebx
push esi
lea esp, [esp]
mov esi, 0x4000
sub esi, dword [edi + 0x10]
je 0x407b2e
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x48]
push eax
push esi
push 1
push ecx
call fcn.0041ac05
add esp, 0x10
cmp eax, esi
jne 0x407b79
mov edx, dword [edi + 0x48]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], 0x4000
test ebx, ebx
jne 0x407b67
call fcn.00405c70
test esi, esi
mov dword [edi + 0x38], eax
jne 0x407b46
cmp eax, 0xfffffffb
jne 0x407b46
mov dword [edi + 0x38], esi
cmp dword [edi + 0x10], 0
jne 0x407b56
cmp dword [edi + 0x38], 1
je 0x407b56
xor ebx, ebx
jmp 0x407b5b
mov ebx, 1
mov eax, dword [edi + 0x38]
test eax, eax
je 0x407b00
cmp eax, 1
je 0x407b00
mov edi, dword [edi + 0x38]
mov eax, edi
sub eax, 1
neg eax
sbb eax, eax
pop esi
and eax, edi
pop edi
pop ebx
ret
or eax, 0xffffffff
pop esi
mov dword [edi + 0x38], eax
pop edi
pop ebx
ret
pop edi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x40dfb6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x40dfd6
cmp dword [edi + 0x54], 0
jne 0x40dfd6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040d2e3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040df7d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x40ff37
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43bff0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x40ff74
push 0x431190
push 4
push eax
call fcn.0041dad6
push eax
call fcn.00401140
add esp, 0x10
jmp 0x40ff86
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40fff1
push edi
call fcn.0041a556
mov edi, dword [eax]
call fcn.0041a556
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0041db5e
add esp, 0x18
mov ebx, eax
call fcn.0041a556
cmp dword [eax], 0
je 0x40ffd1
call fcn.0041a556
push dword [eax]
call fcn.0040eb30
pop ecx
jmp 0x40ffd8
call fcn.0041a556
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40fff1
cmp ebx, esi
jae 0x40fff1
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40fff3
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004194fa
leave
ret
Function at 0x415960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4159a3
call fcn.0040d2e3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4159a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4159be
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041551a
test ebx, ebx
mov esi, eax
je 0x4159bc
test edi, edi
je 0x4159bc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x416655
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 0x416683
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4166a1
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004165bf
jmp 0x4166a1
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4166a1
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004165bf
test edi, edi
mov eax, edi
jne 0x41668b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x43fcec]
test ecx, ecx
je 0x416764
jmp 0x416654
ret 8

Function at 0x4194fa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43bff0]
jne 0x419504
repz ret
jmp fcn.0041f9e0
Function at 0x41a671
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x41a6ae
cmp dword [ebp + 0x14], edi
je 0x41a6ae
cmp ecx, edi
jne 0x41a6b5
call fcn.0041a556
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0041ff5b
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x41a6c9
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x41a6ea
cmp ebx, 0xffffffff
je 0x41a6d9
push ebx
push edi
push ecx
call fcn.0041c1a0
add esp, 0xc
cmp esi, edi
je 0x41a696
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x41a696
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x41a706
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x41a70d
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x41a7fe
test word [esi + 0xc], 0x10c
je 0x41a761
mov eax, dword [esi + 4]
test eax, eax
je 0x41a761
jl 0x41a85f
cmp ebx, eax
mov edi, ebx
jb 0x41a732
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x41a806
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00419509
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x41a7f6
cmp ebx, dword [ebp - 0xc]
jb 0x41a7ce
cmp dword [ebp - 0xc], 0
je 0x41a78b
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x41a780
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x41a787
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x41a796
mov eax, SysReAllocString
cmp ebx, eax
ja 0x41a796
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x41a832
push eax
push dword [ebp - 8]
push esi
call fcn.0041e569
pop ecx
push eax
call fcn.00425198
add esp, 0xc
test eax, eax
je 0x41a871
cmp eax, 0xffffffff
je 0x41a85f
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x41a7f6
push esi
call fcn.00424ab7
cmp eax, 0xffffffff
pop ecx
je 0x41a863
cmp dword [ebp - 4], 0
je 0x41a832
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x41a715
mov eax, dword [ebp + 0x14]
jmp 0x41a6b0
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x41a81d
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0041c1a0
add esp, 0xc
call fcn.0041a556
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x41a6a6
cmp dword [ebp + 0xc], 0xffffffff
je 0x41a848
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0041c1a0
add esp, 0xc
call fcn.0041a556
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x41a6a6
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x41a6b0
or dword [esi + 0xc], 0x10
jmp 0x41a863
Function at 0x41e805
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x43c010]
je 0x41e820
inc edi
cmp edi, 0x17
jb 0x41e811
cmp edi, 0x17
jae 0x41e9a0
push ebp
push 3
call fcn.00428d54
cmp eax, 1
pop ecx
je 0x41e96c
push 3
call fcn.00428d54
test eax, eax
pop ecx
jne 0x41e854
cmp dword [0x43bbd4], 1
je 0x41e96c
cmp ebx, 0xfc
je 0x41e99f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x440230
push ebp
call fcn.00428cef
add esp, 0xc
test eax, eax
je 0x41e88a
push esi
push esi
push esi
push esi
push esi
call fcn.0041fe5f
add esp, 0x14
push 0x104
mov esi, 0x440249
push esi
push 0
mov byte [0x44034d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41e8ce
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00428cef
add esp, 0xc
test eax, eax
je 0x41e8ce
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041fe5f
add esp, 0x14
push esi
call fcn.00425590
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41e913
push esi
call fcn.00425590
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x440544
push 0x4327ec
sub ecx, eax
push ecx
push eax
call fcn.00428c3c
add esp, 0x14
test eax, eax
je 0x41e913
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041fe5f
add esp, 0x14
jmp 0x41e915
xor esi, esi
push 0x4327e8
push ebx
push ebp
call fcn.00428bcb
add esp, 0xc
test eax, eax
je 0x41e935
push esi
push esi
push esi
push esi
push esi
call fcn.0041fe5f
add esp, 0x14
push dword [edi*8 + 0x43c014]
push ebx
push ebp
call fcn.00428bcb
add esp, 0xc
test eax, eax
je 0x41e957
push esi
push esi
push esi
push esi
push esi
call fcn.0041fe5f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00428a0e
add esp, 0xc
jmp 0x41e99f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41e99f
cmp ebp, 0xffffffff
je 0x41e99f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x43c014]
push dword [esi]
call fcn.00425590
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x428a0e
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041f3b5
xor ebx, ebx
cmp dword [0x440d30], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x428ae4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x428bc4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x428bc4
push eax
call fcn.0041f347
mov dword [esp], 0x432ad0
push edi
mov dword [0x440d30], eax
call esi
push eax
call fcn.0041f347
mov dword [esp], 0x432abc
push edi
mov dword [0x440d34], eax
call esi
push eax
call fcn.0041f347
mov dword [0x440d38], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041b1db
test eax, eax
pop ecx
pop ecx
je 0x428ab2
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041fe5f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x428ae4
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041f347
cmp eax, ebx
pop ecx
mov dword [0x440d40], eax
je 0x428ae4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041f347
pop ecx
mov dword [0x440d3c], eax
mov eax, dword [0x440d3c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x428b69
cmp dword [0x440d40], ecx
je 0x428b69
push eax
call fcn.0041f3be
push dword [0x440d40]
mov esi, eax
call fcn.0041f3be
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x428b69
cmp edi, ebx
je 0x428b69
call esi
cmp eax, ebx
je 0x428b36
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x428b36
test byte [ebp - 0x18], 1
jne 0x428b69
lea eax, [ebp - 0x10]
push eax
call fcn.0041b212
test eax, eax
pop ecx
je 0x428b51
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041fe5f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x428b60
or dword [ebp + 0x10], 0x200000
jmp 0x428ba4
or dword [ebp + 0x10], 0x40000
jmp 0x428ba4
mov eax, dword [0x440d34]
cmp eax, dword [ebp - 8]
je 0x428ba4
push eax
call fcn.0041f3be
cmp eax, ebx
pop ecx
je 0x428ba4
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x428ba4
mov eax, dword [0x440d38]
cmp eax, dword [ebp - 8]
je 0x428ba4
push eax
call fcn.0041f3be
cmp eax, ebx
pop ecx
je 0x428ba4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x440d30]
call fcn.0041f3be
cmp eax, ebx
pop ecx
je 0x428bc4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x428bc6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42eb20
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43bff0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042eab5
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0041c1a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42eb6f
cmp dword [ebp - 0x1c], 5
jb 0x42eb87
jmp 0x42eb83
cmp dword [ebp - 0x10], 1
jne 0x42eb87
cmp dword [ebp - 0x1c], 4
ja 0x42eb83
jne 0x42eb87
cmp dword [ebp - 0x18], 0
jbe 0x42eb87
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x433c34
call fcn.0042e989
test eax, eax
jge 0x42eba8
mov byte [0x440e18], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004194fa
add ebp, 0x78
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x62cd7422
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x432060
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2b0e2556
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10001daf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x1001cf64], 0x18a6
mov dword [ebp - 0x10], eax
call fcn.100020cf
xor ecx, ecx
mov edx, eax
mov dword [0x1001cf64], 0x1b2b
mov esi, dword [eax + 0x3c]
mov dword [0x1001cf68], 0x1008
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1001cf68], 0x1ce1
mov ebx, dword [eax + esi + 0x24]
mov dword [0x1001cf64], 0x1959
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
je 0x10001f02
jmp 0x10001e58
mov al, byte [ebp - 0x29]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x30]
add edx, 1
mov ah, byte [ebp - 0x31]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x10001e82
jmp 0x10001eab
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x4c]
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 - 0x30], eax
mov byte [ebp - 0x29], bh
mov byte [ebp - 0x31], cl
jne 0x10001e2d
mov al, byte [ebp - 0x31]
test al, 1
jne 0x10001edf
jmp 0x10001eb4
mov eax, dword [ebp - 0x44]
add eax, 2
mov dword [ebp - 0x50], eax
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov edx, dword [ebp - 0x18]
cmp ecx, edx
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], eax
jb 0x10001e68
jmp 0x10001f02
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x1001cf64], 0x195f
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100022f5
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov eax, dword [0x1001cf64]
add eax, 0x851
mov dword [0x1001cf64], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x1001cf68], 0x2390
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1000235c
mov eax, 0xfffffce9
mov ecx, dword [ebp - 0x18]
add ecx, 1
cmp ecx, 0x104
mov edx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
jge 0x1000237a
mov eax, dword [ebp - 0x14]
mov ecx, 0x54c
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
jne 0x1000233b
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [0x1001cf68], eax
mov dword [0x1001cf64], 0x1103
mov edx, dword [ebp - 0x10]
cmp word [edx + ecx*2 - 0x1a], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jne 0x10002425
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10002425
mov dword [0x1001cf64], 0x10da
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x10002425
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x10002425
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x10002425
mov dword [0x1001cf64], 0x27cc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10002425
mov eax, 1
mov dword [0x1001cf64], 0xc6b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x2c], eax
je 0x10002439
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffb96
mov dword [0x1001cf64], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x100025d5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1000523b]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x1001cf64], 0x1fa4
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.10001d04
mov dword [0x1001cf64], 0xb6a
call fcn.10002e3a
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10001f0d
xor ecx, ecx
mov dword [0x1001cf64], 0x1d9b
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x100026f8
mov dword [0x1001cf64], 0x5b1
mov eax, dword [ebp - 0x3c]
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 - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.100031c8
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
mov dword [0x1001cf68], 0xb5e
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x20], ecx
mov dword [0x1001cf64], 0xc06
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x100026f8
mov eax, dword [ebp - 0x44]
add eax, 0x1d6d
mov dword [0x1001cf64], 0x263b
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret