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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x60c254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x208
push esi
push eax
mov dword [ebp - 0x214], ecx
call fcn.0055d8e0
add esp, 0xc
jmp 0x410637
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x410636
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0x64]
push eax
call fcn.00564e8d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x214]
push ebx
push dword [ebp - 0x210]
call fcn.00410664
test eax, eax
je 0x41062a
push ebx
mov ecx, 0x61a584
call fcn.00411eda
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4105de
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd3
mov esp, ebp
pop ebp
ret 8

Function at 0x410664
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x60c254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xc8
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0
mov dword [ebp - 0x214], 1
lea esi, [edi + 0xc8]
mov dword [ebp - 0x210], eax
push esi
call fcn.0055d8e0
push esi
push str.Description
push str.Display_Description
push ebx
call fcn.0040f5ff
push 0x28
pop eax
push eax
lea esi, [edi + 0x190]
mov dword [ebp - 0x210], eax
push 0
push esi
call fcn.0055d8e0
add esp, 0x28
lea eax, [ebp - 0x210]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x214]
push eax
push 0
push str.SubstituteLayout
push ebx
call esi
push 4
pop eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
push eax
lea eax, [edi + 0x3e4]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push str.IconIndex
push ebx
call esi
mov eax, 0x208
add edi, 0x1b8
push eax
push 0
push edi
mov dword [ebp - 0x210], eax
call fcn.0055d8e0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push edi
lea eax, [ebp - 0x214]
push eax
push 0
push str.IconFile
push ebx
call esi
test eax, eax
je 0x41075b
xor eax, eax
jmp 0x410783
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x410780
lea ecx, [ebp - 0x20c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd3
mov esp, ebp
pop ebp
ret 8
Function at 0x410796
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x60c254]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x218], ecx
xor edi, edi
lea ecx, [ebp - 0x210]
push ecx
push 9
push edi
push str.LanguageProfile
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4108b6
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0055d8e0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ebx, edi
push 0x104
push eax
push edi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4108ad
lea eax, [esi + 0x3c0]
lea ecx, [ebp - 0x20c]
push ecx
push eax
call fcn.00564e8d
push 0x10
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056f3b8
mov ecx, 0xffff
mov word [esi + 0x3de], ax
add esp, 0x14
cmp ax, cx
je 0x410885
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x410885
mov ecx, dword [ebp - 0x218]
push esi
push dword [ebp - 0x214]
call fcn.004105a3
push dword [ebp - 0x214]
call edi
push 0x104
lea eax, [ebp - 0x20c]
inc ebx
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
lea eax, [esi + 0x3c0]
je 0x41081c
push dword [ebp - 0x210]
call edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042cfd3
mov esp, ebp
pop ebp
ret 8
Function at 0x41210b
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push esi
mov esi, ecx
push eax
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [esi + 0x18], 0
mov ecx, esi
push 0
push 1
call fcn.004044a8
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4125b0
Capabilities:
Check if file exists

Disassembly:
push 0x70
mov eax, 0x589b10
call fcn.0042d04f
call fcn.00403feb
mov ecx, eax
call fcn.0040a3fd
mov dword [ebp - 0x5c], eax
mov esi, dword [eax]
jmp 0x4127a4
mov ebx, dword [esi + 4]
mov edi, dword [esi]
test ebx, ebx
je 0x4125df
lock inc dword [ebx + 4]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], edi
and dword [ebp - 4], 0
xor eax, eax
and dword [ebp - 0x18], 0
push 0x594474
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00564eaf
pop ecx
push eax
push 0x594474
lea ecx, [ebp - 0x28]
call fcn.0040475c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.00409fce
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x58]
add eax, 0x28
push eax
call fcn.0040384d
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004044a8
call fcn.00403feb
mov ecx, eax
call fcn.0042e207
push eax
lea ecx, [ebp - 0x40]
call fcn.00403875
push 0x5945b4
mov byte [ebp - 4], 4
call fcn.00564eaf
pop ecx
push eax
push 0x5945b4
lea ecx, [ebp - 0x40]
call fcn.004045fc
push 0x592660
call fcn.00564eaf
pop ecx
push eax
push 0x592660
lea ecx, [ebp - 0x40]
call fcn.004045fc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.00404536
push str..wncl
call fcn.00564eaf
pop ecx
push eax
push str..wncl
lea ecx, [ebp - 0x40]
call fcn.004045fc
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
push str.exist
test eax, eax
je 0x412722
xor eax, eax
mov word [ebp - 0x28], ax
call fcn.00564eaf
pop ecx
push eax
push str.exist
lea ecx, [ebp - 0x28]
call fcn.0040475c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
call fcn.00409fce
mov edi, dword [ebp - 0x74]
push 0x58f214
call fcn.00564eaf
pop ecx
push eax
push 0x58f214
jmp 0x412763
xor eax, eax
mov word [ebp - 0x28], ax
call fcn.00564eaf
pop ecx
push eax
push str.exist
lea ecx, [ebp - 0x28]
call fcn.0040475c
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x7c]
mov ecx, edi
push eax
call fcn.00409fce
mov edi, dword [ebp - 0x7c]
push 0x58f218
call fcn.00564eaf
pop ecx
push eax
push 0x58f218
lea ecx, [edi + 0x28]
call fcn.0040475c
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004044a8
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004044a8
push 0
push 1
lea ecx, [ebp - 0x58]
call fcn.004044a8
or dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x41279e
mov ecx, ebx
call fcn.00404f4c
mov eax, dword [ebp - 0x5c]
add esi, 8
cmp esi, dword [eax + 4]
jne 0x4125d2
xor eax, eax
inc eax
call fcn.0042cff9
ret
Function at 0x414ee6
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push eax
push dword [esi + 0x6c0]
lea ebx, [esi + 0x520]
mov dword [ebp - 8], esi
mov dword [esi], vtable.CDictBar.0
mov dword [esi + 0x4b8], 0x5969d8
mov dword [esi + 0x50c], 0x596a00
mov dword [esi + 0x51c], 0x596a08
mov dword [ebx], vtable.CDictBar.4.0
mov dword [esi + 0x530], 0x596a60
call edi
push dword [ebp - 4]
push dword [esi + 0x6c0]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
call esi
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push ecx
push dword [eax + 0x6c4]
and dword [eax + 0x6c0], 0
call edi
mov edi, dword [ebp - 8]
push dword [ebp - 4]
push dword [edi + 0x6c4]
call esi
and dword [edi + 0x6c4], 0
lea ecx, [edi + 0x6a8]
push 0
push 1
call fcn.004044a8
lea ecx, [edi + 0x69c]
call fcn.00414da9
lea ecx, [edi + 0x544]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CDialogBuilder::destructor_void_]
lea ecx, [edi + 0x534]
mov dword [edi + 0x530], 0x596804
call fcn.00414da9
mov ecx, ebx
call fcn.0041de85
lea ecx, [edi + 0x50c]
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CNotifyPump::destructor_void_]
mov ecx, edi
call dword [sym.imp.DuiLib32.dll_public_virtual:_void___thiscall_DuiLib::CHorizontalLayoutUI::destructor_void_]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415478
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push edi
mov edi, ecx
push str.dictbar_commonusedict
mov ecx, dword [edi + 0x52c]
call esi
mov ecx, dword [edi + 0x52c]
push str.dictbar_recommenddict
mov dword [edi + 0x694], eax
call esi
mov ecx, dword [edi + 0x52c]
push str.dictbar_commonusedict_setheight
mov dword [edi + 0x698], eax
call esi
mov ecx, dword [edi + 0x52c]
push str.dictbar_recommenddict_setheight
mov dword [edi + 0x68c], eax
call esi
lea ecx, [edi + 0x520]
mov dword [edi + 0x690], eax
call fcn.0041e5a7
mov ecx, edi
call fcn.004154e9
mov ecx, edi
pop edi
pop esi
jmp fcn.004166c5
Function at 0x417457
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x589e6c
call fcn.0042d01b
mov esi, ecx
mov ecx, dword [esi + 0x670]
test ecx, ecx
je 0x417541
mov eax, dword [ecx]
call dword [eax + 0xf8]
test al, al
je 0x417543
push 0x58ed00
lea ecx, [ebp - 0x10]
call fcn.0040b0d8
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebp + 8]
movzx eax, ax
cmp edi, 0xe5
je 0x417536
mov byte [esi + 0x6b0], bl
test ax, ax
jns 0x4174ce
push str.Shift
lea ecx, [ebp - 0x10]
mov byte [esi + 0x6b0], 1
call fcn.0040c436
lea eax, [edi - 0x41]
cmp eax, 0x19
ja 0x4174f6
push edi
lea ecx, [ebp - 0x10]
mov word [esi + 0x6b2], di
call fcn.00416c6e
mov ecx, dword [esi + 0x670]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x2c]
jmp 0x417536
mov eax, 0xbc
movzx eax, ax
cmp edi, eax
je 0x417512
movzx eax, word [ebx*8 + 0x596e08]
inc ebx
test ax, ax
jne 0x4174fb
jmp 0x417536
mov word [esi + 0x6b2], di
lea ecx, [ebp - 0x10]
push dword [ebx*8 + 0x596e04]
call fcn.00416bb7
mov ecx, dword [esi + 0x670]
push dword [ebp - 0x10]
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c1a5
mov al, 1
call fcn.0042cfe4
ret 8

Function at 0x4177df
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
lea eax, [ebp - 4]
push eax
push edx
push ecx
push 0x416f0e
push edx
push edx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x418e70
Capabilities:
Get common file path

Disassembly:
push 0x41c
mov eax, 0x58a125
call fcn.0042d04f
mov esi, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], esi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::WindowImplBase::constructor_void_]
mov dword [esi + method.std::_Facet_base.virtual_4], vtable.IBottomBarEvent.0
lea eax, [esi + 0x310]
mov dword [esi + method.std::_Facet_base.virtual_4], vtable.IDictBarEvent.0
xor ebx, ebx
mov dword [esi + method.std::_Facet_base.virtual_4], vtable.ISysBarEvent.0
mov dword [esi], vtable.CMainFrame.0
mov dword [esi + 0x10], vtable.CMainFrame.1.0
mov dword [esi + 0x20], vtable.CMainFrame.2.0
mov dword [esi + 0x24], vtable.CMainFrame.3.0
mov dword [esi + 0x28], vtable.CMainFrame.4.0
mov dword [esi + method.CMainFrame.5.virtual_0], vtable.CMainFrame.5.0
mov dword [esi + method.CMainFrame.6.virtual_0], vtable.CMainFrame.6.0
mov dword [esi + method.CMainFrame.7.virtual_0], vtable.CMainFrame.7.0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x418f0e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea ecx, [esi + 0x328]
mov byte [ebp - 4], 1
call fcn.004371cb
push ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x2e4], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x2ec], ebx
mov dword [esi + 0x2f0], ebx
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f8], ebx
mov dword [esi + 0x2fc], ebx
mov dword [esi + 0x304], ebx
mov byte [esi + 0x308], bl
mov dword [esi + 0x30c], ebx
mov dword [esi + 0x300], ebx
mov dword [esi + 0x360], 0xff
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x61b0d0], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.WanNengWBInput
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_sSkinPreviewWizard_
push eax
call fcn.00404cc4
add esp, 0x10
call dword [sym.imp.WnSkinPreview.dll_class_CLibResUtils____cdecl_GetResUtils_void_]
lea ecx, [ebp - 0x420]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
call dword [sym.imp.WnSkinPreview.dll_void___cdecl_LibInitInstance_void_]
mov eax, esi
call fcn.0042cff9
ret
Function at 0x41cf08
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x58a64a
call fcn.0042d0bd
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x41cf85
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x41cf85
call fcn.0041c2d5
mov esi, eax
jmp 0x41d05c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x41cfa8
call fcn.0041c2d5
jmp 0x41d04f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x41cf9e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x41cfd8
mov esi, 0x8007000e
jmp 0x41d051
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0041c12f
jmp 0x41cffe
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x41cfd1
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x41cf9e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0041cdcd
mov esi, eax
test edi, edi
je 0x41d05c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x41d075
lea ecx, [ebp - 0x418]
call fcn.0041c552
mov eax, esi
call fcn.0042d00a
ret 0x10
Function at 0x41e7a3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
call fcn.00404e86
mov ecx, eax
pop esi
jmp fcn.004065ca

Function at 0x420d58
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x13fc
call fcn.0042d100
mov eax, dword [0x60c254]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x9dc]
push edi
push str._s.
push eax
mov ebx, ecx
call fcn.00404cc4
add esp, 0xc
lea eax, [ebp - 0x13fc]
push eax
lea eax, [ebp - 0x9dc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x420e5e
lea eax, [ebp - 0x13fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x420e5e
push 0x2e
pop eax
cmp word [ebp - 0x13d0], ax
je 0x420dab
cmp word [ebp - 0x13ce], 0
je 0x420dab
cmp word [ebp - 0x13ce], ax
jne 0x420dea
cmp word [ebp - 0x13cc], 0
je 0x420dab
test byte [ebp - 0x13fc], 0x10
je 0x420e30
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0055d8e0
lea eax, [ebp - 0x13d0]
push eax
push edi
lea eax, [ebp - 0x20c]
push 0x58f21c
push eax
call fcn.00404cc4
add esp, 0x1c
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00420d58
lea eax, [ebp - 0x13d0]
push eax
push edi
lea eax, [ebp - 0x11ac]
push 0x58f14c
push eax
call fcn.00404cc4
add esp, 0x10
lea eax, [ebp - 0x11ac]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x420dab
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042cfd3
mov esp, ebp
pop ebp
ret 4
Function at 0x428960
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b6e3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x60c254]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x61d59c
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x61d59c
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x58eb74
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0042c500
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e312
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x58bbd4
call fcn.0042d04f
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.0055d8e0
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42e36f
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.00403875
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x42e3b5
mov eax, dword [esi]
jmp 0x42e3b7
mov eax, esi
push ebx
push eax
call fcn.00568b1b
pop ecx
pop ecx
test eax, eax
jne 0x42e403
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 0x42e3e7
call fcn.0042e21f
jmp 0x42e3ec
call fcn.0042e2d9
push eax
mov ecx, esi
call fcn.00403969
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004044a8
mov eax, esi
call fcn.0042cff9
ret 0x10
Function at 0x42efb5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x60c254]
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.0055d8e0
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x42efee
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x58f21c
push eax
call fcn.00404cc4
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f026
lea eax, [ebp - 0x20c]
push eax
call fcn.00430639
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0055d8e0
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x58f14c
push eax
call fcn.00404cc4
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x42f065
mov eax, esi
jmp 0x42f072
lea eax, [ebp - 0x414]
push eax
call fcn.00564eaf
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.0040475c
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0055d8e0
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x58f14c
push eax
call fcn.00404cc4
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x42f0c4
mov eax, esi
jmp 0x42f0d1
lea eax, [ebp - 0x61c]
push eax
call fcn.00564eaf
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.0040475c
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.0055d8e0
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.00431713
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x42f112
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x58f24c
push eax
call fcn.00404cc4
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.004044a8
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f153
lea eax, [ebp - 0x824]
push eax
call fcn.00430639
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.0055d8e0
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x58f14c
push eax
call fcn.00404cc4
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x42f19d
lea eax, [ebp - 0xa2c]
push eax
call fcn.00564eaf
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.0040475c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042cfd3
mov esp, ebp
pop ebp
ret