joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004bf9f
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 0x1004c018
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.10078c00
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.10028cc7
pop ecx
pop ecx
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1004ce1d
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x101df0fe
call fcn.1005dbe7
mov esi, dword [ebp + 0x20]
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push eax
call fcn.100212b2
mov ax, word [0x10270400]
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
mov dword [esp], 0x206
push 0
push eax
mov byte [ebp - 4], 1
call fcn.10079700
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.10021d12
add esp, 0x1c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1004ced9
cmp word [ebp - 0x218], 0
jne 0x1004ceb9
xor eax, eax
jmp 0x1004cec6
lea eax, [ebp - 0x218]
push eax
call fcn.100812ef
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.10002750
mov bl, 1
jmp 0x1004cedb
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.1005dba2
ret 0x1c
Function at 0x1004cf00
Capabilities:
Read .ini file

Disassembly:
push 0x430
mov eax, 0x101df139
call fcn.1005dbe7
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x43c], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x438]
push eax
call fcn.100211b6
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 0x1004cfcf
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea eax, [ebp - 0x420]
push str.MenuSkin_d
push eax
call fcn.10021d12
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.1008755c
pop ecx
pop ecx
test eax, eax
je 0x1004cff6
inc esi
cmp esi, edi
jle 0x1004cf63
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.1005dba2
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 0x1004d038
xor eax, eax
jmp 0x1004d045
lea eax, [ebp - 0x218]
push eax
call fcn.100812ef
pop ecx
mov ecx, dword [ebp - 0x43c]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10002750
mov bl, 1
jmp 0x1004cfd1

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

Disassembly:
push 0x240
mov eax, 0x101df17f
call fcn.1005dbe7
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.1004cf00
test al, al
je 0x1004d20d
lea eax, [ebp - 0x248]
push eax
call fcn.100212b2
mov ax, word [0x10270400]
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
mov dword [esp], 0x206
push ebx
push eax
mov byte [ebp - 4], 2
call fcn.10079700
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.10021d12
lea eax, [ebp - 0x218]
push eax
call fcn.10061cda
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.1005dba2
ret 0x18
Function at 0x1004e060
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 0x1004e0c3
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.1004e0d3
pop edi
mov ecx, esi
pop esi
jmp fcn.100505e2
Function at 0x100526ed
Capabilities:
Check if file exists

Disassembly:
push 0x224
mov eax, 0x101df983
call fcn.1005dbe7
mov ebx, ecx
push dword [ebx + 4]
lea ecx, [ebx + 0x2ec]
call fcn.10075726
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.100216ee
mov ecx, eax
call fcn.1005efeb
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.100812ef
pop ecx
push eax
push esi
lea ecx, [ebp - 0x230]
call fcn.10004340
call fcn.10021e2a
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 0x10052905
cmp dword [ebx + 0x32c], edi
je 0x10052905
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.10079700
push dword [esi + 8]
lea eax, [ebp - 0x218]
push 0x101ef928
push eax
call fcn.10021d12
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 0x1005293f
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 0x10052938
push 1
jmp 0x10052939
push edi
call dword [eax + 0xd8]
push edi
push 1
lea ecx, [ebp - 0x230]
call fcn.10002690
call fcn.1005dba2
ret
Function at 0x10053016
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x101df9bb
call fcn.1005dbe7
mov esi, ecx
call fcn.100216ee
mov ecx, eax
call fcn.1005efeb
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.100812ef
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 0x100530e9
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.100812ef
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.100812ef
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.10072cac
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 0x10053140
mov ecx, dword [esi + 0x390]
mov byte [esi + 0x3a8], 1
test ecx, ecx
je 0x10053111
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 0x10053125
mov eax, dword [ecx]
push 0x101efafc
call dword [eax + 0x2c]
push dword [esi + 4]
call fcn.1003dcfc
mov ecx, eax
call fcn.1003dd2f
call fcn.1003dcfc
mov ecx, eax
call fcn.1003da6d
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10002690
call fcn.1005dba2
ret
Function at 0x10053c2b
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 0x10053ca7
push eax
call fcn.100887ff
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.10079700
push 0x101e8a10
lea eax, [ebp - 0x20c]
push 0x101ed5b4
push eax
call fcn.10021d12
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.1004ccbc
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.10074eb2
call fcn.10074db1
lea eax, [ebp - 0x23c]
push eax
call fcn.1004ccbc
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 0x10053d95
test edi, edi
jne 0x10053d95
cmp dword [ebp - 0x244], edi
jne 0x10053d95
test ebx, ebx
jne 0x10053d95
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 0x10053de2
cmp edi, dword [ebp - 0x218]
cmovl edi, dword [ebp - 0x218]
mov ecx, edi
sub ecx, dword [ebp - 0x240]
jns 0x10053db3
lea ecx, [edi + 2]
add ecx, ebx
jmp 0x10053db6
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 0x10053de2
mov esi, dword [ebp - 0x224]
sub esi, edx
push 0
push eax
push edx
push ecx
push esi
call fcn.1004ccbc
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.1004ccbc
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.1005db7c
mov esp, ebp
pop ebp
ret 4
Function at 0x10059560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dff29
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 0x10059601
sub edx, ebx
push edx
push edi
call fcn.100592c0
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 0x10059620
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.100592c0
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 0x10059640
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.100592c0
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 0x10059770
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101dff93
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 0x10270643
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.100592c0
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 0x1005a510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0078
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 0x1005a561
push ebx
push ebx
push ebx
push 2
call fcn.1005d100
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 0x1005a577
mov ecx, esi
mov esi, dword [esi + 0x28]
push 1
mov eax, dword [ecx]
call dword [eax]
test esi, esi
jne 0x1005a568
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.1008e02a
push ebx
call fcn.1008e623
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x14], esi
call fcn.1008e02a
add esp, 0x1c
test esi, esi
jne 0x1005a5db
push esi
push esi
push esi
push 0xd
mov ecx, edi
call fcn.1005d100
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.100593a0
lea eax, [esi + 1]
push eax
call fcn.1005dc8d
push ebx
push 1
mov ebx, eax
mov dword [ebp + 8], eax
push esi
push ebx
mov byte [eax], 0
call fcn.1008dc24
add esp, 0x14
cmp eax, 1
je 0x1005a62b
push 0
push 0
push 0
push 2
mov ecx, edi
call fcn.1005d100
xor bl, bl
jmp 0x1005a6ce
mov eax, dword [ebp - 0x14]
mov ecx, ebx
mov esi, ebx
mov byte [ebx + eax], 0
cmp byte [ebx], 0
je 0x1005a698
nop dword [eax + eax]
mov al, byte [esi]
cmp al, 0xa
jne 0x1005a65a
mov eax, esi
sub eax, ecx
inc eax
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10059270
inc esi
mov ecx, esi
jmp 0x1005a693
cmp al, 0xd
jne 0x1005a692
mov eax, esi
sub eax, ecx
test eax, eax
jle 0x1005a670
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.10059270
push 1
lea eax, [ebp + 8]
mov byte [ebp + 8], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.10059270
cmp byte [esi + 1], 0xa
lea ecx, [esi + 1]
jne 0x1005a68e
lea ecx, [esi + 2]
mov esi, ecx
jmp 0x1005a693
inc esi
cmp byte [esi], 0
jne 0x1005a640
sub esi, ecx
je 0x1005a6a6
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.10059270
push ebx
call fcn.1005d847
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 0x1005a6cc
xor bl, bl
jmp 0x1005a6ce
mov bl, 1
mov ecx, dword [ebp - 0x10]
cmp ecx, 0x102979f8
je 0x1005a6e2
push ecx
call fcn.1005d847
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 0x1005f0dd
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x101e0408
call fcn.1005dbe7
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.10079700
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1005f13a
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 0x1005f180
mov eax, dword [esi]
jmp 0x1005f182
mov eax, esi
push ebx
push eax
call fcn.1008755c
pop ecx
pop ecx
test eax, eax
jne 0x1005f1ce
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 0x1005f1b2
call fcn.1005eff9
jmp 0x1005f1b7
call fcn.1005f0b3
push eax
mov ecx, esi
call fcn.100040e0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.10002690
mov eax, esi
call fcn.1005dba2
ret 0x10
Function at 0x1005fd80
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.10079700
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1005fdb9
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x101e560c
push eax
call fcn.10021d12
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1005fdf1
lea eax, [ebp - 0x20c]
push eax
call fcn.10061cda
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.10079700
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x101e553c
push eax
call fcn.10021d12
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x1005fe30
mov eax, esi
jmp 0x1005fe3d
lea eax, [ebp - 0x414]
push eax
call fcn.100812ef
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.10079700
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x101e553c
push eax
call fcn.10021d12
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x1005fe8f
mov eax, esi
jmp 0x1005fe9c
lea eax, [ebp - 0x61c]
push eax
call fcn.100812ef
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.10079700
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.10062db4
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x1005fedd
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x102704b0
push eax
call fcn.10021d12
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 0x1005ff1e
lea eax, [ebp - 0x824]
push eax
call fcn.10061cda
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.10079700
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x101e553c
push eax
call fcn.10021d12
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x1005ff68
lea eax, [ebp - 0xa2c]
push eax
call fcn.100812ef
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.1005db7c
mov esp, ebp
pop ebp
ret