joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b3c9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ceb7a
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5154b0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x5154b0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x44b503
cmp byte [ebx + 0x45], 0
je 0x44b503
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x44b429
xor al, al
jmp 0x44b505
xor eax, eax
mov dword [esp + 0x2c], 0xf
push eax
push 8
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.00445fdb
and dword [esp + 0x40], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esp + 0x1c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x44b48e
dec eax
je 0x44b492
dec eax
dec eax
je 0x44b4f0
xor bl, bl
jmp 0x44b4f2
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x44b4d1
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004a87f9
add esp, 0x10
cmp esi, eax
jne 0x44b48a
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
cmp byte [ebx + 0x45], 0
je 0x44b4f0
test esi, esi
jne 0x44b454
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0044b23b
jmp 0x44b44c
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x20]
call fcn.00404b60
mov al, bl
jmp 0x44b505
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004a41df
mov esp, ebp
pop ebp
ret
Function at 0x44befb
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x224], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, str.null
mov dword [ebp - 0x220], eax
test ebx, ebx
push edi
mov eax, esi
mov edi, edx
cmovne eax, ebx
push eax
push str._POST__host___s
call fcn.0044d523
push eax
call fcn.0044d561
mov ecx, dword [ebp - 0x224]
add esp, 0xc
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
push str._POST__sub____s
call fcn.0044d523
push eax
call fcn.0044d561
mov eax, dword [ebp - 0x220]
add esp, 0xc
test eax, eax
cmovne esi, eax
push esi
push str._POST__data___s
call fcn.0044d523
push eax
call fcn.0044d561
add esp, 0xc
mov dword [ebp - 0x234], 0x4ee29c
xor eax, eax
mov esi, 0x103
mov dword [ebp - 0x230], eax
mov byte [ebp - 0x114], al
push esi
push eax
lea eax, [ebp - 0x113]
push eax
call fcn.004aa670
add esp, 0xc
mov byte [ebp - 0x21c], 0
lea eax, [ebp - 0x21b]
push esi
push 0
push eax
call fcn.004aa670
add esp, 0xc
xor eax, eax
push eax
push eax
push eax
push 1
push str.Mozilla_4.0__Compatible__MSIE_6.0__
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push 0
push 3
mov ecx, 0x4e77ae
mov dword [ebp - 0x228], eax
push ecx
push ecx
push edi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0x4000000
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x22c], eax
push ecx
push 0
push str.HTTP_1.0
push dword [ebp - 0x224]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, dword [ebp - 0x220]
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call esi
push eax
push edi
mov edi, str.Content_Type:_application_x_www_form_urlencoded_r_n
push edi
call esi
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
push ebx
call esi
push dword [ebp - 0x22c]
call esi
push dword [ebp - 0x228]
call esi
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret
Function at 0x44c6c9
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0x444
mov eax, 0x4d13ff
call fcn.004a9f73
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x44c], ebx
mov esi, str.null
test edi, edi
mov eax, esi
cmovne eax, edi
test ebx, ebx
push eax
cmovne esi, ebx
push esi
push str._DOWN__URL:_s__localFile:_s
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
add esp, 0x10
test edi, edi
je 0x44c86e
test ebx, ebx
je 0x44c86e
xor ebx, ebx
lea eax, [ebp - 0x117]
push 0x103
push ebx
push eax
mov byte [ebp - 0x118], bl
call fcn.004aa670
add esp, 0xc
lea eax, [ebp - 0x118]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x448]
call fcn.00404860
lea ecx, [ebp - 0x448]
mov dword [ebp - 4], ebx
call fcn.0045c7a2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x448]
push ebx
push 1
call fcn.00404b60
mov esi, dword [ebp - 0x44c]
push 3
pop eax
dec eax
mov byte [ebp - 0x220], bl
push 0x103
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x21f]
push ebx
push eax
call fcn.004aa670
add esp, 0xc
mov byte [ebp - 0x328], bl
lea eax, [ebp - 0x327]
push 0x103
push ebx
push eax
call fcn.004aa670
add esp, 0xc
mov byte [ebp - 0x430], bl
lea eax, [ebp - 0x42f]
push 0x103
push ebx
push eax
call fcn.004aa670
add esp, 0xc
mov dword [ebp - 0x44c], ebx
lea eax, [ebp - 0x430]
mov ecx, esi
lea edx, [ebp - 0x328]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.0044c2db
pop ecx
pop ecx
test eax, eax
je 0x44c834
mov edx, dword [ebp - 0x44c]
lea eax, [ebp - 0x220]
push ecx
push eax
push ecx
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x328]
call fcn.0044c07b
add esp, 0x10
test eax, eax
jne 0x44c844
mov eax, dword [ebp - 0x450]
test eax, eax
jns 0x44c78d
jmp 0x44c86a
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
push edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
mov eax, ebx
jmp 0x44c870
xor eax, eax
call fcn.004a9f22
ret
Function at 0x44c919
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2818
call fcn.004b6680
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2810], eax
mov esi, edx
xor eax, eax
mov dword [ebp - 0x2818], 0x4ee29c
push eax
push eax
push eax
push 1
push eax
mov edi, ecx
mov dword [ebp - 0x2814], eax
call dword [sym.imp.WININET.dll_InternetOpenA]
push 1
push 0
push 3
mov ecx, 0x4e77ae
mov dword [ebp - 0x280c], eax
push ecx
push ecx
push esi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
push 1
push 0x4000000
mov edi, eax
lea eax, [ebp - 0x2818]
push eax
push 0
push str.HTTP_1.0
push ebx
push 0x4ee310
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0x4e77ae
mov ebx, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
and dword [ebp - 0x2808], 0
mov ebx, eax
push 0x2800
lea eax, [ebp - 0x2804]
push 0
push eax
call fcn.004aa670
add esp, 0xc
jmp 0x44ca19
mov eax, dword [ebp - 0x2808]
test eax, eax
je 0x44ca37
cmp eax, 0x2800
jae 0x44ca5e
mov byte [ebp + eax - 0x2804], 0
lea eax, [ebp - 0x2804]
push eax
call fcn.00404843
pop ecx
mov ecx, dword [ebp - 0x2810]
push eax
lea eax, [ebp - 0x2804]
push eax
call fcn.004042ee
lea eax, [ebp - 0x2808]
push eax
push 0x27ff
lea eax, [ebp - 0x2804]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x44c9e0
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push dword [ebp - 0x280c]
call esi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret
call fcn.004a6d2c
int3
Function at 0x44ce79
Capabilities:
Check if file exists
Delete file
Download url
Get common file path
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x210], eax
test edi, edi
je 0x44cf7a
test edx, edx
je 0x44cf7a
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
jmp 0x44cf47
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], bl
push ebx
push eax
dec esi
call fcn.004aa670
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push ebx
push eax
call fcn.004aa670
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
push ebx
push 0x4ee2d4
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
push edi
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
jne 0x44cf3a
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44cf51
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
jg 0x44ceb4
jmp 0x44cf74
lea eax, [ebp - 0x108]
push eax
call fcn.00404843
pop ecx
mov ecx, dword [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.004047ca
xor ebx, ebx
inc ebx
pop esi
mov eax, ebx
pop ebx
jmp 0x44cf7c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004a41df
mov esp, ebp
pop ebp
ret

Function at 0x44d6b1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2828
call fcn.004b6680
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x51984c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
je 0x44d7d4
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x44d7d4
push 0x27ff
lea eax, [ebp - 0x280b]
mov byte [ebp - 0x280c], bl
push ebx
push eax
call fcn.004aa670
add esp, 0xc
lea eax, [ebp - 0x2824]
push eax
call fcn.0044d603
cmp dword [esi + 0x14], 0x10
jb 0x44d717
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x44d71f
mov eax, dword [eax]
push esi
push eax
push str.__s___s_n
push 0x27ff
lea eax, [ebp - 0x280c]
push 0x2800
push eax
call fcn.004a622d
add esp, 0x18
lea ecx, [ebp - 0x2824]
push ebx
push 1
call fcn.00404b60
lea esi, [edi + 0x108]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [edi + 0xf0]
mov dword [ebp - 0x2828], ebx
cmp dword [eax + 0x14], 0x10
jb 0x44d76e
mov eax, dword [eax]
push 0x4ee5e8
push eax
lea eax, [ebp - 0x2828]
push eax
call fcn.004a52cd
add esp, 0xc
test eax, eax
jne 0x44d7cd
push 2
push ebx
push dword [ebp - 0x2828]
call fcn.004a5d1c
lea ecx, [ebp - 0x280c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d7a1
push dword [ebp - 0x2828]
sub ecx, edx
lea eax, [ebp - 0x280c]
push ecx
push 1
push eax
call fcn.004a87f9
push dword [ebp - 0x2828]
call fcn.004a572c
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret 4
Function at 0x44dff1
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
cmp dword [esi + 0x14], 0x10
jb 0x44e007
mov eax, dword [esi]
jmp 0x44e009
mov eax, esi
push eax
push str._CLogManager::SendMsgToServer___s
push edi
call fcn.0044d561
mov eax, dword [esi + 0x10]
add esp, 0xc
add eax, 3
cdq
push 3
pop ecx
idiv ecx
lea eax, [eax*4 + 1]
push eax
call fcn.0048f9a2
cmp dword [esi + 0x14], 0x10
mov ebx, eax
mov eax, dword [esi + 0x10]
pop ecx
jb 0x44e03f
mov esi, dword [esi]
inc eax
mov edx, esi
push eax
mov ecx, ebx
call fcn.00451dc3
pop ecx
push 0x38
mov byte [eax + ebx], 0
call fcn.004a43b6
mov esi, eax
pop ecx
test esi, esi
je 0x44e07b
xor ecx, ecx
mov dword [esi + 0x10], ecx
push 0xf
pop eax
mov dword [esi + 0x14], eax
mov byte [esi], cl
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
mov byte [esi + 0x18], cl
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], ecx
jmp 0x44e07d
xor esi, esi
push dword [ebp + 8]
call fcn.00404843
pop ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.004047ca
push dword [ebp + 0xc]
call fcn.00404843
pop ecx
push eax
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.004047ca
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], ebx
xor ebx, ebx
push ebx
push ebx
push esi
push 0x44e167
push ebx
push ebx
mov dword [esi + 0x34], eax
call fcn.004a7eeb
add esp, 0x18
mov dword [ebp + 8], eax
test eax, eax
jne 0x44e108
cmp dword [esi + 0x30], ebx
je 0x44e0d8
push dword [esi + 0x30]
call fcn.004a43b1
pop ecx
push ebx
lea eax, [esi + 0x18]
push 1
mov ecx, eax
call fcn.00404b60
push ebx
push 1
mov ecx, esi
call fcn.00404b60
push esi
call fcn.004a41da
mov dword [esp], str._CLogManager::SendMsgToServer__create_thread_failed
push edi
call fcn.0044d561
pop ecx
pop ecx
xor al, al
jmp 0x44e154
lea ebx, [edi + 0xc8]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0xe0]
lea eax, [ebp + 8]
push eax
push dword [esi + 4]
push esi
call fcn.0044e543
mov edx, dword [edi + 0xe4]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x44e15c
lea ecx, [edx + 1]
mov dword [edi + 0xe4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10
push str.list_T__too_long
call fcn.0048d5ce
int3
Function at 0x44f142
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ecx
push ebx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.CGameDesktopShellLink::DoWork_in
push ecx
mov ebx, eax
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
pop ecx
pop ecx
call fcn.0044f236
test al, al
jne 0x44f18c
push str.CGameDesktopShellLink::DoWork_out__check_enable_
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
pop ecx
pop ecx
jmp 0x44f230
push str.CGameDesktopShellLink::DoWork__DoRequestIconStatus_
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
pop ecx
pop ecx
call fcn.0044fa3e
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push eax
push str.LastAskedDay
push str.GameLink
call fcn.0044a20d
mov ecx, eax
call fcn.0044a313
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push eax
push str.AskInterval
push str.GameLink
call fcn.0044a20d
mov ecx, eax
call fcn.0044a313
call fcn.004365ba
sub eax, dword [esp + 8]
cmp eax, dword [esp + 0xc]
jbe 0x44f214
push str.CGameDesktopShellLink::DoWork__DoAskCreateIcon_
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
pop ecx
pop ecx
mov ecx, edi
call fcn.0044f312
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
push eax
push str.CGameDesktopShellLink::DoWork_out_timeused__d_
call fcn.0044d523
push eax
call fcn.0044d561
add esp, 0xc
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fd47
Capabilities:
Get file attributes

Disassembly:
push 0x160
mov eax, 0x4cef85
call fcn.004a9f73
mov eax, dword [ebp + 8]
push str.CGameDesktopShellLink::GetIconStatus_In
push ecx
mov dword [ebp - 0x16c], eax
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
and dword [ebp - 0x168], 0
lea eax, [ebp - 0x168]
pop ecx
pop ecx
push eax
push eax
push str.IconCount
mov esi, str.GameLink
push esi
call fcn.0044a20d
mov ecx, eax
call fcn.0044a277
push dword [ebp - 0x168]
push str.CGameDesktopShellLink::DoRequestIconStatus:_count__d_
call fcn.0044d523
push eax
call fcn.0044d561
add esp, 0xc
mov byte [ebp - 0x11c], 0
lea eax, [ebp - 0x11b]
push 0x103
push 0
push eax
call fcn.004aa670
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 0x14c], cl
push 0xf
pop eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x124], ecx
mov byte [ebp - 0x134], cl
mov edi, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x168], edi
jle 0x44ff2e
push edi
push str.iconname_d
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004367e9
add esp, 0x10
lea ecx, [ebp - 0x164]
push 0x4e77ae
call fcn.00404860
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.0044a20d
mov ecx, eax
call fcn.0044a4a0
push 0
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.00404b60
push edi
push str.iconpath_d
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004367e9
add esp, 0x10
lea ecx, [ebp - 0x164]
push 0x4e77ae
call fcn.00404860
lea eax, [ebp - 0x164]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.0044a20d
mov ecx, eax
call fcn.0044a4a0
push 0
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.00404b60
cmp dword [ebp - 0x13c], 0
je 0x44ff21
cmp dword [ebp - 0x124], 0
je 0x44ff21
cmp dword [ebp - 0x120], 0x10
lea eax, [ebp - 0x134]
cmovae eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 0x16c]
lea esi, [eax + 1]
neg esi
lea eax, [ebp - 0x14c]
push eax
sbb esi, esi
inc esi
call fcn.0043673e
mov dword [eax], esi
mov esi, str.GameLink
inc edi
cmp edi, dword [ebp - 0x168]
jl 0x44fe0d
push str.CGameDesktopShellLink::GetIconStatus_Out
push ecx
call fcn.0044d523
pop ecx
push eax
call fcn.0044d561
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x134]
call fcn.00404b60
push 0
push 1
lea ecx, [ebp - 0x14c]
call fcn.00404b60
call fcn.004a9f22
ret 4
Function at 0x45165a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
xor ebx, ebx
push 0x103
push ebx
push eax
mov dword [ebp - 0x10c], ebx
mov byte [ebp - 0x108], bl
call fcn.004aa670
add esp, 0xc
push ebx
call fcn.004516d6
neg eax
sbb eax, eax
and eax, 9
add eax, 0x10
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00404860
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret 4

Function at 0x4516d6
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
push eax
mov esi, ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x45172e
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x451736
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x10], ebx
je 0x451747
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], ebx
test esi, esi
jne 0x45175e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret
push 0x512f14
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.004a9eab
int3
Function at 0x4519cb
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x210]
push eax
push 0x4d54b8
push 1
push esi
push 0x4d54e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x451a18
xor eax, eax
inc eax
jmp 0x451b18
cmp dword [edi + 0x14], 0x10
jb 0x451a20
mov edi, dword [edi]
mov eax, dword [ebp - 0x210]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jns 0x451a35
push 3
jmp 0x451a4c
mov eax, dword [ebp - 0x210]
push 0x4e77ae
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x451a52
push 5
pop esi
jmp 0x451b0a
cmp dword [ebx + 0x14], 0x10
jb 0x451a5a
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x210]
push esi
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test eax, eax
jns 0x451a70
push 6
jmp 0x451a4c
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x4d54f8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x451a8f
push 7
jmp 0x451a4c
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004aa670
mov eax, dword [ebp - 0x218]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x451abb
mov eax, dword [eax]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0xffffffffffffffff
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jns 0x451afe
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 8
jmp 0x451a4c
mov ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a41df
mov esp, ebp
pop ebp
ret 0xc

Function at 0x451b2b
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5154b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 0x10
jb 0x451b47
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00451770
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x451b6d
xor esi, esi
inc esi
jmp 0x451b8a
cmp dword [ebp - 0xc], 0x10
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x451b88
push 2
pop esi
jmp 0x451b8a
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.00404b60
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a41df
mov esp, ebp
pop ebp
ret 4