joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cea40
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 0x424754
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 0x4edc1c
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 0x424782
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.00424b20
cmp eax, ebx
jne 0x4247ab
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 0x4247f4
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 0x424827
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 0x42485c
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.00424bf0
test eax, eax
push ebx
jne 0x42488f
call fcn.0049bb1b
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.0049bb1b
add esp, 4
mov ecx, edi
push esi
call fcn.00424c60
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 0x424b20
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 0x424b71
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424b8b
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 0x424bc7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424be1
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 0x424c60
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 0x424c7a
mov dword [esp + 4], edi
jmp 0x424c89
mov eax, dword [ecx + 0x214]
sub eax, edx
sar eax, 2
mov dword [esp + 4], eax
cmp dword [esp + 4], edi
jle 0x424cd3
push ebx
push ebp
push esi
jmp 0x424c98
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.00424650
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x424c94
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x425470
Capabilities:
Get file version info

Disassembly:
mov eax, 0x400c
call fcn.0049bb40
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 0x425539
cmp eax, 0x3fff
ja 0x425539
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x425539
lea edx, [esp + 0x10]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x4e36f4
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x425539
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 0x425550
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 0x425576
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, 1
je 0x425578
mov eax, esi
pop esi
ret
Function at 0x427e60
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4ceace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [esp + 0x130]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0xf
mov dword [esi + 0x18a0], eax
mov dx, word [0x4f5820]
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
mov ecx, 0xf
lea edi, [esp + 0x7e]
mov dword [esp + 0x64], 0x7e
mov byte [esp + 0x68], 4
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov word [esp + 0x7c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov ecx, 0xf
mov dword [esp + 0xcc], eax
lea edi, [esp + 0xd6]
mov dword [esp + 0xbc], 0x7f
mov byte [esp + 0xc0], 4
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0x8c
mov dword [esp + 0xd0], eax
mov word [esp + 0xd4], dx
rep stosd dword es:[edi], eax
xor ecx, ecx
push ebp
stosw word es:[edi], ax
mov dword [esp + 0x128], ecx
mov dword [esp + 0x118], 0x80
mov dword [esp + 0x12c], ecx
mov ecx, esi
mov byte [esp + 0x11c], 4
mov dword [esp + 0x120], 0x40
mov dword [esp + 0x124], 1
call fcn.00497b40
push 1
mov ecx, esi
call fcn.00498080
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.00497a20
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 + 0x130], ebp
je 0x427fb9
mov ecx, eax
call fcn.0047fcb0
mov edi, eax
jmp 0x427fbb
xor edi, edi
push 0x10
push 0x10
mov ecx, edi
mov dword [esp + 0x138], 0xffffffff
call fcn.00480600
push str.IL_FINDBARITEM
mov ecx, edi
call fcn.0047fe10
push edi
mov ecx, esi
call fcn.00498250
lea edx, [esp + 0x20]
push 3
push edx
mov ecx, esi
call fcn.00495700
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x138]
push 1
push ebp
push ebp
push 0x3ec
push eax
push ecx
push str.FindBar
mov ecx, esi
call fcn.004955c0
mov eax, dword [esi + 8]
lea edx, [esp + 0xc]
push edx
push 0x3e8
push eax
push eax
lea ecx, [esi + 0x6e8]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], 0x8c
mov dword [esp + 0x28], 0x16
call fcn.0047c9b0
mov eax, dword [esi + 0x71c]
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 0x427e10
push esi
push edx
lea ecx, [esi + 0x1868]
call fcn.0047bf00
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x429990
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, 0x4f5828
stosw word es:[edi], ax
call fcn.00406b00
mov esi, eax
push str.user.dat
lea eax, [esp + 0xc]
push 0x103
push eax
call fcn.004252b0
push 0
push esi
call fcn.004251c0
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 0x14
test eax, eax
jne 0x4299f0
lea ecx, [esp + 8]
push esi
push ecx
call edi
push str.history.dat
lea edx, [esp + 0xc]
push 0x103
push edx
call fcn.004252b0
add esp, 0xc
mov ecx, 0x4f5828
push str.history.dat
call fcn.00406b00
mov esi, eax
push 0
push esi
call fcn.004251c0
add esp, 8
test eax, eax
jne 0x429a2f
lea eax, [esp + 8]
push esi
push eax
call edi
pop edi
pop esi
add esp, 0x208
ret

Function at 0x42dbf0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [0x5d00a4]
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.004251d0
push 0
push esi
call fcn.004251c0
add esp, 0x18
test eax, eax
jne 0x42dc36
lea ebx, [edi + 0x2c]
push 2
push esi
push ebx
call fcn.0045a420
push 0
push ebx
call fcn.0045a620
add esp, 0x14
jmp 0x42dc3d
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.0045a420
add esp, 0xc
push 2
push esi
call ebx
pop edi
pop esi
pop ebx
ret
Function at 0x42e410
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push edi
push 0
lea eax, [esi + 0x2c]
push eax
call fcn.0045a620
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 0x42e455
push 1
push str.HasLastPage
push str.Main
call fcn.004073c0
add esp, 0xc
ret

Function at 0x42f850
Capabilities:
Parse url

Disassembly:
sub esp, 0x44c
push ebx
push esi
mov esi, dword [esp + 0x458]
push edi
test esi, esi
je 0x42f947
mov ebx, dword [esp + 0x460]
test ebx, ebx
je 0x42f947
mov dx, word [0x4f5820]
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 0x42f947
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 0x42fe20
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 0x42fe71
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x20]
cmp ecx, edx
je 0x42fe87
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
Function at 0x42ff00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 0x14]
push eax
xor esi, esi
push ecx
push 1
lea edx, [esp + 0x30]
push esi
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], 0xbcde0395
mov word [esp + 0x3c], 0xe52f
mov word [esp + 0x3e], 0x467c
mov byte [esp + 0x40], 0x8e
mov byte [esp + 0x41], 0x3d
mov byte [esp + 0x42], 0xc4
mov byte [esp + 0x43], 0x57
mov byte [esp + 0x44], 0x92
mov byte [esp + 0x45], 0x91
mov byte [esp + 0x46], 0x69
mov byte [esp + 0x47], 0x2e
mov dword [esp + 0x28], 0xa95664d2
mov word [esp + 0x2c], 0x9614
mov word [esp + 0x2e], 0x4f35
mov byte [esp + 0x30], 0xa7
mov byte [esp + 0x31], 0x46
mov byte [esp + 0x32], 0xde
mov byte [esp + 0x33], 0x8d
mov byte [esp + 0x34], 0xb6
mov byte [esp + 0x35], 0x36
mov byte [esp + 0x36], 0x17
mov byte [esp + 0x37], 0xe6
mov dword [esp + 0x48], 0xbfa971f1
mov word [esp + 0x4c], 0x4d5e
mov word [esp + 0x4e], 0x40bb
mov byte [esp + 0x50], 0x93
mov byte [esp + 0x51], 0x5e
mov byte [esp + 0x52], 0x96
mov byte [esp + 0x53], 0x70
mov byte [esp + 0x54], 0x39
mov byte [esp + 0x55], 0xbf
mov byte [esp + 0x56], 0xbe
mov byte [esp + 0x57], 0xe4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43008d
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x43008d
lea edx, [esp + 0xc]
mov dword [esp + 0xc], esi
mov ecx, dword [eax]
push edx
push 1
push esi
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x430083
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x430083
lea edx, [esp + 8]
mov dword [esp + 8], esi
mov ecx, dword [eax]
push edx
push esi
lea edx, [esp + 0x3c]
push 1
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jl 0x430079
mov eax, dword [esp + 8]
cmp eax, esi
je 0x430079
lea edx, [esp + 4]
mov dword [esp + 4], esi
mov ecx, dword [eax]
push edx
push esi
push 0x5ca590
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x43006f
mov eax, dword [esp + 4]
cmp eax, esi
je 0x43006f
mov edx, dword [esp + 0x48]
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x14]
mov esi, eax
mov eax, dword [esp + 4]
neg esi
mov ecx, dword [eax]
push eax
sbb esi, esi
inc esi
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 0x40
ret
Function at 0x4300a0
Capabilities:
Create process on windows
Get common file path
Get program files directory
Initialize iwebbrowser2
Query or enumerate registry value

Disassembly:
sub esp, 0x440
push ebx
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_wcslen]
push esi
mov esi, dword [esp + 0x450]
push esi
call ebp
add esp, 4
test eax, eax
jne 0x4300ca
pop esi
pop ebp
pop ebx
add esp, 0x440
ret
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x42]
mov word [esp + 0x40], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x24a]
mov word [esp + 0x248], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea eax, [esp + 0x24c]
push 0x26
push eax
push ebx
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x248]
lea edx, [esp + 0x40]
push ecx
push str._sInternet_Exploreriexplore.exe
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.004251c0
add esp, 0x18
test eax, eax
pop edi
jne 0x430188
lea ecx, [esp + 0x18]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
push 0x4f5820
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.004251c0
add esp, 8
test eax, eax
jne 0x430188
mov word [esp + 0x3c], bx
lea edx, [esp + 0x3c]
push edx
call ebp
add esp, 4
test eax, eax
jbe 0x4301c0
push 0xa
push ebx
lea eax, [esp + 0x44]
push esi
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x440
ret
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
push ecx
push 0x4d5228
push 0x15
push ebx
push 0x4d51f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x4301ec
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x440
ret
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x430272
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x94]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x430222
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esp + 0x10]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea edx, [esp + 0x1c]
mov esi, eax
push edx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov word [esp + 0x20], bx
push edx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0x28]
push edx
lea edx, [esp + 0x3c]
mov word [esp + 0x3c], 8
mov dword [esp + 0x44], esi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x440
ret
Function at 0x430610
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 0x10], eax
jne 0x430633
xor ax, ax
pop edi
add esp, 8
ret
push ebx
push esi
push eax
xor ebx, ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
mov esi, eax
push esi
push ecx
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x430677
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x430677
mov edx, dword [esp + 0x10]
mov bx, word [edx]
push esi
call fcn.0049bb1b
add esp, 4
mov ax, bx
pop esi
pop ebx
pop edi
add esp, 8
ret

Function at 0x4307e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 8
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x4d5168
push 1
push 0
push 0x4d5198
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x43087a
mov ecx, dword [esp]
test ecx, ecx
je 0x43087a
mov eax, dword [esp + 0x10]
push esi
mov dword [esp + 8], 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x4d5298
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x43086d
mov eax, dword [esp + 8]
test eax, eax
je 0x43086d
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x431310
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x43132e
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
lea edi, [esi + 0x218]
xor ebp, ebp
mov eax, dword [edi + 8]
test eax, eax
je 0x431365
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x431365
mov edx, eax
mov ebx, dword [edx + ebp*4]
test ebx, ebx
je 0x431362
mov ecx, ebx
call fcn.00431540
push ebx
call fcn.0049bb1b
add esp, 4
inc ebp
jmp 0x431336
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov eax, edx
cmp eax, edx
je 0x43137f
mov ebx, dword [eax]
add eax, 4
mov dword [ecx], ebx
add ecx, 4
cmp eax, edx
jne 0x431371
mov eax, dword [edi + 0xc]
mov dword [edi + 0xc], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x22c]
test eax, eax
je 0x4313a7
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [esi + 0x22c], 0
mov ebx, dword [esp + 0x34]
lea ecx, [esi + 0x10]
push ebx
push 0x4e33c0
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4ee874
push ebx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 0x18
mov dword [esi + 0x22c], eax
test eax, eax
jne 0x4313e6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
xor edx, edx
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov dword [esp + 0x1e], edx
push eax
mov dword [esp + 0x26], edx
push 0xa
mov dword [esp + 0x2e], edx
lea eax, [esp + 0x24]
mov dword [esp + 0x32], edx
push 2
push eax
mov word [esp + 0x2c], 0
mov word [esp + 0x3e], dx
call ebx
add esp, 0x10
cmp eax, 0xa
jne 0x431508
lea ecx, [esp + 0x1c]
push str.TWHIS
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x431508
mov edx, dword [esi + 0x22c]
lea eax, [esp + 0x10]
push edx
push 1
push 4
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x431508
mov eax, dword [esp + 0x10]
mov ebp, 0x3e8
cmp eax, ebp
jne 0x431508
mov ecx, dword [esi + 0x22c]
lea edx, [esp + 0x14]
push ecx
push 1
push 4
push edx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x431508
cmp dword [esp + 0x14], ebp
jne 0x431508
mov eax, dword [esi + 0x22c]
lea ecx, [esi + 0xc]
push eax
push 1
push 4
push ecx
call ebx
add esp, 0x10
cmp eax, 1
jne 0x431508
mov edx, dword [esi + 0x22c]
lea ebp, [esi + 8]
push edx
push eax
push 4
push ebp
call ebx
add esp, 0x10
cmp eax, 1
jne 0x431508
mov eax, dword [ebp]
test eax, eax
jle 0x431508
lea eax, [eax + eax*2]
shl eax, 2
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 4], eax
test eax, eax
je 0x431508
mov ecx, dword [esi + 0x22c]
mov edx, dword [ebp]
push ecx
push edx
push 0xc
push eax
call ebx
mov ecx, dword [ebp]
add esp, 0x10
cmp eax, ecx
je 0x431515
mov eax, dword [esi + 4]
push eax
call fcn.0049bb1b
add esp, 4
mov dword [esi + 4], 0
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x20
ret 4
mov ecx, esi
call fcn.004312a0
push edi
push eax
mov ecx, esi
call fcn.00431790
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4