joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0xc]
push eax
push 2
call fcn.00402b05
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x618
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404036
mov dword [ebp - 4], 0x4644
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x40bfc0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40403d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
push 4
call fcn.00402b05
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x618
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4040ab
mov dword [ebp - 4], 0x654
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x40bfc8
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x40421c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
push 3
call fcn.00402b05
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x618
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40428a
mov dword [ebp - 4], 0x53c
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x40bfe0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4047e7
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov dword [ebp - 4], 0x208
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x404816
mov eax, dword [ebp - 8]
jmp 0x404867
lea edx, [ebp - 0x418]
push edx
call fcn.0040486b
add esp, 4
test eax, eax
je 0x40482d
xor eax, eax
jmp 0x404867
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_wcscat
add esp, 8
push 0x40c0c8
mov edx, dword [ebp + 8]
push edx
call sub.MSVCRT.dll_wcscat
add esp, 8
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_wcscpy
add esp, 8
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x404cf1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 0
je 0x404d03
cmp dword [ebp + 0xc], 0
jne 0x404d0a
mov eax, 0x80070057
jmp 0x404d7c
mov eax, dword [ebp + 8]
mov word [eax], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 1
call fcn.00402b05
add esp, 8
lea edx, [ebp - 0xc]
push edx
push 0x20019
push 0
mov eax, dword [ebp + 0xc]
add eax, 0x618
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x404d79
mov dword [ebp - 4], 0x108
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x40b050
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x404d80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x404d92
cmp dword [ebp + 0xc], 0
jne 0x404d99
mov eax, 0x80070057
jmp 0x404e09
mov eax, dword [ebp + 0xc]
push eax
push 1
call fcn.00402b05
add esp, 8
lea ecx, [ebp - 8]
push ecx
push 2
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x618
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x404e06
mov eax, dword [ebp + 8]
push eax
call sub.MSVCRT.dll_wcslen
add esp, 4
shl eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
push 1
push 0
push 0x40b050
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x405ba8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
mov eax, dword [ebp + 0xc]
push eax
push 2
call fcn.00402b05
add esp, 8
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 0xc]
add edx, 0x618
push edx
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x405c07
jmp 0x405c81
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x40c184
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0
je 0x405c48
jmp 0x405c7f
cmp dword [ebp + 8], 0
je 0x405c61
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCRT.dll_wcscpy
add esp, 8
cmp dword [ebp - 0x218], 0
je 0x405c77
mov eax, dword [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
jmp 0x405c83
jmp 0x405c61
jmp 0x405c61
mov esp, ebp
pop ebp
ret
Function at 0x405f5e
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.MSSQLServerADHelper
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 4], 0
je 0x405fb1
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 2
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov cx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov esp, ebp
pop ebp
ret
Function at 0x4068db
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068ff
xor eax, eax
test eax, eax
je 0x406912
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406912
xor ecx, ecx
jmp 0x406915
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a38
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43110c], 0
push esi
jne 0x406a6f
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a49
mov dword [ecx*4 + 0x431108], eax
inc ecx
cmp ecx, 0x100
jl 0x406a44
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aa0
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431108]
xor eax, esi
inc ecx
dec edx
jne 0x406a82
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x1b804c9b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x35682273
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100013d0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000eed0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10014160]
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 dword [ebp - 0x10], esp
mov esi, ecx
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x78]
call fcn.100010c0
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x78]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jne 0x1000154c
xor edi, edi
lea eax, [ebp - 0x78]
call fcn.100016f0
push eax
lea esi, [ebp - 0x30]
call fcn.10001680
mov byte [ebp - 4], 2
mov edi, 1
lea eax, [ebp - 0x78]
call fcn.100016f0
push eax
lea esi, [ebp - 0x4c]
call fcn.10001680
mov bl, 3
mov byte [ebp - 4], bl
call fcn.10003f40
lea eax, [ebp - 0x30]
call fcn.10004130
test al, al
je 0x100014da
cmp dword [ebp - 0x3c], 0
je 0x100014da
mov ecx, esi
lea esi, [ebp - 0x68]
call fcn.10001210
mov byte [ebp - 4], 4
push eax
call fcn.10003f40
lea edi, [ebp - 0x30]
mov ecx, eax
call fcn.10004150
mov edi, eax
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.10001650
mov byte [ebp - 4], 2
lea esi, [ebp - 0x4c]
call fcn.100016b0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.100016b0
mov byte [ebp - 4], 0
lea ebx, [ebp - 0x78]
call fcn.10001b20
mov eax, edi
jmp 0x100015dc
push str.C:_fxlog
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
je 0x100014ff
push str.return__1._path:
call esi
push 0x10011574
call esi
push str.C:_fxlog
call edi
test eax, eax
je 0x10001520
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x10001516
lea eax, [ebp - 0x30]
push eax
call esi
push 0x10011574
call esi
mov byte [ebp - 4], 2
lea esi, [ebp - 0x4c]
call fcn.100016b0
mov byte [ebp - 4], 1
lea esi, [ebp - 0x30]
call fcn.100016b0
mov byte [ebp - 4], 0
lea ebx, [ebp - 0x78]
call fcn.10001b20
or eax, 0xffffffff
jmp 0x100015dc
push str.C:_fxlog
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
je 0x10001571
push 0x10011578
call edi
push 0x10011574
call edi
push str.C:_fxlog
call ebx
test eax, eax
je 0x1000158e
cmp dword [esi + 0x14], 8
jb 0x10001584
mov esi, dword [esi]
push esi
call edi
push 0x10011574
call edi
mov byte [ebp - 4], 0
lea ebx, [ebp - 0x78]
call fcn.10001b20
mov eax, 0xfffffffe
jmp 0x100015dc
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.1000537c
mov esp, ebp
pop ebp
ret

Function at 0x10001600
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
pop ebp
jmp fcn.100013d0
Function at 0x10003e70
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [esi + 0x10]
sub esp, 8
push ebx
push edi
neg eax
push 0
sbb eax, eax
push 0
and eax, 0x1000000
push 0
add eax, 2
push eax
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
lea ecx, [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push ecx
push eax
xor edi, edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10003ef4
mov ecx, dword [ebp - 4]
test ecx, ecx
jl 0x10003ef4
mov eax, dword [ebp - 8]
jg 0x10003ef4
test eax, eax
je 0x10003ef4
test ecx, ecx
jg 0x10003ef4
jl 0x10003ecf
cmp eax, 0x7fffffff
ja 0x10003ef4
mov edx, dword [esi + 0xc]
push 0
push edi
push ebx
push 4
push edx
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
je 0x10003ef4
mov dword [esi + 4], eax
mov al, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003fc0
Capabilities:
Check if file exists
Delete file
Get file attributes
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000ec03
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10014160]
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 eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x30], eax
cmp dword [edi + 0x10], ebx
jne 0x10004026
push str.C:_fxlog
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004104
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.path_is_EMPTY.
call esi
push 0x10011574
call esi
jmp 0x10004104
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov eax, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.10001910
mov dword [ebp - 4], ebx
mov ebx, 4
lea eax, [ebp - 0x2c]
call fcn.10004b40
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x10004060
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10004082
test al, 0x10
jne 0x10004082
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1000407b
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x1000408d
lea eax, [ebp - 0x2c]
cmp dword [edi + 0x14], esi
jb 0x10004094
mov edi, dword [edi]
push eax
push edi
call fcn.10005e0b
add esp, 8
test eax, eax
jne 0x100040d8
push 0x20
call fcn.1000588c
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100040c1
push eax
call fcn.10002780
mov ebx, eax
jmp 0x100040c3
xor ebx, ebx
mov byte [ebp - 4], 0
lea edi, [ebp - 0x2c]
call fcn.10002950
test al, al
je 0x100040d8
mov edx, dword [ebp - 0x30]
mov dword [edx], ebx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
jb 0x100040f0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10005371
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
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.1000537c
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
cmp dword [eax + 0x14], 8
jb 0x10004138
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000414b
test al, 0x10
jne 0x1000414b
mov al, 1
ret
xor al, al
ret
Function at 0x10004150
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000ee88
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x10014160]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jne 0x100041c1
push str.C:_fxlog
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100041aa
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.return__1.
call esi
push 0x10011574
call esi
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
mov ecx, edi
call fcn.10003fc0
cmp dword [esi], ebx
jne 0x10004209
push str.C:_fxlog
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100041f0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.return__2.
call esi
push 0x10011574
call esi
mov eax, 0xfffffffe
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100042e0
lea ecx, [esp + 0xc]
call fcn.10004800
mov ecx, dword [esi]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push edi
lea eax, [esp + 0x10]
push eax
call edx
push str.C:_fxlog
cmp al, bl
jne 0x1000428f
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004265
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.return__3.
call esi
push 0x10011574
call esi
mov dword [esp + 0x28], 0xffffffff
lea ebx, [esp + 0xc]
call fcn.10004a50
mov eax, 0xfffffffd
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100042ad
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.return_1.
call esi
push 0x10011574
call esi
mov dword [esp + 0x28], 0xffffffff
lea ebx, [esp + 0xc]
call fcn.10004a50
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000537c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10014160]
jne 0x10005386
repz ret
jmp fcn.100077f9

Function at 0x1000ba9c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10014160]
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.10009632
and dword [ebp - 0x14], 0
cmp dword [0x10015dd0], 0
mov dword [ebp - 0x18], eax
jne 0x1000bb4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000bbf7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000bbf7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10015dd0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10015dd4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10015dd8], eax
call edi
push eax
call esi
mov dword [0x10015de0], eax
test eax, eax
je 0x1000bb4f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10015ddc], eax
mov eax, dword [0x10015ddc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000bba8
cmp dword [0x10015de0], ecx
je 0x1000bba8
push eax
call esi
push dword [0x10015de0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000bba8
test ebx, ebx
je 0x1000bba8
call edi
test eax, eax
je 0x1000bb9f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000bb9f
test byte [ebp - 8], 1
jne 0x1000bba8
or dword [ebp + 0x10], 0x200000
jmp 0x1000bbdb
mov eax, dword [0x10015dd4]
cmp eax, dword [ebp - 0x18]
je 0x1000bbdb
push eax
call esi
test eax, eax
je 0x1000bbdb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000bbdb
mov eax, dword [0x10015dd8]
cmp eax, dword [ebp - 0x18]
je 0x1000bbdb
push eax
call esi
test eax, eax
je 0x1000bbdb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10015dd0]
call esi
test eax, eax
je 0x1000bbf7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000bbf9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000537c
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x434008]
jne 0x40100a
repz ret
jmp fcn.00401671

Function at 0x40482b
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.00402cea
and dword [ebp - 4], 0
cmp dword [0x435cb0], 0
mov ebx, eax
jne 0x4048dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40498d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40498d
push eax
call fcn.00402c78
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435cb0], eax
call esi
push eax
call fcn.00402c78
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435cb4], eax
call esi
push eax
call fcn.00402c78
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435cb8], eax
call esi
push eax
call fcn.00402c78
pop ecx
mov dword [0x435cc0], eax
test eax, eax
je 0x4048dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402c78
pop ecx
mov dword [0x435cbc], eax
mov eax, dword [0x435cbc]
cmp eax, ebx
je 0x404934
cmp dword [0x435cc0], ebx
je 0x404934
push eax
call fcn.00402cf3
push dword [0x435cc0]
mov esi, eax
call fcn.00402cf3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x404934
test edi, edi
je 0x404934
call esi
test eax, eax
je 0x40492b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40492b
test byte [ebp - 0xc], 1
jne 0x404934
or dword [ebp + 0x10], 0x200000
jmp 0x40496d
mov eax, dword [0x435cb4]
cmp eax, ebx
je 0x40496d
push eax
call fcn.00402cf3
pop ecx
test eax, eax
je 0x40496d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40496d
mov eax, dword [0x435cb8]
cmp eax, ebx
je 0x40496d
push eax
call fcn.00402cf3
pop ecx
test eax, eax
je 0x40496d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435cb0]
call fcn.00402cf3
pop ecx
test eax, eax
je 0x40498d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40498f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431610
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x434008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x50e3dc]
push ebx
push esi
mov esi, dword [0x50e224]
mov ebx, eax
cmp eax, 0x5dd
jne 0x43164a
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x434c60]
call fcn.00431510
cmp dword [0x50e3dc], 0x2f
jne 0x431665
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.00431550
add esp, 4
cmp dword [0x50e3dc], 0x568
pop esi
pop ebx
jne 0x43168c
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret