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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x4025e4
mov edx, dword fs:[0x18]
xor eax, eax
mov edi, dword [0x4060a4]
cmp dword [edx + 0x24], edi
je 0x402507
test byte [0x40301c], 8
jne 0x402590
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x40302c], 8
jne 0x402553
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x4024a9
cmp esi, 3
jbe 0x402512
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x4024ba
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x40512c]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.2
jmp 0x4024a9
mov dword [esp], 0x40302c
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x402480
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x402480
mov dword [esp], 0x40301c
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x40246b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x402473
mov eax, 0xffffffff
jmp 0x402507

Function at 0x402650
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___wargv
mov esi, dword [eax]
call sym.__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x9e5f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9e5f8c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9e5f52
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9e5ff0
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9e6042
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9e6048
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9fe535
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009fe1f5

Function at 0xa03331
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00a031b0

Function at 0xa088e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa0890d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa0890d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4061b0
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x464a98]
sub esp, 8
push ebp
xor ebp, ebp
cmp eax, ebp
jle 0x406280
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov dword [esp + 0xc], ebp
push edi
mov eax, dword [0x464bc0]
add eax, ebp
je 0x406260
mov ecx, dword [eax]
cmp ecx, 0x1f
jne 0x40620b
mov eax, dword [eax + 0xa10]
test eax, eax
je 0x406260
mov eax, dword [eax + 0x24]
test eax, eax
je 0x406260
lea edx, [eax + 8]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406200
jmp 0x406259
cmp ecx, 0x1b
jne 0x406260
mov eax, dword [eax + 0xa10]
test eax, eax
je 0x406260
mov esi, dword [eax + 0x24]
test esi, esi
je 0x406260
lea edx, [esi + 8]
mov eax, edx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406230
sub eax, edi
je 0x406240
push edx
call ebx
lea edx, [esi + 0x110]
mov eax, edx
lea esi, [eax + 1]
jmp 0x406250
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x406250
sub eax, esi
je 0x406260
push edx
call ebx
mov eax, dword [esp + 0x10]
add eax, 1
add ebp, 0x1008
cmp eax, dword [0x464a98]
mov dword [esp + 0x10], eax
jl 0x4061d0
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x406fb0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
xor ebx, ebx
xor esi, esi
call fcn.00428f60
mov edi, eax
add esp, 4
test edi, edi
jne 0x406fda
mov ebp, 1
jmp 0x40708d
lea ecx, [esp + 0x10]
push ecx
push edi
call fcn.00428730
add esp, 8
test eax, eax
je 0x406ff6
mov ebp, 2
jmp 0x40708d
push edi
call fcn.00428ac0
add esp, 4
test eax, eax
je 0x40700d
mov ebp, 3
jmp 0x40708d
push 0x10000
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x40702e
mov ebp, 5
jmp 0x40708d
push edi
call fcn.00429120
add esp, 4
test eax, eax
je 0x407042
mov ebp, 6
jmp 0x40708d
mov edx, dword [esp + 0x20]
push 0x453580
push edx
call fcn.0043bf44
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x407061
mov ebp, 7
jmp 0x40708d
push 0x10000
push esi
push edi
call fcn.00428d30
add esp, 0xc
test eax, eax
jl 0x4070dd
jle 0x40708d
push ebx
push 1
push eax
push esi
call fcn.0043bdf3
add esp, 0x10
cmp eax, 1
je 0x407061
mov ebp, 9
push edi
call fcn.00428ee0
add esp, 4
test edi, edi
je 0x4070a3
push edi
call fcn.004290e0
add esp, 4
test esi, esi
je 0x4070c1
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x4070ce
push ebx
call fcn.0043bc5d
add esp, 4
pop edi
xor eax, eax
pop esi
test ebp, ebp
pop ebp
sete al
pop ebx
add esp, 8
ret
mov ebp, 8
jmp 0x40708d

Function at 0x40a670
Capabilities:
Read file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, dword [esp]
pop ecx
ret
Function at 0x40a6a0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [esp]
pop ecx
ret

Function at 0x40a8b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push str.IJL11.DLL
xor ebp, ebp
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x40a8f8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0043b3fc
add esp, 0x108
ret
push edi
push 0x104
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0xc]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x40a910
mov cx, word [0x4536b0]
lea eax, [esp + 0xc]
mov word [edi], cx
add eax, 0xffffffff
jmp 0x40a930
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x40a930
mov edx, dword [str.IJL11.DLL]
mov ecx, dword [0x4536b8]
mov dword [eax], edx
mov dx, word [0x4536bc]
mov dword [eax + 4], ecx
mov ecx, dword [0x460004]
mov word [eax + 8], dx
mov eax, dword [0x464cd0]
push 0
push eax
push ecx
call fcn.0040a650
add esp, 0xc
cmp eax, dword [0x464cd0]
jne 0x40aa2a
mov edx, dword [0x464cd4]
push esi
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x40a9f4
mov eax, dword [0x464cd4]
mov ecx, dword [0x460004]
push eax
push esi
push ecx
call fcn.0040a670
add esp, 0xc
cmp eax, dword [0x464cd4]
jne 0x40a9f4
lea edx, [esp + 0x10]
push 0x1000
push edx
call fcn.0040a5e0
mov ebx, eax
add esp, 8
test ebx, ebx
jl 0x40a9f4
mov eax, dword [0x464cd4]
push eax
push esi
push ebx
call fcn.0040a6a0
add esp, 0xc
cmp eax, dword [0x464cd4]
jne 0x40a9f4
push ebx
call fcn.0040a630
add esp, 4
or ebx, 0xffffffff
test eax, eax
je 0x40a9f9
mov ebp, 1
test esi, esi
je 0x40aa17
mov edi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp ebx, 0xffffffff
pop esi
jle 0x40aa26
push ebx
call fcn.0040a630
add esp, 4
test ebp, ebp
je 0x40aa43
mov ecx, dword [0x465298]
push 0
push 0x45354b
push str.WARNING:_Could_not_install_the_JPEG_viewing_library_to_system_directory
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x110]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x108
ret
Function at 0x40df40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x318
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x314], eax
mov eax, dword [esp + 0x31c]
push ebp
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edi
mov edi, dword [esp + 0x32c]
lea ecx, [esp + 0x1c]
push ecx
xor ebp, ebp
lea edx, [esp + 0x10]
push edx
push ebp
push 0x20019
push ebp
push 0x45354b
push ebp
push eax
push 0x80000000
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x30], ebp
call esi
test eax, eax
je 0x40dfb0
push 0x79
call fcn.0040ae20
add esp, 4
mov ebp, 1
jmp 0x40e0a5
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0x45354b
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40dfe9
push 0x79
call fcn.0040ae20
add esp, 4
mov ebp, 1
jmp 0x40e0a5
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push edx
mov byte [esp + ecx + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x124]
push str._s_shellopencommand
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push 0x20019
push 0
push 0x45354b
push 0
lea ecx, [esp + 0x13c]
push ecx
push 0x80000000
call esi
test eax, eax
je 0x40e059
push 0xaa
call fcn.0040ae20
add esp, 4
mov ebp, 1
jmp 0x40e0a5
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x20]
push eax
push 0
push 0x45354b
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40e093
push 0x79
call fcn.0040ae20
add esp, 4
mov ebp, 1
jmp 0x40e0a5
push 0x20
push edi
call fcn.0043b5f0
add esp, 8
test eax, eax
je 0x40e0a5
mov byte [eax], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40e0b4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x320]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0043b3fc
add esp, 0x318
ret
Function at 0x40eb80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x504], eax
cmp byte [0x464aac], 0
push esi
je 0x40ec4b
mov esi, dword [esp + 0x510]
mov eax, dword [0x464bc0]
imul esi, esi, 0x1008
cmp byte [esi + eax + 0x84], 0
je 0x40ec4b
lea ecx, [esp + 4]
push ecx
push str..htm
call fcn.0040df40
add esp, 8
test eax, eax
je 0x40ebdf
push 0xa5
jmp 0x40ec50
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
mov edi, eax
mov eax, dword [0x464bc0]
lea edx, [esp + 0x310]
push edx
lea ecx, [esi + eax + 0x84]
push ecx
call fcn.00408960
push eax
push edi
push ebx
push 0x464aac
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x12c]
push str._s__ssdx_dsdy_dphonehomename_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 1
lea ecx, [esp + 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
pop edi
pop ebx
jae 0x40ec58
push 0x7a
jmp 0x40ec50
push 0x95
call fcn.0040ae20
add esp, 4
mov ecx, dword [esp + 0x508]
pop esi
xor ecx, esp
call fcn.0043b3fc
add esp, 0x508
ret
Function at 0x411d40
Capabilities:
Create process on windows
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x465294]
push esi
push str.helptextfile
push str.helptextfile
push eax
mov byte [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x411eee
mov ecx, dword [0x465294]
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
cmp ebx, 1
jl 0x411eed
mov edx, dword [0x465294]
push ebp
push edi
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x411ece
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x411ece
lea eax, [esp + 0x10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x411dd6
sub eax, edx
cmp byte [esp + eax + 0xf], 0x5c
lea eax, [esp + eax + 0xf]
jne 0x411dee
mov byte [eax], cl
lea eax, [esp + 0x10]
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x411df5
mov ecx, dword [str.enchelp.htm]
mov edx, dword [0x45398c]
mov dword [eax], ecx
mov ecx, dword [0x453990]
mov dword [eax + 4], edx
mov dl, byte [0x453994]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], dl
lea eax, [esp + 0x10]
push 0x1000
push eax
call fcn.0040a5e0
mov esi, eax
add esp, 8
test esi, esi
jl 0x411ec0
push ebx
push edi
push esi
call fcn.0040a6a0
add esp, 0xc
cmp eax, ebx
jne 0x411ec0
push esi
call fcn.0040a630
add esp, 4
test eax, eax
jne 0x411ece
lea ecx, [esp + 0x114]
push ecx
push str..htm
call fcn.0040df40
add esp, 8
test eax, eax
je 0x411e7f
push 0xa5
call fcn.0040ae20
jmp 0x411ecb
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x220]
push str._s__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 1
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x411ee0
push 0x7a
call fcn.0040ae20
jmp 0x411ecb
cmp esi, 0xffffffff
jle 0x411ece
push esi
call fcn.0040a630
add esp, 4
cmp byte [esp + 0x10], 0
je 0x411ee0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test ebp, ebp
je 0x411eeb
push ebp
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40c]
pop esi
xor ecx, esp
call fcn.0043b3fc
add esp, 0x40c
ret
Function at 0x413ab0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x52c
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0x528], eax
test byte [0x464bb8], 8
je 0x413af2
mov eax, dword [esp + 0x530]
push eax
call fcn.0040eb80
add esp, 4
mov ecx, dword [esp + 0x528]
xor ecx, esp
call fcn.0043b3fc
add esp, 0x52c
ret
cmp byte [0x464aac], 0
push ebx
je 0x413b1f
mov ebx, dword [esp + 0x534]
test ebx, ebx
jl 0x413b42
mov edx, dword [0x464bc0]
mov ecx, ebx
imul ecx, ecx, 0x1008
cmp byte [ecx + edx + 0x84], 0
jne 0x413b4b
push 0x95
call fcn.0040ae20
add esp, 4
mov ecx, dword [esp + 0x52c]
pop ebx
xor ecx, esp
call fcn.0043b3fc
add esp, 0x52c
ret
cmp dword [0x464bac], 0
jl 0x413b1f
lea eax, [esp + 0x228]
push eax
push str..htm
call fcn.0040df40
add esp, 8
test eax, eax
je 0x413b6b
push 0xa5
jmp 0x413b24
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov ebp, eax
call esi
mov dword [esp + 0xc], eax
xor eax, eax
mov cl, byte [eax + 0x464aac]
mov byte [esp + eax + 0x30], cl
add eax, 1
test cl, cl
jne 0x413b83
lea eax, [esp + 0x30]
lea edx, [eax + 1]
jmp 0x413ba0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x413ba0
push edi
lea ecx, [esp + 0x34]
sub eax, edx
push 0x3f
push ecx
mov esi, eax
call fcn.0043b5f0
add esp, 8
test eax, eax
je 0x413be6
cmp byte [esp + esi + 0x33], 0x26
je 0x413c03
lea edi, [esp + 0x34]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x413bd0
mov dx, word [0x453824]
mov word [edi], dx
jmp 0x413c03
lea edi, [esp + 0x34]
add edi, 0xffffffff
lea ecx, [ecx]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x413bf0
mov ax, word [0x453820]
mov word [edi], ax
test ebx, ebx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
pop edi
jl 0x413c2e
mov ecx, dword [0x464bc0]
imul ebx, ebx, 0x1008
lea edx, [ebx + ecx + 0x84]
push edx
push 0x4539cc
lea eax, [esp + 0x18]
push eax
jmp 0x413c3f
mov ecx, dword [0x464bac]
push ecx
push 0x4539c8
lea edx, [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0x348]
push str._s__ssdx_dsdy_dvectorid_s
push ecx
call esi
add esp, 0x1c
push 1
lea edx, [esp + 0x338]
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
pop esi
pop ebp
jae 0x413b2c
push 0x7a
jmp 0x413b24
Function at 0x417690
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub esp, 0xa14
mov eax, dword [0x4630b0]
xor eax, esp
mov dword [esp + 0xa10], eax
mov eax, dword [0x464bc0]
push esi
push edi
mov edi, dword [esp + 0xa20]
imul edi, edi, 0x1008
cmp byte [0x464aac], 0
mov dword [esp + 8], edi
lea esi, [edi + eax]
je 0x4178de
cmp byte [esi + 0x84], 0
je 0x4178de
mov eax, dword [esi + 0x5a4]
test eax, eax
je 0x4178ba
cmp dword [eax + 0x104], 1
jl 0x4178ba
cmp byte [esi + 0x6ac], 0
push ebx
lea ebx, [esi + 0x6ac]
jne 0x41774d
lea ecx, [esp + 0x318]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
push 0
push 0x453b90
lea edx, [esp + 0x324]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, ebx
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x417732
mov ecx, dword [0x453b88]
mov dword [eax], ecx
mov dl, byte [0x453b8c]
mov byte [eax + 4], dl
push 0
push ebx
push esi
call fcn.004144c0
add esp, 0xc
test eax, eax
je 0x417782
push 0xb6
call fcn.0040ae20
add esp, 4
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0xa10]
xor ecx, esp
call fcn.0043b3fc
add esp, 0xa14
ret
lea eax, [esp + 0x214]
push eax
push str..htm
call fcn.0040df40
add esp, 8
test eax, eax
je 0x4177a2
push 0xa5
jmp 0x417762
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
push 0
call esi
push 1
mov ebp, eax
call esi
mov dword [esp + 0x14], eax
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x464aac]
mov byte [esp + eax + 0x18], cl
add eax, 1
test cl, cl
jne 0x4177c0
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4177d8
lea ecx, [esp + 0x18]
sub eax, edx
push 0x3f
push ecx
mov esi, eax
call fcn.0043b5f0
add esp, 8
test eax, eax
je 0x41781c
cmp byte [esp + esi + 0x17], 0x26
je 0x41783a
lea edi, [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x417806
mov dx, word [0x453824]
mov word [edi], dx
jmp 0x417836
lea edi, [esp + 0x18]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x417823
mov ax, word [0x453820]
mov word [edi], ax
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x820]
push ecx
push ebx
call fcn.00408960
mov edx, dword [0x464bc0]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [edi + edx + 0x84]
push eax
lea ecx, [esp + 0x430]
push str.C_s_uploadfieldmarkup_s
push ecx
call esi
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x438]
push edx
push eax
push ebp
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x240]
push edx
lea eax, [esp + 0x64c]
push str._s__ssdx_dsdy_dvectorid_s
push eax
call esi
add esp, 0x34
push 1
lea ecx, [esp + 0x624]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
pop ebp
jae 0x41776a
push 0x7a
jmp 0x417762
push 0xb5
call fcn.0040ae20
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa10]
xor ecx, esp
call fcn.0043b3fc
add esp, 0xa14
ret
push 0x95
call fcn.0040ae20
mov ecx, dword [esp + 0xa1c]
add esp, 4
pop edi
pop esi
xor ecx, esp
call fcn.0043b3fc
add esp, 0xa14
ret