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

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov eax, dword [ebx + 0x20]
mov ebp, dword [ebx + 0x8058]
mov esi, ecx
push edi
cmp dword [eax + 4], 1
jne 0x41806c
mov ebp, dword [ebx]
mov eax, dword [esi + 0x26f0]
xor edi, edi
cmp eax, edi
je 0x41814b
mov ecx, esi
call fcn.00417b00
mov edi, dword [ebx + 0x803c]
push 0
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
add ecx, eax
mov eax, dword [edi + 0xc]
adc eax, edx
mov edx, eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
mov ecx, dword [esi + 4]
sar edx, 0x1f
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4180c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4181a2
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push 0
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4181a2
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x4181a2
mov ecx, dword [edi + 0x18]
add ecx, eax
mov dword [edi + 0x18], ecx
mov ebp, dword [edi + 0x1c]
mov ecx, 0
adc ebp, ecx
mov dword [edi + 0x1c], ebp
mov eax, dword [esp + 0x18]
mov edi, dword [esi + 0x5d0b8]
push eax
add edi, eax
push ebx
mov dword [esi + 0x5d0b8], edi
mov edx, dword [esi + 0x5d0bc]
adc edx, ecx
mov ecx, esi
mov dword [esi + 0x5d0bc], edx
call fcn.004181b0
mov ecx, esi
call fcn.00417be0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
push edi
push edx
lea eax, [ebx + 0x3c]
push ebp
push eax
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4181a2
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x4181a2
mov ebp, dword [esi + 0x5d0b8]
push eax
add ebp, eax
push ebx
mov dword [esi + 0x5d0b8], ebp
mov edx, dword [esi + 0x5d0bc]
adc edx, edi
mov ecx, esi
mov dword [esi + 0x5d0bc], edx
call fcn.004181b0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4
Function at 0x41a7d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x320
push ebx
push esi
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edi
push str.360se_3.0
push 0x4c3574
push 0x103
push 0x5a92c0
call esi
add esp, 0x10
push str.3.1_Beta
push 0x4c3574
push 0x103
push 0x5a94c8
call esi
add esp, 0x10
push str.3.1.0.2
push 0x4c3574
push 0x103
push 0x5a96d0
call esi
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push 0x4c3574
push 0x103
push 0x5a98d8
call esi
mov ebx, dword [esp + 0x340]
add esp, 0x10
mov eax, dword [ebx]
push eax
push str.0x_08x
push 0x103
push 0x5a9ef0
call esi
mov cx, word [0x4da9a0]
xor eax, eax
mov word [esp + 0x134], cx
mov ecx, 0x81
lea edi, [esp + 0x136]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0xc]
push edx
stosw word es:[edi], ax
lea eax, [esp + 0x138]
push 0x103
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.0041aa20
add esp, 0x20
test eax, eax
je 0x41a90c
push 0x103
lea edx, [esp + 0x128]
push 0x5a9ce8
push edx
call fcn.00428670
add esp, 0xc
lea eax, [esp + 0x124]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x41a8de
lea eax, [esp + 0x124]
push eax
push 0x4c3574
push 0x103
push 0x5a9ae0
call esi
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push str.0x_08x
push 0x103
push 0x5aa0f8
call esi
add esp, 0x10
mov ecx, 0x45
xor eax, eax
lea edi, [esp + 0x10]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a958
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
push str._d._d._d__s
push 0x103
push 0x5aa300
call esi
add esp, 0x1c
push 0x104
push 0x5aa508
call fcn.0046f850
add esp, 8
mov ecx, 0x4da9a8
push str.user.dat
call fcn.004079e0
push eax
push 0x4c3574
push 0x103
push 0x5aa710
call esi
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x320
ret

Function at 0x41ae90
Capabilities:
Copy file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
mov word [esp + 8], 0
push 0x4dae0c
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call esi
add esp, 4
cmp eax, 0x103
jbe 0x41aecc
mov eax, 0x103
jmp 0x41aed6
push 0x4dae0c
call esi
add esp, 4
push eax
lea eax, [esp + 0xc]
push 0x4dae0c
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea ecx, [esp + 0x14]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 0x14
test eax, eax
pop edi
pop esi
je 0x41af02
mov word [eax], 0
mov eax, dword [0x5aad28]
mov ecx, dword [0x5b36fc]
push 0
push 0
push 0x802
lea edx, [esp + 0xc]
push 0x4c4e58
push edx
push str.Dump_Files_.dmp_
push 0x4db014
push eax
push ecx
call fcn.00428b50
add esp, 0x24
test eax, eax
je 0x41af4a
lea edx, [esp]
push 0
push edx
push 0x5aab20
call dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x208
ret
Function at 0x41af60
Capabilities:
Delete file

Disassembly:
mov ecx, 0x546828
call fcn.00414c60
mov eax, dword [0x5aad2c]
test eax, eax
je 0x41af8b
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [0x5aad2c], 0
mov eax, dword [0x5a38cc]
push esi
cmp eax, 7
push edi
jne 0x41afd0
push 0x3a
call fcn.00463f90
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
mov eax, dword [0x5aad28]
push 2
push eax
call esi
push 0xc358
call fcn.00463f90
mov ecx, dword [0x5aad28]
add esp, 4
push eax
push 0x421
push ecx
call esi
jmp 0x41aff0
push 0xc359
call fcn.00463f90
mov edx, dword [0x5aad28]
add esp, 4
push eax
push 0x421
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x5a38f0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x5aad28]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 2
push eax
call esi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov ecx, dword [0x5aad28]
push 1
push 4
push ecx
call esi
push eax
call edi
mov ecx, 0x546828
call fcn.00414940
pop edi
pop esi
ret
Function at 0x41b0d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x830
mov al, byte [0x542868]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x208
xor eax, eax
lea edi, [esp + 0x1d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x854]
test eax, eax
je 0x41b236
mov esi, dword [esp + 0x850]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov ecx, dword [esp + 0x84c]
push eax
push ecx
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
lea edx, [esp + 0x2c]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
push 0x4c4e9c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov ebp, ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x41b21e
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
mov edi, eax
push 0
push ebx
mov dword [esp + 0x34], edi
call esi
mov ecx, dword [esp + 0x864]
add edi, ebp
add esp, 0x1c
mov dword [esp + 0x10], edi
mov edx, dword [ecx]
lea eax, [edi + 2]
cmp eax, edx
mov dword [esp + 0x14], eax
jae 0x41b203
mov eax, dword [esp + 0x844]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1c]
mov edi, eax
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 1
and ecx, 3
add ebp, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x854]
mov dx, word [0x4c4e98]
add esp, 0x10
mov word [eax + ecx], dx
mov eax, dword [esp + 0x848]
mov edx, dword [esp + 0x14]
push ebx
mov dword [eax], edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
push ebx
mov dword [ecx], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x830
ret
mov ecx, dword [esp + 0x848]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
pop ebx
add esp, 0x830
ret
mov edx, dword [esp + 0x850]
mov eax, dword [esp + 0x84c]
push edx
push eax
push str.___________________________7d9114302a0cb6
push str.___s_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
lea ecx, [esp + 0x2c]
push 0x823
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
lea edi, [esp + 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x18
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x848]
not ecx
dec ecx
mov eax, ecx
mov ecx, dword [edx]
cmp eax, ecx
jae 0x41b2a8
mov edi, dword [esp + 0x844]
mov ecx, eax
mov ebx, ecx
lea esi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov dword [edx], eax
pop ebx
add esp, 0x830
ret
pop edi
pop esi
pop ebp
mov dword [edx], 0
pop ebx
add esp, 0x830
ret
Function at 0x41b910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041b2c0
add esp, 4
cmp eax, ebx
mov dword [0x5aad2c], eax
je 0x41bad4
mov dx, word [0x4da9a0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], dx
mov word [ebp - 0x20c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x414]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x20c]
push 0x4c3854
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, 0x546828
call fcn.00414940
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push str.http:__doctor.se.360.cn_index.php_doadderrorlog
mov ecx, 0x412
xor eax, eax
mov edi, 0x5a3d00
push 0x4c3574
push 0x824
push 0x5a3d00
rep stosd dword es:[edi], eax
call esi
mov ecx, 0x82
xor eax, eax
mov edi, 0x5a38f0
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x414]
push ecx
push 0x4c3574
push 0x104
push 0x5a38f0
call esi
mov dx, word [0x4da9a0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], dx
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, str.___________________________7d9114302a0cb6
mov dword [0x548ec4], 0x2710
test eax, eax
mov dword [0x548ebc], 0x41baf0
mov dword [0x548eb8], ebx
je 0x41ba76
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.004ad150
mov ebx, esp
push edi
push ebx
push 0xffffffffffffffff
push str.___________________________7d9114302a0cb6
push 0
push 0
mov word [ebx], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push str.multipart_form_data__boundary_s
lea ecx, [ebp - 0x61c]
push 0x103
push ecx
call esi
mov eax, dword [ebp - 4]
mov edx, dword [0x5aad2c]
mov dword [0x548ca0], eax
mov ecx, 0x82
xor eax, eax
mov edi, 0x548ca4
mov dword [0x548c9c], edx
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x61c]
push ecx
push 0x4c3574
push 0x104
push 0x548ca4
call esi
add esp, 0x10
mov ecx, 0x546828
call fcn.00414870
lea esp, [ebp - 0x628]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bb30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
push ebp
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
je 0x41bc27
push ebx
push esi
push str.MiniDumpWriteDump
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x41bc1e
mov ax, word [0x4da9a0]
push edi
mov word [esp + 0x1c], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1c]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x5aab20
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x24]
push 0x4c3854
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push 0x5aab20
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
pop edi
cmp esi, 0xffffffff
je 0x41bc1e
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x224]
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
pop ebp
add esp, 0x214
ret

Function at 0x41bc30
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x1458
call fcn.004ad150
push esi
push edi
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x41a]
mov word [esp + 0x418], 0
rep stosd dword es:[edi], eax
push str.3.1.0.2
stosw word es:[edi], ax
call fcn.00463d10
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push eax
push str.http:__pvstat.qihoo.com_dimana.gif__pdt360sebq_dim_kpid__guid__ver_dim_v360se___s___s
lea eax, [esp + 0x424]
push 0x823
push eax
call esi
mov ecx, 0x412
xor eax, eax
mov edi, 0x5a3d00
add esp, 0x14
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x418]
push ecx
push 0x4c3574
push 0x824
push 0x5a3d00
call esi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
add esp, 0x10
lea edx, [esp + 0x210]
stosw word es:[edi], ax
push edx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x218]
push 0x4c50cc
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [esp + 8]
mov ecx, 0x82
push edx
xor eax, eax
mov edi, 0x5a38f0
push 0x4c3574
push 0x104
push 0x5a38f0
rep stosd dword es:[edi], eax
call esi
add esp, 0x10
mov ecx, 0x546828
mov dword [0x548c88], 1
mov dword [0x548ec4], 0xbb8
call fcn.00414870
mov ecx, 0x546828
call fcn.00414c60
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x546828
call fcn.00414940
pop edi
pop esi
add esp, 0x1458
ret
Function at 0x41d000
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
mov eax, 0x18a8
call fcn.004ad150
mov eax, dword [0x5b0050]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
mov esi, ecx
je 0x41d206
lea eax, [esp + 8]
mov dword [esp + 8], ebx
push eax
push str.Count
push str.UpdateExt
call fcn.00408330
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jbe 0x41d20d
push edi
mov ecx, esi
call fcn.0041da80
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x86e]
mov word [esp + 0x86c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x256]
mov word [esp + 0x254], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4e]
mov word [esp + 0x4c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x666]
mov word [esp + 0x664], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x45e]
mov word [esp + 0x45c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x664]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x664]
push edx
push str._sTheWorld_
lea eax, [esp + 0x464]
push 0x103
push eax
call esi
lea ecx, [esp + 0x46c]
push ecx
call fcn.00428780
add esp, 0x14
lea edx, [esp + 0x45c]
lea eax, [esp + 0x254]
push edx
push str._sUpdateExt.ini
push 0x103
push eax
call esi
add esp, 0x10
call fcn.004080a0
push eax
lea ecx, [esp + 0x50]
push 0x103
push ecx
call esi
lea edx, [esp + 0x58]
push ebx
push edx
call fcn.00428370
add esp, 0x14
test eax, eax
je 0x41d165
lea eax, [esp + 0x254]
push 1
lea ecx, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esp + 0x254]
lea eax, [esp + 0x86c]
push edx
push 0x4c3840
push 7
push str._tp:
push str._s_d__s_s
push 0x823
push eax
call esi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x30]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x86c]
push edx
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x24], 0x4da9fc
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x41d1f0
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UpdateExt
call fcn.00407f60
add esp, 4
pop esi
pop ebx
add esp, 0x18a8
ret
mov ecx, esi
call fcn.0041d220
pop esi
pop ebx
add esp, 0x18a8
ret
Function at 0x41d880
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0xa28
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov ebx, dword [esp + 0xa3c]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], bp
rep stosd dword es:[edi], eax
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
stosw word es:[edi], ax
push 0x4c3574
lea eax, [esp + 0x220]
push 0x103
push eax
call esi
mov edi, dword [sym.imp.MSVCRT.dll_wcsrchr]
lea ecx, [esp + 0x228]
push 0x5c
push ecx
call edi
add esp, 0x18
test eax, eax
je 0x41d8f6
add eax, 2
lea edx, [esp + 0x218]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [esp + 0x218]
push 0x2e
push eax
call edi
xor edx, edx
add esp, 8
cmp eax, edx
je 0x41d90e
mov word [eax], dx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62a]
mov word [esp + 0x628], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], dx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x628]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [esp + 0x218]
lea eax, [esp + 0x628]
push edx
push eax
push str._sTheWorld_skin_s_
lea ecx, [esp + 0x1c]
push 0x103
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call fcn.00428780
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004ac100
mov cx, word [0x4da9a0]
xor eax, eax
mov word [esp + 0x440], cx
mov ecx, 0x81
lea edi, [esp + 0x442]
add esp, 0x20
rep stosd dword es:[edi], eax
push str.Skin
push 0x4dac04
push 0x4c3aa0
lea edx, [esp + 0x42c]
push 0x103
push edx
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x434]
push eax
call fcn.00428780
mov cx, word [0x4da9a0]
xor eax, eax
mov word [esp + 0x848], cx
mov ecx, 0x81
lea edi, [esp + 0x84a]
add esp, 0x18
rep stosd dword es:[edi], eax
lea edx, [esp + 0x10]
stosw word es:[edi], ax
push edx
push str._sskin.ini
lea eax, [esp + 0x838]
push 0x103
push eax
call esi
lea ecx, [esp + 0x840]
push 0
push ecx
call fcn.00428370
add esp, 0x18
test eax, eax
je 0x41da43
lea edx, [esp + 0x420]
push 1
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00428fe0
add esp, 0xc
mov ebp, 1
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [esp + 0x10]
push edx
call esi
push 0
push ebx
call fcn.00428e30
add esp, 8
push ebx
call esi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0xa28
ret 4
Function at 0x41db00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x668
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x672]
mov word [ebp - 0x674], bx
mov dword [ebp - 0x10], esp
rep stosd dword es:[edi], eax
mov ecx, dword [0x5b36fc]
push ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x674]
push 0x103
push eax
push ecx
call fcn.00428380
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46a]
mov word [ebp - 0x46c], bx
mov edx, dword [ebp + 8]
add esp, 0x10
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x4c5310
lea eax, [ebp - 0x674]
push edx
push eax
push 0x4c3a20
lea ecx, [ebp - 0x46c]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
lea edx, [ebp - 0x264]
lea eax, [ebp - 0x46c]
mov word [ebp - 0x266], bx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 8], edi
je 0x41dc29
mov esi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [ebp - 0x238]
push 0x4c530c
push ecx
call esi
add esp, 8
test eax, eax
je 0x41dc10
lea edx, [ebp - 0x238]
push 0x4c5304
push edx
call esi
add esp, 8
test eax, eax
je 0x41dc10
test byte [ebp - 0x264], 0x10
je 0x41dc10
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x238]
push eax
push ebx
call fcn.0041c880
lea ecx, [ebp - 0x264]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41dbcd
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41dc60
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
mov eax, 0x18a8
call fcn.004ad150
mov eax, dword [0x5b0050]
push esi
xor esi, esi
push edi
cmp eax, esi
mov edi, ecx
je 0x41de5e
lea eax, [esp + 8]
mov dword [esp + 8], esi
push eax
push str.Count
push str.UnInstallExt
call fcn.00408330
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, esi
ja 0x41dcab
pop edi
xor eax, eax
pop esi
add esp, 0x18a8
ret
mov ecx, edi
call fcn.0041da80
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x86a]
mov word [esp + 0x868], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4a]
mov word [esp + 0x48], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x662]
mov word [esp + 0x660], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x45a]
mov word [esp + 0x458], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x252]
mov word [esp + 0x250], si
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x458]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea edx, [esp + 0x458]
push edx
push str._sTheWorld_
lea eax, [esp + 0x258]
push 0x103
push eax
call esi
lea ecx, [esp + 0x260]
push ecx
call fcn.00428780
add esp, 0x14
lea edx, [esp + 0x250]
lea eax, [esp + 0x48]
push edx
push 0x4c5318
push 0x103
push eax
call esi
add esp, 0x10
call fcn.004080a0
push eax
lea ecx, [esp + 0x664]
push 0x103
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x48]
lea eax, [esp + 0x660]
push 1
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x868]
push ecx
push 0x4c3840
push 9
push str._tp:
push str._s_d__s_s
push 0x823
push edx
call esi
add esp, 0x1c
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
lea eax, [esp + 0x868]
push ecx
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x20], 0x4da9fc
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41de43
mov edx, dword [esp + 0x44]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UnInstallExt
call fcn.00407f60
add esp, 4
mov eax, 1
pop edi
pop esi
add esp, 0x18a8
ret
mov ecx, edi
call fcn.00422ae0
pop edi
mov eax, 1
pop esi
add esp, 0x18a8
ret