joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410740
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b780
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x5a4aa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], 1
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov dword [ebp - 0x14], edi
cmp edi, ebx
jne 0x4107a4
mov dword [ebp - 0x20], ebx
push 0x5815cc
lea eax, [ebp - 0x20]
push eax
call fcn.004fd5a3
push 0xf01ff
push str.Spooler
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x18], esi
cmp esi, ebx
jne 0x4107cf
mov dword [ebp - 0x24], ebx
push 0x5815cc
lea ecx, [ebp - 0x24]
push ecx
call fcn.004fd5a3
lea edx, [ebp - 0x48]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4107ef
mov dword [ebp - 0x28], ebx
push 0x5815cc
lea eax, [ebp - 0x28]
push eax
call fcn.004fd5a3
mov eax, dword [ebp - 0x44]
sub eax, 1
jne 0x410800
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov dword [ebp - 4], 0xffffffff
jmp 0x410855
mov dword [ebp - 4], 2
cmp esi, ebx
je 0x410867
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, ebx
je 0x410872
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
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 0x410980
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x51b750
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x200], 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 edi, edi
mov dword [ebp - 4], edi
cmp esi, edi
je 0x410a45
push 0x200
push edi
lea eax, [ebp]
push eax
call fcn.004fd670
add esp, 0xc
push pe_nt_image_headers32
lea ecx, [ebp]
push ecx
push 5
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x410a0a
push str.Fail_to_GetLocaleInfo_in_CCmdOperator::GetGeoCode..
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
lea eax, [edi + 0xd]
jmp 0x410a77
lea eax, [ebp]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x410a10
sub eax, edx
sar eax, 1
je 0x410a3c
push 0xff
lea edx, [ebp]
push edx
push pe_nt_image_headers32
push esi
call fcn.004fa71b
add esp, 0x10
xor eax, eax
jmp 0x410a77
mov dword [ebp - 4], 0xffffffff
jmp 0x410a75
mov eax, 0x57
jmp 0x410a77
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 + 0x200]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x204
mov esp, ebp
pop ebp
ret
Function at 0x4130d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x808
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0x804], eax
test esi, esi
mov eax, dword [esp + 0x80c]
je 0x4130f5
mov dword [esi], 0
push edi
lea edi, [eax + 0x200]
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413101
sub eax, edx
sar eax, 1
je 0x4131b9
push 0x800
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004fd670
add esp, 0xc
call fcn.004e4d97
mov eax, dword [eax + 4]
push 0
push 0x400
lea ecx, [esp + 0x10]
push ecx
push edi
lea ecx, [eax + 0x5ef4]
call fcn.00480760
test eax, eax
je 0x413166
push 0x3ff
push edi
lea edx, [esp + 0x10]
push 0x400
push edx
call fcn.004fa71b
add esp, 0x10
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413198
lea ecx, [esp + 8]
push ecx
push str.Exist_File_:___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
test esi, esi
je 0x4131b9
mov dword [esi], 1
jmp 0x4131b9
lea edx, [esp + 8]
push edx
push str.Not_Exist_File_:___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
test esi, esi
je 0x4131b9
mov dword [esi], 0
mov ecx, dword [esp + 0x808]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004fa103
add esp, 0x808
ret 4
Function at 0x414900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520480
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1008
call fcn.004fe1a0
mov eax, dword [0x5a4aa8]
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 edi, ecx
mov dword [ebp - 4], 0
lea esi, [edi + 0x200]
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x414950
sub eax, edx
sar eax, 1
jne 0x41497a
push str.Fail_____Invalid_Parameter_in_CCmdOperator::FNT_EXECUTE_EXPLORER____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
xor eax, eax
jmp 0x414a93
push 0x800
push 0
lea eax, [ebp - 0x814]
push eax
call fcn.004fd670
push 0x800
push 0
lea ecx, [ebp - 0x1014]
push ecx
call fcn.004fd670
add esp, 0x18
push 0
push 0x400
lea edx, [ebp - 0x814]
push edx
push esi
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x4149dc
push 0x3ff
push esi
push 0x400
lea eax, [ebp - 0x814]
push eax
call fcn.004fa71b
add esp, 0x10
lea esi, [edi + 0xa00]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4149e7
sub eax, edx
sar eax, 1
je 0x414a31
push 0
push 0x400
lea ecx, [ebp - 0x1014]
push ecx
push esi
call fcn.004290d0
mov ecx, eax
call fcn.00480760
test eax, eax
je 0x414a31
push 0x3ff
push esi
push 0x400
lea edx, [ebp - 0x1014]
push edx
call fcn.004fa71b
add esp, 0x10
push 1
push 0
lea eax, [ebp - 0x814]
push eax
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x414a67
push str.Success_to_launch_file_in_CCmdOperator::FNT_EXECUTE_EXPLORER____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
jmp 0x414a87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x814]
push ecx
push str.Failed_to_excute_file_in_CCmdOperator::FNT_EXECUTE_EXPLORER_______s___error_lu
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, 1
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.004fa103
mov esp, ebp
pop ebp
ret
Function at 0x414fe0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x120]
sub esp, 0x120
push 0xffffffffffffffff
push 0x51e97b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
xor eax, eax
mov dword [ebp - 0x14], eax
cmp edi, eax
je 0x41502f
mov dword [edi], eax
mov dword [ebp - 4], eax
lea esi, [ebp - 0x838]
call fcn.0049d8e0
mov byte [ebp - 4], 1
cmp byte [eax + 0x18], 0
sete bl
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0049d9f0
test bl, bl
je 0x4150ca
push 0x11c
push 0
lea eax, [ebp]
push eax
call fcn.004fd670
add esp, 0xc
mov dword [ebp], 0x11c
lea ecx, [ebp]
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call esi
test eax, eax
jne 0x4150a3
mov dword [ebp], 0x114
lea edx, [ebp]
push edx
call esi
test eax, eax
jne 0x4150a3
mov dword [ebp - 0x1c], eax
push 0x5815cc
lea eax, [ebp - 0x1c]
push eax
call fcn.004fd5a3
cmp dword [ebp + 4], 6
jne 0x4150ca
mov eax, 1
cmp dword [ebp + 8], eax
jne 0x4150ca
mov dword [edi], eax
mov dword [ebp - 0x14], eax
push str.OS_Version_is_Windows_7_32Bit_in_CCmdProcessor::FNT_CHECK_ISWIN7___
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x120
mov esp, ebp
pop ebp
ret
Function at 0x41bec0
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x522b70
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, edx
xor ebx, ebx
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
cmp esi, ebx
jne 0x41bf13
xor al, al
jmp 0x41bfcc
push str.InstallingCopyFiles
push str.InstallingCopyFiles
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x41bf35
push str.InstallingCopyFiles
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push 0x800
push ebx
lea eax, [ebp]
push eax
call fcn.004fd670
add esp, 0xc
mov eax, str.InstallingCopyFiles
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41bf50
sub eax, edx
push str.InstallingCopyFiles
push 0x400
sar eax, 1
je 0x41bf71
lea ecx, [ebp]
push ecx
jmp 0x41bf75
lea edx, [ebp]
push edx
call fcn.004fa94e
add esp, 0xc
mov dword [edi], esi
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
lea ecx, [ebp]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x41bfc2
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi]
push eax
lea eax, [edi + 4]
lea ebx, [ebp]
call fcn.00491f50
test eax, eax
jne 0x41bf0c
mov ecx, edi
call fcn.0041c010
mov byte [ebp - 0x11], al
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 ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x41c010
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x522b40
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov byte [ebp - 0x11], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor esi, esi
mov dword [ebp - 0x20], esi
cmp esi, dword [ebp - 0x18]
jae 0x41c0cb
push 0x200
push ebx
lea edx, [ebp]
push edx
call fcn.004fd670
add esp, 0xc
mov dword [ebp - 0x1c], 0x200
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp]
push ecx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x41c0c6
lea edx, [ebp]
mov ecx, edi
call fcn.0041c120
add esi, 1
jmp 0x41c07d
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 ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x204
mov esp, ebp
pop ebp
ret
Function at 0x41d320
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x804]
sub esp, 0x804
push 0xffffffffffffffff
push 0x522aa0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov byte [ebp - 0x11], 1
lea ecx, [ebp - 0x18]
call fcn.00407e60
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0xffffffff
push 0x535a4c
lea ecx, [ebp - 0x1c]
call fcn.00405c00
mov byte [ebp - 4], 1
mov byte [ebp - 4], 2
call fcn.004290b0
add eax, 0x10000
push eax
lea ecx, [ebp - 0x1c]
call fcn.00405ec0
push str.Hewlett_Packard
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x41d3e5
push 0x53e09c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x41d3e5
call fcn.004290b0
push str.WEB_AGREEMENT
add eax, 0x10000
push eax
push str.Software_s_s
lea edx, [ebp - 0x18]
push edx
jmp 0x41d3f8
push str.WEB_AGREEMENT
push str.Hewlett_Packard
push str.Software_s_s
lea eax, [ebp - 0x18]
push eax
call fcn.004081a0
add esp, 0x10
lea ecx, [ebp - 0x20]
push ecx
push 0xf023f
push 0
mov edx, dword [ebp - 0x18]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
test eax, eax
je 0x41d436
lea eax, [ebp - 0x20]
push eax
push 0xf013f
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x41d46d
mov dword [ebp - 0x28], eax
push 0x5814b0
lea ecx, [ebp - 0x28]
push ecx
call fcn.004fd5a3
xor esi, esi
mov dword [ebp - 0x2c], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp esi, dword [ebp - 0x24]
jge 0x41d4bf
push 0x800
push 0
lea edx, [ebp]
push edx
call fcn.004fd670
add esp, 0xc
push 0x400
lea eax, [ebp]
push eax
push esi
mov ecx, dword [ebp - 0x20]
push ecx
call edi
test eax, eax
jne 0x41d4b7
lea ecx, [ebx + 0x24504]
mov eax, dword [ecx + 8]
lea edx, [ebp]
push edx
push eax
call fcn.004e674a
add esi, 1
mov dword [ebp - 0x2c], esi
jmp 0x41d478
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41d4d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d51d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x804
mov esp, ebp
pop ebp
ret
Function at 0x427870
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b320
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5a4aa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4278b0
sub eax, edx
sar eax, 1
jne 0x4278e7
push str.Fail_____Invalid_Parameter_in_CGDPRDlg::OpenUrl____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x427917
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push str.Fail___Open___s__in_CGDPRDlg::OpenUrl____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 8
mov dword [ebp - 4], 0xffffffff
xor eax, eax
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 0x4292f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5200c0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5a4aa8]
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 edi, ecx
mov ebx, edx
mov dword [ebp - 4], 0
push 0x208
push 0
lea eax, [ebp - 0x220]
push eax
call fcn.004fd670
add esp, 0xc
call fcn.004e4d97
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x42939d
push 0x5c
lea edx, [ebp - 0x220]
push edx
call fcn.004fa6eb
add esp, 8
test eax, eax
je 0x42937b
mov word [eax], 0
lea esi, [edi + 0x10800]
push 0x3ff
lea eax, [ebp - 0x220]
push eax
push 0x400
push esi
call fcn.004fa71b
add esp, 0x10
jmp 0x4293af
lea esi, [edi + 0x10800]
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push ebx
lea ecx, [edi + 0x20]
mov edx, esi
call fcn.0047fa50
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4293d6
push 0x544314
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x224]
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.004fa103
mov esp, ebp
pop ebp
ret

Function at 0x42b9e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x525b66
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5a4aa8]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0x10]
call fcn.0042ba70
mov dword [esp + 0x10], 0
lea ecx, [esi + 0x28]
call fcn.0042ba70
mov byte [esp + 0x10], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x4344f0
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1804]
mov eax, 0x1804
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x51ffa0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x1800], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x180c]
mov dword [ebp - 0x18], eax
mov esi, edx
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0x1810]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
je 0x4346c5
cmp eax, ebx
je 0x4346c5
mov eax, str.INSTALL_LIST
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434564
sub eax, edx
sar eax, 1
je 0x4346c5
test esi, esi
je 0x4346c5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434586
sub eax, edx
sar eax, 1
je 0x4346c5
push 0x800
push 0
lea edx, [ebp + 0x800]
push edx
call fcn.004fd670
push 0x800
push 0
lea eax, [ebp]
push eax
call fcn.004fd670
push 0x800
push 0
lea ecx, [ebp + 0x1000]
push ecx
call fcn.004fd670
push esi
push str.INSTALL_LIST
push str.STATIC_CONTROLS__s_IMAGE_LIST__s
lea edx, [ebp + 0x800]
call fcn.00404380
add esp, 0x30
push 0x400
lea edx, [ebp + 0x800]
push edx
push edi
lea edx, [ebp]
mov ecx, str.name
call fcn.004864c0
test eax, eax
jne 0x43469c
push eax
push 0x400
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp]
push ecx
mov ecx, edi
call fcn.00480760
test eax, eax
je 0x434645
push 0x3ff
lea edx, [ebp]
push edx
push 0x400
lea eax, [ebp + 0x1000]
push eax
call fcn.004fa71b
add esp, 0x10
lea ecx, [ebp + 0x1000]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x434666
lea ecx, [ebp + 0x1000]
mov edx, dword [ebp - 0x18]
call fcn.0049f030
jmp 0x434680
call fcn.004e4d97
mov eax, dword [eax + 8]
lea edx, [ebp + 0x1000]
push edx
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, eax
call fcn.0049f1d0
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x4346bc
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4346bc
call fcn.004e4d97
push esi
mov edx, dword [ebp - 0x18]
push edx
jmp 0x4346ad
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4346bc
call fcn.004e4d97
push esi
mov ecx, dword [ebp - 0x18]
push ecx
mov eax, dword [eax + 8]
mov ecx, eax
call fcn.0049f1d0
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xffffffff
jmp 0x4346ee
mov eax, 0x57
jmp 0x4346f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1800]
xor ecx, ebp
call fcn.004fa103
add ebp, 0x1804
mov esp, ebp
pop ebp
ret 8
Function at 0x434780
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51ff80
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5a4aa8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov edi, edx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
cmp esi, eax
jne 0x4347d2
mov eax, 0xd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x4c], 5
mov dword [ebp - 0x44], eax
lea ebx, [esi + 0xc00]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4347fc
lea edx, [esi + 0x1618]
mov ecx, ebx
call fcn.0049f030
jmp 0x434813
call fcn.004e4d97
mov eax, dword [eax + 8]
push ebx
lea ecx, [esi + 0x1618]
push ecx
mov ecx, eax
call fcn.0049f1d0
mov dword [ebp - 0x14], eax
mov eax, edi
call fcn.00431540
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
lea edx, [ebp - 0x4c]
push edx
mov ecx, edi
call fcn.004264d0
cmp byte [edi + 0xb58], 0
jne 0x434883
mov eax, edi
call fcn.00431540
imul eax, dword [edi + 0xb50]
cmp dword [edi + 0xb54], eax
jae 0x434883
push 0
push 0
push 0x101d
mov eax, dword [edi + 0x20]
push eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
sub eax, 0x14
mov dword [ebp - 0x18], eax
movzx ecx, ax
push ecx
push 0
push 0x101e
mov edx, dword [edi + 0x20]
push edx
call esi
mov byte [edi + 0xb58], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
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 0x435d60
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor bl, bl
test ebp, ebp
je 0x435e21
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435d75
sub eax, edx
sar eax, 1
je 0x435e21
push ebp
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi], eax
je 0x435e06
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CI3_ProcessCommand
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi]
push str.CI3_CreateDlg
push eax
call edi
mov ecx, dword [esi]
push str.CI3_Close
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi]
push str.CI3_Init
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push str.CI3_SetFont
push eax
call edi
cmp dword [esi + 4], 0
mov dword [esi + 0x14], eax
pop edi
jne 0x435dea
cmp dword [esi + 8], 0
je 0x435e21
push ebp
push str.__s__was_loaded__
mov ecx, 0x649e50
mov bl, 1
call fcn.004918f0
add esp, 8
pop ebp
mov al, bl
pop ebx
ret 4
push ebp
push str.Load_DLL_fail:___s_
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x649e50
call fcn.004917b0
add esp, 8
pop ebp
mov al, bl
pop ebx
ret 4