joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402280
Capabilities:
Link many functions at runtime

Disassembly:
push ecx
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x14ac], 0
jne 0x402455
mov eax, dword [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022a0
sub eax, edx
je 0x402455
mov ebp, dword [esp + 0x14]
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4022b8
sub eax, edx
je 0x402455
cmp dword [esi + 0x19f4], 0
push edi
jne 0x402399
push str.Cabinet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FCICreate
push eax
mov dword [esi + 0x19f4], eax
call edi
mov dword [esi + 0x19f8], eax
mov eax, dword [esi + 0x19f4]
push str.FCIAddFile
push eax
call edi
mov ecx, dword [esi + 0x19f4]
push str.FCIFlushFolder
push ecx
mov dword [esi + 0x19fc], eax
call edi
mov edx, dword [esi + 0x19f4]
push str.FCIFlushCabinet
push edx
mov dword [esi + 0x1a00], eax
call edi
mov dword [esi + 0x1a04], eax
mov eax, dword [esi + 0x19f4]
push str.FCIDestroy
push eax
call edi
cmp dword [esi + 0x19f8], 0
mov dword [esi + 0x1a08], eax
je 0x402372
cmp dword [esi + 0x19fc], 0
je 0x402372
cmp dword [esi + 0x1a00], 0
je 0x402372
cmp dword [esi + 0x1a04], 0
je 0x402372
test eax, eax
jne 0x402399
mov dword [esi + 0x19f4], 0
mov dword [esi + 0x14b8], 1
mov dword [esi + 0x14b0], 0x3e8
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 0x10
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
push edx
push ebp
push eax
lea edi, [esi + 0x14c8]
push edi
mov ecx, esi
mov dword [esi + 0x14c0], 0
mov dword [esi + 0x14c4], 1
mov dword [esi + 0x1490], 0
call fcn.00401f60
test eax, eax
je 0x402390
push esi
push edi
push 0x401f10
push 0x401ee0
push 0x401e90
push 0x401e50
push 0x401de0
push 0x401da0
xor eax, eax
push 0x401d40
mov dword [esi + 0x1498], eax
mov dword [esi + 0x149c], eax
push 0x401f50
mov dword [esi + 0x14a0], eax
push 0x401f40
mov dword [esi + 0x14a4], eax
lea ecx, [esi + 0x14b0]
mov dword [esi + 0x14a8], eax
mov edx, dword [esi + 0x19f8]
push 0x401f30
push ecx
call edx
add esp, 0x34
xor ecx, ecx
test eax, eax
setne cl
pop edi
mov dword [esi + 0x14ac], eax
pop esi
pop ebp
mov eax, ecx
pop ecx
ret 0x10
pop esi
xor eax, eax
pop ebp
pop ecx
ret 0x10
Function at 0x406030
Capabilities:
Copy file

Disassembly:
push esi
push edi
mov esi, ecx
push 0x104
lea edi, [esi + 0x424]
push edi
lea eax, [esi + 0x62c]
push eax
push 0x454590
call fcn.00412620
add esp, 0x10
test eax, eax
jne 0x40605b
pop edi
pop esi
ret
push 0
push edi
add esi, 0x21c
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
ret
Function at 0x40b5f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push esi
mov esi, dword [esp + 0x228]
push edi
mov edi, dword [esp + 0x230]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0x208
mov dword [esp + 0x24], 1
mov word [esp + 0x28], ax
call fcn.00422000
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
push esi
call ebx
test eax, eax
je 0x40b6ac
push edi
call ebx
test eax, eax
je 0x40b6ac
lea edx, [esp + 0x10]
push edx
push esi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40b6ac
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40b6ac
lea ecx, [esp + 0x1c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, 1
jmp 0x40b6ae
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00421fea
add esp, 0x218
ret 0xc
Function at 0x40e660
Capabilities:
Set registry value

Disassembly:
sub esp, 0x230
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, 0x1b
mov esi, str.SoftwareDameWare_DevelopmentDWRCSMSIDialog_Settings
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x190
lea eax, [esp + 0xae]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
movsw word es:[edi], word [esi]
call fcn.00422000
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [esp + 0x58]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e7bb
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x20]
push ecx
push 4
push ebx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
push 0x43f3d4
push edx
mov dword [esp + 0x30], eax
call esi
test eax, eax
jne 0x40e729
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x10]
push 4
lea eax, [esp + 0x2c]
push eax
push 4
push 0
push str.Left
push ecx
call esi
test eax, eax
jne 0x40e747
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push 0
push str.Bottom
push eax
call esi
test eax, eax
jne 0x40e765
lea ebx, [eax + 1]
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push 0
push str.Right
push edx
call esi
test eax, eax
jne 0x40e783
lea ebx, [eax + 1]
mov eax, dword [ebp + 0x14c]
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x10]
push 4
lea ecx, [esp + 0x24]
push ecx
push 4
push 0
push str.SelectedTab
push edx
mov dword [esp + 0x38], eax
call esi
test eax, eax
jne 0x40e7bb
lea ebx, [eax + 1]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40e7ca
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00421fea
add esp, 0x230
ret
Function at 0x40e7f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x238
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, 0x1b
mov esi, str.SoftwareDameWare_DevelopmentDWRCSMSIDialog_Settings
lea edi, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov eax, 4
push 0x190
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xb6]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
movsw word es:[edi], word [esi]
call fcn.00422000
add esp, 0xc
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [esp + 0x60]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40e9a3
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push 0x43f3d4
push eax
call esi
test eax, eax
jne 0x40e8c5
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
push ecx
push ebx
push str.Right
push edx
call esi
test eax, eax
jne 0x40e8ed
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push str.Bottom
push ecx
call esi
test eax, eax
jne 0x40e915
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.Left
push eax
call esi
test eax, eax
jne 0x40e93f
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
jmp 0x40e943
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x40]
sub edx, eax
push edx
push ecx
push eax
mov ecx, ebp
call fcn.00413707
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.SelectedTab
push eax
call esi
test eax, eax
jne 0x40e9a3
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14c]
push ebx
push ecx
push 0x130c
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp + 0x12c]
call fcn.00411620
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
cmp eax, ebx
pop ebx
je 0x40e9b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x234]
xor ecx, esp
xor eax, eax
call fcn.00421fea
add esp, 0x238
ret
Function at 0x40f2a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x418
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x414], eax
push ebp
push esi
push edi
push str.Proxy
push str.SoftwareDameWare_DevelopmentDWRCSMSIDialog_Settings
lea eax, [esp + 0x20]
xor edi, edi
push 0x4391ec
push eax
mov esi, ecx
mov dword [esp + 0x1c], edi
xor ebp, ebp
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push edx
push edi
push 0xf003f
push edi
push edi
push edi
lea eax, [esp + 0x34]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40f3bc
mov ecx, dword [esi + 0x4e4]
push ebx
push edi
push edi
push 0x147
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push str.Operating_System
push eax
call ebx
test eax, eax
jne 0x40f349
lea ebp, [edi + 1]
movzx ecx, byte [esi + 0x61a]
mov eax, dword [esp + 0x10]
push 4
lea edx, [esp + 0x18]
push edx
push 4
push edi
push str.Configure
push eax
mov dword [esp + 0x2c], ecx
call ebx
test eax, eax
jne 0x40f371
lea ebp, [eax + 1]
lea edi, [esi + 0x88]
push edi
lea ecx, [esi + 0x470]
call fcn.004174f9
mov edi, dword [edi]
mov esi, dword [edi - 0xc]
push edi
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [esp + 0x10]
lea edx, [esi + esi + 4]
push edx
lea eax, [esp + 0x220]
push eax
push 1
push 0
push str.Target_Folder
push ecx
call ebx
pop ebx
test eax, eax
jne 0x40f3bc
lea ebp, [eax + 1]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40f3cb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x420]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00421fea
add esp, 0x418
ret
Function at 0x4104e0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x664
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x660], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x462]
push ecx
mov word [esp + 0x464], ax
call fcn.00422000
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x266]
push eax
mov word [esp + 0x268], dx
call fcn.00422000
add esp, 0x18
cmp dword [0x4549ac], 0
je 0x410634
push 0x454388
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x410634
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x454388
lea ecx, [esp + 0x468]
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x43fec8
lea edx, [esp + 0x468]
push edx
call esi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x468]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea edx, [esp + 0xc]
mov ebp, eax
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41062a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, edi
push 0x43fec4
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410619
push 0x43febc
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x410619
push 0x454388
lea edx, [esp + 0x264]
push edx
call edi
push 0x4386d0
lea eax, [esp + 0x264]
push eax
call esi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x264]
push edx
call esi
lea eax, [esp + 0x260]
push eax
call ebx
test eax, eax
jne 0x410619
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x10]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4105b0
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x660]
xor ecx, esp
call fcn.00421fea
add esp, 0x664
ret
Function at 0x411e20
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x218
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
mov ebx, dword [esp + 0x224]
push esi
mov esi, dword [esp + 0x224]
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x411f23
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x411f23
lea eax, [esp + 8]
push eax
push 0x10008
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x411f28
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call edi
mov esi, eax
cmp esi, 0x103
je 0x411ef0
test esi, esi
jne 0x411efe
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00411e20
mov esi, eax
add esp, 8
test esi, esi
je 0x411e82
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00421fea
add esp, 0x218
ret
mov eax, dword [esp + 0x14]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00421fea
add esp, 0x218
ret
mov eax, 0x3f2
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
xor ecx, esp
call fcn.00421fea
add esp, 0x218
ret
Function at 0x412230
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x44c250]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x21c]
push esi
mov esi, dword [esp + 0x21c]
push edi
mov edi, dword [esp + 0x228]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.00422000
add esp, 0xc
test esi, esi
je 0x412340
test edi, edi
je 0x412340
push esi
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov dword [esp + 0xc], 0
test esi, esi
jne 0x4122af
push 6
jmp 0x412342
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4122ca
push eax
call fcn.00412000
add esp, 4
push eax
jmp 0x412342
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push 0
test esi, esi
je 0x4122bf
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push 0
cmp edi, 0xffffffff
je 0x4122bf
lea ecx, [esp + 0x10]
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00421fea
add esp, 0x210
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x218]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00421fea
add esp, 0x210
ret

Function at 0x412370
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push edi
lea eax, [esp + 0xc]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test ebx, ebx
je 0x412427
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x412427
push esi
push 0x4385e8
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [edi + 2]
push ecx
call fcn.004242b8
mov esi, eax
add esp, 4
test esi, esi
je 0x4123ea
push esi
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4123e1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4386d0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4123f2
push esi
call fcn.004241db
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xc]
movzx edx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
push edx
movzx edx, word [eax + 0xa]
push ecx
push edx
push str._d._d._d._d
push ebp
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.004241db
add esp, 0x1c
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x412440
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push edi
lea eax, [esp + 0xc]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test ebp, ebp
je 0x4124f4
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4124f4
push esi
push 0x4385e8
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [edi + 2]
push ecx
call fcn.004242b8
mov esi, eax
add esp, 4
test esi, esi
je 0x4124ba
push esi
push edi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4124b1
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
push 0x4386d0
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4124c2
push esi
call fcn.004241db
add esp, 4
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0xe]
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
push 0
push ecx
push edx
push eax
push str._d._d._d._d
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.004241db
add esp, 0x1c
pop esi
pop edi
pop ebp
pop ebx
add esp, 8
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4125d0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x4125d9
ret
push edi
push 0
push 0x80
push 3
push 0
push 1
push 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
test edi, edi
jne 0x4125f8
pop edi
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41260b
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
ret

Function at 0x418f3d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x418f84
call fcn.00419d97
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418f84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x418fa0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00418ab5
mov esi, eax
test edi, edi
je 0x418f9e
test ebx, ebx
je 0x418f9e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41be78
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41be9c
cmp dword [edi + 0x54], 0
jne 0x41be9c
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00419d97
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041be39
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41cbff
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x274
mov eax, dword [0x44c250]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x41cc97
push 0x4423c4
push 4
push eax
call fcn.00424d70
push eax
call fcn.004012b0
add esp, 0x10
push ebx
push edi
call fcn.00422531
mov edi, dword [eax]
call fcn.00422531
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00424dfd
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.00422531
cmp dword [eax], ebx
je 0x41ccae
call fcn.00422531
push dword [eax]
call fcn.00413139
pop ecx
jmp 0x41ccb5
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41cc42
jmp 0x41cd3c
call fcn.00422531
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
je 0x41cd38
cmp dword [ebp - 0x234], esi
jae 0x41cd38
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x270]
push ebx
push eax
mov dword [ebp - 0x274], 0x40
call fcn.00422000
add esp, 0xc
push 0x4416a4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x41cd27
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41cd27
lea ecx, [ebp - 0x274]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x41cd27
push ebx
push ebx
push esi
jmp 0x41cd30
push ebx
push ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x41cd3a
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00421fea
leave
ret

Function at 0x421fea
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c250]
jne 0x421ff4
repz ret
jmp fcn.004283a5