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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452046
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x46f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0041d42f
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0041ab86
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411e70
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4533ee
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x46f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [ebp - 0x2c], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
call fcn.00414310
mov dword [edi + 0x78], ebx
mov dword [edi + 0x7c], ebx
mov dword [edi + 0x80], ebx
lea eax, [edi + 0x8c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
jb 0x411ee6
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [edi + 0xa4]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x411f03
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push 0x11c
push ecx
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 7
push eax
call fcn.00437410
add esp, 0xc
mov dword [ebp - 0x14c], 0x11c
lea eax, [ebp - 0x14c]
push eax
call fcn.00415070
mov esi, eax
mov ecx, eax
call dword [0x4562d4]
call esi
mov eax, dword [ebp - 0x148]
cmp eax, 6
jne 0x411f59
cmp dword [ebp - 0x144], 3
jae 0x411f5b
jmp 0x411f60
jbe 0x411f60
mov ebx, 4
push dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push 0x10000000
push 0
push 0
push ebx
push str.Avast_SimpleHttp_3.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push eax
mov ecx, edi
call fcn.00412500
mov eax, dword [edi]
test eax, eax
jne 0x411faf
push str.Unable_to_initialize_a_WinHTTP_session_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a770
add esp, 0xc
lea eax, [ebp - 0x28]
push 0x46d888
push eax
call fcn.00437394
push 4
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x80
push ecx
push 0x54
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x411ff2
push dword [ebp - 0x18]
push str.Unable_to_set_WinHTTP_protocols___08lx__
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0041a770
add esp, 0x10
lea eax, [ebp - 0x28]
push 0x46d888
push eax
call fcn.00437394
or dword [ebp - 0x18], 0x200
lea eax, [ebp - 0x18]
push 4
push eax
push 0x54
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x412018
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x411fc9
push 0x3a98
push 0x3a98
push 0x7530
push 0
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x41203f
push str.Unable_to_set_WinHTTP_timeouts_
jmp 0x411f8e
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d21a
mov esp, ebp
pop ebp
ret 4
Function at 0x412240
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453478
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x46f074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
push 0x80
push 2
push esi
push 5
mov dword [ebp - 0x1c], ecx
mov ecx, eax
push 4
mov dword [ebp - 0x18], eax
call fcn.00409660
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], esi
cmp eax, 0xffffffff
jne 0x4122ae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x4123e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x20], 0xffffffff
push eax
mov ecx, edi
call fcn.00411be0
mov byte [ebp - 4], 1
movzx ecx, word [edi + 0x30]
push ecx
push eax
mov ecx, ebx
call fcn.00411c00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x4122f1
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040ca00
push 3
xor eax, eax
mov dword [ebp - 0x24], 7
push 0x4659c4
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
call fcn.0040b560
mov byte [ebp - 4], 2
lea eax, [ebp - 0x38]
push dword [ebp - 0x18]
mov ecx, ebx
sub esp, 0xc
push dword [ebp - 0x1c]
push eax
push edi
call fcn.00411d00
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
cmp eax, 8
jb 0x412346
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
call fcn.0040ca00
push 0xffffffffffffffff
push dword [ebx + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x41237c
push str.WaitForSingleObject_has_failed_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041a770
add esp, 0xc
lea eax, [ebp - 0x30]
push 0x46d888
push eax
call fcn.00437394
mov eax, dword [ebx + 0x40]
xor edi, edi
mov dword [ebp - 0x18], 0
test eax, eax
jne 0x4123b5
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push 0x20000013
push dword [ebx + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x4123b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
test edi, edi
cmove esi, dword [ebp - 0x18]
test esi, esi
je 0x4122a1
push 0xffffffffffffffff
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x412356
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test ebx, ebx
cmove eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d21a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453716
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x46f074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
lea eax, [esi + 0x4c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4143e3
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
push ecx
push ecx
mov byte [ebp - 4], 0xa
push ecx
mov dword [esi + 0x64], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x414409
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x14], edi
test edi, edi
jne 0x414436
push str.Unable_to_create_a_synchronization_event_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041a770
add esp, 0xc
lea eax, [ebp - 0x1c]
push 0x46d888
push eax
call fcn.00437394
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x24]
test eax, eax
je 0x414454
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], edi
test edi, edi
je 0x414410
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x414479
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x18], edi
test edi, edi
je 0x414410
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41449e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1c], edi
test edi, edi
je 0x414410
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x4144c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], edi
test edi, edi
je 0x414410
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4144f0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x14
cmp dword [eax + 0x10], 0
je 0x41451c
cmp dword [eax + 0x14], 8
jb 0x414507
mov eax, dword [eax]
push 0x10000000
push 0xffffffffffffffff
push eax
push dword [ecx + 0x10]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
je 0x414522
mov esp, ebp
pop ebp
ret 4
push str.Unable_to_add_headers_to_the_request_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041a770
add esp, 0xc
lea eax, [ebp - 0x14]
push 0x46d888
push eax
call fcn.00437394
int3
Function at 0x4156b0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
mov bh, 1
mov esi, edx
push edi
mov edi, ecx
mov bl, bh
nop dword [eax + eax]
test bl, bl
je 0x4156ef
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4156ec
and eax, 0x3126
mov ecx, 0x80
cmove eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
xor bl, 1
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x415727
add bh, 0xff
je 0x415721
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
mov ecx, 0xc8
mov eax, 0x14
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4156c0
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415748
and eax, 0x3126
mov ecx, 0x80
cmove eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x415750
Capabilities:
Check if file exists
Get file attributes
Move file
Set file attributes

Disassembly:
push ebx
push esi
mov bh, 1
mov esi, edx
push edi
mov edi, ecx
mov bl, bh
nop dword [eax + eax]
test bl, bl
je 0x41578f
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41578c
and eax, 0x3126
mov ecx, 0x80
cmove eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne bl
xor bl, 1
push 0xb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4157c7
add bh, 0xff
je 0x4157c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
mov ecx, 0xc8
mov eax, 0x14
cmovne ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x415760
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4157e8
and eax, 0x3126
mov ecx, 0x80
cmove eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
pop esi
mov al, 1
pop ebx
ret

Function at 0x4157f0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov bl, 1
nop word [eax + eax]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x415842
test al, 0x10
jne 0x415842
test bl, bl
je 0x415842
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41583a
add bl, 0xff
je 0x415800
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x415800
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452b56
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x46f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x30]
call fcn.00416330
push dword [edi + 0x30]
call fcn.0041d6ca
add esp, 4
lea ecx, [edi + 0x28]
call fcn.00416330
push dword [edi + 0x28]
call fcn.0041d6ca
add esp, 4
lea eax, [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov dword [ebp - 4], 0
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x4165a4
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x4165a4
mov eax, dword [ebx]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4562d4]
mov ecx, ebx
call esi
push 0x38
push edi
call fcn.0041d6cf
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d21a
mov esp, ebp
pop ebp
ret 4

Function at 0x417450
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x46f074]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
test edx, edx
je 0x4174f0
cmp word [edx], 0
je 0x4174f0
lea eax, [ebp - 0xc]
push eax
push 0x201
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4174d9
mov dword [ebp - 8], eax
nop word [eax + eax]
push eax
mov ecx, edi
call fcn.00410f50
lea eax, [ebp - 8]
push eax
push dword [edi]
push ebx
push 0
push str.ProgramFolder
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [edi], 0
mov esi, eax
mov eax, dword [ebp - 8]
jne 0x4174d1
test eax, eax
je 0x4174d1
test esi, esi
je 0x4174a0
cmp esi, 0xea
je 0x4174a0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4174f5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc], 0
jmp 0x4174f5
mov esi, 0x57
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
test esi, esi
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.0041d21a
mov esp, ebp
pop ebp
ret
Function at 0x420d7c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x443ff6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00443cb9

Function at 0x444001
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00443e3a
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
push 4
nop
nop
nop
pop edi
nop
nop
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
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1aaf6ade
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x38a016f
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10175482
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102b5af8]
jne 0x1017548c
repz ret
jmp fcn.1018200a

Function at 0x1018662f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.101728d1
and dword [ebp - 4], 0
cmp dword [0x102b6a28], 0
mov ebx, eax
jne 0x101866e0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10186791
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10186791
push eax
call fcn.1017285f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x102b6a28], eax
call esi
push eax
call fcn.1017285f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102b6a2c], eax
call esi
push eax
call fcn.1017285f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102b6a30], eax
call esi
push eax
call fcn.1017285f
pop ecx
mov dword [0x102b6a38], eax
test eax, eax
je 0x101866e0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1017285f
pop ecx
mov dword [0x102b6a34], eax
mov eax, dword [0x102b6a34]
cmp eax, ebx
je 0x10186738
cmp dword [0x102b6a38], ebx
je 0x10186738
push eax
call fcn.101728da
push dword [0x102b6a38]
mov esi, eax
call fcn.101728da
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10186738
test edi, edi
je 0x10186738
call esi
test eax, eax
je 0x1018672f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1018672f
test byte [ebp - 0xc], 1
jne 0x10186738
or dword [ebp + 0x10], 0x200000
jmp 0x10186771
mov eax, dword [0x102b6a2c]
cmp eax, ebx
je 0x10186771
push eax
call fcn.101728da
pop ecx
test eax, eax
je 0x10186771
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10186771
mov eax, dword [0x102b6a30]
cmp eax, ebx
je 0x10186771
push eax
call fcn.101728da
pop ecx
test eax, eax
je 0x10186771
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102b6a28]
call fcn.101728da
pop ecx
test eax, eax
je 0x10186791
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10186793
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10189ae1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov ecx, dword [0x102b4f5c]
add ecx, 0x205c
mov dword [0x102b4f58], ecx
mov dword [0x102b4f5c], 0x879
mov dword [ebp - 0x10], eax
call fcn.1018aecb
xor ecx, ecx
mov edx, eax
mov dword [0x102b4f58], 0xfffff7a8
mov esi, dword [eax + 0x3c]
mov dword [0x102b4f5c], 0x2416
mov dword [0x102b4f58], 0x1348
mov esi, dword [eax + esi + 0x78]
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x102b4f58], 0x254a
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 0x10189c54
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
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 - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x10189bea
mov eax, dword [ebp - 0x44]
add eax, 1
mov cl, byte [ebp - 0x45]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x46]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10189b99
mov al, byte [ebp - 0x46]
test al, 1
jne 0x10189c27
jmp 0x10189bf3
xor eax, eax
mov dword [0x102b4f58], 0x150d
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jb 0x10189b7f
jmp 0x10189c54
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov dword [0x102b4f5c], 0x2552
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 [0x102b4f58], 0xfffff15b
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10189cfc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x102b4f58], 0x204b
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102a269e]
mov dl, byte [eax + 0x102a266f]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10189d1e
lea eax, [ebp - 0x24]
mov dword [0x102b4f5c], 0x1bbe
mov dword [0x102b4f58], 0x14
mov dword [ebp - 0x34], eax
call fcn.1018a486
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1018a0fc
mov dword [0x102b4f58], 0xeeb
mov dword [0x102b4f5c], 0xfffffe15
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10189e44
mov eax, dword [ebp - 0x38]
mov dword [0x102b4f58], 0x2578
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 - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10189e4c
xor eax, eax
mov dword [0x102b4f5c], 0x145b
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x54], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
mov esi, dword [0x102b4f5c]
add esi, 0xffffec67
mov dword [0x102b4f58], esi
add ecx, 0x2522
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10189e3b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret