joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a02e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x26c
push ebx
push esi
mov ebx, ecx
call fcn.004a1800
mov esi, eax
test esi, esi
mov dword [esp + 8], esi
je 0x4a0505
push ebp
push edi
mov ecx, ebx
call fcn.004a0290
push 0
push 0
push 0x21
push 0x10
push 0x10
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [ebx + 0x12e8], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 1
mov ecx, esi
mov dword [ebx + 0x12ec], eax
call fcn.004a1ee0
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4a03de
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x76]
mov word [esp + 0x74], 0
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push 1
stosw word es:[edi], ax
lea eax, [esp + 0x78]
push 0x103
push eax
push esi
call fcn.004a1e70
test eax, eax
je 0x4a03de
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x44]
lea edx, [esp + 0x74]
rep stosd dword es:[edi], eax
lea edi, [esi + 1]
lea ecx, [esp + 0x74]
push edx
mov dword [esp + 0x48], 0x30
mov dword [esp + 0x4c], 0x42
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov ecx, ebx
mov dword [esp + 0x6c], eax
push esi
call fcn.004a0510
mov ecx, dword [ebx + 0x12ec]
push 0
push 0
push esi
lea eax, [esp + 0x50]
push 0
push eax
push 1
push esi
push ecx
lea ecx, [ebx + 0x1328]
call fcn.004e51a0
mov esi, edi
cmp esi, ebp
jl 0x4a033d
xor eax, eax
mov ecx, 0xc
push eax
push eax
lea edi, [esp + 0x1c]
push esi
lea edx, [esp + 0x20]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x12ec]
push edx
lea ebp, [ebx + 0x1328]
push 1
push esi
push eax
mov ecx, ebp
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 0x100
mov dword [esp + 0x3c], 0x800
call fcn.004e51a0
push 0x98
call fcn.00499730
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x43
mov dword [esp + 0x2c], 0x1001
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ecx, dword [0x615788]
add esp, 8
neg ecx
sbb ecx, ecx
push 0
push 0
and ecx, 8
push 0xffffffffffffffff
lea edx, [esp + 0x20]
mov dword [esp + 0x48], eax
push 0
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x12ec]
push edx
lea eax, [esi + 1]
push 1
push eax
push ecx
mov ecx, ebp
call fcn.004e51a0
push 0x8c
call fcn.00499730
mov edx, eax
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x1c], 0x30
mov dword [esp + 0x20], 0x42
mov dword [esp + 0x2c], 0x1000
mov dword [esp + 0x40], edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 8
lea edx, [esp + 0x14]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x12ec]
push 0
push 0
push 0xffffffffffffffff
push 0
push edx
add esi, 2
push 1
push esi
push eax
mov ecx, ebp
call fcn.004e51a0
mov ecx, ebx
call fcn.004a0050
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x26c
ret
Function at 0x4a0960
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x208
push esi
push edi
mov esi, ecx
call fcn.004a1800
mov eax, dword [esp + 0x214]
push eax
call fcn.004a1800
mov ecx, eax
call fcn.004a1a30
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x4a09b4
lea ecx, [esp + 8]
push 0x103
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 8], 0
mov ecx, esi
je 0x4a09ce
call fcn.0049f270
pop edi
pop esi
add esp, 0x208
ret 4
call fcn.004a0000
pop edi
pop esi
add esp, 0x208
ret 4
Function at 0x4a3e20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov eax, dword [eax + 4]
push edi
test eax, eax
jne 0x4a3e37
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0x55a000
push eax
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x4a3ec8
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 4]
test ebx, ebx
jne 0x4a3e65
mov ebx, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
test ebx, ebx
jne 0x4a3e65
xor esi, esi
jmp 0x4a3e97
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00512b50
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 8]
push eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
lea esp, [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4a4650
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
cmp word [eax], 0
push edi
je 0x4a46f9
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, eax
add esp, 4
inc ebp
je 0x4a46f9
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x4a46f9
mov eax, dword [esp + 0x18]
lea ebx, [ebp + ebp]
mov dword [esi], 0
mov dword [esi + 4], 0
push ebx
mov dword [esi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 4], edi
je 0x4a46f9
mov ecx, ebx
xor eax, eax
mov edx, ecx
push ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0
push edx
push 0
push esi
push 0x4a4550
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x4a4710
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x5dd290]
sub esp, 0xc
test eax, eax
push esi
mov esi, ecx
jne 0x4a476c
mov eax, 4
lea ecx, [esp + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
push ecx
push edx
push 0x52e110
push str.Software360360se3
push SysReAllocStringLen
mov dword [0x5dd290], 1
mov dword [esp + 0x1c], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4a476c
mov eax, dword [esp + 4]
mov dword [esi], eax
pop esi
add esp, 0xc
ret

Function at 0x4a4786
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
call fcn.004a4710
mov eax, dword [esi]
pop esi
cmp eax, 0xff
jne 0x4a4812
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
lea edx, [esp + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
push str.Debugger
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionAeDebug
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
pop edi
jne 0x4a4812
cmp word [esp + 8], ax
je 0x4a4812
lea eax, [esp + 8]
push str.windbg.exe
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4a4812
mov eax, 1
add esp, 0x210
ret
xor eax, eax
add esp, 0x210
ret
mov ecx, 0x5dce78
jmp 0x4a4780
Function at 0x4a4e50
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x12a4
call fcn.00512b50
mov ax, word [0x560ec0]
push ebx
push ebp
push esi
mov esi, ecx
mov ebp, dword [esp + 0x12c8]
push edi
mov word [esp + 0x64], ax
mov ecx, 0x493
xor eax, eax
lea edi, [esp + 0x66]
lea edx, [esi + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x21c]
mov ebx, ebp
push ecx
push str._tmp:
push edx
push 0x54e3cc
mov ecx, 0x560ee8
and ebx, 0x20
stosw word es:[edi], ax
call fcn.0040bee0
xor ecx, ecx
mov edx, dword [esp + 0x12d8]
mov ch, byte [esi + 0x10]
push eax
mov eax, dword [0x5deb7c]
mov cl, byte [esi + 0xc]
push str._gw:
push eax
mov eax, dword [esp + 0x12d8]
push str._mw:
push ecx
push 0x52e8c0
push ebp
push 0x52e70c
push edx
push 0x52e8a0
mov ecx, dword [esp + 0x12f8]
push eax
mov edx, dword [esp + 0x12f4]
mov eax, ebp
and al, 2
push 0x52e8b0
neg al
sbb eax, eax
push ecx
and eax, 5
push 0x52e8a8
push edx
inc eax
push 0x52e8b8
push eax
push str._tp:
push 0x560f4c
push str.__s___s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s_d__s__s___s__s_
lea ecx, [esp + 0xc4]
push 0x927
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x68
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
xor ebp, ebp
xor edx, edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], edx
push eax
push ecx
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x54], 0x80
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], edx
push ebp
mov edx, ebx
push ebp
neg edx
sbb edx, edx
lea eax, [esp + 0x74]
and edx, 0x40
push edx
push 1
push ebp
push ebp
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, ebp
je 0x4a4fa0
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x4a4fa0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x12c8]
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
cmp eax, 1
jne 0x4a4fd7
xor eax, eax
mov dword [esi + 0x424], edx
test ebx, ebx
sete al
mov dword [esi + 0x430], eax
mov dword [esi + 0x428], ebp
mov dword [esi + 0x42c], ecx
mov eax, dword [esp + 0x12c4]
test eax, eax
je 0x4a4ff1
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12a4
ret 0x18

Function at 0x4a5b10
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x2090
call fcn.00512b50
push esi
mov esi, ecx
push 0x445
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edx, eax
test edx, edx
je 0x4a5b78
push edi
mov ecx, 0x823
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
push 0x1047
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push edx
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
push 0x52e450
push 0x1047
push 0x5f5800
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
pop edi
call fcn.004a9770
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop esi
add esp, 0x2090
ret
Function at 0x4a6200
Capabilities:
Get common file path
Get system information on windows

Disassembly:
sub esp, 0x22c
call fcn.004a5ba0
mov eax, dword [esp + 0x230]
push eax
call fcn.0040c160
add esp, 4
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x14], 1
jne 0x4a6237
mov dword [0x5f42f0], 0
cmp word [0x5f78c0], 0
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
push edi
je 0x4a6255
push 0x5f78c0
call esi
cmp eax, 0xffffffff
jne 0x4a62a8
mov dx, word [0x560ec0]
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 0x5f78c0
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, dword [0x55bb38]
xor edi, edi
test eax, eax
jbe 0x4a62d7
mov esi, str.MainBarText
mov edx, dword [esi + 0x20]
push edx
push esi
push 0x52e63c
call fcn.0040ca90
mov eax, dword [0x55bb38]
add esp, 0xc
inc edi
add esi, 0x30
cmp edi, eax
jb 0x4a62b8
mov eax, dword [0x55bb3c]
xor edi, edi
test eax, eax
jbe 0x4a630d
mov esi, 0x55b6ac
mov eax, dword [esi + 4]
mov ecx, dword [esi]
dec eax
lea edx, [esi - 0x20]
push eax
push ecx
push edx
push 0x52e63c
call fcn.0040c870
mov eax, dword [0x55bb3c]
add esp, 0x10
inc edi
add esi, 0x30
cmp edi, eax
jb 0x4a62e7
mov eax, dword [0x5f42f8]
mov ecx, dword [0x5f42f0]
mov dword [0x5deb74], eax
mov dword [0x5deb78], ecx
call fcn.004a6340
mov ecx, section..taihang
call fcn.00497b50
call fcn.00410ff0
pop edi
pop esi
add esp, 0x22c
ret

Function at 0x4a9ea0
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 4], 0
je 0x4a9edc
cmp word [esi], 0
je 0x4a9edc
call fcn.004a9e80
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 0x4a9ef9
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 0x4a9ef9
xor eax, eax
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 8
Function at 0x4ac670
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.004ac880
add esp, 8
test eax, eax
jne 0x4ac6a9
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.004ac8c0
add esp, 8
test eax, eax
jne 0x4ac6e9
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 0x4ac72b
xor esi, esi
jmp 0x4ac7be
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x4ac743
xor esi, esi
jmp 0x4ac7be
mov eax, dword [esp + 8]
cmp ax, 0x76c
jae 0x4ac751
xor eax, eax
jmp 0x4ac7bc
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 0x52e63c
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 0x4ac7f0
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x55bd04]
sub esp, 8
cmp eax, 0xffffffff
jne 0x4ac842
lea eax, [esp]
mov dword [esp], 1
push eax
push str.ShowNumMenu
push str.skin
call fcn.0040ca90
add esp, 0xc
test eax, eax
jne 0x4ac82c
mov dword [0x55bd04], 1
jmp 0x4ac842
mov eax, dword [esp]
test eax, eax
mov dword [0x55bd04], eax
jne 0x4ac842
call fcn.004ac670
test eax, eax
je 0x4ac873
mov edx, dword [esp + 0xc]
lea ecx, [esp + 4]
push ecx
push 0
push edx
push 0x4ac940
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4ac873
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 8
ret

Function at 0x4ac880
Capabilities:
Check if file exists

Disassembly:
push esi
push str.newSkin.dat
mov ecx, 0x560ee8
call fcn.0040a4f0
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 0x4ac8c0
Capabilities:
Check if file exists

Disassembly:
push esi
push str.Update.ini
push str.SkinUpdate
mov ecx, 0x560ee8
call fcn.0040a4f0
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 0x4aced0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004ad2b0
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 + 0x1874]
mov ecx, ebx
call fcn.00424730
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 0x52e450
push 0x824
push edx
call ebp
mov dx, word [0x560ec0]
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 0x52e450
push 0x104
push edx
call ebp
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x4acfe0
mov dword [ebx + 0x2698], esi
call fcn.00424660
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret

Function at 0x4ad550
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 0x4ad5cf
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 0x4ad5d1
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret
Function at 0x4ad5e0
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1084
call fcn.00512b50
mov edx, dword [esp + 0x1088]
xor eax, eax
test edx, edx
push esi
je 0x4ad6e5
mov esi, dword [esp + 0x1090]
test esi, esi
je 0x4ad6e5
mov edx, dword [esp + 0x1094]
test edx, edx
je 0x4ad6e5
mov eax, dword [0x5de220]
test eax, eax
je 0x4ad6d8
call fcn.004ad550
test eax, eax
jne 0x4ad6d8
push edi
mov ecx, 0x411
lea edi, [esp + 0x46]
mov word [esp + 0x44], ax
rep stosd dword es:[edi], eax
push esi
push 0x52e6f0
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], 0x560f4c
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop edi
je 0x4ad6c9
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.00404a20
mov ecx, eax
call fcn.0042eb40
pop esi
add esp, 0x1084
ret 0x10
Function at 0x4add90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516b30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x66c
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esp
call fcn.004ada30
xor esi, esi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x676]
mov word [ebp - 0x678], si
push esi
rep stosd dword es:[edi], eax
mov ecx, dword [0x5e3f3c]
push 0x103
stosw word es:[edi], ax
lea eax, [ebp - 0x678]
push eax
push ecx
call fcn.0043db50
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x46e]
mov word [ebp - 0x470], si
rep stosd dword es:[edi], eax
add esp, 0x10
lea edx, [ebp - 0x678]
stosw word es:[edi], ax
push 0x55c0cc
push edx
push str._sskin_s
lea eax, [ebp - 0x470]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [ebp - 0x268]
lea edx, [ebp - 0x470]
mov word [ebp - 0x26a], si
push ecx
push edx
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp - 0x18], ebx
je 0x4adf0e
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x23c]
push 0x52e638
push eax
call edi
add esp, 8
test eax, eax
je 0x4adef1
lea ecx, [ebp - 0x23c]
push 0x542078
push ecx
call edi
add esp, 8
test eax, eax
je 0x4adef1
test byte [ebp - 0x268], 0x10
jne 0x4adef1
lea edx, [ebp - 0x23c]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
cmp eax, 5
jl 0x4adef1
lea esi, [ebp + eax*2 - 0x244]
push 4
push str..zip
push esi
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4adef1
mov word [esi], ax
lea eax, [ebp - 0x23c]
push str.IE6Default
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4adf1f
lea ecx, [ebp - 0x23c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004adb00
lea ecx, [ebp - 0x268]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4ade62
push ebx
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
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x23c]
push edx
lea ecx, [eax + 0x24]
call fcn.004af180
jmp 0x4adef1