joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498360
Capabilities:
Get common file path
Get system information on windows

Disassembly:
sub esp, 0x22c
call fcn.00497d20
mov eax, dword [esp + 0x230]
push eax
call fcn.00409e70
add esp, 4
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x14], 1
jne 0x498397
mov dword [0x5ce2ec], 0
cmp word [0x5d18bc], 0
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
push edi
je 0x4983b5
push 0x5d18bc
call esi
cmp eax, 0xffffffff
jne 0x498408
mov dx, word [0x53ada0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], dx
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [esp + 0x2c]
push str.Downloadspic_
push ecx
call esi
add eax, 0x41
push eax
push str._c:_s
push 0x103
push 0x5d18bc
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, dword [0x5365f0]
xor edi, edi
test eax, eax
jbe 0x498437
mov esi, str.MainBarText
mov edx, dword [esi + 0x20]
push edx
push esi
push 0x50c394
call fcn.0040a7a0
mov eax, dword [0x5365f0]
add esp, 0xc
inc edi
add esi, 0x30
cmp edi, eax
jb 0x498418
mov eax, dword [0x5365f4]
xor edi, edi
test eax, eax
jbe 0x49846d
mov esi, 0x536164
mov eax, dword [esi + 4]
mov ecx, dword [esi]
dec eax
lea edx, [esi - 0x20]
push eax
push ecx
push edx
push 0x50c394
call fcn.0040a580
mov eax, dword [0x5365f4]
add esp, 0x10
inc edi
add esi, 0x30
cmp edi, eax
jb 0x498447
mov eax, dword [0x5ce2f4]
mov ecx, dword [0x5ce2ec]
mov dword [0x5b89c0], eax
mov dword [0x5b89c4], ecx
call fcn.004984a0
mov ecx, section..taihang
call fcn.0048a3e0
pop edi
pop esi
add esp, 0x22c
ret

Function at 0x49be20
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 4], 0
je 0x49be5c
cmp word [esi], 0
je 0x49be5c
call fcn.0049be00
mov ecx, dword [eax]
lea edx, [esp + 4]
push 0
push edx
push 0
push esi
push 0
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x49be79
xor eax, eax
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x49be79
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
Function at 0x49e030
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x478
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x66]
mov word [esp + 0x64], 0
push 0x105
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
push eax
call fcn.0049e240
add esp, 8
test eax, eax
jne 0x49e069
pop edi
add esp, 0x478
ret
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x272]
mov word [esp + 0x270], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x270]
push 0x105
push ecx
call fcn.0049e280
add esp, 8
test eax, eax
jne 0x49e0a9
mov eax, 1
pop edi
add esp, 0x478
ret
lea edx, [esp + 0x40]
push esi
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], 0
push edx
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x58]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
jne 0x49e0eb
xor esi, esi
jmp 0x49e17e
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x49e103
xor esi, esi
jmp 0x49e17e
mov eax, dword [esp + 8]
cmp ax, 0x76c
jae 0x49e111
xor eax, eax
jmp 0x49e17c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x12]
and edx, 0xffff
and ecx, 0xffff
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
and edx, 0xffff
and eax, 0xffff
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0xa]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xe]
sub eax, 0x76c
and edx, 0xffff
mov dword [esp + 0x34], eax
and ecx, 0xffff
lea eax, [esp + 0x20]
dec edx
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.MSVCRT.dll_mktime]
add esp, 4
mov esi, eax
lea ecx, [esp + 0x274]
push ecx
push 0
push str.LastWriter
push 0x50c394
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor edx, edx
cmp eax, esi
setne dl
pop esi
mov eax, edx
pop edi
add esp, 0x478
ret

Function at 0x49e1b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x5367bc]
sub esp, 8
cmp eax, 0xffffffff
jne 0x49e202
lea eax, [esp]
mov dword [esp], 1
push eax
push str.ShowNumMenu
push str.skin
call fcn.0040a7a0
add esp, 0xc
test eax, eax
jne 0x49e1ec
mov dword [0x5367bc], 1
jmp 0x49e202
mov eax, dword [esp]
test eax, eax
mov dword [0x5367bc], eax
jne 0x49e202
call fcn.0049e030
test eax, eax
je 0x49e233
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push 0
push edx
push 0x49e300
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x49e233
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
ret

Function at 0x49e240
Capabilities:
Check if file exists

Disassembly:
push esi
push str.newSkin.dat
mov ecx, 0x53adc0
call fcn.00408330
mov esi, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0x14]
push str._sdata_s
dec eax
push eax
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
ret
Function at 0x49e280
Capabilities:
Check if file exists

Disassembly:
push esi
push str.Update.ini
push str.SkinUpdate
mov ecx, 0x53adc0
call fcn.00408330
mov esi, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
push str._sdata_s_s
dec eax
push eax
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
ret

Function at 0x49e860
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0049ebf0
mov eax, dword [esi + 4]
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [esi + 0x166c]
mov ecx, ebx
call fcn.0041f5c0
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x50c180
push 0x824
push edx
call ebp
mov dx, word [0x53ada0]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esi + 0x125c]
lea edx, [esp + 0x10]
push ecx
push edx
lea eax, [esi + 0xc]
push str._s_s.zip
push 0x103
push eax
call ebp
lea edx, [ebx + 0x5d0d0]
mov ecx, 0x82
xor eax, eax
mov edi, edx
add esp, 0x14
rep stosd dword es:[edi], eax
lea eax, [esi + 0xc]
push eax
push 0x50c180
push 0x104
push edx
call ebp
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x49e970
mov dword [ebx + 0x2698], esi
call fcn.0041f4f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x49ee20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x410
push esi
push edi
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x212]
mov word [esp + 0x210], si
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x214]
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x49ee9f
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push 0x104
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x210]
lea eax, [esp + 8]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [esp + 8]
cmp eax, ecx
mov eax, 1
je 0x49eea1
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret
Function at 0x49eeb0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.004f3f00
mov edx, dword [esp + 0x1088]
xor eax, eax
test edx, edx
push esi
je 0x49efb5
mov esi, dword [esp + 0x1090]
test esi, esi
je 0x49efb5
mov edx, dword [esp + 0x1094]
test edx, edx
je 0x49efb5
mov eax, dword [0x5b8070]
test eax, eax
je 0x49efa8
call fcn.0049ee20
test eax, eax
jne 0x49efa8
push edi
mov ecx, 0x411
lea edi, [esp + 0x46]
mov word [esp + 0x44], ax
rep stosd dword es:[edi], eax
push esi
push 0x50c448
push 8
push str._tp:
stosw word es:[edi], ax
push str._s_d__s__s_
lea eax, [esp + 0x58]
push 0x823
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea edx, [esp + 8]
lea ecx, [esp + 0x44]
push edx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], 0x53ae24
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x49ef99
mov eax, dword [esp + 0x3c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x1084
ret 0x10
push esi
call fcn.00402e30
mov ecx, eax
call fcn.00429ac0
pop esi
add esp, 0x1084
ret 0x10
Function at 0x49f970
Capabilities:
Create process on windows
Delete file

Disassembly:
sub esp, 0x61c
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x630]
xor ebp, ebp
cmp esi, ebp
jne 0x49f9ab
push ebp
push eax
push 0xc83
call fcn.004b8560
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret 4
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0xc34]
lea ecx, [esp + 0x21c]
push eax
push ecx
mov ecx, esi
call fcn.004a04b0
call fcn.004de1f0
cmp eax, ebp
je 0x49f9eb
mov ecx, eax
call fcn.004dfa60
lea ecx, [esi + 0x2090]
call fcn.0048c710
mov ecx, 0x53adc0
call fcn.00408160
test eax, eax
je 0x49fb30
call fcn.004a6420
test eax, eax
jne 0x49fb30
mov dx, word [0x53ada0]
mov ecx, 0x81
lea edi, [esp + 0x426]
mov word [esp + 0x424], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x220]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x50c464
push eax
push 0x50c448
push 8
push str._tp:
push str._s_d__s__s___s_d
lea ecx, [esp + 0x440]
push 0x103
push ecx
call ebx
add esp, 0x24
lea edx, [esp + 0x424]
push 5
push ebp
push edx
push 0x53ae24
push str.runas
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jae 0x49fa9c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x61c
ret 4
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bp
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.004a0520
push eax
push 0x50c180
lea eax, [esp + 0x18]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x10]
push str._preview
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebp
je 0x49fb10
lea edx, [esp + 0x10]
lea ecx, [esp + 0x10]
sub eax, edx
sar eax, 1
mov word [esp + eax*2 + 0x10], bp
lea eax, [esp + 0x10]
push eax
push 0x50cef4
push 0x104
push ecx
call ebx
lea edx, [esp + 0x20]
push 1
push edx
call fcn.00439a10
add esp, 0x18
mov ecx, esi
call fcn.004a0520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x61c
ret 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x21c]
push eax
call ebx
test eax, eax
je 0x49fbcc
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bp
rep stosd dword es:[edi], eax
mov ecx, esi
call fcn.004a0520
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push 0x50c180
lea ecx, [esp + 0x18]
push 0x104
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
push str._preview
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
cmp eax, ebp
je 0x49fbc2
lea ecx, [esp + 0x10]
lea edx, [esp + 0x10]
sub eax, ecx
push edx
sar eax, 1
push 0x50cef4
push 0x104
mov word [esp + eax*2 + 0x1c], bp
lea eax, [esp + 0x1c]
push eax
call edi
lea ecx, [esp + 0x20]
push 1
push ecx
call fcn.00439a10
add esp, 0x18
mov ecx, esi
call fcn.004a0520
push eax
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x61c
ret 4
Function at 0x4a06c0
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a07a1
lea edi, [esi + 0x22c]
mov ecx, edi
call fcn.004834b0
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x4a0712
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a0703
push 1
push ebx
mov ecx, edi
call fcn.00483980
jmp 0x4a0712
mov ecx, dword [0x5bdd68]
push ebx
push ecx
mov ecx, edi
call fcn.00483860
mov ecx, edi
call fcn.004843f0
test eax, eax
je 0x4a07a1
mov edx, dword [esi + 4]
push 2
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, edi
mov dword [esi + 0x460], 0
call fcn.004844b0
mov edi, dword [eax + 4]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x14]
mov eax, edi
cdq
sub eax, edx
sub ecx, ebx
mov edx, eax
mov eax, dword [esp + 0x18]
sar edx, 1
sub eax, edx
sub ecx, 4
add eax, 0xa
jns 0x4a0766
xor eax, eax
test ecx, ecx
jge 0x4a0771
mov ecx, dword [esp + 0x1c]
add ecx, 4
mov edx, dword [esi + 4]
push 0x50
push edi
push ebx
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esi + 4]
push 0
push 0x27
push 0x27
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebx
ret 0x14

Function at 0x4a07b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
push 0
push 0x2008
push 0
push 0
push eax
push 0x80880000
push 0x53ada0
push str.XWnd
mov esi, ecx
push 0x80080
call fcn.004ee0e0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
pop esi
add esp, 0x10
ret
Function at 0x4a1700
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x4a186d
mov eax, dword [esi + 0x9a0]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test eax, eax
jne 0x4a1729
call ebp
mov dword [esi + 0x9a0], eax
jmp 0x4a1737
call ebp
cmp eax, dword [esi + 0x9a0]
jne 0x4a186d
mov eax, dword [esi + 0x288]
cmp eax, 0x28
jge 0x4a186d
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, dword [esp + 0x14]
shl eax, 4
mov dword [eax + esi + 8], edi
call ebx
mov ecx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 0x288]
shl ecx, 4
mov dword [ecx + esi + 0xc], eax
call ebx
mov edx, dword [esi + 0x288]
inc edx
shl edx, 4
mov dword [edx + esi], eax
call ebp
mov ecx, dword [esi + 0x288]
shl ecx, 4
cmp edi, 0xfa0
mov dword [ecx + esi + 0x14], eax
jne 0x4a17c6
cmp dword [esi + 0x970], 0xffffffff
jne 0x4a185e
mov edx, dword [esi + 0x288]
pop edi
shl edx, 4
pop ebx
mov eax, dword [edx + esi + 0xc]
mov dword [esi + 0x970], eax
mov eax, dword [esi + 0x288]
inc eax
mov dword [esi + 0x288], eax
pop esi
pop ebp
ret 4
cmp edi, 0x1194
jne 0x4a1802
cmp dword [esi + 0x974], 0xffffffff
jne 0x4a185e
mov ecx, dword [esi + 0x288]
mov eax, dword [esi + 0x288]
shl ecx, 4
inc eax
pop edi
mov edx, dword [ecx + esi + 0xc]
mov dword [esi + 0x288], eax
mov dword [esi + 0x974], edx
pop ebx
pop esi
pop ebp
ret 4
cmp edi, 0x1388
jne 0x4a183a
cmp dword [esi + 0x978], 0xffffffff
jne 0x4a185e
mov eax, dword [esi + 0x288]
pop edi
shl eax, 4
pop ebx
mov ecx, dword [eax + esi + 0xc]
mov eax, dword [esi + 0x288]
inc eax
mov dword [esi + 0x978], ecx
mov dword [esi + 0x288], eax
pop esi
pop ebp
ret 4
cmp edi, 0x157c
jne 0x4a185e
cmp dword [esi + 0x97c], 0xffffffff
jne 0x4a185e
mov edx, dword [esi + 0x288]
shl edx, 4
mov eax, dword [edx + esi + 0xc]
mov dword [esi + 0x97c], eax
mov eax, dword [esi + 0x288]
pop edi
inc eax
pop ebx
mov dword [esi + 0x288], eax
pop esi
pop ebp
ret 4
Function at 0x4a2810
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f789b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x418
mov eax, dword [ecx + 4]
push ebp
xor ebp, ebp
mov dword [esp + 8], ecx
cmp eax, ebp
jne 0x4a1b7b
push ebx
push esi
push edi
push ebp
mov ecx, 0x53adc0
call fcn.004082e0
mov esi, eax
mov eax, dword [0x50bea4]
cmp esi, ebp
mov dword [esp + 0x10], eax
je 0x4a1a21
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
cmp ebx, ebp
je 0x4a1a21
lea ecx, [ebx + ebx + 0xe]
push ecx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
je 0x4a1a21
lea ecx, [ebx + ebx]
mov dword [eax], 1
mov edx, ecx
mov word [eax + ebx*2 + 0xc], bp
lea edi, [eax + 0xc]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [esp + 0x10], edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x430], ebp
lea esi, [eax - 0xc]
mov eax, dword [eax - 0xc]
cmp eax, 1
jle 0x4a1a6d
lea ecx, [esp + 0x10]
call fcn.004166f0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x14]
call fcn.00416590
test eax, eax
je 0x4a1a6d
mov edx, dword [esi + 4]
mov edi, dword [esp + 0x10]
add esi, 0xc
lea ecx, [edx + edx + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], bp
je 0x4a1aba
mov ebx, dword [sym.imp.MSVCRT.dll_wcschr]
mov ax, word [esi]
push eax
push 0x50c600
call ebx
add esp, 8
test eax, eax
je 0x4a1a98
cmp edi, ebp
jne 0x4a1a9a
mov edi, esi
jmp 0x4a1a9a
xor edi, edi
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
cmp word [esi], bp
jne 0x4a1a7e
cmp edi, ebp
je 0x4a1aba
mov word [edi], bp
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bp
rep stosd dword es:[edi], eax
push 1
lea ecx, [esp + 0x1c]
push 0x1a
push ecx
push ebp
stosw word es:[edi], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x18]
push str.360se
lea eax, [esp + 0x224]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x220]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
pop edi
pop esi
pop ebx
je 0x4a1b3b
mov eax, dword [esp + 8]
mov dword [eax + 0x990], 1
mov ecx, dword [0x5ce2ec]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
inc ecx
mov dword [edx + 0x99c], ecx
mov edx, dword [0x50b100]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4a1b7b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4a1b7b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.004f3eca
add esp, 4
mov ecx, dword [esp + 0x41c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x424
ret
mov ecx, 0x5b7190
jmp 0x4a1990
Function at 0x4a2860
Capabilities:
Create thread

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4a27d9
lea eax, [esp + 8]
mov dword [ebx + 4], 1
push eax
push str.NotJoinPrivate
push str.option
mov dword [esp + 0x14], 0
call fcn.0040a7a0
mov eax, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4a27d9
mov ecx, dword [0x5b7b04]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ecx, 0x1d4c0
mov eax, 1
jbe 0x4a2746
call esi
push 0
push eax
push 0x66
jmp 0x4a2751
test ecx, ecx
jne 0x4a275b
call esi
push 1
push eax
push 0x65
call fcn.004b7f40
add esp, 0xc
xor eax, eax
mov ecx, dword [0x5b7b0c]
cmp ecx, 0x1d4c0
jbe 0x4a277a
call esi
push 0
push eax
push 0x68
call fcn.004b7f40
add esp, 0xc
jmp 0x4a2793
test ecx, ecx
jne 0x4a278f
call esi
push 1
push eax
push 0x67
call fcn.004b7f40
add esp, 0xc
jmp 0x4a2793
test eax, eax
jne 0x4a27a1
mov ecx, 0x5b6cf8
call fcn.00496ae0
test eax, eax
je 0x4a27d9
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0
push ebx
push 0x4a1c90
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov esi, eax
add esp, 0x18
test esi, esi
je 0x4a27d9
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
add esp, 8
ret
mov ecx, 0x5b7190
jmp 0x4a26e0

Function at 0x4a2970
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x80
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4a2a35
push 0
mov ecx, 0x53adc0
call fcn.004082e0
mov edi, eax
test edi, edi
je 0x4a2a35
push esi
push 0x5c
push edi
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x4a29be
cmp word [eax + 2], 0
lea esi, [ebx + 8]
push edi
jne 0x4a29c2
push str._sstat.ini
jmp 0x4a29c7
lea esi, [ebx + 8]
push edi
push str._s_stat.ini
push 0x104
push esi
call fcn.00427cf0
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a2a2d
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x536890
lea eax, [esp + 0x14]
push 0x40
push eax
call fcn.00427cf0
add esp, 0x10
lea ecx, [esp + 0xc]
push esi
push ecx
push 0x536e08
push 0x536e00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 4], 1
pop esi
pop edi
pop ebx
add esp, 0x80
ret

Function at 0x4a2af0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
push esi
mov esi, ecx
call fcn.004a2970
mov eax, dword [esi + 4]
test eax, eax
je 0x4a2b56
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x4a2b56
push edi
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xc]
push eax
push 0x536890
push 0x20
push ecx
call fcn.00427cf0
add esp, 0x10
add esi, 8
lea edx, [esp + 0xc]
push esi
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x4a2b66
Capabilities:
Delete file

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
call fcn.004a2970
mov eax, dword [esi + 4]
test eax, eax
je 0x4a2bec
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x52b630
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
je 0x4a2b9c
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push edi
push 0
call dword [sym.imp.MSVCRT.dll_time]
mov edx, eax
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
add esp, 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push 0x536890
lea eax, [esp + 0x10]
push 0x40
push eax
call fcn.00427cf0
add esp, 0x10
lea ecx, [esp + 8]
push esi
push ecx
push 0x536e08
push 0x536e00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
pop edi
pop esi
add esp, 0x80
ret