joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100022c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x10183238
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x10207390]
xor eax, esp
mov dword [esp + 0x624], eax
push ebx
push ebp
push edi
mov eax, dword [0x10207390]
xor eax, esp
push eax
lea eax, [esp + 0x638]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esi], ebx
mov eax, 7
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x10], esi
mov word [esi + 0xc], bx
lea edi, [esi + 0x24]
mov dword [esp + 0x640], ebx
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov word [edi + 4], bx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
lea ecx, [esi + 0x5c]
mov byte [esp + 0x640], 2
push ebx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push 0x101ebee8
mov byte [ecx + 4], bl
call fcn.10001820
push ebx
mov byte [esp + 0x644], 3
call fcn.10088fe8
push eax
call fcn.1008be86
push 0x20a
lea eax, [esp + 0x22]
push ebx
push eax
mov word [esp + 0x28], bx
call fcn.10085bc0
add esp, 0x14
lea ecx, [esp + 0x14]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x103
ja 0x10002421
push 0x410
lea edx, [esp + 0x226]
push ebx
push edx
mov word [esp + 0x22a], bx
mov word [esp + 0x22c], bx
call fcn.10085bc0
add esp, 0xc
push 0x208
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x100023fe
cmp eax, ebx
je 0x100023fe
lea edx, [esp + 0x220]
push edx
mov ecx, edi
mov word [esp + eax*2 + 0x224], bx
call fcn.10003610
jmp 0x10002421
lea eax, [esp + 0x14]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10002405
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.10001a60
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x10002458
lea ebp, [eax - 1]
cmp ebp, dword [edi + 0x14]
jbe 0x10002435
call fcn.100859f0
cmp dword [edi + 0x18], 8
jb 0x10002440
mov eax, dword [edi + 4]
jmp 0x10002443
lea eax, [edi + 4]
cmp word [eax + ebp*2], 0x5c
je 0x10002458
push 1
push 0x101ebeec
mov ecx, edi
call fcn.10003ae0
cmp dword [esi + 0x38], ebx
jne 0x1000246b
push 3
push 0x101ebef0
mov ecx, edi
call fcn.10001a60
mov eax, esi
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x638]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.1008545e
add esp, 0x634
ret
Function at 0x100024a0
Capabilities:
Delete file

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x54], ebx
push ebp
mov ebp, 8
je 0x100024c2
cmp dword [esi + 0x58], ebp
jb 0x100024b8
mov eax, dword [esi + 0x44]
jmp 0x100024bb
lea eax, [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x74], 0x10
jb 0x100024d4
mov eax, dword [esi + 0x60]
push eax
call fcn.100621bc
add esp, 4
mov dword [esi + 0x74], 0xf
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
cmp dword [esi + 0x58], ebp
jb 0x100024f2
mov ecx, dword [esi + 0x44]
push ecx
call fcn.100621bc
add esp, 4
mov dword [esi + 0x58], 7
mov dword [esi + 0x54], ebx
mov word [esi + 0x44], bx
cmp dword [esi + 0x3c], ebp
jb 0x10002511
mov edx, dword [esi + 0x28]
push edx
call fcn.100621bc
add esp, 4
mov dword [esi + 0x3c], 7
mov dword [esi + 0x38], ebx
mov word [esi + 0x28], bx
cmp dword [esi + 0x20], ebp
jb 0x10002530
mov eax, dword [esi + 0xc]
push eax
call fcn.100621bc
add esp, 4
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 7
pop ebp
mov word [esi + 0xc], bx
pop ebx
ret
Function at 0x10003da0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10183308
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10207390]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
call fcn.10001d30
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003e00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.10003ae0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], di
call fcn.10001d30
cmp dword [esp + 0x28], 8
jb 0x10003e4b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.100621bc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x10004b90
Capabilities:
Get http content length

Disassembly:
mov eax, dword [eax + 4]
sub esp, 8
test eax, eax
je 0x10004bcf
push 0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 0x20000005
push eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x10004bcf
mov eax, dword [esp]
xor edx, edx
add esp, 8
ret
xor eax, eax
xor edx, edx
add esp, 8
ret
Function at 0x10006241
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x3c
mov eax, 0x1017b743
call fcn.100854d6
mov esi, ecx
mov eax, dword [esi + 0x394]
xor ebx, ebx
xor edi, edi
inc ebx
cmp eax, edi
mov dword [ebp - 4], edi
je 0x10006269
push ebx
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push edi
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x14], 0xf
call fcn.10001980
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.1001e821
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001660
push edi
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001770
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x100062cc
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001770
push edi
push ebx
jmp 0x10006362
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x100062de
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100062bb
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x100062d6
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x100062d6
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x10006308
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push edx
push ecx
push eax
call fcn.10084fc1
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push edi
push edi
mov ebx, 0xa2
push ebx
call esi
push edi
push edi
push edi
push 0x56
call esi
push edi
push 2
push edi
push 0x56
call esi
push edi
push 2
push edi
push ebx
call esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001770
push edi
push 1
lea ecx, [ebp + 8]
call fcn.100017c0
call fcn.10085559
ret 0x1c
Function at 0x10007097
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x32c]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x35c]
call fcn.100126ab
mov ecx, esi
call fcn.10007028
mov ecx, esi
pop esi
jmp fcn.10006502
Function at 0x1000c96a
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x1017b468
call fcn.100854d6
mov edi, ecx
call fcn.100052f9
mov ecx, eax
call fcn.10019947
push eax
lea ecx, [ebp - 0x2c]
call fcn.100015f0
xor ebx, ebx
push str.LatelyCharFace.xml
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.10003640
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.1001e821
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
lea esi, [edi + 0x32c]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10001660
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000c9d2
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000ca11
cmp dword [ebp - 0x30], 0x10
mov eax, dword [ebp - 0x44]
jae 0x1000c9e9
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x68]
call fcn.10001580
lea eax, [ebp - 0x68]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.1000bb3e
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.10001770
jmp 0x1000cace
push 0x48
call fcn.10062191
pop ecx
mov ecx, eax
mov dword [ebp - 0x4c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x1000ca3e
cmp dword [esi + 0x18], 0x10
jb 0x1000ca31
mov eax, dword [esi + 4]
jmp 0x1000ca34
lea eax, [esi + 4]
push eax
call fcn.1005e960
mov edi, eax
jmp 0x1000ca40
xor edi, edi
push 0x38
mov byte [ebp - 4], 1
call fcn.10062191
pop ecx
mov ecx, eax
mov dword [ebp - 0x4c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 4
je 0x1000ca6f
push 0x101ebee8
push 0x10186280
push 0x10186288
call fcn.1005efb0
jmp 0x1000ca71
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1005dd20
push 0x50
call fcn.10062191
pop ecx
mov ecx, eax
mov dword [ebp - 0x4c], ecx
cmp ecx, ebx
mov byte [ebp - 4], 5
je 0x1000ca9e
push 0x10186278
call fcn.1005f490
jmp 0x1000caa0
xor eax, eax
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1005dd20
cmp dword [esi + 0x18], 0x10
jb 0x1000cab7
mov esi, dword [esi + 4]
jmp 0x1000caba
add esi, 4
push esi
mov ecx, edi
call fcn.1005ec40
cmp edi, ebx
je 0x1000cace
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.10001770
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017c0
xor eax, eax
inc eax
call fcn.10085559
ret
Function at 0x1000d448
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0xc
mov eax, 0x1017b5f0
call fcn.1008546d
mov eax, dword [ebp + 0x230]
xor ebx, ebx
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x14], eax
call fcn.1001b877
push 8
call fcn.10062191
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x1000d49b
call fcn.1000754d
jmp 0x1000d49d
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x1b0], eax
jne 0x1000d4b2
xor eax, eax
jmp 0x1000d5cb
push 0x10
call fcn.10062191
pop ecx
cmp eax, ebx
je 0x1000d4c9
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x1000d4cb
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x2c4], eax
je 0x1000d4ab
push 8
call fcn.10062191
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, ebx
mov dword [ebp - 4], 2
je 0x1000d4f8
mov ecx, eax
call fcn.1000754d
jmp 0x1000d4fa
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x2c8], eax
je 0x1000d4ab
lea eax, [esi + 0xb4]
push eax
lea ecx, [ebp]
call fcn.100035e0
push str.SmartCloudInfo.ini
lea ecx, [ebp]
mov dword [ebp - 4], 3
call fcn.10003640
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1000d537
lea eax, [ebp + 4]
push eax
push ebx
push str.ActivityMode
mov edi, str.AppInfo
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp dword [ebp + 0x18], 8
mov dword [esi + 0x1bc], eax
mov eax, dword [ebp + 4]
jae 0x1000d55c
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [esi + 0x2e8]
push eax
push 0x10186d40
push str.Spreader
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1000d03b
cmp dword [esi + 0x40], 8
jb 0x1000d58f
mov eax, dword [esi + 0x2c]
jmp 0x1000d592
lea eax, [esi + 0x2c]
push str.Config.ini
push str.Config
push eax
lea eax, [ebp + 0x1c]
push 0x10186cf4
push eax
call fcn.10004df5
add esp, 0x14
lea eax, [ebp + 0x1c]
push eax
lea ecx, [esi + 0x2cc]
call fcn.10003610
push ebx
push 1
lea ecx, [ebp]
call fcn.100017c0
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x228
leave
ret 4
Function at 0x1000e580
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x3c
mov eax, 0x1017b743
call fcn.100854d6
xor edi, edi
mov dword [ebp - 4], edi
call dword [sym.imp.DuiLib32.dll_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::GetHWND_void_const]
push edi
lea ecx, [ebp - 0x2c]
mov esi, eax
mov dword [ebp - 0x14], 0xf
call fcn.10001980
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 1
call fcn.1001e821
pop ecx
pop ecx
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.10001660
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x48]
call fcn.10001770
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x1000e5f5
push edi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10001770
push edi
push ebx
jmp 0x1000e68b
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x1000e607
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1000e5e4
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, edi
je 0x1000e5ff
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x1000e5ff
cmp dword [ebp - 0x14], 0x10
mov edx, dword [ebp - 0x28]
jae 0x1000e631
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
inc ecx
push ecx
push edx
push ecx
push eax
call fcn.10084fc1
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push ebx
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push edi
push edi
push edi
mov ebx, 0xa2
push ebx
call esi
push edi
push edi
push edi
push 0x56
call esi
push edi
push 2
push edi
push 0x56
call esi
push edi
push 2
push edi
push ebx
call esi
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001770
push edi
push 1
lea ecx, [ebp + 8]
call fcn.100017c0
call fcn.10085559
ret 0x1c
Function at 0x1000e6e4
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x80], esi
call fcn.100052f9
mov ecx, eax
call fcn.10019939
add esi, 0x344
push eax
mov ecx, esi
call fcn.10003610
push str.ConfigConfig.ini
mov ecx, esi
call fcn.10003640
cmp dword [esi + 0x18], 8
jb 0x1000e738
mov eax, dword [esi + 4]
jmp 0x1000e73b
lea eax, [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push eax
xor edi, edi
push edi
push str.DateTimeWndLeftPos
push str.Setting
call ebx
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x7c], eax
jb 0x1000e75f
mov esi, dword [esi + 4]
jmp 0x1000e762
add esi, 4
push esi
push edi
push str.DateTimeWndTopPos
push str.Setting
call ebx
push 0x206
mov ebx, eax
lea eax, [ebp - 0x76]
push edi
push eax
mov word [ebp - 0x78], di
call fcn.10085bc0
push 0x10185fdc
lea eax, [ebp - 0x78]
push 0x101871fc
push eax
call fcn.10004df5
mov esi, dword [ebp - 0x80]
add esp, 0x18
push edi
push 0x14a
push 0x1e0
push edi
push edi
push 0x8040108
push 0x10ce0000
lea eax, [ebp - 0x78]
push eax
push edi
mov ecx, esi
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____]
cmp dword [ebp - 0x7c], edi
jne 0x1000e7d5
cmp ebx, edi
jne 0x1000e7d5
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::CenterWindow_void_]
jmp 0x1000e7e9
push 0x15
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x7c]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x80
mov ecx, esi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CWindowWnd::SetIcon_unsigned_int_]
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008545e
add ebp, 0x194
leave
ret

Function at 0x1001190f
Capabilities:
Check if file exists

Disassembly:
push 0x228
mov eax, 0x1017bb35
call fcn.100854d6
mov esi, dword [ebp + 0x24]
lea eax, [ebp - 0x234]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.100281fa
mov dword [esp], 0x206
lea eax, [ebp - 0x216]
push edi
push eax
mov byte [ebp - 4], 1
mov word [ebp - 0x218], di
call fcn.10085bc0
mov ecx, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x10011960
lea ecx, [ebp + 0xc]
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x10011975
lea eax, [ebp - 0x230]
push ecx
push eax
lea eax, [ebp - 0x218]
push str._s_s.png
push eax
call fcn.10004df5
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100119cf
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10003610
mov bl, 1
push edi
push 1
lea ecx, [ebp - 0x234]
call fcn.100017c0
push edi
push 1
lea ecx, [ebp + 8]
call fcn.100017c0
mov al, bl
call fcn.10085559
ret 0x20
xor bl, bl
jmp 0x100119ac
Function at 0x100119d3
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x42c
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x42c], eax
push 0xc
mov eax, 0x1017bb70
call fcn.1008546d
mov eax, dword [ebp + 0x454]
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
lea eax, [ebp]
push eax
call fcn.1002815f
pop ecx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 1
jae 0x10011a1e
lea eax, [ebp + 4]
push eax
push 0
push str.count
push str.MenuSkins
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
inc ecx
cmp eax, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
jl 0x10011ab6
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, 0x104
mov edi, str.null
push dword [ebp - 0x10]
lea eax, [ebp + 0x1c]
push str.MenuSkin_d
push eax
call fcn.10004df5
mov eax, dword [ebp + 4]
add esp, 0xc
cmp dword [ebp + 0x18], 8
jae 0x10011a6e
lea eax, [ebp + 4]
push eax
push ebx
lea eax, [ebp + 0x224]
push eax
push edi
push 0x10186198
lea eax, [ebp + 0x1c]
push eax
call esi
cmp dword [ebp + 0x450], 8
mov eax, dword [ebp + 0x43c]
jae 0x10011a98
lea eax, [ebp + 0x43c]
push eax
lea eax, [ebp + 0x224]
push eax
call fcn.100862d7
test eax, eax
pop ecx
pop ecx
je 0x10011aba
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jle 0x10011a4e
xor bl, bl
jmp 0x10011aec
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10011ac6
lea eax, [ebp + 4]
push eax
push ebx
lea eax, [ebp + 0x224]
push eax
push edi
push str.previewUrl
lea eax, [ebp + 0x1c]
push eax
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x224]
push eax
call fcn.10003610
mov bl, 1
push 0
push 1
lea ecx, [ebp]
call fcn.100017c0
push 0
push 1
lea ecx, [ebp + 0x438]
call fcn.100017c0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x42c]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x430
leave
ret 0x20
Function at 0x10011b2e
Capabilities:
Check if file exists
Download url
Receive data

Disassembly:
push ebp
sub esp, 0x240
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x240], eax
push 8
mov eax, 0x1017bbb3
call fcn.1008546d
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp - 4], ebx
mov dword [ebp + 0x34], 7
call fcn.10001b40
lea eax, [ebp + 0x1c]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x24c]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 1
call fcn.100035e0
mov ecx, esi
call fcn.100119d3
cmp al, bl
jne 0x10011bd0
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp + 0x24c]
call fcn.100017c0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.1008545e
add ebp, 0x244
leave
ret 0x1c
lea eax, [ebp]
push eax
call fcn.100281fa
mov dword [esp], 0x206
lea eax, [ebp + 0x3a]
push ebx
push eax
mov byte [ebp - 4], 2
mov word [ebp + 0x38], bx
call fcn.10085bc0
mov ecx, dword [ebp + 0x250]
add esp, 0xc
cmp dword [ebp + 0x264], 8
jae 0x10011c0a
lea ecx, [ebp + 0x250]
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10011c16
lea eax, [ebp + 4]
push ecx
push eax
lea eax, [ebp + 0x38]
push str._s_s.png
push eax
call fcn.10004df5
lea eax, [ebp + 0x38]
push eax
call fcn.1001c251
mov eax, dword [ebp + 0x20]
add esp, 0x14
cmp dword [ebp + 0x34], 8
jae 0x10011c3e
lea eax, [ebp + 0x20]
push ebx
push ebx
lea ecx, [ebp + 0x38]
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileW
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10011c88
mov byte [ebp - 0xd], bl
push ebx
push 1
lea ecx, [ebp]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push ebx
push 1
lea ecx, [ebp + 0x24c]
call fcn.100017c0
mov al, byte [ebp - 0xd]
jmp 0x10011bab
mov byte [ebp - 0xd], 1
jmp 0x10011c5c
Function at 0x10014a14
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x344]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
push 0
call dword [eax]
lea ecx, [eax + 0x4b4]
mov eax, dword [ecx]
push 0
call dword [eax]
mov esi, eax
test esi, esi
je 0x10014a77
lea ecx, [esi + 0x4b4]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0xcc]
mov eax, dword [esi]
push 0x10186140
push 0x10186188
mov ecx, esi
call dword [eax + 0x114]
mov ecx, dword [edi + 0x3c0]
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov ecx, edi
call fcn.10014a00
mov ecx, edi
pop edi
pop esi
jmp fcn.10014666
Function at 0x1001759c
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x1017c364
call fcn.100854d6
mov ebx, ecx
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea ecx, [ebp - 0x48]
call fcn.100015f0
xor edi, edi
push str.SCWBHandInput.exe
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], edi
call fcn.10003640
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x100175dd
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017646
push 0x10189190
lea ecx, [ebp - 0x2c]
call fcn.100015f0
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10003be0
push 0x10189240
lea ecx, [ebp - 0x2c]
call fcn.10003640
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10017621
lea eax, [ebp - 0x28]
push edi
push edi
push edi
push eax
call fcn.1001e2e0
add esp, 0x10
push edi
push edi
push 0x12
mov ecx, ebx
call dword [sym.imp.DuiLib32.dll_public:_long_int___thiscall_DuiLib::CWindowWnd::PostMessageW_unsigned_int__unsigned_int__long_int_]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.100017c0
jmp 0x10017698
lea esi, [ebx + 0x3a0]
cmp dword [esi], edi
je 0x10017665
mov ecx, dword [esi]
mov eax, dword [ecx]
push 1
call dword [eax + 0xcc]
mov ecx, dword [esi]
push edi
call dword [sym.imp.DuiLib32.dll_public:_void___thiscall_DuiLib::CProgressUI::SetValue_int_]
lea eax, [ebx + 0x3a4]
cmp dword [eax], edi
je 0x1001767d
mov eax, dword [eax]
mov edx, dword [eax]
push 0x10189460
mov ecx, eax
call dword [edx + 0x2c]
push dword [ebx + 4]
call fcn.10016414
mov ecx, eax
call fcn.10041621
call fcn.10016414
mov ecx, eax
call fcn.10041a4c
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.100017c0
call fcn.10085559
ret