joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425d60
Capabilities:
Delete file
Move file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xa28
push ebx
push ebp
xor ebp, ebp
push ebp
push eax
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x425fa9
mov ebx, dword [esp + 0xa38]
push ebp
push ebx
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x425fa9
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
mov word [esp + 0x10], bp
push ebx
rep stosd dword es:[edi], eax
push 0x4ce4dc
lea ecx, [esp + 0x18]
push 0x103
push ecx
stosw word es:[edi], ax
call esi
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0x14
mov word [esp + eax*2 + 0xe], 0x5f
lea eax, [esp + 0x10]
push 1
push eax
push ebx
call edi
cmp eax, ebp
je 0x425e1b
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x425e1b
push 4
lea edx, [esp + 0x14]
push ebp
push edx
call edi
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa28
ret 0xc
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
mov word [esp + 0x218], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62a]
mov word [esp + 0x628], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push 0x4ce4dc
lea eax, [esp + 0x630]
push 0x103
push eax
call esi
lea ecx, [esp + 0x638]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_wcsrchr]
mov ebp, eax
xor edx, edx
add esp, 0x18
cmp ebp, edx
je 0x425e86
mov word [ebp], dx
add ebp, 2
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x422]
mov word [esp + 0x420], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x832]
mov word [esp + 0x830], dx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x628]
stosw word es:[edi], ax
push edx
push 0x4ce4dc
lea eax, [esp + 0x838]
push 0x103
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x420]
push ebp
push 0x4ce4dc
push 0x103
push ecx
call esi
lea edx, [esp + 0x430]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x14
mov word [esp + eax*2 + 0x41e], 0x5f
mov ebp, 1
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x218]
push ebp
rep stosd dword es:[edi], eax
lea eax, [esp + 0x424]
lea ecx, [esp + 0x834]
push eax
push ecx
push str._s._s_d
lea edx, [esp + 0x228]
push 0x103
push edx
call esi
add esp, 0x18
lea eax, [esp + 0x218]
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
test edi, edi
je 0x425f73
lea ecx, [esp + 0x218]
push 0
push ecx
call fcn.0042bc40
add esp, 8
test eax, eax
jne 0x425f8b
inc ebp
cmp ebp, 0x3e8
jl 0x425f0e
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa28
ret 0xc
push 4
lea edx, [esp + 0x14]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edi, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa28
ret 0xc
pop ebp
xor eax, eax
pop ebx
add esp, 0xa28
ret 0xc
Function at 0x4260b0
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0x18a4
call fcn.004b7a60
push esi
push edi
call fcn.0041fda0
xor edx, edx
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x866]
mov word [esp + 0x864], dx
mov word [esp + 0x44], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x46]
mov word [esp + 0x65c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x65e]
mov word [esp + 0x454], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x456]
mov word [esp + 0x24c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x454]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
lea ecx, [esp + 0x454]
push ecx
push str._sTheWorld_
lea edx, [esp + 0x254]
push 0x103
push edx
call esi
lea eax, [esp + 0x25c]
push eax
call fcn.0042c500
add esp, 0x14
lea ecx, [esp + 0x24c]
lea edx, [esp + 0x44]
push ecx
push str._sInitExtAction.ini
push 0x103
push edx
call esi
add esp, 0x10
mov ecx, 0x4e6b38
call fcn.00407c80
push eax
lea eax, [esp + 0x660]
push 0x103
push eax
call esi
lea ecx, [esp + 0x50]
push 1
lea edx, [esp + 0x66c]
push ecx
push edx
call fcn.0042cd80
add esp, 0x18
lea eax, [esp + 0x44]
push eax
push 0x4ce82c
push 7
push str._tp:
push str._s_d__s_s
push 0x823
lea ecx, [esp + 0x87c]
push ecx
call esi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x28]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
lea edx, [esp + 0x864]
push eax
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x1c], 0x4e6b8c
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop edi
pop esi
test eax, eax
je 0x42625a
mov ecx, dword [esp + 0x38]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.UnInstallExt
call fcn.00408410
push str.UpdateExt
call fcn.00408410
add esp, 0x18ac
ret

Function at 0x4264b0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
push esi
call fcn.00425a30
push esi
mov ecx, edi
call fcn.0041f770
push 0
push esi
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x4264dc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
ret 4
Function at 0x4264f0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0
mov dword [esp + 0x14], ecx
push eax
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x426573
mov edi, dword [esp + 0x1c]
push 0
push edi
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x426573
push 1
push edi
call fcn.0042bc40
add esp, 8
test eax, eax
je 0x426573
push 0x20
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push edi
call ebp
test eax, eax
jne 0x42657b
push 0xa
call ebx
inc esi
cmp esi, 0x64
jl 0x426545
mov eax, dword [0x5b876c]
test eax, eax
jne 0x426573
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edi
push edx
call fcn.00425d60
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
pop ebp
mov dword [0x5b876c], 1
pop ebx
pop ecx
ret 0xc

Function at 0x42a870
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0042a690
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.00416b10
lea edx, [ebx + 0x5d4e0]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4ce4dc
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x4e6b30]
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 ebp, [esi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x18]
push 0x4ce840
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebx + 0x5d0d0]
push ebp
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x4ce4dc
push 0x104
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov esi, dword [esi + 4]
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x269c], 0x42aa40
mov dword [ebx + 0x2698], esi
call fcn.00416a40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x42b140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bafb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esp
cmp word [edi + 4], bx
lea eax, [edi + 4]
mov dword [ebp - 0x18], edi
jne 0x42b184
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4da040
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
cmp esi, ebx
mov dword [ebp - 0x1c], esi
jne 0x42b1b2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ecx, edi
call fcn.0042b5a0
cmp eax, ebx
jne 0x42b1db
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x7f]
mov byte [ebp - 0x80], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 0x64
lea eax, [ebp - 0x80]
push 1
push eax
call edi
add esp, 0x10
cmp eax, 0x64
jae 0x42b224
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push 1
lea ecx, [ebp - 0x14]
push 4
push ecx
mov dword [ebp - 0x14], ebx
call edi
add esp, 0x10
cmp eax, 1
jae 0x42b257
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x14]
push esi
push eax
push 1
push ebx
call edi
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp eax, ecx
jae 0x42b28c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x18]
push ecx
push ebx
mov ecx, edi
call fcn.0042b670
test eax, eax
push ebx
jne 0x42b2bf
call fcn.004b7a35
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b7a35
add esp, 4
mov ecx, edi
push esi
call fcn.0042b6e0
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b5a0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov dword [esp + 0x15], eax
push edi
mov dword [esp + 0x1d], eax
push ebp
push 1
lea ecx, [esp + 0x20]
mov word [esp + 0x29], ax
push 0xc
push ecx
mov byte [esp + 0x28], 0
mov byte [esp + 0x33], al
call ebx
add esp, 0x10
mov ecx, 0xc
mov edi, str.TW.3_TAIHANG
lea esi, [esp + 0x18]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42b5f1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42b60b
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
xor edx, edx
push ebp
mov dword [esp + 0x15], edx
push 1
lea eax, [esp + 0x18]
mov word [esp + 0x1d], dx
push 7
push eax
mov byte [esp + 0x20], 0
mov byte [esp + 0x27], dl
call ebx
add esp, 0x10
mov ecx, 7
mov edi, str.3.0.0.1
lea esi, [esp + 0x10]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x42b647
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42b661
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4

Function at 0x42b6e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
mov edx, dword [ecx + 0x210]
push edi
xor edi, edi
mov dword [esp + 8], ecx
cmp edx, edi
jne 0x42b6fa
mov dword [esp + 4], edi
jmp 0x42b709
mov eax, dword [ecx + 0x214]
sub eax, edx
sar eax, 2
mov dword [esp + 4], eax
cmp dword [esp + 4], edi
jle 0x42b753
push ebx
push ebp
push esi
jmp 0x42b718
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x210]
mov ebx, dword [eax + edi*4]
mov esi, dword [ebx + 0x18]
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x20]
mov ebp, eax
push ecx
push 1
push esi
push ebp
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x14
mov ecx, ebx
push esi
push ebp
call fcn.0042b080
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x42b714
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x42c0a0
Capabilities:
Get file size
Write file on windows

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4baffb
push eax
mov eax, 0x271c
mov dword fs:[0], esp
call fcn.004b7a60
mov eax, dword [0x4ce114]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x273c]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x2734], ebx
rep stosd dword es:[edi], eax
je 0x42c0f8
push esi
call ebp
mov ebx, eax
push ebx
lea ecx, [esp + 0x14]
call fcn.004064f0
test eax, eax
je 0x42c12e
mov edi, dword [esp + 0x10]
lea eax, [ebx + ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov dword [ecx - 8], ebx
mov edx, dword [esp + 0x10]
mov word [eax + edx], 0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push 1
mov dword [esp + 0x1c], 0x5c
call fcn.00411a40
mov esi, dword [esp + 0x2740]
test esi, esi
jne 0x42c155
xor eax, eax
jmp 0x42c158
push esi
call ebp
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00411a40
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42c1bd
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4ce0a0]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42c1b6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c1b6
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004b7a35
add esp, 4
xor eax, eax
jmp 0x42c251
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push 0
mov esi, eax
push 0x40
push edi
sub esi, 0x40
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
test esi, esi
jbe 0x42c216
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0x2710
push 0
jbe 0x42c208
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push 0x2710
push edx
push edi
call ebx
sub esi, 0x2710
jne 0x42c1e2
jmp 0x42c216
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push esi
push ecx
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4ce0a0]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42c24c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42c24c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004b7a35
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x272c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2728
ret
Function at 0x42c3f0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.004b7a60
push esi
push edi
mov ecx, 0xfff
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x4018]
stosw word es:[edi], ax
lea eax, [esp + 0xc]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x42c4b9
cmp eax, 0x3fff
ja 0x42c4b9
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42c4b9
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x4ce954
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42c4b9
mov eax, dword [esp + 8]
xor edx, edx
mov esi, dword [esp + 0x4020]
mov edi, dword [esp + 0x401c]
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
push edx
shr eax, 0x10
push eax
push str._d._d._d._d
push esi
push edi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov word [edi + esi*2 - 2], 0
mov eax, 1
pop edi
pop esi
add esp, 0x400c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x400c
ret

Function at 0x42c4d0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x42c4f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x42c4f8
mov eax, esi
pop esi
ret
Function at 0x42ea80
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4bb09e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [esp + 0x13c]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0xf
mov dword [esi + 0x18ac], eax
mov dx, word [0x4e6b30]
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
xor ebp, ebp
rep stosd dword es:[edi], eax
xor ecx, ecx
push 5
stosw word es:[edi], ax
mov dword [esp + 0x74], ecx
xor eax, eax
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x82]
mov dword [esp + 0x7c], ecx
mov ecx, 0xf
mov dword [esp + 0x64], 0x7e
mov byte [esp + 0x68], 4
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov word [esp + 0x80], dx
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0xd4], eax
lea edi, [esp + 0xe2]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc4], 0x7f
mov byte [esp + 0xc8], 4
mov dword [esp + 0xcc], 1
mov dword [esp + 0xd0], 0x8c
mov dword [esp + 0xdc], eax
mov word [esp + 0xe0], dx
rep stosd dword es:[edi], eax
xor ecx, ecx
stosw word es:[edi], ax
mov dword [esp + 0x130], ecx
mov dword [esp + 0x120], 0x80
mov dword [esp + 0x134], ecx
mov byte [esp + 0x124], 4
mov dword [esp + 0x138], ecx
mov ecx, esi
mov dword [esp + 0x128], 0x40
mov dword [esp + 0x12c], 1
call fcn.004b2c10
push 1
mov ecx, esi
call fcn.004b3190
push ebp
push ebp
push ebp
push 2
push 1
push 5
push 3
push 1
push str.BTN_MASK
push ebp
push ebp
mov ecx, esi
call fcn.004b2ae0
push 0x20
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebp
mov dword [esp + 0x13c], ebp
je 0x42ebf1
mov ecx, eax
call fcn.0049a8a0
mov edi, eax
jmp 0x42ebf3
xor edi, edi
push 0x10
push 0x10
mov ecx, edi
mov dword [esp + 0x144], 0xffffffff
call fcn.0049b280
push str.IL_FINDBARITEM
mov ecx, edi
call fcn.0049aa20
push edi
mov ecx, esi
call fcn.004b3370
lea edx, [esp + 0x20]
push 3
push edx
mov ecx, esi
call fcn.004b0670
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x144]
push 1
push ebp
push ebp
push 0x3ec
push eax
push ecx
push str.FindBar
mov ecx, esi
call fcn.004b0530
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 0x3e8
push eax
push eax
lea ecx, [esi + 0x6f4]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x8c
mov dword [esp + 0x28], 0x16
call fcn.00497440
mov eax, dword [esi + 0x728]
push eax
call dword [sym.imp.ole32.dll_RevokeDragDrop]
mov ecx, dword [esi + 8]
push ebp
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 8]
push 0x42ea30
push esi
push edx
lea ecx, [esi + 0x1874]
call fcn.00496990
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x134
ret 8
Function at 0x430610
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp esi, 7
je 0x43062f
cmp esi, 0x51
jne 0x430641
mov eax, dword [esp + 0x18]
mov dword [0x5e375c], eax
jmp 0x430641
mov ecx, dword [0x4e6b68]
push 0
push 0
push ecx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x4e6b68], esi
jne 0x43066c
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [0x5e375c]
cmp ecx, eax
je 0x43066c
push 0
push ecx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
pop edi
pop esi
ret

Function at 0x430890
Capabilities:
Move file

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
push 0
push str.user.dat
mov ecx, 0x4e6b38
stosw word es:[edi], ax
call fcn.00407e90
mov esi, eax
push str.user.dat
lea eax, [esp + 0xc]
push 0x103
push eax
call fcn.0042bd30
push 0
push esi
call fcn.0042bc40
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x14
test eax, eax
jne 0x4308f2
lea ecx, [esp + 8]
push esi
push ecx
call edi
push str.history.dat
lea edx, [esp + 0xc]
push 0x103
push edx
call fcn.0042bd30
add esp, 0xc
mov ecx, 0x4e6b38
push 0
push str.history.dat
call fcn.00407e90
mov esi, eax
push 0
push esi
call fcn.0042bc40
add esp, 8
test eax, eax
jne 0x430933
lea eax, [esp + 8]
push esi
push eax
call edi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x435750
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [0x5c01a4]
push ebx
push esi
push edi
mov edi, ecx
push str.twcache.ini
push 0x103
lea esi, [edi + 0x30]
push esi
push eax
call fcn.0042bc50
push 0
push esi
call fcn.0042bc40
add esp, 0x18
test eax, eax
jne 0x435796
lea ebx, [edi + 0x2c]
push 2
push esi
push ebx
call fcn.00467980
push 0
push ebx
call fcn.00467b80
add esp, 0x14
jmp 0x43579d
mov dword [edi + 8], 1
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
push esi
call ebx
push 1
add edi, 0x2c
push esi
push edi
call fcn.00467980
add esp, 0xc
push 2
push esi
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x435f60
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea eax, [esi + 0x2c]
push eax
call fcn.00467b80
add esp, 8
lea edi, [esi + 0x30]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
pop edi
test eax, eax
pop esi
je 0x435fa5
push 1
push str.HasLastPage
push str.Main
call fcn.00408c60
add esp, 0xc
ret

Function at 0x437b50
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1210
call fcn.004b7a60
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x224]
push 0x1000
push ecx
push ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x437bf9
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
test eax, 0xfffffffc
jbe 0x437bf9
mov ebp, dword [esp + 0x122c]
lea esi, [esp + 0x220]
jmp 0x437ba9
xor edi, edi
mov word [esp + 0x18], di
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi]
lea edx, [esp + 0x18]
push 0x208
push edx
push eax
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
lea ecx, [esp + 0x18]
push ebp
push ecx
call fcn.00437ae0
add esp, 8
test eax, eax
jne 0x437c06
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
inc eax
add esi, 4
shr edx, 2
cmp eax, edx
mov dword [esp + 0x14], eax
jb 0x437ba7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1210
ret
mov ecx, dword [esp + 0x1228]
mov edx, dword [esp + 0x1224]
lea eax, [esp + 0x18]
push eax
push 0x4ce4dc
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1210
ret