joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e887
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 [0x5164b0]
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.0044fe3d
push eax
call fcn.0044fe7b
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.0044fe3d
push eax
call fcn.0044fe7b
mov eax, dword [ebp - 0x220]
add esp, 0xc
test eax, eax
cmovne esi, eax
push esi
push str._POST__data___s
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0xc
mov dword [ebp - 0x234], 0x4ef554
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.004ab3c0
add esp, 0xc
mov byte [ebp - 0x21c], 0
lea eax, [ebp - 0x21b]
push esi
push 0
push eax
call fcn.004ab3c0
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, 0x4e870e
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.004a5088
mov esp, ebp
pop ebp
ret
Function at 0x44f053
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push 0x234
mov eax, 0x4d250b
call fcn.004aaeb3
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x240], 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.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
add esp, 0x10
test edi, edi
je 0x44f188
test ebx, ebx
je 0x44f188
xor ebx, ebx
lea eax, [ebp - 0x11b]
push 0x103
push ebx
push eax
mov byte [ebp - 0x11c], bl
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x11c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.004041e5
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], ebx
call fcn.0045f119
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
push ebx
push 1
call fcn.004044e5
mov esi, dword [ebp - 0x240]
push 3
pop eax
dec eax
mov byte [ebp - 0x224], bl
push 0x103
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x223]
push ebx
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x224]
mov ecx, esi
push 0x104
push eax
call fcn.0044e7e1
pop ecx
pop ecx
test eax, eax
jne 0x44f15e
mov eax, dword [ebp - 0x240]
test eax, eax
jns 0x44f117
jmp 0x44f184
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
push edi
lea eax, [ebp - 0x224]
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 0x44f18a
xor eax, eax
call fcn.004aae62
ret
Function at 0x44f233
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.004b73d0
mov eax, dword [0x5164b0]
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], 0x4ef554
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, 0x4e870e
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 0x4ef5c8
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0x4e870e
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.004ab3c0
add esp, 0xc
jmp 0x44f333
mov eax, dword [ebp - 0x2808]
test eax, eax
je 0x44f351
cmp eax, 0x2800
jae 0x44f378
mov byte [ebp + eax - 0x2804], 0
lea eax, [ebp - 0x2804]
push eax
call fcn.004041c8
pop ecx
mov ecx, dword [ebp - 0x2810]
push eax
lea eax, [ebp - 0x2804]
push eax
call fcn.00403c73
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 0x44f2fa
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.004a5088
mov esp, ebp
pop ebp
ret
call fcn.004a7a9c
int3
Function at 0x44f793
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 [0x5164b0]
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 0x44f894
test edx, edx
je 0x44f894
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
jmp 0x44f861
push 0x103
lea eax, [ebp - 0x107]
mov byte [ebp - 0x108], bl
push ebx
push eax
dec esi
call fcn.004ab3c0
push 0x103
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push ebx
push eax
call fcn.004ab3c0
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 0x4ef58c
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 0x44f854
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x44f86b
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test esi, esi
jg 0x44f7ce
jmp 0x44f88e
lea eax, [ebp - 0x108]
push eax
call fcn.004041c8
pop ecx
mov ecx, dword [ebp - 0x210]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0040414f
xor ebx, ebx
inc ebx
pop esi
mov eax, ebx
pop ebx
jmp 0x44f896
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004a5088
mov esp, ebp
pop ebp
ret

Function at 0x44ffcb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2828
call fcn.004b73d0
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp byte [0x51a81c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
je 0x4500ee
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x4500ee
push 0x27ff
lea eax, [ebp - 0x280b]
mov byte [ebp - 0x280c], bl
push ebx
push eax
call fcn.004ab3c0
add esp, 0xc
lea eax, [ebp - 0x2824]
push eax
call fcn.0044ff1d
cmp dword [esi + 0x14], 0x10
jb 0x450031
mov esi, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x450039
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.004a6f9d
add esp, 0x18
lea ecx, [ebp - 0x2824]
push ebx
push 1
call fcn.004044e5
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 0x450088
mov eax, dword [eax]
push 0x4ef8a0
push eax
lea eax, [ebp - 0x2828]
push eax
call fcn.004a616a
add esp, 0xc
test eax, eax
jne 0x4500e7
push 2
push ebx
push dword [ebp - 0x2828]
call fcn.004a6a8c
lea ecx, [ebp - 0x280c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4500bb
push dword [ebp - 0x2828]
sub ecx, edx
lea eax, [ebp - 0x280c]
push ecx
push 1
push eax
call fcn.004a9744
push dword [ebp - 0x2828]
call fcn.004a65c9
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.004a5088
mov esp, ebp
pop ebp
ret 4
Function at 0x45090b
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 0x450921
mov eax, dword [esi]
jmp 0x450923
mov eax, esi
push eax
push str._CLogManager::SendMsgToServer___s
push edi
call fcn.0044fe7b
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.00490848
cmp dword [esi + 0x14], 0x10
mov ebx, eax
mov eax, dword [esi + 0x10]
pop ecx
jb 0x450959
mov esi, dword [esi]
inc eax
mov edx, esi
push eax
mov ecx, ebx
call fcn.0045471b
pop ecx
push 0x38
mov byte [eax + ebx], 0
call fcn.004a525f
mov esi, eax
pop ecx
test esi, esi
je 0x450995
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 0x450997
xor esi, esi
push dword [ebp + 8]
call fcn.004041c8
pop ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.0040414f
push dword [ebp + 0xc]
call fcn.004041c8
pop ecx
push eax
push dword [ebp + 0xc]
lea ecx, [esi + 0x18]
call fcn.0040414f
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], ebx
xor ebx, ebx
push ebx
push ebx
push esi
push 0x450a81
push ebx
push ebx
mov dword [esi + 0x34], eax
call fcn.004a8c5b
add esp, 0x18
mov dword [ebp + 8], eax
test eax, eax
jne 0x450a22
cmp dword [esi + 0x30], ebx
je 0x4509f2
push dword [esi + 0x30]
call fcn.004a525a
pop ecx
push ebx
lea eax, [esi + 0x18]
push 1
mov ecx, eax
call fcn.004044e5
push ebx
push 1
mov ecx, esi
call fcn.004044e5
push esi
call fcn.004a5083
mov dword [esp], str._CLogManager::SendMsgToServer__create_thread_failed
push edi
call fcn.0044fe7b
pop ecx
pop ecx
xor al, al
jmp 0x450a6e
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.00450e5d
mov edx, dword [edi + 0xe4]
mov ecx, 0x15555554
sub ecx, edx
cmp ecx, 1
jb 0x450a76
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.0048ff8e
int3
Function at 0x451a5c
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.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
call fcn.00451b50
test al, al
jne 0x451aa6
push str.CGameDesktopShellLink::DoWork_out__check_enable_
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
jmp 0x451b4a
push str.CGameDesktopShellLink::DoWork__DoRequestIconStatus_
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
call fcn.00452353
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push eax
push str.LastAskedDay
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cd80
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 1
push eax
push eax
push str.AskInterval
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cd80
call fcn.00436174
sub eax, dword [esp + 8]
cmp eax, dword [esp + 0xc]
jbe 0x451b2e
push str.CGameDesktopShellLink::DoWork__DoAskCreateIcon_
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
mov ecx, edi
call fcn.00451c2c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
push eax
push str.CGameDesktopShellLink::DoWork_out_timeused__d_
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0xc
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45265c
Capabilities:
Get file attributes

Disassembly:
push 0x160
mov eax, 0x4cfc35
call fcn.004aaeb3
mov eax, dword [ebp + 8]
push str.CGameDesktopShellLink::GetIconStatus_In
push ecx
mov dword [ebp - 0x16c], eax
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
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.0044cc7a
mov ecx, eax
call fcn.0044cce4
push dword [ebp - 0x168]
push str.CGameDesktopShellLink::DoRequestIconStatus:_count__d_
call fcn.0044fe3d
push eax
call fcn.0044fe7b
add esp, 0xc
mov byte [ebp - 0x11c], 0
lea eax, [ebp - 0x11b]
push 0x103
push 0
push eax
call fcn.004ab3c0
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 0x452843
push edi
push str.iconname_d
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x164]
push 0x4e870e
call fcn.004041e5
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.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push 0
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.004044e5
push edi
push str.iconpath_d
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x164]
push 0x4e870e
call fcn.004041e5
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.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push 0
push 1
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 1
call fcn.004044e5
cmp dword [ebp - 0x13c], 0
je 0x452836
cmp dword [ebp - 0x124], 0
je 0x452836
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.004362f8
mov dword [eax], esi
mov esi, str.GameLink
inc edi
cmp edi, dword [ebp - 0x168]
jl 0x452722
push str.CGameDesktopShellLink::GetIconStatus_Out
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x134]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x14c]
call fcn.004044e5
call fcn.004aae62
ret 4
Function at 0x45287d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x15c
mov eax, 0x4d2b6b
call fcn.004aaeb3
mov eax, dword [ebp + 0xc]
push str.CGameDesktopShellLink::IsCreatedIcon_In
push ecx
mov dword [ebp - 0x168], eax
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
and dword [ebp - 0x164], 0
lea eax, [ebp - 0x164]
pop ecx
pop ecx
push eax
push eax
push str.IconCount
push str.GameLink
xor bl, bl
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cce4
push 0x103
lea eax, [ebp - 0x117]
mov byte [ebp - 0x118], bl
push 0
push eax
call fcn.004ab3c0
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov byte [ebp - 0x130], cl
push 0xf
pop eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x138], ecx
mov byte [ebp - 0x148], cl
mov esi, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x164], esi
jle 0x452a68
mov edi, dword [ebp + 8]
push esi
push str.iconname_d
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x160]
push 0x4e870e
call fcn.004041e5
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x118]
push eax
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push 0
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004044e5
push esi
push str.iconpath_d
lea eax, [ebp - 0x118]
push 0x104
push eax
call fcn.004363a3
add esp, 0x10
lea ecx, [ebp - 0x160]
push 0x4e870e
call fcn.004041e5
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x118]
push eax
push str.GameLink
call fcn.0044cc7a
mov ecx, eax
call fcn.0044cf0d
push 0
push 1
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 1
call fcn.004044e5
cmp dword [ebp - 0x120], 0
je 0x452a2e
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
push eax
push dword [edi + 0x10]
push ecx
mov ecx, edi
call fcn.00406c68
test eax, eax
je 0x452a3d
inc esi
cmp esi, dword [ebp - 0x164]
jl 0x45292d
jmp 0x452a68
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
cmovae eax, dword [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [ebp - 0x168]
cmp eax, 0xffffffff
mov bl, 1
sete al
mov byte [ecx], al
push str.CGameDesktopShellLink::IsCreatedIcon_Out
push ecx
call fcn.0044fe3d
pop ecx
push eax
call fcn.0044fe7b
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x148]
call fcn.004044e5
push 0
push 1
lea ecx, [ebp - 0x130]
call fcn.004044e5
mov al, bl
call fcn.004aae62
ret 8
Function at 0x453fb2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5164b0]
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.004ab3c0
add esp, 0xc
push ebx
call fcn.0045402e
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.004041e5
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret 4

Function at 0x45402e
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5164b0]
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 0x454086
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x45408e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [ebp - 0x10], ebx
je 0x45409f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [ebp - 0x10], ebx
test esi, esi
jne 0x4540b6
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor ecx, ebp
pop esi
pop ebx
call fcn.004a5088
mov esp, ebp
pop ebp
ret
push 0x51445c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
call fcn.004aadeb
int3
Function at 0x454323
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5164b0]
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 0x4d64b8
push 1
push esi
push 0x4d64e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x454370
xor eax, eax
inc eax
jmp 0x454470
cmp dword [edi + 0x14], 0x10
jb 0x454378
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 0x45438d
push 3
jmp 0x4543a4
mov eax, dword [ebp - 0x210]
push 0x4e870e
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x4543aa
push 5
pop esi
jmp 0x454462
cmp dword [ebx + 0x14], 0x10
jb 0x4543b2
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 0x4543c8
push 6
jmp 0x4543a4
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x4d64f8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x4543e7
push 7
jmp 0x4543a4
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004ab3c0
mov eax, dword [ebp - 0x218]
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x454413
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 0x454456
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 8
jmp 0x4543a4
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.004a5088
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5164b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
cmp dword [eax + 0x14], 0x10
jb 0x45449f
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004540c8
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 0x4544c5
xor esi, esi
inc esi
jmp 0x4544e2
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 0x4544e0
push 2
pop esi
jmp 0x4544e2
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004044e5
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a5088
mov esp, ebp
pop ebp
ret 4