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

Disassembly:
push 0xffffffffffffffff
push 0x41e461
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x4279f8]
push ebx
mov dword [esp + 4], eax
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0
call fcn.00416719
mov ecx, dword [esp + 0x22c]
push ecx
lea ecx, [esp + 8]
call fcn.004169af
push str.Connection
lea ecx, [esp + 8]
call fcn.00416973
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
push 0x20019
push 0
push 0
call fcn.004169c7
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402234
push esi
push edi
mov ecx, 0x7f
lea edi, [esp + 0x26]
mov word [esp + 0x24], ax
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
mov ebx, 1
push str.PnpInstanceID
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x18]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
test esi, esi
pop esi
jne 0x402234
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.004165f6
lea eax, [esp + 8]
push 3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], bl
call fcn.004151cf
lea ecx, [esp + 8]
mov byte [esp + 0x224], 2
call fcn.00416a9d
mov ecx, dword [esp + 8]
push 0x4274dc
push ecx
call fcn.00405a37
add esp, 8
mov byte [esp + 0x224], bl
test eax, eax
lea ecx, [esp + 8]
jne 0x40221e
call fcn.00416582
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.00416582
lea ecx, [esp + 4]
mov dword [esp + 0x224], 0xffffffff
call fcn.00416582
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
add esp, 0x224
ret
call fcn.00416582
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.00416582
lea ecx, [esp + 4]
mov dword [esp + 0x224], 0xffffffff
call fcn.00416582
mov ecx, dword [esp + 0x21c]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x4023f0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x41e505
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
and edx, 0xffff
push eax
push 0x59
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [0x4279f8]
mov dword [esp + 8], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
mov edi, 1
push 0x4275c8
push eax
mov dword [esp + 0x22c], edi
call fcn.004155dd
add esp, 0xc
lea ecx, [esp + 8]
call fcn.00416aaf
mov esi, dword [esp + 0x228]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004162ef
mov dword [esp + 0xc], edi
lea ecx, [esp + 8]
mov byte [esp + 0x220], 0
call fcn.00416582
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x4024d0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push 0xffffffffffffffff
push 0x41e535
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov esi, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1a], eax
and esi, 0xffff
push ecx
mov dword [esp + 0x22], eax
push 0x59
push esi
mov word [esp + 0x24], bx
mov word [esp + 0x2e], ax
call edi
lea edx, [esp + 0x14]
push 6
push edx
push 0x5a
push esi
call edi
mov eax, dword [0x4279f8]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x14]
mov edi, 1
push str._s_s
push eax
mov dword [esp + 0x240], edi
call fcn.004155dd
add esp, 0x10
lea ecx, [esp + 0xc]
call fcn.00416aaf
mov esi, dword [esp + 0x238]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004162ef
mov dword [esp + 0x10], edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x230], bl
call fcn.00416582
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret

Function at 0x402b60
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x41e605
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
lea eax, [esp]
push esi
push eax
mov dword [esp + 0xc], 0
call fcn.00402c00
add esp, 4
mov edx, dword [esp + 4]
lea ecx, [esp + 0xc]
push ecx
push 0
push 0x427604
push edx
mov dword [esp + 0x22c], 1
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esi, dword [esp + 0x224]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.004165f6
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x21c], 0
call fcn.00416582
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x402c00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [esp + 0x214]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004165f6
mov eax, esi
pop esi
add esp, 0x20c
ret

Function at 0x402d97
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
mov ecx, 0x42b970
jmp 0x402d80
push 0xffffffffffffffff
push 0x41e671
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
push 0x42b934
lea ecx, [esi + 8]
mov dword [esp + 0x10], esi
mov dword [esi + 4], edi
call fcn.004165f6
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 2
mov dword [esi + 0x14], 0x17
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
push 0x42b934
lea ecx, [esi + 0x24]
mov dword [esp + 0x1c], edi
mov dword [esi + 0x20], edi
call fcn.004165f6
mov ebx, 1
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 0xffffff
push 0xf4efe9
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], bl
mov dword [esi + 0x30], 0xf4efe9
call fcn.0041b198
mov dword [esi + 0x3c], 0xebebeb
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], edi
push 0x427620
lea ecx, [esi + 0x88]
mov byte [esp + 0x1c], 2
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], 4
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], 0x26
call fcn.004165f6
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xac], 0x64
mov dword [esi + 0xb4], 0x1b58
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi], 0x4204b8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x403080
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41e73f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4279f8]
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x28]
lea edx, [esp + 8]
push ecx
push 0x427644
push edx
mov dword [esp + 0x28], 1
call fcn.004155dd
mov eax, dword [0x4279f8]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
push ecx
call fcn.00404740
add esp, 0x10
mov eax, dword [eax]
mov ecx, dword [esp + 8]
push eax
mov esi, ecx
mov edi, ecx
push 0x100
push 0x100
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 3
call fcn.004169c7
push eax
push esi
push edi
push str.UpgradeExe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call fcn.00416582
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
call fcn.00416a17
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call fcn.004162ef
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call fcn.00416582
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00416582
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x403230
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41e7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
lea eax, [esp + 8]
push edi
mov edi, ecx
push eax
call fcn.00402b60
add esp, 4
xor ebx, ebx
push str..rar
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebx
call fcn.0041664b
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov byte [esp + 0x3c], 1
call fcn.004167c1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.004166c9
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 1
call fcn.00416582
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], bl
call fcn.00416582
lea ecx, [esp + 0x20]
push ecx
call fcn.004024d0
add esp, 4
lea edx, [esp + 0xc]
mov ecx, edi
push edx
push eax
mov byte [esp + 0x38], 3
call fcn.004037f0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x30], bl
call fcn.00416582
cmp esi, ebx
jne 0x403375
lea eax, [esp + 0x20]
push eax
call fcn.004023f0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 4
push ecx
push eax
mov ecx, edi
call fcn.004037f0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x30], bl
call fcn.00416582
cmp esi, ebx
jne 0x403375
push 0x42b934
lea ecx, [esp + 0x1c]
call fcn.004165f6
lea edx, [esp + 0xc]
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x38], 5
call fcn.004037f0
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x30], bl
call fcn.00416582
cmp esi, ebx
jne 0x403375
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00416582
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
lea ecx, [esp + 0x20]
push ecx
call fcn.00402c40
add esp, 4
push str.update_
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x3c], 6
call fcn.00416827
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 8
call fcn.00416582
mov eax, dword [esp + 0x14]
push eax
call fcn.00402a20
add esp, 4
lea ecx, [esp + 0x18]
push str.ResourceUnPack.exe
call fcn.0041664b
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 9
push ecx
call fcn.00402c40
add esp, 4
lea edx, [esp + 0x18]
mov byte [esp + 0x30], 0xa
push edx
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004167c1
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0xd
call fcn.00416582
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xc
call fcn.00416582
mov ecx, dword [0x4279f8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x18]
push str.x__o__y___s____s_
push ecx
mov byte [esp + 0x40], 0xe
call fcn.004155dd
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add esp, 0x10
push ebx
push ebx
push edx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0xc
call fcn.00416582
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 8
call fcn.00416582
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00416582
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00416582
mov eax, esi
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x403e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push str.Filter.ini
lea ecx, [esp + 0x10]
call fcn.004165f6
push str.UrlFilter
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.004165f6
push 0x427894
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.004165f6
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.00404170
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call fcn.00416582
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.00416582
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00416582
mov ecx, esi
call fcn.00403f60
mov ecx, esi
call fcn.00404010
mov ecx, esi
call fcn.004040c0
mov ecx, esi
call fcn.00403c80
push str.FilterFly.ini
lea ecx, [esp + 0x1c]
call fcn.004165f6
push str.FlyUnFilter
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 3
call fcn.004165f6
push 0x427894
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 4
call fcn.004165f6
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x30], 5
call fcn.00404170
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00416582
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 3
call fcn.00416582
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.00416582
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4042a0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41eab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push 0x42b934
lea ecx, [esp + 8]
call fcn.004165f6
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
test esi, esi
je 0x4042fe
lea eax, [esp + 0x2c]
push eax
call fcn.004048e0
add esp, 4
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.004166c9
mov byte [esp + 0x24], 0
lea ecx, [esp + 0x2c]
jmp 0x404346
lea ecx, [esp + 8]
push ecx
call fcn.00404910
add esp, 4
push str.Resource_version.ini
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x30], 2
call fcn.00416827
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.004166c9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 2
call fcn.00416582
mov byte [esp + 0x24], 0
lea ecx, [esp + 8]
call fcn.00416582
mov eax, dword [esp + 4]
push eax
push 0
push str.combineFilter
push 0x42760c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jle 0x40444d
push 0x42b934
lea ecx, [esp + 0x30]
call fcn.004165f6
test esi, esi
mov byte [esp + 0x24], 4
je 0x404391
push 0x42ba68
lea ecx, [esp + 0x30]
call fcn.004166c9
jmp 0x4043de
lea ecx, [esp + 0xc]
push ecx
call fcn.00404910
add esp, 4
push 0x427960
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x30], 5
call fcn.00416827
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 6
call fcn.004166c9
lea ecx, [esp + 8]
mov byte [esp + 0x24], 5
call fcn.00416582
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 4
call fcn.00416582
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push 0x42ba7c
call fcn.00403c00
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 7
call fcn.00403e10
test esi, esi
je 0x404431
lea ecx, [esp + 0xc]
push ecx
call fcn.004048e0
mov eax, dword [eax]
add esp, 4
push eax
push 0x42795c
push str.combineFilter
push 0x42760c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esp + 0xc]
call fcn.00416582
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 4
call fcn.00403ba0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00416582
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.00416582
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x404680
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41eb15
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
lea eax, [esp + 4]
push edi
push eax
mov dword [esp + 0x10], 0
call fcn.004048e0
add esp, 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push ecx
push 0x104
push edx
push 0
push str.update
push 0x42760c
mov dword [esp + 0x238], 1
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esp + 0x228]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004165f6
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x220], 0
call fcn.00416582
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x404810
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x41eb67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4279f8]
push esi
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
push ecx
call fcn.00403ad0
add esp, 4
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
push 0x100
push 0x100
mov byte [esp + 0x24], 2
call fcn.004169c7
push eax
push str.English.ini
push str.LngFile
push str.Settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.00416582
push 0xffffffffffffffff
lea ecx, [esp + 8]
call fcn.00416a17
mov esi, dword [esp + 0x20]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.004162ef
mov dword [esp + 0xc], 1
lea ecx, [esp + 4]
mov byte [esp + 0x18], 0
call fcn.00416582
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x404940
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41eb8b
push eax
mov eax, 0x1058
mov dword fs:[0], esp
call fcn.00406380
mov eax, dword [esp + 0x1068]
push eax
call fcn.00402910
add esp, 4
test eax, eax
je 0x404a65
push ebx
push ebp
push esi
push edi
mov ecx, 0x413
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x107c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
stosw word es:[edi], ax
mov edi, dword [esp + 0x1080]
mov esi, 1
mov dword [esp + 0x14], esi
mov ecx, dword [0x4279f8]
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
push esi
push edx
lea eax, [esp + 0x18]
push str._s_d
push eax
mov dword [esp + 0x1080], 0
call fcn.004155dd
mov ecx, dword [esp + 0x1088]
add esp, 0x10
lea edx, [esp + 0x18]
mov eax, dword [ecx]
mov ecx, dword [ebx]
push eax
mov eax, dword [esp + 0x14]
push 0x828
push edx
push 0x42b934
push eax
push ecx
call ebp
test eax, eax
jne 0x404a06
mov dword [esp + 0x14], eax
jmp 0x404a40
mov eax, dword [esp + 0x1088]
test eax, eax
je 0x404a2f
lea ecx, [esp + 0x18]
push 0
push ecx
mov ecx, dword [esp + 0x108c]
call fcn.00415bb4
test eax, eax
jne 0x404a40
lea edx, [esp + 0x18]
push edx
jmp 0x404a34
lea eax, [esp + 0x18]
push eax
mov ecx, dword [esp + 0x1088]
call fcn.00415b06
lea ecx, [esp + 0x10]
inc esi
mov dword [esp + 0x1070], 0xffffffff
call fcn.00416582
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4049ae
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1058]
mov dword fs:[0], ecx
add esp, 0x1064
ret
Function at 0x41bf83
Capabilities:
Create http request

Disassembly:
mov eax, 0x41ec54
call fcn.00406a48
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x41bfbb
call fcn.0041d74b
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x41bfe0
push eax
push dword [esi + 4]
call fcn.0041cd3c
jmp 0x41bfec
push esi
push eax
mov ecx, 0x42bb30
call fcn.0041bffd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x41c15d
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x41ec8f
call fcn.00406a48
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004198db
mov eax, dword [0x4279f8]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x42bb30
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0041bffd
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.00416719
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.00404c1b
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004166c9
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00416582
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10