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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0048392f
xor ebx, ebx
cmp dword [0x4f2504], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x48bfb9
push 0x4c6948
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
je 0x48c099
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x48c099
push eax
call fcn.004838c1
mov dword [esp], 0x4c692c
push edi
mov dword [0x4f2504], eax
call esi
push eax
call fcn.004838c1
mov dword [esp], 0x4c6918
push edi
mov dword [0x4f2508], eax
call esi
push eax
call fcn.004838c1
mov dword [0x4f250c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00479ead
test eax, eax
pop ecx
pop ecx
je 0x48bf87
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047883e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x48bfb9
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.004838c1
cmp eax, ebx
pop ecx
mov dword [0x4f2514], eax
je 0x48bfb9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004838c1
pop ecx
mov dword [0x4f2510], eax
mov eax, dword [0x4f2510]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x48c03e
cmp dword [0x4f2514], ecx
je 0x48c03e
push eax
call fcn.00483938
push dword [0x4f2514]
mov esi, eax
call fcn.00483938
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x48c03e
cmp edi, ebx
je 0x48c03e
call esi
cmp eax, ebx
je 0x48c00b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x48c00b
test byte [ebp - 0x18], 1
jne 0x48c03e
lea eax, [ebp - 0x10]
push eax
call fcn.00479ee4
test eax, eax
pop ecx
je 0x48c026
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047883e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x48c035
or dword [ebp + 0x10], 0x200000
jmp 0x48c079
or dword [ebp + 0x10], 0x40000
jmp 0x48c079
mov eax, dword [0x4f2508]
cmp eax, dword [ebp - 8]
je 0x48c079
push eax
call fcn.00483938
cmp eax, ebx
pop ecx
je 0x48c079
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x48c079
mov eax, dword [0x4f250c]
cmp eax, dword [ebp - 8]
je 0x48c079
push eax
call fcn.00483938
cmp eax, ebx
pop ecx
je 0x48c079
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f2504]
call fcn.00483938
cmp eax, ebx
pop ecx
je 0x48c099
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x48c09b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4969f8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0048392f
xor ebx, ebx
cmp dword [0x4f2560], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x496ace
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x496bae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c8634
push edi
call esi
cmp eax, ebx
je 0x496bae
push eax
call fcn.004838c1
mov dword [esp], 0x4c692c
push edi
mov dword [0x4f2560], eax
call esi
push eax
call fcn.004838c1
mov dword [esp], 0x4c6918
push edi
mov dword [0x4f2564], eax
call esi
push eax
call fcn.004838c1
mov dword [0x4f2568], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00479ead
test eax, eax
pop ecx
pop ecx
je 0x496a9c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047883e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x496ace
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004838c1
cmp eax, ebx
pop ecx
mov dword [0x4f2570], eax
je 0x496ace
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004838c1
pop ecx
mov dword [0x4f256c], eax
mov eax, dword [0x4f256c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x496b53
cmp dword [0x4f2570], ecx
je 0x496b53
push eax
call fcn.00483938
push dword [0x4f2570]
mov esi, eax
call fcn.00483938
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x496b53
cmp edi, ebx
je 0x496b53
call esi
cmp eax, ebx
je 0x496b20
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x496b20
test byte [ebp - 0x18], 1
jne 0x496b53
lea eax, [ebp - 0x10]
push eax
call fcn.00479ee4
test eax, eax
pop ecx
je 0x496b3b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047883e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x496b4a
or dword [ebp + 0x10], 0x200000
jmp 0x496b8e
or dword [ebp + 0x10], 0x40000
jmp 0x496b8e
mov eax, dword [0x4f2564]
cmp eax, dword [ebp - 8]
je 0x496b8e
push eax
call fcn.00483938
cmp eax, ebx
pop ecx
je 0x496b8e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x496b8e
mov eax, dword [0x4f2568]
cmp eax, dword [ebp - 8]
je 0x496b8e
push eax
call fcn.00483938
cmp eax, ebx
pop ecx
je 0x496b8e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4f2560]
call fcn.00483938
cmp eax, ebx
pop ecx
je 0x496bae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x496bb0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x49fde0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4b65c9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004a0240
mov dword [esi + 4], eax
mov bl, 1
mov byte [eax + 0x19], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor edi, edi
mov dword [eax + 8], eax
mov dword [esi + 8], edi
mov dword [esp + 0x20], edi
call fcn.004a1e90
movzx eax, al
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
lea ebp, [esi + 0x30]
mov dword [esi + 0x24], edi
mov ecx, ebp
mov byte [esp + 0x20], bl
mov dword [esi + 0x28], edi
call fcn.0049e610
mov dword [ebp + 4], eax
mov byte [eax + 0x15], bl
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
mov dword [ebp + 8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
lea ebx, [esi + 0x4c]
mov ecx, ebx
mov byte [esp + 0x20], 3
call fcn.0049e5b0
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4

Function at 0x4a2620
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4b6878
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
mov eax, dword [0x4e6f00]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
mov byte [esi + 8], 1
call fcn.004a2310
lea ecx, [esi + 4]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0x4a2560
push 0
push 0
mov dword [esp + 0x60], 0
call fcn.0047fe74
add esp, 0x18
test eax, eax
mov dword [esi], eax
jne 0x4a269a
lea ecx, [esp + 8]
call fcn.004a28c0
push 0x4d9080
lea eax, [esp + 0xc]
push eax
call fcn.0047bdc5
lea ecx, [esp + 0x18]
call fcn.004a23f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
call fcn.004a2370
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x44
ret 4
Function at 0x4a2c70
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0x10
push edi
push 0x4f2880
push 0x4a2b30
call fcn.004a2ea0
mov edi, dword [0x4f287c]
add esp, 8
mov ecx, edi
mov dword [esp + 4], edi
call fcn.004a2800
mov eax, dword [0x4e8664]
cmp eax, 0xffffffff
mov byte [esp + 8], 1
jne 0x4a2cb1
mov ecx, edi
pop edi
add esp, 0x10
jmp fcn.004a2820
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x4a2d32
mov eax, dword [0x4e8664]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x4a2d32
sub dword [0x4f2884], 1
lea ecx, [esp + 8]
call fcn.00456220
cmp dword [esi + 8], 0
je 0x4a2d17
mov eax, dword [esi + 4]
mov edi, dword [eax]
cmp edi, eax
jne 0x4a2cf5
call fcn.0047895e
mov edi, dword [edi + 8]
test edi, edi
je 0x4a2cfe
call edi
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push eax
push esi
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004a2bc0
cmp dword [esi + 8], 0
jne 0x4a2ce7
mov ecx, esi
call fcn.004a2c20
push esi
call fcn.00457af4
add esp, 4
cmp byte [esp + 0xc], 0
je 0x4a2d3e
mov edi, dword [esp + 8]
pop esi
mov ecx, edi
pop edi
add esp, 0x10
jmp fcn.004a2820
pop esi
pop edi
add esp, 0x10
ret
Function at 0x4a2ea0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b692b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
push ebx
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
push 1
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4a2ff3
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.00403ac0
lea eax, [ebp - 0xb0]
push str.2AC1A572DB6944B0A65C38C4140AF2F4
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00406ff0
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4a2f1c
xor eax, eax
jmp 0x4a2f23
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov edx, dword [eax + 0x10]
and edx, 0xfffff9ff
or edx, 0x800
push edi
mov dword [eax + 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, esi
call fcn.00433010
mov ecx, eax
call fcn.004a2d50
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00403c20
cmp dword [eax + 0x18], 0x10
jb 0x4a2f65
mov eax, dword [eax + 4]
jmp 0x4a2f68
add eax, 4
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp dword [ebp - 0x18], 0x10
mov esi, eax
mov dword [ebp - 0x14], esi
jb 0x4a2f88
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00457af4
add esp, 4
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 0xc]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4a2fc3
mov byte [ebp - 4], 1
call dword [ebp + 8]
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xffffffff
call fcn.00403ba0
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x64], vtable.std::ios_base.0
call fcn.0049c316
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a327b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4e6f00]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004a3210
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.0047c580
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 0x4a32ca
cmp dword [ebp - 0x1c], 5
jb 0x4a32e2
jmp 0x4a32de
cmp dword [ebp - 0x10], 1
jne 0x4a32e2
cmp dword [ebp - 0x1c], 4
ja 0x4a32de
jne 0x4a32e2
cmp dword [ebp - 0x18], 0
jbe 0x4a32e2
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4c92b4
call fcn.004a3101
test eax, eax
jge 0x4a3303
mov byte [0x4f2a4c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00477f65
add ebp, 0x78
leave
ret

Function at 0x4a3360
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
or eax, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x34], 0
jne 0x4a337e
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x4a33b1
xor eax, eax
jmp 0x4a3429
cmp dword [ebp + 0x30], 0
je 0x4a33cb
mov eax, dword [ebp + 0x30]
push eax
call fcn.0047be10
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4a33d2
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x30]
push edx
call fcn.004a3340
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004a3430
add esp, 0x14
test eax, eax
jne 0x4a33f8
xor eax, eax
jmp 0x4a3429
cmp dword [ebp + 0x2c], 0
je 0x4a3410
push 0x10
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x2c]
push eax
call fcn.0047d3f0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
and ecx, 4
test ecx, ecx
jne 0x4a3424
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4a39f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6970
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4e6f00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
cmp dword [ebp + 8], 0xffffffff
jne 0x4a3a36
push 0x62
push 0x4c93dc
push str.hFile___INVALID_HANDLE_VALUE
call fcn.0047cadc
add esp, 0xc
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4a3a86
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4a3a86
mov byte [ebp - 0x11], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4a3aa3
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov cl, 0x20
call fcn.004a4620
mov ecx, dword [ebp - 0x18]
xor esi, esi
or eax, ecx
or edx, esi
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x4a3ab6
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x764080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2a8000]
push edi
or ebp, 0xffffffff
jmp 0x7640a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7640a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x764098
mov eax, 1
add ebx, ebx
jne 0x7640bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7640cc
jne 0x7640eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7640eb
dec eax
add ebx, ebx
jne 0x7640d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7640b0
add ebx, ebx
jne 0x7640e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x76413d
xor ecx, ecx
sub eax, 3
jb 0x764103
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x764172
sar eax, 1
mov ebp, eax
jmp 0x76410e
add ebx, ebx
jne 0x76410e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7640dc
inc ecx
add ebx, ebx
jne 0x76411c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7640dc
add ebx, ebx
jne 0x764129
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x76411e
jne 0x76413a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x76411e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x76415c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x76414e
jmp 0x76409e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x76415c
add edi, ecx
jmp 0x76409e
pop esi
mov edi, esi
mov ecx, 0xaa25
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x76417a
cmp byte [edi], 0x26
jne 0x76417a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x76417f
lea edi, [esi + 0x360000]
mov eax, dword [edi]
or eax, eax
je 0x7641ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x381c94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x381d9c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7641ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x381da4]
or eax, eax
je 0x7641e8
mov dword [ebx], eax
add ebx, 4
jmp 0x7641c9
call dword [esi + 0x381da0]
mov ebp, dword [esi + 0x381da8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x764222
sub esp, 0xffffff80
jmp 0x640828
Function at 0x4030d1
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00403281
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4031cf
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x403172
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4031b5
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x403189
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4031a4
test al, 0x40
je 0x40319b
mov ecx, dword [edi + 0x20]
jmp 0x4031a2
test al, 0x80
je 0x4031b5
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4031b5
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x403141
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x41376d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4137a5
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x413793
mov al, 1
jmp 0x4137e6
cmp dword [ebx + 0x54], ecx
jne 0x41379c
mov al, 2
jmp 0x4137e6
cmp dword [ebx + 0x7c], ecx
jne 0x4137e6
mov al, 3
jmp 0x4137e6
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4137ba
mov al, 4
jmp 0x4137e6
cmp ecx, 5
jne 0x4137da
cmp ebx, 0
jne 0x4137c8
mov al, 5
jmp 0x4137e6
cmp ebx, 1
jne 0x4137d1
mov al, 6
jmp 0x4137e6
cmp ebx, 2
jne 0x4137da
mov al, 7
jmp 0x4137e6
cmp ecx, 6
jne 0x4137e6
cmp ebx, 0
jne 0x4137e6
mov al, 8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424d50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x490cab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00485211
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x424dd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048295a
mov eax, dword [eax]
push 0x4d61d0
push eax
call fcn.00475634
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048549c
test bl, bl
je 0x424dd2
push 0x4d61d0
lea ecx, [esp + 0xc]
call fcn.0048582c
push 0x4d9d44
lea ecx, [esp + 0xc]
call fcn.0048582c
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x424e0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048549c
jmp 0x424ed9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x424e92
lea edx, [esp + 0x7c]
push 0x4d9d40
push edx
call fcn.00475634
add esp, 8
test eax, eax
je 0x424e92
lea eax, [esp + 0x7c]
push 0x4d9d3c
push eax
call fcn.00475634
add esp, 8
test eax, eax
je 0x424e92
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x424e22
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0048549c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4256d0
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 0x425732
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