joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43540c
Capabilities:
Enumerate files on windows

Disassembly:
push 0x67c
mov eax, 0x5a58fb
call fcn.00437119
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x420]
mov ebx, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.00446a10
push edi
lea eax, [ebp - 0x420]
push str._s.
push eax
call fcn.004074d0
add esp, 0x18
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43554c
lea eax, [ebp - 0x688]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x43554c
push 0x2e
pop eax
cmp word [ebp - 0x65c], ax
je 0x435468
cmp word [ebp - 0x65a], 0
je 0x435468
cmp word [ebp - 0x65a], ax
jne 0x4354a7
cmp word [ebp - 0x658], 0
je 0x435468
test byte [ebp - 0x688], 0x10
je 0x435468
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00446a10
lea eax, [ebp - 0x65c]
push eax
push edi
lea eax, [ebp - 0x218]
push 0x5a83e0
push eax
call fcn.004074d0
and dword [ebp - 0x428], 0
xor eax, eax
add esp, 0x1c
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp word [ebp - 0x218], ax
je 0x43550f
lea eax, [ebp - 0x218]
push eax
call fcn.004549af
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401ac0
and dword [ebp - 4], 0
lea eax, [ebp - 0x438]
push eax
mov ecx, ebx
call fcn.0040f130
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
push 0
push 1
call fcn.00401a00
jmp 0x435468
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.004370d4
ret 8

Function at 0x43555b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x62e10c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
mov dword [ebp - 8], 7
mov esi, 0x5aa1b4
mov word [ebp - 0x1c], ax
xor edi, edi
push esi
mov dword [ebp - 0xc], edi
call fcn.004549af
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00401ac0
lea eax, [ebp - 0x20]
push eax
push 0xf003f
push edi
push str.SoftWareMicrosoftWindowsCurrentVersionUninstall
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4355d1
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], edi
call fcn.00401a00
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043671f
mov esp, ebp
pop ebp
ret
Function at 0x435623
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x62e10c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x418]
mov ebx, str.WnWBImeDictFile
push eax
push ebx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x435776
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push eax
push ebx
push 1
push 0x622454
push dword [ebp - 0x418]
call edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00446a10
add esp, 0xc
mov ebx, str.WnDictInst.exe
push ebx
call fcn.0041f4e7
mov ecx, eax
call fcn.0042e97c
push eax
lea eax, [ebp - 0x414]
push 0x5a7f4c
push eax
call fcn.004074d0
add esp, 0x10
lea eax, [ebp - 0x414]
push 0x104
push eax
push 1
push str.DefaultIcon
push dword [ebp - 0x418]
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00446a10
add esp, 0xc
push ebx
call fcn.0041f4e7
mov ecx, eax
call fcn.0042e97c
push eax
lea eax, [ebp - 0x20c]
push str.__s_s___install
push eax
call fcn.004074d0
lea eax, [ebp - 0x20c]
push 0x5aa2c8
push eax
call fcn.00454668
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 1
push str.shellopencommand_
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x41c]
push eax
push str..wncl
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x435775
push 0x104
push str.WnWBImeDictFile
push 1
push 0x622454
push dword [ebp - 0x41c]
call edi
push dword [ebp - 0x41c]
call ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0043671f
mov esp, ebp
pop ebp
ret

Function at 0x435785
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
call fcn.00435795
mov ecx, esi
pop esi
jmp fcn.00435623
Function at 0x435795
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x62e10c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x41c]
push eax
mov ebx, str.WnWBImeSkinFile
push ebx
push closesocket
call esi
test eax, eax
jne 0x43591f
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push eax
push ebx
push 1
push 0x622454
push dword [ebp - 0x41c]
call edi
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00446a10
add esp, 0xc
mov ebx, str.WnSkinInst.exe
push ebx
call fcn.0041f4e7
mov ecx, eax
call fcn.0042e97c
push eax
lea eax, [ebp - 0x414]
push 0x5a7f4c
push eax
call fcn.004074d0
add esp, 0x10
lea eax, [ebp - 0x414]
push 0x104
push eax
push 1
push str.DefaultIcon
push dword [ebp - 0x41c]
call edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00446a10
add esp, 0xc
push ebx
call fcn.0041f4e7
mov ecx, eax
call fcn.0042e97c
push eax
lea eax, [ebp - 0x20c]
push str.__s_s___install
push eax
call fcn.004074d0
lea eax, [ebp - 0x20c]
push 0x5aa2c8
push eax
call fcn.00454668
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 1
push str.shellopencommand_
push dword [ebp - 0x41c]
call edi
push dword [ebp - 0x41c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 0x418]
push eax
push str..wnpf
push closesocket
call esi
test eax, eax
jne 0x43591e
push 0x104
push str.WnWBImeSkinFile
push 1
push 0x622454
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
call ebx
lea eax, [ebp - 0x418]
push eax
push str..swnpf
push closesocket
call esi
test eax, eax
jne 0x43591e
push 0x104
push str.WnWBImeSkinFile
push 1
push 0x622454
push dword [ebp - 0x418]
call edi
push dword [ebp - 0x418]
call ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0043671f
mov esp, ebp
pop ebp
ret

Function at 0x43597b
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, ecx
call fcn.0043598b
mov ecx, esi
pop esi
jmp fcn.0043592f

Function at 0x43598b
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push 0x622454
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4359dd
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push str.WnWBImeSkinFile
push dword [ebp - 4]
call esi
push str..wnpf
push dword [ebp - 4]
call esi
push str..swnpf
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x435c48
Capabilities:
Check if file exists
Get common file path

Disassembly:
push 0x23c
mov eax, 0x5a50eb
call fcn.00437119
mov esi, ecx
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00446a10
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x10
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x435b65
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
je 0x435a51
lea eax, [ebp - 0x218]
push eax
call fcn.004549af
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401ac0
mov edi, 0x623448
mov dword [ebp - 4], ebx
push edi
call fcn.004549af
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00405530
mov edi, 0x5aa344
push edi
call fcn.004549af
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00405530
mov edi, str..lnk
push edi
call fcn.004549af
pop ecx
push eax
push edi
lea ecx, [ebp - 0x230]
call fcn.00405530
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x435b57
call fcn.0041f4e7
mov ecx, eax
call fcn.0042e97c
push eax
lea ecx, [ebp - 0x248]
call fcn.004018d0
mov edi, str.wnwb.exe
mov byte [ebp - 4], 1
push edi
call fcn.004549af
pop ecx
push eax
push edi
lea ecx, [ebp - 0x248]
call fcn.00405530
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
push ebx
cmovae ecx, dword [ebp - 0x248]
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
push ebx
cmovae eax, dword [ebp - 0x230]
push 0x657
push 1
push 0x5aa354
push ecx
push eax
mov ecx, esi
call fcn.00435b6b
push ebx
push 1
lea ecx, [ebp - 0x248]
call fcn.00401a00
push ebx
push 1
lea ecx, [ebp - 0x230]
call fcn.00401a00
call fcn.004370d4
ret
jmp 0x4359e1
Function at 0x435d92
Capabilities:
Set registry value

Disassembly:
push 0x244
mov eax, 0x5a592e
call fcn.00437119
mov eax, dword [ebp + 0xc]
xor edi, edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push edi
push eax
mov dword [ebp - 0x228], esi
call fcn.00446a10
push esi
lea eax, [ebp - 0x218]
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy_s
push eax
call fcn.004074d0
add esp, 0x18
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x22c], 3
call fcn.004315e4
lea ecx, [ebp - 0x250]
mov dword [ebp - 4], edi
call fcn.004316aa
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x435ef4
lea eax, [ebp - 0x220]
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435fb5
xor ecx, ecx
lea eax, [ebp - 0x21c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push dword [ebp - 0x228]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x435e7e
push dword [ebp - 0x220]
call esi
jmp 0x435fb5
push ebx
call fcn.004549af
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push str.AppName
push dword [ebp - 0x21c]
call edi
push dword [ebp - 0x224]
call fcn.004549af
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x224]
push 1
push 0
push str.AppPath
push dword [ebp - 0x21c]
call edi
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push 0
push str.Policy
push dword [ebp - 0x21c]
call edi
push dword [ebp - 0x21c]
call esi
push dword [ebp - 0x220]
call esi
lea eax, [ebp - 0x220]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435fb5
xor ecx, ecx
lea eax, [ebp - 0x21c]
push ecx
push eax
push ecx
push 0xf003f
push ecx
push ecx
push ecx
push dword [ebp - 0x228]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x435fad
push ebx
call fcn.004549af
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push str.AppName
push dword [ebp - 0x21c]
call edi
mov ebx, dword [ebp - 0x224]
push ebx
call fcn.004549af
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push 0
push str.AppPath
push dword [ebp - 0x21c]
call edi
push 4
lea eax, [ebp - 0x22c]
push eax
push 4
push 0
push str.Policy
push dword [ebp - 0x21c]
call edi
push dword [ebp - 0x21c]
call esi
push dword [ebp - 0x220]
call esi
lea ecx, [ebp - 0x250]
call fcn.004315f7
call fcn.004370d4
ret 0xc
Function at 0x4381f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.00439460
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.00439410
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.004394b0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x43822c
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x438280
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x438270
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x438270
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x4383c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x62e10c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x43841a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x438437
mov eax, dword [esi + 0x20]
jmp 0x43843a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x438454
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x43846e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x438488
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.00449e5c
push eax
call fcn.00454bab
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00446a10
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x438547
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.00446a10
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x438538
test eax, eax
je 0x438538
add eax, eax
cmp eax, 0x412
jae 0x438533
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x43853e
call fcn.00436d4c
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.00401a70
mov eax, dword [esi + 0x30]
test eax, eax
je 0x438573
cmp dword [esi + 0x34], 8
jb 0x438559
mov ecx, dword [esi + 0x20]
jmp 0x43855c
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x438573
push 1
push 0x623448
lea ecx, [esi + 0x20]
call fcn.00405530
cmp dword [esi + 0x30], 0
jne 0x438588
push 3
push 0x5aaf08
lea ecx, [esi + 0x20]
call fcn.00401ac0
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043671f
mov esp, ebp
pop ebp
ret
Function at 0x4385b0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x4385cc
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x4385c5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x4385e9
push eax
call fcn.004369fc
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x4385ff
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00401fa0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x438615
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x438630
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00401fa0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x438646
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x438661
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00401fa0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x438677
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x438692
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00401fa0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4386a8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x4386c2
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.00401fa0
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x4386e1
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x439d30
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x439d6e
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x439d6e
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret

Function at 0x43a66e
Capabilities:
Read .ini file

Disassembly:
push 0x838
mov eax, 0x5a5d4c
call fcn.00437119
mov edi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x8c]
cmp dword [eax + 0x14], 8
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x844], ecx
jb 0x43a699
mov eax, dword [eax]
push eax
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp esi, dword [ebp + 0x10]
jne 0x43a777
xor esi, esi
mov dword [ebp - 0x814], 7
push esi
xor eax, eax
mov dword [ebp - 0x818], esi
push 0x622454
lea ecx, [ebp - 0x828]
mov word [ebp - 0x828], ax
call fcn.00401ac0
push 0x800
lea eax, [ebp - 0x810]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00446a10
push dword [ebp + 0x10]
lea eax, [ebp - 0x810]
push 0x62326c
push eax
call fcn.004074d0
add esp, 0x18
lea eax, [ebp - 0x810]
cmp byte [edi + 5], 0
mov ecx, edi
push eax
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
push ebx
push eax
je 0x43a72c
call fcn.0043a58a
jmp 0x43a731
call fcn.0043a644
push eax
lea ecx, [ebp - 0x828]
call fcn.004052f0
push esi
push 1
lea ecx, [ebp - 0x840]
call fcn.00401a00
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push eax
call fcn.00449d89
pop ecx
push 0
push 1
lea ecx, [ebp - 0x828]
mov esi, eax
call fcn.00401a00
mov eax, esi
call fcn.004370d4
ret 0xc

Function at 0x43a781
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x5a5d96
call fcn.00437119
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.00446a10
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43a7de
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004018d0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x43a824
mov eax, dword [esi]
jmp 0x43a826
mov eax, esi
push ebx
push eax
call fcn.004549ca
pop ecx
pop ecx
test eax, eax
jne 0x43a872
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x43a856
call fcn.0043a58a
jmp 0x43a85b
call fcn.0043a644
push eax
mov ecx, esi
call fcn.004052f0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.00401a00
mov eax, esi
call fcn.004370d4
ret 0x10
Function at 0x43b426
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x62e10c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.00446a10
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43b45f
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x5a83e0
push eax
call fcn.004074d0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b497
lea eax, [ebp - 0x20c]
push eax
call fcn.004258f7
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00446a10
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x5a7f4c
push eax
call fcn.004074d0
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x43b4d6
mov eax, esi
jmp 0x43b4e3
lea eax, [ebp - 0x414]
push eax
call fcn.004549af
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00401ac0
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00446a10
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x5a7f4c
push eax
call fcn.004074d0
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x43b535
mov eax, esi
jmp 0x43b542
lea eax, [ebp - 0x61c]
push eax
call fcn.004549af
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00401ac0
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00446a10
lea eax, [ebp - 0xa44]
push 0x623424
push eax
call fcn.004269d1
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x43b583
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x5a8194
push eax
call fcn.004074d0
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.00401a00
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b5c4
lea eax, [ebp - 0x824]
push eax
call fcn.004258f7
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00446a10
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x5a7f4c
push eax
call fcn.004074d0
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x43b60e
lea eax, [ebp - 0xa2c]
push eax
call fcn.004549af
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401ac0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043671f
mov esp, ebp
pop ebp
ret