joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4206c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x208
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xe4]
test eax, eax
jne 0x4207b7
mov eax, dword [esi + 0xf0]
dec eax
je 0x42076b
dec eax
jne 0x4207c7
mov ecx, dword [esi + 0xd3c]
lea eax, [esi + 0xb30]
push 0x4f81c4
push eax
call fcn.0041d100
mov edx, eax
test edx, edx
je 0x4207c7
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xa]
mov word [esp + 8], 0
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0xc]
push 0x103
push ecx
push 0x50fd10
push str.Type
push str.Global
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 8], 0
je 0x4207c7
mov ecx, dword [esi + 0xd3c]
lea edx, [esi + 0xe0]
lea eax, [esp + 8]
push edx
push eax
call fcn.004205b0
pop edi
pop esi
add esp, 0x208
ret
mov edi, dword [esi + 0xd38]
test edi, edi
jne 0x420782
mov ecx, esi
call fcn.004205e0
mov edi, eax
test edi, edi
je 0x4207c7
push str.Ext_GetExtensionType
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x5e3184], eax
je 0x42079f
call eax
mov dword [esi + 0xe0], eax
cmp edi, dword [esi + 0xd38]
je 0x4207c7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
add esp, 0x208
ret
cmp eax, 1
jne 0x4207c7
call fcn.004ae030
mov dword [esi + 0xe0], eax
pop edi
pop esi
add esp, 0x208
ret
Function at 0x420c90
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 0xe0]
sub esp, 0xa2c
cmp eax, 0x2000
push ebp
push esi
jne 0x420e43
lea eax, [ecx + 0xb30]
mov ecx, dword [ecx + 0xd3c]
push 0x4f81c4
push eax
mov dword [esp + 0x10], eax
call fcn.0041d100
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x420e43
push ebx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x836]
mov word [esp + 0x834], bp
rep stosd dword es:[edi], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
stosw word es:[edi], ax
lea eax, [esp + 0x838]
push 0x103
push eax
push 0x50fd10
push str.Text
push str.SideWeb
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x62e]
mov word [esp + 0x62c], bp
rep stosd dword es:[edi], eax
push esi
lea ecx, [esp + 0x630]
push 0x103
push ecx
push 0x50fd10
push 0x4f8498
push str.SideWeb
stosw word es:[edi], ax
call ebx
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
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], bp
rep stosd dword es:[edi], eax
push esi
lea edx, [esp + 0x220]
push 0x103
push edx
push 0x50fd10
push str.Icon
push str.SideWeb
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x426]
mov word [esp + 0x424], bp
rep stosd dword es:[edi], eax
push 0x5c
push esi
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll_wcsrchr]
add esp, 8
cmp eax, ebp
pop edi
pop ebx
je 0x420e03
sub eax, esi
sar eax, 1
cmp eax, 0x103
jbe 0x420dd3
mov eax, 0x103
push eax
lea eax, [esp + 0x420]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
lea ecx, [esp + 0x214]
lea edx, [esp + 0x41c]
lea eax, [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
jmp 0x420e19
lea ecx, [esp + 0x214]
lea edx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x624]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x830]
push ecx
mov ecx, dword [esp + 0xa40]
push edx
push eax
push ecx
call fcn.0046ce70
add esp, 0x14
pop esi
pop ebp
add esp, 0xa2c
ret 4
Function at 0x4218c0
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0x414
push ebx
lea eax, [esp + 4]
push edi
push eax
xor ebx, ebx
push str.Count
push str.UnInstallExt
mov dword [esp + 0x14], ebx
call fcn.004083e0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x222]
mov word [esp + 0x220], bx
rep stosd dword es:[edi], eax
mov cx, word [0x50fd10]
add esp, 0xc
stosw word es:[edi], ax
mov word [esp + 0xc], cx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 8], ebx
jbe 0x4219da
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x220]
push str.ext_d
lea edx, [esp + 0x1c]
push 0x103
push edx
rep stosd dword es:[edi], eax
call ebp
lea eax, [esp + 0x22c]
push 0x104
lea ecx, [esp + 0x28]
push eax
push ecx
push str.UnInstallExt
call fcn.00408320
add esp, 0x20
lea edx, [esp + 0x21c]
push 0x4f81cc
push edx
call fcn.0041afd0
mov ecx, eax
call fcn.0041d100
mov esi, eax
push 0
push esi
call fcn.00427930
add esp, 8
test eax, eax
je 0x4219cb
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4219bd
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x4219a4
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x10]
inc ebx
cmp ebx, eax
jb 0x42192c
pop esi
pop ebp
push str.UnInstallExt
call fcn.00408010
add esp, 4
pop edi
pop ebx
add esp, 0x414
ret
Function at 0x4219f0
Capabilities:
Delete directory
Delete file

Disassembly:
sub esp, 0xa30
push ebp
push esi
mov esi, dword [esp + 0xa3c]
xor ebp, ebp
push 1
push esi
mov dword [esp + 0x10], ebp
call fcn.00427930
add esp, 8
test eax, eax
je 0x421c31
push ebp
lea eax, [esp + 0xc]
push esi
push eax
call fcn.004619a0
add esp, 0xc
cmp eax, 1
je 0x421c31
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x421c31
push ebx
push edi
push ebp
push str.Count
push str.UnInstallExt
push eax
call fcn.00461fa0
mov esi, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x84a]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov word [esp + 0x848], bp
add esp, 0x10
mov dword [esp + 0x14], esi
rep stosd dword es:[edi], eax
push esi
push 0x4f6b34
lea ecx, [esp + 0x840]
push 0x104
push ecx
stosw word es:[edi], ax
call ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x232]
mov word [esp + 0x230], bp
rep stosd dword es:[edi], eax
mov dx, word [0x50fd10]
mov ecx, 0x81
stosw word es:[edi], ax
xor eax, eax
lea edi, [esp + 0x43a]
mov word [esp + 0x438], dx
add esp, 0x10
rep stosd dword es:[edi], eax
test esi, esi
stosw word es:[edi], ax
jbe 0x421c12
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x428]
push ebp
rep stosd dword es:[edi], eax
mov ecx, 0x82
lea edi, [esp + 0x224]
rep stosd dword es:[edi], eax
push str.ext_d
lea eax, [esp + 0x430]
push 0x103
push eax
call ebx
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x230]
push 0x103
lea edx, [esp + 0x43c]
push ecx
push edx
push str.UnInstallExt
push eax
call fcn.00461e50
mov dx, word [0x50fd10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], dx
mov word [esp + 0x654], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x5eb514]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x656]
rep stosd dword es:[edi], eax
push 0
lea ecx, [esp + 0x658]
push 0x104
push ecx
push edx
stosw word es:[edi], ax
call fcn.00427940
add esp, 0x34
lea eax, [esp + 0x220]
lea ecx, [esp + 0x220]
lea edx, [esp + 0x630]
push eax
push ecx
push str.Extensions
push edx
push str._s_s_s_s.dll
lea eax, [esp + 0x2c]
push 0x103
push eax
call ebx
mov eax, dword [0x5e45f4]
add esp, 0x1c
test eax, eax
jne 0x421be4
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x421bd8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x421bb9
jmp 0x421bef
mov dword [0x5e45f4], 1
jmp 0x421bef
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jb 0x421ad3
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00461ba0
mov eax, dword [esp + 0xa4c]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0xa30
ret 4
Function at 0x4265b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.004263d0
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.00415110
lea edx, [ebx + 0x5d4d8]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x214]
push ecx
push 0x4f6580
push 0x824
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x50fd10]
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 0x4f6870
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebx + 0x5d0c8]
push ebp
mov ecx, 0x82
xor eax, eax
mov edi, edx
push 0x4f6580
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 + 0x2694], 0x426780
mov dword [ebx + 0x2690], esi
call fcn.00415040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x426e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfbe0
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 0x426ec4
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 0x5011d4
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 0x426ef2
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.00427290
cmp eax, ebx
jne 0x426f1b
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 0x426f64
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 0x426f97
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 0x426fcc
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.00427360
test eax, eax
push ebx
jne 0x426fff
call fcn.004acab9
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.004acab9
add esp, 4
mov ecx, edi
push esi
call fcn.004273d0
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 0x427290
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 0x4272e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4272fb
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 0x427337
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x427351
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 0x4273d0
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 0x4273ea
mov dword [esp + 4], edi
jmp 0x4273f9
mov eax, dword [ecx + 0x214]
sub eax, edx
sar eax, 2
mov dword [esp + 4], eax
cmp dword [esp + 4], edi
jle 0x427443
push ebx
push ebp
push esi
jmp 0x427408
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.00426dc0
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x427404
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x427be0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.004acae0
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 0x427ca9
cmp eax, 0x3fff
ja 0x427ca9
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x427ca9
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x4f6a24
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x427ca9
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 0x427cc0
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 0x427ce6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x427ce8
mov eax, esi
pop esi
ret
Function at 0x42a6d0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4dfc6e
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 + 0x18a8], eax
mov dx, word [0x50fd10]
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.004a8a20
push 1
mov ecx, esi
call fcn.004a8f70
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.004a8900
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 0x42a841
mov ecx, eax
call fcn.00490820
mov edi, eax
jmp 0x42a843
xor edi, edi
push 0x10
push 0x10
mov ecx, edi
mov dword [esp + 0x144], 0xffffffff
call fcn.00491200
push str.IL_FINDBARITEM
mov ecx, edi
call fcn.004909a0
push edi
mov ecx, esi
call fcn.004a9150
lea edx, [esp + 0x20]
push 3
push edx
mov ecx, esi
call fcn.004a6520
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.004a63e0
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 0x3e8
push eax
push eax
lea ecx, [esi + 0x6f0]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x8c
mov dword [esp + 0x28], 0x16
call fcn.0048d3d0
mov eax, dword [esi + 0x724]
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 0x42a680
push esi
push edx
lea ecx, [esi + 0x1870]
call fcn.0048c920
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x134
ret 8
Function at 0x42c210
Capabilities:
Get keyboard layout

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
cmp esi, 7
je 0x42c22f
cmp esi, 0x51
jne 0x42c241
mov eax, dword [esp + 0x18]
mov dword [0x6e108c], eax
jmp 0x42c241
mov ecx, dword [0x50fd48]
push 0
push 0
push ecx
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [0x50fd48], esi
jne 0x42c26c
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [0x6e108c]
cmp ecx, eax
je 0x42c26c
push 0
push ecx
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
pop edi
pop esi
ret

Function at 0x42c570
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 str.user.dat
mov ecx, 0x50fd18
stosw word es:[edi], ax
call fcn.00407ba0
mov esi, eax
push str.user.dat
lea eax, [esp + 0xc]
push 0x103
push eax
call fcn.00427a20
push 0
push esi
call fcn.00427930
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x14
test eax, eax
jne 0x42c5d0
lea ecx, [esp + 8]
push esi
push ecx
call edi
push str.history.dat
lea edx, [esp + 0xc]
push 0x103
push edx
call fcn.00427a20
add esp, 0xc
mov ecx, 0x50fd18
push str.history.dat
call fcn.00407ba0
mov esi, eax
push 0
push esi
call fcn.00427930
add esp, 8
test eax, eax
jne 0x42c60f
lea eax, [esp + 8]
push esi
push eax
call edi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x431320
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [0x5eb514]
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.00427940
push 0
push esi
call fcn.00427930
add esp, 0x18
test eax, eax
jne 0x431366
lea ebx, [edi + 0x2c]
push 2
push esi
push ebx
call fcn.004619a0
push 0
push ebx
call fcn.00461ba0
add esp, 0x14
jmp 0x43136d
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.004619a0
add esp, 0xc
push 2
push esi
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x431b30
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea eax, [esi + 0x2c]
push eax
call fcn.00461ba0
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 0x431b75
push 1
push str.HasLastPage
push str.Main
call fcn.004084b0
add esp, 0xc
ret

Function at 0x4338d0
Capabilities:
Parse url

Disassembly:
sub esp, 0x44c
push ebx
push esi
mov esi, dword [esp + 0x458]
push edi
test esi, esi
je 0x4339c7
mov ebx, dword [esp + 0x460]
test ebx, ebx
je 0x4339c7
mov dx, word [0x50fd10]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x252]
mov word [esp + 0x250], dx
mov word [esp + 0x48], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x4a]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc]
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x254]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, 0x104
push 0
push esi
mov dword [esp + 0x18], 0x3c
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4339c7
mov edx, dword [esp + 0x464]
xor eax, eax
mov edi, ebx
lea ecx, [edx + edx]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
dec edx
rep stosb byte es:[edi], al
lea eax, [esp + 0x48]
lea ecx, [esp + 0x250]
push eax
push ecx
push str._s:___s_favicon.ico
push edx
push ebx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x44c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x44c
ret

Function at 0x433ee0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push esi
push edi
push reloc.DSOUND.dll_DirectSoundCreate
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x433f31
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
cmp ecx, edx
je 0x433f47
lea edx, [esp + 0x20]
push 4
push edx
push 4
push esi
push edi
push reloc.DSOUND.dll_DirectSoundCreate
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop edi
pop esi
add esp, 0xc
ret