joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4050a0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ef3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4050a0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404ef3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4050bc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404f7c
xor eax, eax
push ebp
push 0x404f75
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00404cb8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404f5a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4050dc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404f5a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404f7c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405096
cmp byte [ebp - 0xd], 0
jne 0x404fc3
cmp byte [ebp - 0x12], 0
je 0x405096
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404fdc
dec ebx
cmp byte [ebx], 0x2e
je 0x404feb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404fdb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405096
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405028
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405096
cmp byte [ebp - 0xd], 0
je 0x405096
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405096
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40572c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405792
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403ed8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004029d4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40577c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405799
lea eax, [ebp - 0x10]
call fcn.00403c68
ret

Function at 0x407468
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404128
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407481
test al, 0x10
jne 0x407485
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x409d68
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409da1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d58
jmp 0x409daa
mov eax, ebx
mov edx, esi
call fcn.00403cbc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409db4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409dd5
mov al, byte [esp]
jmp 0x409dd7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a45c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a2d4
mov eax, dword [0x471a68]
cmp byte [eax], 0
je 0x40a4d8
mov eax, dword [0x4718c4]
call fcn.004028e0
call fcn.0040271c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004075e0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a520
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a50e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x471870]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x472660]
call fcn.00404c7c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b1bc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b220
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403ed8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004070e8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b227
lea eax, [ebp - 0xc]
call fcn.00403c68
ret
Function at 0x413b98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, eax
lea eax, [ebx + 4]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebx + 4]
push eax
call sub.user32.dll_GetForegroundWindow
push eax
call sub.user32.dll_ScreenToClient
mov eax, 1
call fcn.00413b84
mov byte [ebx + 0x12c], al
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], eax
lea edx, [ebx + 4]
mov eax, ebx
call fcn.00413f0c
mov esi, eax
mov dword [ebx + 0x14], esi
mov edi, dword [ebx + 0x10]
cmp esi, edi
je 0x413c00
test edi, edi
je 0x413bf2
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x18]
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413c00
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
cmp byte [ebx + 0x12c], 0
je 0x413c50
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413c21
cmp byte [esi + 0x2a], 0
jne 0x413c21
mov byte [esi + 0x2a], 1
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc]
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x413c73
lea ecx, [esp + 0x100]
mov edx, dword [ebx + 8]
sub edx, dword [ebx + 0x20]
mov eax, dword [ebx + 4]
sub eax, dword [ebx + 0x1c]
call fcn.00405ab0
lea edx, [esp + 0x100]
mov eax, esi
call fcn.00413a1c
jmp 0x413c73
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413c68
cmp byte [esi + 0x2a], 0
je 0x413c68
mov byte [esi + 0x2a], 0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x10]
cmp dword [ebx + 0x18], 0
je 0x413c73
xor eax, eax
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413c81
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x1c]
mov esi, dword [ebx + 0x14]
test esi, esi
je 0x413cc9
cmp byte [ebx + 0x12c], 0
je 0x413cc9
lea edx, [ebx + 4]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 4]
test al, al
jne 0x413cc9
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x413cc6
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
sub edx, dword [eax + 0x14]
mov dword [ebx + 0x1c], edx
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 8]
sub edx, dword [eax + 0x10]
mov dword [ebx + 0x20], edx
jmp 0x413cc9
cmp eax, dword [ebx + 0x14]
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x413d19
cmp byte [eax + 0x2a], 0
jne 0x413d19
lea esi, [ebx + 0x2c]
mov edi, esp
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x2c]
push eax
call sub.user32.dll_GetKeyboardState
xor esi, esi
mov eax, esp
test byte [eax], 0x80
jne 0x413d0f
test byte [ebx + esi + 0x2c], 0x80
je 0x413d0f
mov edx, esi
mov eax, dword [ebx + 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x20]
jmp 0x413d19
inc esi
inc eax
cmp esi, 0x100
jne 0x413cf7
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x41660c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
pushal
mov eax, dword [ebp + 0xc]
mov edx, eax
add edx, 0x5c
push edx
mov edx, dword [ebp + 8]
push edx
add eax, dword [ebp + 0x10]
mov ecx, eax
call dword [0x469518]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret 0xc
Function at 0x416638
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add eax, dword [0x469500]
mov eax, dword [eax + ebx*4]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
call dword [0x46951c]
popal
pop ebp
ret 0x14

Function at 0x4166e8
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add eax, dword [0x469500]
mov eax, dword [eax + ebx*4]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
call dword [0x46951c]
popal
pop ebp
ret 0x14

Function at 0x416798
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add eax, dword [0x469500]
mov eax, dword [eax + ebx*4]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x14]
call dword [0x469520]
popal
pop ebp
ret 0x10

Function at 0x41682c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 0xf8]
push edx
mov edx, dword [ebp + 0x10]
add edx, 0x5c
push edx
push edx
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
add eax, dword [0x469500]
mov eax, dword [eax + ebx*4]
push eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
call dword [0x46951c]
popal
pop ebp
ret 0x14

Function at 0x4168e8
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [0x469524]
test eax, eax
je 0x416910
push 1
push 0
push 0
push dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, 0x5c
push edx
push 3
mov ecx, dword [ebp + 0xc]
call dword [0x469524]
popal
pop ebp
ret 8

Function at 0x416948
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [0x469524]
test eax, eax
je 0x41696e
push 1
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
mov edx, ecx
add edx, 0x5c
push edx
push 0xa
call dword [0x469524]
popal
pop ebp
ret 4

Function at 0x4169a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
pushal
mov eax, dword [0x469524]
test eax, eax
je 0x4169c3
push 1
push 0
push 0
push 0
push dword [ebp + 8]
push 2
mov ecx, dword [ebp + 0xc]
call dword [0x469524]
popal
pop ebp
ret 8

Function at 0x416c84
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
pushal
mov byte [ebp - 1], 0
mov ecx, dword [ebp + 0xc]
add ecx, dword [0x469504]
push dword [ebp + 8]
call dword [0x46952c]
mov byte [ebp - 1], al
popal
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret 8

Function at 0x416cac
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ecx
pushal
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, dword [0x469504]
push dword [ebp + 8]
call dword [0x469528]
mov dword [ebp - 4], eax
popal
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret 8
Function at 0x42a71c
Capabilities:
Allocate or change rwx memory

Disassembly:
push esi
push edi
add esp, 0xfffffff0
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_VirtualProtect
lea eax, [esp + 0xc]
push eax
push 0x40
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, dword [esp + 4]
dec edx
test edx, edx
jl 0x42a76f
inc edx
xor eax, eax
mov ecx, dword [esp]
add ecx, eax
mov esi, edi
add esi, eax
mov cl, byte [ecx]
mov byte [esi], cl
inc eax
dec edx
jne 0x42a75e
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
push edi
call sub.kernel32.dll_VirtualProtect
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
add esp, 0x10
pop edi
pop esi
ret
Function at 0x42a7c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov byte [ebp - 1], 0
mov byte [ebp - 0xd], 0xe9
xor esi, esi
lea eax, [ebp - 8]
push eax
push 0x40
push 0xc
push ebx
call sub.kernel32.dll_VirtualProtect
mov eax, ebx
call fcn.0042a5d4
mov edi, eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push edi
push ebx
call sub.kernel32.dll_VirtualProtect
add ebx, edi
add esi, edi
cmp esi, 5
jl 0x42a7d6
sub ebx, esi
lea edi, [esi + 5]
mov eax, edi
call fcn.00402628
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x42a962
lea eax, [ebp - 8]
push eax
push 0x40
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x42a962
lea eax, [ebp - 8]
push eax
push 0x40
push edi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x42a962
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, esi
mov edx, ebx
call fcn.0042a71c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov al, byte [eax]
cmp al, 0xe8
je 0x42a871
mov edx, dword [ebp + 0x10]
cmp al, 0xe9
jne 0x42a892
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
inc eax
mov edi, dword [eax]
add edi, ebx
add edi, 5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, edi
call fcn.0042a7a4
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
inc edx
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp word [eax], 0x840f
jne 0x42a8c3
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 2
mov edi, dword [eax]
add edi, ebx
add edi, 5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, edi
call fcn.0042a7a4
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
add edx, 2
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov edx, eax
inc edx
cmp word [edx], 0x850f
jne 0x42a8f9
mov edi, ebx
inc edi
mov edx, dword [ebp + 0x10]
add eax, 2
inc eax
add edi, dword [eax]
add edi, 5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
inc eax
mov edx, edi
call fcn.0042a7a4
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
add edx, 2
inc edx
mov dword [edx], eax
mov edi, ebx
mov edx, edi
add edx, esi
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, esi
sub edx, eax
sub edx, 5
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xd]
mov ecx, dword [ebp + 0x10]
mov ecx, 5
call fcn.0042a71c
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0xd]
mov ecx, 5
mov eax, ebx
call fcn.0042a71c
cmp byte [edi], 0xe9
jne 0x42a941
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
add esi, 5
push esi
push ebx
call sub.kernel32.dll_VirtualProtect
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43270c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43278e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x43276c
lea eax, [ebp - 4]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00403ed8
lea eax, [ebp - 4]
mov edx, 2
call fcn.00404264
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00403cbc
jmp 0x432778
mov eax, ebx
mov edx, 0x4327a4
call fcn.00403cbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432795
lea eax, [ebp - 4]
call fcn.00403c68
ret
Function at 0x468cb0
Capabilities:
Create thread

Disassembly:
push ecx
push 0x468d08
push 0xffffffffffffffff
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov dword [0x4717a0], eax
cmp dword [0x4717a0], 0
je 0x468ce5
mov eax, dword [0x471aa8]
mov byte [eax], 1
mov eax, dword [0x4717a0]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x468ced
mov eax, dword [0x471aa8]
mov byte [eax], 0
push esp
push 0
push 0
push 0x42db70
push 0
push 0
call sub.kernel32.dll_CreateThread
push eax
call sub.kernel32.dll_CloseHandle
pop edx
ret
Function at 0x100011c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100011d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x100011ed
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1000120e
cmp esi, eax
jae 0x100011e7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001200
cmp esi, eax
jae 0x100011e7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x1000fce0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
lea ecx, [ebx + 0x8304]
call fcn.100205a0
mov eax, dword [ebx + 0x11d10]
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebx + 0x11d10]
je 0x1000fd2d
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi]
push eax
call ebp
lea edx, [ebx + 0x11ccc]
mov ecx, 0x11
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x44
pop edi
mov ebx, dword [ebx + 0x11d14]
test ebx, ebx
je 0x1000fd47
push ebx
call ebp
xor ecx, ecx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
pop esi
pop ebp
pop ebx
ret

Function at 0x10012320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008c6d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.10012260
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.10005090
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x100123b2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x100128e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1008c758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x100ba4f0]
xor eax, esp
push ebx
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
cmp eax, 1
mov dword [esp + 0x30], ebx
jne 0x1001292f
push eax
push 0x100913f4
jmp 0x10012949
cmp eax, 4
jne 0x1001293d
push 1
push 0x100913f0
jmp 0x10012949
cmp eax, 2
jne 0x10012952
push 1
push str.smz
lea ecx, [esp + 0x10]
call fcn.10007f20
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x10]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10007df0
cmp dword [esp + 0x20], 0x10
pop ebx
jb 0x10012983
mov ecx, dword [esp + 8]
push ecx
call fcn.100788bb
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
xor ecx, esp
mov eax, esi
call fcn.10043e9e
add esp, 0x30
ret
Function at 0x100163f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1008ca91
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x10090a11
lea ecx, [esi + 4]
mov dword [esp + 0x10], esi
mov dword [esi], ebx
call fcn.1000b0b0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
push 0x10090a11
lea ecx, [esi + 0x18]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], ebx
call fcn.1000b0b0
push 0x10090a11
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 1
call fcn.1000b0b0
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], ebx
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
xor eax, eax
lea edi, [esi + 0x38]
mov ecx, 0x32
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x1008cbc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x18], ebp
mov dword [esi], 0x10091628
call fcn.10034230
mov dword [edi + 4], eax
mov dword [edi + 8], ebp
lea edi, [esi + 0x20]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.10011bc0
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x21], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret