joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004be88
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1004bf01
push ebx
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.10078c40
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0x10]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
push dword [ebp + 0x10]
call fcn.10028c00
pop ecx
pop ecx
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1004cd0e
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x101df125
call fcn.1005d984
mov esi, dword [ebp + 0x20]
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
call fcn.10021220
mov ax, word [0x10270410]
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
mov dword [esp], 0x206
push 0
push eax
mov byte [ebp - 4], 1
call fcn.10079740
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
lea eax, [ebp - 0x230]
cmovae ecx, dword [ebp + 8]
cmp dword [ebp - 0x21c], 8
push ecx
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push str._s_s.png
push eax
call fcn.10021c4b
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004cdca
cmp word [ebp - 0x218], 0
jne 0x1004cdaa
xor eax, eax
jmp 0x1004cdb7
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002750
mov bl, 1
jmp 0x1004cdcc
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
push 0
push 1
lea ecx, [ebp + 8]
call fcn.10002690
mov al, bl
call fcn.1005d93f
ret 0x1c
Function at 0x1004cdf1
Capabilities:
Read .ini file

Disassembly:
push 0x430
mov eax, 0x101df160
call fcn.1005d984
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x43c], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x438]
push eax
call fcn.10021124
pop ecx
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x438]
push eax
push 0
push str.count
push str.MenuSkins
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor esi, esi
mov edi, eax
inc esi
cmp edi, esi
jl 0x1004cec0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x420]
push str.MenuSkin_d
push eax
call fcn.10021c4b
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x101eeb40
push 0x101e56a8
lea eax, [ebp - 0x420]
push eax
call ebx
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100875a3
pop ecx
pop ecx
test eax, eax
je 0x1004cee7
inc esi
cmp esi, edi
jle 0x1004ce54
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x438]
call fcn.10002690
push 0
push 1
lea ecx, [ebp + 8]
call fcn.10002690
mov al, bl
call fcn.1005d93f
ret 0x1c
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x101eeb40
push str.previewUrl
lea eax, [ebp - 0x420]
push eax
call ebx
cmp word [ebp - 0x218], 0
jne 0x1004cf29
xor eax, eax
jmp 0x1004cf36
lea eax, [ebp - 0x218]
push eax
call fcn.1008133f
pop ecx
mov ecx, dword [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10002750
mov bl, 1
jmp 0x1004cec2

Function at 0x1004cff0
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push 0x240
mov eax, 0x101df1a6
call fcn.1005d984
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10004160
mov ecx, esi
call fcn.1004cdf1
test al, al
je 0x1004d0fe
lea eax, [ebp - 0x248]
push eax
call fcn.10021220
mov ax, word [0x10270410]
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
mov dword [esp], 0x206
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.10079740
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp + 8]
cmp dword [ebp - 0x234], 8
push ecx
cmovae eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push str._s_s.png
push eax
call fcn.10021c4b
lea eax, [ebp - 0x218]
push eax
call fcn.10061f53
add esp, 0x20
lea ecx, [ebp - 0x218]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ebx
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp - 0x248]
push 0
push 1
setne bl
call fcn.10002690
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
push 0
push 1
lea ecx, [ebp + 8]
call fcn.10002690
mov al, bl
call fcn.1005d93f
ret 0x18
Function at 0x1004df6a
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
push edi
push 0
mov ecx, dword [esi + 0x33c]
add ecx, 0x4b8
mov eax, dword [ecx]
call dword [eax]
push 0
lea ecx, [eax + 0x4b8]
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x1004dfcd
lea ecx, [edi + 0x4b8]
mov edx, dword [ecx]
call dword [edx + 0x20]
mov edx, dword [edi]
mov ecx, edi
push 0
call dword [edx + 0xd8]
mov eax, dword [edi]
mov ecx, edi
push 0x101e55f4
push str.height
call dword [eax + 0x120]
mov ecx, dword [esi + 0x3b8]
push 1
mov eax, dword [ecx]
call dword [eax + 0xd8]
mov ecx, esi
call fcn.1004dfdd
pop edi
mov ecx, esi
pop esi
jmp fcn.1005031d
Function at 0x1005242d
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x101df9f0
call fcn.1005d984
mov ebx, ecx
push dword [ebx + 4]
lea ecx, [ebx + 0x2ec]
call fcn.100755d9
mov esi, dword [sym.imp.DuiLib32.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
lea edi, [ebx + 0x2c]
push str.OnClose
mov ecx, edi
call esi
push str.char_face_btn
mov ecx, edi
mov dword [ebx + 0x324], eax
call esi
push str.symbol_lib_btn
mov ecx, edi
mov dword [ebx + 0x328], eax
call esi
push str.char_draw_btn
mov ecx, edi
mov dword [ebx + 0x32c], eax
call esi
push str.configure_btn
mov ecx, edi
mov dword [ebx + 0x330], eax
call esi
push str.mbmanager_btn
mov ecx, edi
mov dword [ebx + 0x334], eax
call esi
push str.wizard_btn
mov ecx, edi
mov dword [ebx + 0x338], eax
call esi
push str.celldictbtn
mov ecx, edi
mov dword [ebx + 0x33c], eax
call esi
push str.personalbtn
mov ecx, edi
mov dword [ebx + 0x340], eax
call esi
push str.imebtn
mov ecx, edi
mov dword [ebx + 0x344], eax
call esi
push str.tipical_wordbtn
mov ecx, edi
mov dword [ebx + 0x348], eax
call esi
push str.font_settingbtn
mov ecx, edi
mov dword [ebx + 0x34c], eax
call esi
push str.moreskin_btn
mov ecx, edi
mov dword [ebx + 0x350], eax
call esi
push str.skinbox_btn
mov ecx, edi
mov dword [ebx + 0x354], eax
call esi
push str.feedback
mov ecx, edi
mov dword [ebx + 0x358], eax
call esi
push str.officialweb
mov ecx, edi
mov dword [ebx + 0x35c], eax
call esi
push str.hand_input_btn
mov ecx, edi
mov dword [ebx + 0x364], eax
call esi
push str.hand_down_progress
mov ecx, edi
mov dword [ebx + 0x38c], eax
call esi
push str.datetime_btn
mov ecx, edi
mov dword [ebx + 0x390], eax
call esi
mov dword [ebx + 0x360], eax
push str.officebtn
mov ecx, edi
call esi
push str.hand_input_text
mov ecx, edi
mov dword [ebx + 0x368], eax
call esi
push str.tool_Bar_layout
mov ecx, edi
mov dword [ebx + 0x394], eax
call esi
push str.hand_input_pointer
mov ecx, edi
mov dword [ebx + 0x398], eax
call esi
mov dword [ebx + 0x39c], eax
call fcn.1002165c
mov ecx, eax
call fcn.1004155f
push eax
lea ecx, [ebp - 0x230]
call fcn.100025f0
mov esi, str.WnHandInput.exe
xor edi, edi
push esi
mov dword [ebp - 4], edi
call fcn.1008133f
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.10004340
call fcn.10021d63
push 0xb8
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
mov esi, eax
mov ecx, dword [esi + 4]
cmp byte [ecx], 1
jne 0x10052645
cmp dword [ebx + 0x32c], edi
je 0x10052645
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.10079740
push dword [esi + 8]
lea eax, [ebp - 0x218]
push 0x101ef928
push eax
call fcn.10021c4b
mov ecx, dword [ebx + 0x32c]
lea edx, [ebp - 0x218]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x9c]
cmp dword [ebx + 0x39c], edi
je 0x1005267f
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebx + 0x39c]
test eax, eax
mov eax, dword [ecx]
jne 0x10052678
push 1
jmp 0x10052679
push edi
call dword [eax + 0xd8]
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
call fcn.1005d93f
ret
Function at 0x10052d56
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x101dfa28
call fcn.1005d984
mov esi, ecx
call fcn.1002165c
mov ecx, eax
call fcn.1004155f
push eax
lea ecx, [ebp - 0x40]
call fcn.100025f0
mov edi, str.WnHandInput.exe
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
call fcn.1008133f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10004340
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10052e29
xor eax, eax
mov dword [ebp - 0x14], 7
mov edi, 0x101ef970
mov dword [ebp - 0x18], ebx
push edi
mov word [ebp - 0x28], ax
call fcn.1008133f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.10002750
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x28]
call fcn.10004470
mov edi, 0x101ef9f8
push edi
call fcn.1008133f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.10004340
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ebx
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
call fcn.10072ae5
add esp, 0x10
mov ecx, esi
push ebx
push ebx
push 0x12
call dword [sym.imp.DuiLib32.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.10002690
jmp 0x10052e80
mov ecx, dword [esi + 0x390]
mov byte [esi + 0x3a8], 1
test ecx, ecx
je 0x10052e51
mov eax, dword [ecx]
push 1
call dword [eax + 0xd8]
mov ecx, dword [esi + 0x390]
push ebx
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
mov ecx, dword [esi + 0x394]
test ecx, ecx
je 0x10052e65
mov eax, dword [ecx]
push 0x101efafc
call dword [eax + 0x2c]
push dword [esi + 4]
call fcn.1003e298
mov ecx, eax
call fcn.1003e2cb
call fcn.1003e298
mov ecx, eax
call fcn.1003e009
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
call fcn.1005d93f
ret
Function at 0x10053a9c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x10288294]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x24c], ecx
and dword [ebp - 0x244], esi
xor ebx, ebx
push edi
xor edi, edi
movups xmmword [ebp - 0x22c], xmm0
test eax, eax
je 0x10053b18
push eax
call fcn.10088846
pop ecx
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x3a4], eax
lea ecx, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x224]
mov esi, dword [ebp - 0x22c]
sub eax, esi
mov ebx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x228]
sub ebx, edi
mov dword [ebp - 0x244], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10079740
push 0x101e8a10
lea eax, [ebp - 0x20c]
push 0x101ed5b4
push eax
call fcn.10021c4b
add esp, 0x18
lea eax, [ebp - 0x20c]
xor ecx, ecx
push ecx
push 0x118
push 0x10e
push ecx
push ecx
push 0x8000108
push 0x10ce0000
push eax
push ecx
call fcn.1004cbad
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__int__int__int__int__struct_HMENU____]
call fcn.10074d64
call fcn.10074c63
lea eax, [ebp - 0x23c]
push eax
call fcn.1004cbad
mov ecx, eax
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x234]
sub eax, dword [ebp - 0x23c]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x230]
sub eax, dword [ebp - 0x238]
push 0
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test esi, esi
jne 0x10053c06
test edi, edi
jne 0x10053c06
cmp dword [ebp - 0x244], edi
jne 0x10053c06
test ebx, ebx
jne 0x10053c06
mov esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x248]
sub esi, edx
mov ecx, dword [ebp - 0x210]
sub esi, 2
mov eax, dword [ebp - 0x240]
sub ecx, eax
sub ecx, 2
jmp 0x10053c53
cmp edi, dword [ebp - 0x218]
cmovl edi, dword [ebp - 0x218]
mov ecx, edi
sub ecx, dword [ebp - 0x240]
jns 0x10053c24
lea ecx, [edi + 2]
add ecx, ebx
jmp 0x10053c27
add ecx, 0xfffffffe
cmp esi, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x248]
cmovl esi, dword [ebp - 0x21c]
lea eax, [edx + esi]
cmp eax, dword [ebp - 0x214]
mov eax, dword [ebp - 0x240]
jle 0x10053c53
mov esi, dword [ebp - 0x224]
sub esi, edx
push 0
push eax
push edx
push ecx
push esi
call fcn.1004cbad
mov esi, dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
mov ecx, eax
call esi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
call fcn.1004cbad
mov ecx, eax
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x24c]
push 0x80
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005d919
mov esp, ebp
pop ebp
ret 4
Function at 0x100592d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dff39
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10288294]
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], 0x102979f8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x102979f8
mov dword [esi + 0x30], 0x102979f8
mov dword [esi + 0x34], 0x102979f8
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x10059371
sub edx, ebx
push edx
push edi
call fcn.10059030
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10059390
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.10059030
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x100593b0
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.10059030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dffa3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10288294]
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], 0x102979f8
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], 0x102979f8
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x10270653
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.10059030
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 0x1005a280
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0088
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10288294]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x1005a2d1
push ebx
push ebx
push ebx
push 2
call fcn.1005ce80
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [edi + 0x18]
test esi, esi
je 0x1005a2e7
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x1005a2d8
push 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
push 0
push ebx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0xffffffff
call fcn.1008e014
push ebx
call fcn.1008e60d
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.1008e014
add esp, 0x1c
test esi, esi
jne 0x1005a34b
push esi
push esi
push esi
push 0xd
mov ecx, edi
call fcn.1005ce80
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], 0x102979f8
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10059110
lea eax, [esi + 1]
push eax
call fcn.1005da2d
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.1008dc8f
add esp, 0x14
cmp eax, 1
je 0x1005a39b
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.1005ce80
xor bl, bl
jmp 0x1005a43e
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
cmp byte [ebx], 0
je 0x1005a408
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
jne 0x1005a3ca
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10058fe0
inc esi
mov ecx, esi
jmp 0x1005a403
cmp al, 0xd
jne 0x1005a402
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x1005a3e0
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10058fe0
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.10058fe0
cmp byte [esi + 1], 0xa
lea ecx, [esi + 1]
jne 0x1005a3fe
lea ecx, [esi + 2]
mov esi, ecx
jmp 0x1005a403
inc esi
cmp byte [esi], 0
jne 0x1005a3b0
sub esi, ecx
je 0x1005a416
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.10058fe0
push ebx
call fcn.1005d5e4
mov eax, dword [ebp - 0x10]
add esp, 4
mov edx, dword [edi]
add eax, 8
mov ecx, edi
push dword [ebp + 0xc]
push 0
push eax
call dword [edx + 8]
cmp byte [edi + 0x2c], 0
je 0x1005a43c
xor bl, bl
jmp 0x1005a43e
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x102979f8
je 0x1005a452
push ecx
call fcn.1005d5e4
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1005ee55
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x101e0418
call fcn.1005d984
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.10079740
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1005eeb2
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.100025f0
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x1005eef8
mov eax, dword [esi]
jmp 0x1005eefa
mov eax, esi
push ebx
push eax
call fcn.100875a3
pop ecx
pop ecx
test eax, eax
jne 0x1005ef46
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 0x1005ef2a
call fcn.1005ed62
jmp 0x1005ef2f
call fcn.1005ee1c
push eax
mov ecx, esi
call fcn.100040e0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.10002690
mov eax, esi
call fcn.1005d93f
ret 0x10
Function at 0x1005faf8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x10288294]
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.10079740
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1005fb31
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x101e560c
push eax
call fcn.10021c4b
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005fb69
lea eax, [ebp - 0x20c]
push eax
call fcn.10061f53
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.10079740
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x101e553c
push eax
call fcn.10021c4b
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x1005fba8
mov eax, esi
jmp 0x1005fbb5
lea eax, [ebp - 0x414]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.10002750
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.10079740
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x101e553c
push eax
call fcn.10021c4b
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x1005fc07
mov eax, esi
jmp 0x1005fc14
lea eax, [ebp - 0x61c]
push eax
call fcn.1008133f
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.10002750
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.10079740
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.10063068
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x1005fc55
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x102704c0
push eax
call fcn.10021c4b
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.10002690
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005fc96
lea eax, [ebp - 0x824]
push eax
call fcn.10061f53
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.10079740
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x101e553c
push eax
call fcn.10021c4b
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x1005fce0
lea eax, [ebp - 0xa2c]
push eax
call fcn.1008133f
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.10002750
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1005d919
mov esp, ebp
pop ebp
ret