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

Disassembly:
sub esp, 0xbf4
mov eax, dword [0x45c1e4]
mov dword [esp + 0xbf0], eax
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x409178
xor eax, eax
mov ecx, dword [esp + 0xbf0]
call fcn.00428a01
add esp, 0xbf4
ret 8
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x42c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
mov esi, 1
push esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 0x3e8
call edi
test eax, eax
jne 0x40920b
cmp esi, dword [esp + 0xc04]
je 0x409277
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x42c]
push edx
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
inc esi
push esi
push eax
mov dword [esp + 0x30], 0x104
mov dword [esp + 0x2c], 0x3e8
call edi
test eax, eax
je 0x4091c3
mov eax, dword [esp + 0xc04]
push eax
lea ecx, [esp + 0x224]
push str.url_d
push ecx
call fcn.00428eda
mov esi, dword [esp + 0xc0c]
push esi
call fcn.004293bb
add esp, 0x10
shl eax, 1
push eax
mov eax, dword [esp + 0xc]
push esi
push 1
push 0
lea edx, [esp + 0x230]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xbf8]
pop edi
mov eax, 1
pop esi
call fcn.00428a01
add esp, 0xbf4
ret 8
mov esi, dword [esp + 0xc00]
push esi
call fcn.004293bb
mov edx, dword [esp + 0xc]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
jmp 0x40924a

Function at 0x4092a0
Capabilities:
Get common file path
Set file attributes

Disassembly:
sub esp, 0x404
mov eax, dword [0x45c1e4]
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x414]
test eax, eax
push 0
je 0x4092c8
push 0x1f
lea eax, [esp + 8]
push eax
jmp 0x4092cf
push 6
lea ecx, [esp + 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp]
push 0x449e8c
push edx
call fcn.004294f0
mov eax, dword [esp + 0x414]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004294f0
lea edx, [esp + 0x10]
push 0x44acdc
push edx
call fcn.004294f0
mov ecx, dword [esp + 0x420]
add esp, 0x18
lea eax, [esp]
push eax
push ecx
push 0x44ac98
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x410]
test eax, eax
je 0x40933d
push 2
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, dword [esp + 0x400]
mov eax, 1
call fcn.00428a01
add esp, 0x404
ret 0x10
Function at 0x409360
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ecx
push esi
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x409449
lea eax, [esp + 4]
push eax
push 0x452ac8
push 1
push esi
push 0x452ad8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x409443
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4093b5
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4093c8
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x3c]
mov ecx, dword [esp + 0x1c]
test cx, cx
je 0x4093dc
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x34]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4093ef
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x409402
mov eax, dword [esp + 4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x452b18
push eax
call dword [ecx]
test eax, eax
jl 0x409439
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, 1
mov eax, dword [esp + 4]
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
pop ecx
ret 0x1c

Function at 0x409450
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x45c1e4]
push esi
mov esi, dword [esp + 0x214]
push edi
push esi
mov dword [esp + 0x214], eax
mov edi, ecx
call fcn.004293bb
add esp, 4
test eax, eax
jne 0x409491
pop edi
pop esi
mov ecx, dword [esp + 0x208]
call fcn.00428a01
add esp, 0x20c
ret 4
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x14]
push str.Program_FilesInternet_Exploreriexplore.exe
push ecx
call fcn.0042951a
lea edx, [esp + 0x10]
push esi
push edx
call fcn.004294f0
add esp, 0x10
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x4094e3
lea eax, [esp + 8]
push eax
mov ecx, edi
call fcn.00408ef0
mov ecx, dword [esp + 0x210]
pop edi
mov eax, 1
pop esi
call fcn.00428a01
add esp, 0x20c
ret 4

Function at 0x409500
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
mov edi, ecx
call fcn.004293bb
add esp, 4
test eax, eax
jne 0x40951a
pop edi
pop esi
ret 4
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x40953b
push esi
mov ecx, edi
call fcn.00408ef0
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x409550
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4095a5
push 0
push 0x80
push 3
push 0
push 0
push 0x10000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x40959e
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409598
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
pop esi
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
pop esi
ret 4

Function at 0x409630
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4463b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
mov eax, dword [0x45c1e4]
push ebx
push esi
push edi
mov dword [esp + 0x42c], eax
mov dword [esp + 0x14], ecx
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esp + 0x43c], edi
call fcn.00438f74
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov word [esp + 0x18], di
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x1a
lea eax, [esp + 0x20]
push eax
push 0
mov byte [esp + 0x44c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40975a
lea ecx, [esp + 0x18]
push str.MicrosoftInternet_ExplorerQuick_Launch
push ecx
call fcn.004294f0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push 0x44ae10
push eax
call fcn.004037e0
mov esi, dword [esp + 0x20]
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40975a
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x104
lea ecx, [esp + 0x224]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x14]
push str.__sProgram_FilesInternet_Exploreriexplore.exe_
push eax
mov word [esp + 0x232], 0
call fcn.004037e0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push str._HOMEDRIVE__HOMEPATH_
push 0
push 1
push 0x44ad48
push ebx
push esi
call fcn.00409360
add ebx, 0xfffffff0
mov byte [esp + 0x43c], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40977c
mov ecx, dword [ebx]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [esp + 0x43c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4097a1
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x434]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x42c]
mov eax, 1
call fcn.00428a01
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b2a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp dword [ecx + 0x284], 2
jne 0x40b2ae
jmp fcn.0040af90
jmp fcn.0040acb0

Function at 0x40b2c0
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0x87c
mov eax, dword [0x45c1e4]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [esp + 0x87c], eax
push 0x104
lea eax, [esp + 0x470]
push eax
call esi
push 0x104
lea ecx, [esp + 0x268]
push ecx
call esi
lea edx, [esp + 0x46c]
push 0x449e8c
push edx
call fcn.004294f0
mov esi, dword [esp + 0x88c]
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x478]
push ecx
call fcn.004294f0
lea edx, [esp + 0x274]
push 0x449e8c
push edx
call fcn.004294f0
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x280]
push ecx
call fcn.004294f0
lea edx, [esp + 0x284]
push 0x44b254
push edx
call fcn.004294f0
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 0xc]
add esp, 0x28
xor eax, eax
test ecx, ecx
je 0x40b4af
mov edx, dword [esi + 0x44]
push edi
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x40]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [0x45d16c]
push edx
mov dword [esp + 0x20], 0x44
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x684]
push str._s_s__s
push ecx
call fcn.00428eda
lea edx, [esp + 0x68c]
push edx
lea eax, [esp + 0x78]
push 0x44b230
push eax
call fcn.00428eda
add esp, 0x20
push 0
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [0x45d16c]
call fcn.0040a140
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0x698]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
pop edi
jne 0x40b47a
mov edx, dword [esi + 8]
mov ecx, dword [0x45d16c]
mov eax, dword [esi + 0x40]
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [edx + 0x1c]
push eax
lea ecx, [esp + 0x68]
push 0x44b20c
push ecx
call fcn.00428eda
mov ecx, dword [0x45d16c]
add esp, 0x14
push 0
lea edx, [esp + 0x60]
push edx
call fcn.0040a140
mov eax, dword [0x45d16c]
mov ecx, dword [eax]
test ecx, ecx
je 0x40b462
push 0
push 0x44b200
lea edx, [esp + 0x64]
push edx
call fcn.0043a8d9
xor eax, eax
pop esi
mov ecx, dword [esp + 0x878]
call fcn.00428a01
add esp, 0x87c
ret 4
mov eax, dword [esp + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x87c]
pop esi
call fcn.00428a01
add esp, 0x87c
ret 4
Function at 0x40b6e0
Capabilities:
Create process on windows
Get common file path
Move file

Disassembly:
sub esp, 0x678
mov eax, dword [0x45c1e4]
mov dword [esp + 0x674], eax
push edi
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x45d16c]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], 0x44
mov edx, dword [ecx + 0x14]
push 0x44b31c
add edx, 0x1c
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00403800
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.0042951a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
jg 0x40b763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x18]
call fcn.0040da10
test eax, eax
je 0x40b780
push str.ImeReg64.exe__UnsetupIME_wnwb.ime
lea ecx, [esp + 0x60]
push ecx
jmp 0x40b78a
push str.ImeReg32.exe__UnsetupIME_wnwb.ime
lea edx, [esp + 0x60]
push edx
call fcn.004294f0
add esp, 8
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x268]
push 0x44b230
push ecx
call fcn.00428eda
mov ecx, dword [0x45d16c]
add esp, 0xc
push 0
lea edx, [esp + 0x268]
push edx
call fcn.0040a140
lea eax, [esp]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x7c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40b826
lea eax, [esp + 0x264]
push 0x44b26c
push eax
call fcn.00428eda
add esp, 8
push 0
lea ecx, [esp + 0x268]
push ecx
mov ecx, dword [0x45d16c]
call fcn.0040a140
xor eax, eax
mov ecx, dword [esp + 0x674]
call fcn.00428a01
add esp, 0x678
ret
mov edx, dword [esp]
push esi
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 8]
push eax
call esi
push 0x104
lea ecx, [esp + 0x474]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x470]
push 0x44b258
push edx
call fcn.004294f0
add esp, 8
push 5
push 0
lea eax, [esp + 0x478]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x678]
mov eax, dword [esp + 0x14]
pop esi
call fcn.00428a01
add esp, 0x678
ret
Function at 0x40c130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x446618
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
call fcn.00442b07
movzx ecx, word [esp + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
push 0x449ed0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40c17e
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push edi
call fcn.00442b07
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call fcn.00442b07
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x28]
push 0x1001
push edx
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.0043e53a
mov eax, dword [esp + 0xc]
test eax, eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 8]
jne 0x40c1f9
mov dword [esp + 0x20], 0xffffffff
call fcn.0043e14a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
push esi
push edi
call fcn.0043de5e
lea ecx, [esp + 8]
call fcn.0043e0a9
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.0043e14a
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x40d2b0
Capabilities:
Delete file
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x210
mov eax, dword [0x45c1e4]
push esi
push edi
mov dword [esp + 0x214], eax
mov esi, ecx
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
push 0x26
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 8]
push str.Language.ini
push ecx
call fcn.004294f0
add esp, 8
push 0x8b
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0040c130
test eax, eax
jne 0x40d32c
mov ecx, dword [esp + 0x214]
call fcn.00428a01
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.0040c520
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x214]
mov eax, 1
call fcn.00428a01
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d6a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
mov dword [esp + 4], ecx
call fcn.00442b07
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x40]
push 0x44ba48
push 0xa1
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40d745
push ebx
push ebp
push edi
call fcn.00442b07
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebp, eax
call fcn.00442b07
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x40]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + esi + 2]
push eax
call fcn.0043dd21
mov ebx, eax
lea ecx, [esi + 1]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
shr esi, 1
push esi
mov ecx, edx
and ecx, 3
push ebp
push ebx
rep stosb byte es:[edi], al
call fcn.00429a93
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ebx
push 0x423
call fcn.0043d0c4
push ebx
call fcn.0043dd1c
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret

Function at 0x40d970
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
push 0x44baec
mov esi, ecx
call ebx
test eax, eax
mov dword [esi], eax
jne 0x40d98a
pop esi
pop ebx
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.IsWow64Process
push eax
call edi
mov ecx, dword [esi]
push str.Wow64DisableWow64FsRedirection
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi]
push str.Wow64RevertWow64FsRedirection
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push str.GetSystemWow64DirectoryW
push eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call ebx
test eax, eax
mov dword [esi + 4], eax
jne 0x40d9e2
pop edi
pop esi
pop ebx
ret
push str.Wow64RevertWow64FsRedirection
push eax
call edi
mov ecx, dword [esi + 4]
push str.Wow64RevertWow64FsRedirection
push ecx
mov dword [esi + 0x20], eax
call edi
pop edi
mov dword [esi + 0x1c], eax
pop esi
mov eax, 1
pop ebx
ret
Function at 0x410130
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x45c1e4]
push esi
push edi
mov dword [esp + 0x21c], eax
xor eax, eax
mov word [esp + 0x10], 0
mov ecx, 0x81
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push 0xf003f
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4101bd
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push 0x44c6b8
push eax
mov dword [esp + 0x24], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4101ae
mov esi, 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4101d1
xor eax, eax
mov ecx, dword [esp + 0x21c]
call fcn.00428a01
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esp + 0x21c]
neg eax
sbb eax, eax
neg eax
call fcn.00428a01
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x410a90
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x45c1e4]
push edi
mov dword [esp + 0x214], eax
xor eax, eax
mov word [esp + 8], 0
mov ecx, 0x81
lea edi, [esp + 0xa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x410b0f
push 0x104
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov word [esp + 0x2e], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [esp + 4]
mov ecx, dword [ebp + 8]
push eax
push str._.8X
push ecx
call fcn.00428eda
add esp, 0xc
mov ecx, dword [esp + 0x214]
call fcn.00428a01
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x411480
Capabilities:
Set registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0xf003f
push 0
push 0x44abd8
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4114a6
xor eax, eax
pop ecx
ret 4
push esi
mov esi, dword [esp + 0xc]
push esi
call fcn.004293bb
mov ecx, dword [esp + 8]
add esp, 4
shl eax, 1
push eax
push esi
push 1
push 0
push str.Start_Page
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x45d16c]
mov ecx, dword [eax + 0x28]
call fcn.00409630
mov eax, 1
pop esi
pop ecx
ret 4
Function at 0x4114f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x45c1e4]
mov ecx, dword [esp + 0x41c]
mov edx, dword [0x45d16c]
mov dword [esp + 0x410], eax
lea eax, [esp + 0x208]
push eax
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00408df0
lea eax, [esp + 0x208]
push eax
lea ecx, [esp + 4]
push 0x449cf8
push ecx
call fcn.00428eda
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.004298d4
mov word [eax + 2], 0
lea eax, [esp + 0x14]
push str.TheWorld.ini
push eax
call fcn.004294f0
add esp, 0x1c
lea ecx, [esp]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41157e
mov ecx, dword [esp + 0x410]
call fcn.00428a01
add esp, 0x414
ret 8
mov eax, dword [esp + 0x418]
lea edx, [esp]
push edx
push eax
push str.Home
push str.Browser
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x410]
mov eax, 1
call fcn.00428a01
add esp, 0x414
ret 8

Function at 0x4115c0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x45c1e4]
mov ecx, dword [esp + 0x41c]
mov edx, dword [0x45d16c]
mov dword [esp + 0x410], eax
push ebx
lea eax, [esp + 0x20c]
push eax
push ecx
mov ecx, dword [edx + 0x28]
call fcn.00408df0
lea eax, [esp + 0x20c]
push eax
lea ecx, [esp + 8]
push 0x449cf8
push ecx
call fcn.00428eda
lea edx, [esp + 0x10]
push 0x5c
push edx
call fcn.004298d4
mov word [eax + 2], 0
lea eax, [esp + 0x18]
push str.Configconfig.ini
push eax
call fcn.004294f0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x1c
lea ecx, [esp + 4]
push ecx
call ebx
test eax, eax
jne 0x411653
pop ebx
mov ecx, dword [esp + 0x410]
call fcn.00428a01
add esp, 0x414
ret 8
push esi
mov esi, dword [esp + 0x420]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea edx, [esp + 0xc]
push edx
push esi
push str.Homepage
push str.Settings
call edi
lea eax, [esp + 0x214]
push eax
lea ecx, [esp + 0x10]
push 0x449cf8
push ecx
call fcn.00428eda
lea edx, [esp + 0x18]
push 0x5c
push edx
call fcn.004298d4
mov word [eax + 2], 0
lea eax, [esp + 0x20]
push str.Config_backupconfig.ini
push eax
call fcn.004294f0
add esp, 0x1c
lea ecx, [esp + 0xc]
push ecx
call ebx
test eax, eax
jne 0x4116d2
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
call fcn.00428a01
add esp, 0x414
ret 8
lea edx, [esp + 0xc]
push edx
push esi
push str.Homepage
push str.Settings
call edi
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
mov eax, 1
pop ebx
call fcn.00428a01
add esp, 0x414
ret 8