joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49fda0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [0xc68e1c]
fld dword [0x4bc2d8]
sub esp, 0x18
push ebx
mov ebx, dword [0xc68e14]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [eax + esi*4]
mov ebp, dword [ebp + 8]
mov eax, ecx
cdq
xor eax, edx
sub eax, edx
xor edx, edx
test ecx, ecx
setl dl
push edi
mov edi, dword [0xc68e04]
lea eax, [edx + eax*2]
mov eax, dword [ebx + eax*4]
lea ecx, [eax + eax*2]
lea eax, [ebp - 1]
cmp eax, 1
lea ecx, [edi + ecx*4]
jle 0x49febe
mov edx, dword [0xc68e1c]
dec eax
lea ebp, [edx + esi*4 + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
xor edx, edx
test eax, eax
setl dl
mov esi, edx
cdq
xor eax, edx
sub eax, edx
lea edx, [ebx + eax*8]
mov eax, dword [edx + esi*4]
lea eax, [eax + eax*2]
lea eax, [edi + eax*4]
fld dword [eax]
fsub dword [ecx]
fld dword [eax + 4]
fsub dword [ecx + 4]
fld dword [eax + 8]
xor eax, eax
fsub dword [ecx + 8]
test esi, esi
sete al
add ebp, 4
mov edx, dword [edx + eax*4]
lea edx, [edx + edx*2]
fld dword [edi + edx*4]
lea eax, [edi + edx*4]
fsub dword [ecx]
fstp dword [esp + 0x10]
fld dword [eax + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x14]
fld dword [eax + 8]
mov eax, dword [esp + 0x2c]
fsub dword [ecx + 8]
dec eax
mov dword [esp + 0x2c], eax
fld st(0)
fmul st(3)
fld dword [esp + 0x14]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fmul st(2)
fxch st(1)
fmul st(4)
fsubp st(1)
fstp dword [esp + 0x20]
fstp st(0)
fld dword [esp + 0x14]
fmulp st(2)
fld dword [esp + 0x10]
fmul st(1)
fsubp st(2)
fstp st(0)
fld st(0)
fmulp st(1)
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
faddp st(1)
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
faddp st(1)
fsqrt
fmul qword [0x4bc320]
fxch st(1)
faddp st(1)
jne 0x49fe00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x49fed0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [0xc68e34]
mov ecx, dword [0xc68e2c]
push ebx
mov ebx, dword [esp + 0x18]
push esi
lea esi, [ebx + ebx*2]
shl esi, 4
add esi, eax
mov eax, dword [esi + 8]
mov eax, dword [ecx + eax*4]
cdq
xor eax, edx
sub eax, edx
lea edx, [eax + eax*2]
mov eax, dword [0xc68e24]
mov ecx, dword [eax + edx*8 + 0xc]
mov edx, dword [0xc68e1c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0xc68e14]
cdq
xor eax, edx
sub eax, edx
lea eax, [ecx + eax*8]
mov eax, dword [eax]
lea edx, [eax + eax*2]
mov eax, dword [0xc68e04]
mov ecx, dword [eax + edx*4]
lea eax, [eax + edx*4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
push edi
xor edi, edi
test eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], 0
jle 0x49ffc6
mov ecx, dword [esi + 8]
fld dword [esp + 0x18]
mov edx, dword [0xc68e2c]
add ecx, edi
mov eax, dword [edx + ecx*4]
mov ecx, dword [0xc68e24]
cdq
xor eax, edx
sub eax, edx
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 0x14]
lea ecx, [ecx + eax*8]
xor eax, eax
cmp edx, ebx
mov edx, dword [ecx]
setne al
push ecx
xor eax, edx
lea edx, [eax + eax*4]
mov eax, dword [0xc68e0c]
fmul dword [eax + edx*4 + 8]
lea eax, [eax + edx*4]
fld dword [esp + 0x18]
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fchs
fstp dword [esp + 0x10]
call fcn.0049fda0
mov eax, dword [esi + 4]
fmul dword [esp + 0x10]
add esp, 4
inc edi
cmp edi, eax
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
jl 0x49ff4e
fld dword [esp + 0x20]
pop edi
fmul dword [0x4bd268]
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x4a0390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
push 0x4bf6b0
push str.bot_visualizejumppads
call fcn.00495000
call fcn.004aeed0
mov ecx, dword [esp + 0x14c]
mov ebx, eax
mov eax, dword [esp + 0x148]
fld dword [eax]
push 0
fadd dword [ecx]
fstp dword [esp + 0x2c]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x30]
fld dword [ecx + 8]
mov ecx, dword [esp + 0x154]
fadd dword [eax + 8]
fstp dword [esp + 0x34]
fld dword [eax]
fadd dword [ecx]
fstp dword [esp + 0x20]
fld dword [ecx + 4]
fadd dword [eax + 4]
fstp dword [esp + 0x24]
fld dword [ecx + 8]
fadd dword [eax + 8]
fstp dword [esp + 0x28]
call fcn.004a8b10
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x4a0573
push 0x80
lea eax, [esp + 0xc0]
push eax
push str.classname
push ebp
call fcn.004a8b60
add esp, 0x10
test eax, eax
je 0x4a0560
mov esi, str.trigger_push
lea eax, [esp + 0xbc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4a0464
test cl, cl
je 0x4a0460
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4a0464
add eax, 2
add esi, 2
test cl, cl
jne 0x4a0440
xor eax, eax
jmp 0x4a0469
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4a0560
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x50]
push eax
push ebp
call fcn.004a0050
add esp, 0x14
test eax, eax
je 0x4a0560
push 4
push 0xffffffffffffffff
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x5c]
push edx
call fcn.004aa480
mov edi, eax
add esp, 0x10
test edi, edi
mov esi, edi
je 0x4a04d1
mov eax, dword [esi + 4]
push eax
call fcn.004a0bc0
add esp, 4
test eax, eax
jne 0x4a04cd
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4a04b4
jmp 0x4a04d1
test esi, esi
jne 0x4a04e9
push str.trigger_push_not_in_any_jump_pad_area_n
push 1
call dword [0xc6aa00]
push edi
call fcn.004aa2c0
add esp, 0xc
jmp 0x4a0560
push 0x54
lea ecx, [esp + 0x6c]
push 0
push ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.00420650
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x34]
push eax
push 0x3dcccccd
push 0x1e
push 0
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x84]
push edx
push 0
push 2
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xa0]
push 0xffffffffffffffff
push ecx
call fcn.0049d350
mov eax, dword [esp + 0xf8]
add esp, 0x40
cmp eax, 0x1e
jl 0x4a0580
push edi
call fcn.004aa2c0
add esp, 4
push ebp
call fcn.004a8b10
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4a0411
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x12c
ret
xor ebx, ebx
test edi, edi
mov dword [esp + 0x10], ebx
mov esi, edi
je 0x4a05c5
mov edx, dword [esi + 4]
push edx
call fcn.004a0bc0
add esp, 4
test eax, eax
je 0x4a05be
mov eax, dword [esi + 4]
push eax
call fcn.0049fed0
fcom dword [esp + 0x14]
add esp, 4
fnstsw ax
test ah, 1
jne 0x4a05bc
mov ebx, dword [esi + 4]
fstp dword [esp + 0x10]
jmp 0x4a05be
fstp st(0)
mov esi, dword [esi + 0x10]
test esi, esi
jne 0x4a058c
push edi
call fcn.004aa2c0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x12c
ret
Function at 0x4a0990
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ecx, dword [0xc68e24]
mov eax, dword [esp + 4]
push esi
lea eax, [eax + eax*2]
xor esi, esi
push edi
lea edi, [ecx + eax*8]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 8], esi
mov dword [ecx + 4], esi
mov dword [ecx], esi
cmp dword [edi + 8], esi
jle 0x4a0a5d
push ebx
mov edx, dword [edi + 0xc]
mov eax, dword [0xc68e1c]
mov ebx, dword [0xc68e04]
add edx, esi
mov eax, dword [eax + edx*4]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [0xc68e14]
lea eax, [edx + eax*8]
mov edx, dword [eax]
lea edx, [edx + edx*2]
inc esi
fld dword [ebx + edx*4]
fadd dword [ecx]
fstp dword [ecx]
mov edx, dword [eax]
mov ebx, dword [0xc68e04]
lea edx, [edx + edx*2]
fld dword [ebx + edx*4 + 4]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
mov edx, dword [eax]
mov ebx, dword [0xc68e04]
lea edx, [edx + edx*2]
fld dword [ebx + edx*4 + 8]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
mov edx, dword [eax + 4]
mov ebx, dword [0xc68e04]
lea edx, [edx + edx*2]
fld dword [ebx + edx*4]
fadd dword [ecx]
fstp dword [ecx]
mov edx, dword [eax + 4]
mov ebx, dword [0xc68e04]
lea edx, [edx + edx*2]
fld dword [ebx + edx*4 + 4]
fadd dword [ecx + 4]
fstp dword [ecx + 4]
mov eax, dword [eax + 4]
mov edx, dword [0xc68e04]
lea eax, [eax + eax*2]
fld dword [edx + eax*4 + 8]
fadd dword [ecx + 8]
fstp dword [ecx + 8]
mov eax, dword [edi + 8]
cmp esi, eax
jl 0x4a09ba
pop ebx
fild dword [edi + 8]
pop edi
pop esi
fdivr qword [0x4bc320]
fld st(0)
fmul dword [ecx]
fstp dword [ecx]
fld st(0)
fmul dword [ecx + 4]
fstp dword [ecx + 4]
fmul dword [ecx + 8]
fstp dword [ecx + 8]
ret
Function at 0x4aca00
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor ecx, ecx
test edi, edi
jle 0x4aca1f
push esi
mov esi, dword [esp + 0xc]
mov al, cl
mov dl, 0x77
imul dl
xor byte [ecx + esi], al
inc ecx
cmp ecx, edi
jl 0x4aca10
pop esi
pop edi
ret

Function at 0x4b0de6
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4b0e11
test byte [esp + 8], 0x80
je 0x4b0e00
and al, 0xfe
jmp 0x4b0e02
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4b0e22
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004b6027
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

Function at 0x4b7531
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4daac8
cmp edx, dword [eax]
je 0x4b7553
add eax, 8
inc ecx
cmp eax, 0x4dab58
jl 0x4b7544
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4daac8]
jne 0x4b7681
mov eax, dword [0x966dd4]
cmp eax, 1
je 0x4b765b
test eax, eax
jne 0x4b7584
cmp dword [0x4d8194], 1
je 0x4b765b
cmp edx, 0xfc
je 0x4b7681
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b75bb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004b6a10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004b2480
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b75fe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004b2480
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4ca51c
push edi
call fcn.004aedd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004b6a10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b6a20
lea eax, [ebp - 0xa0]
push 0x4bd7c4
push eax
call fcn.004b6a20
push dword [esi + 0x4daacc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b6a20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004b9c46
add esp, 0x2c
pop edi
jmp 0x4b7681
lea eax, [ebp + 8]
lea esi, [esi + 0x4daacc]
push 0
push eax
push dword [esi]
call fcn.004b2480
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4022f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x2c]
mov dword [esi], 0
mov dword [ebx], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
mov dword [esp], 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
sub esp, 0x14
test eax, eax
je 0x402350
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x34]
lea ebp, [esp + 0x3c]
lea edi, [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentMajorVersionNumber
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x3c], 4
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x4023da
lea eax, [esp + 0x38]
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.CurrentMinorVersionNumber
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], 4
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegQueryValueExA
sub esp, 0x18
test eax, eax
jne 0x4023da
mov eax, dword [esp + 0x34]
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [ebx], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.ADVAPI32.DLL_RegCloseKey
sub esp, 4
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x402ca0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x40b064
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x40b05c]
sub esp, 4
test ebx, ebx
je 0x402ceb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x402ce4
test esi, esi
je 0x402ce4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402cc0
mov dword [esp], 0x40b064
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402ed0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x402f20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402ff8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x402f5e
cmp eax, 4
jne 0x402f80
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x402f6e
cmp edx, 4
je 0x402f6e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402ed0
Function at 0x404f90
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00402b90
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x404fc6
jmp 0x404ffe
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404fc3
cmp al, 9
je 0x404fc3
cmp al, 0x22
jne 0x404fe7
jmp 0x405046
cmp al, 9
je 0x404ff3
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x404fe0
jmp 0x404ff3
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x404ff0
cmp al, 9
je 0x404ff0
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40500d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00401bf0
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x405052
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x405042
cmp al, 0x22
jne 0x404ff3
lea ebx, [edx + 2]
jmp 0x404ff3
Function at 0x4013b2
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xca
jne 0x4013db
call fcn.00402e55
cmp byte [esi + 0x3c], 0
je 0x4013d4
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x401447
mov eax, dword [esi + 0x180]
cmp byte [eax + 0x10], 0
je 0x40143f
mov eax, dword [esi + 8]
test eax, eax
je 0x4013fc
mov ecx, esi
call dword [eax]
mov eax, dword [esi + 0x180]
mov ecx, esi
call dword [eax]
test eax, eax
je 0x40143b
cmp eax, 2
je 0x40143f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4013f1
cmp eax, 3
je 0x401420
cmp eax, 1
jne 0x4013f1
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
cmp dword [eax + 4], ecx
jl 0x4013f1
mov edx, dword [esi + 0x10c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4013f1
xor al, al
pop esi
ret
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x401465
cmp eax, 0xcc
je 0x401465
mov eax, dword [esi]
mov dword [eax + 8], 0x11
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, esi
call fcn.0040146e
pop esi
ret

Function at 0x40146e
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0xcc
je 0x40148d
mov eax, dword [esi + 0x170]
call dword [eax]
and dword [esi + 0x6c], 0
mov dword [esi + 0x10], 0xcc
mov eax, dword [esi + 0x170]
cmp byte [eax + 8], 0
je 0x4014aa
mov eax, dword [esi]
mov ecx, esi
mov dword [eax + 8], 0x2e
mov eax, dword [esi]
call dword [eax]
jmp 0x40148d
xor eax, eax
cmp byte [esi + 0x3d], al
setne al
add eax, 0xcd
mov dword [esi + 0x10], eax
mov al, 1
pop esi
ret
Function at 0x408bc3
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0xc
pop esi
xor ebx, ebx
push esi
lea eax, [ebp - 0x1c]
push ebx
mov dword [ebp - 8], ecx
push eax
call fcn.004148e0
add esp, 0xc
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 4]
xor esi, esi
push dword [ebp + 8]
call fcn.0040168c
mov edi, esi
inc esi
cmp dword [ebp - 4], ebx
jne 0x408bff
lea eax, [ebp - 4]
jmp 0x408c0e
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
lea eax, [eax + esi + 0xd]
cmp byte [eax], bl
je 0x408c30
cmp dword [ebp - 4], ebx
jne 0x408c1c
lea eax, [ebp - 4]
jmp 0x408c2b
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
lea eax, [eax + esi + 0xd]
cmp byte [eax], 0x5c
jne 0x408bf4
cmp edi, ebx
je 0x408c9b
cmp dword [ebp - 4], ebx
jne 0x408c3e
lea eax, [ebp - 4]
jmp 0x408c4d
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
lea eax, [edi + eax + 0xd]
mov byte [eax], bl
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x408c5b
lea eax, [ebp - 4]
jmp 0x408c5e
add eax, 0xd
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x124]
call fcn.0040ff7c
cmp dword [ebp - 4], ebx
jne 0x408c89
lea eax, [ebp - 4]
jmp 0x408c98
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
lea eax, [edi + eax + 0xd]
mov byte [eax], 0x5c
cmp dword [ebp - 4], ebx
jne 0x408ca5
lea eax, [ebp - 4]
jmp 0x408cb4
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
lea eax, [eax + esi + 0xd]
cmp byte [eax], bl
jne 0x408bf2
lea ecx, [ebp - 4]
call fcn.0040178c
pop edi
pop esi
mov al, 1
pop ebx
leave
ret 4
Function at 0x40aaeb
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
push 1
push dword [ebp + 0x20]
lea eax, [ebp - 0x108]
xor edi, edi
mov ebx, ecx
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jl 0x40ab91
lea eax, [ebp - 0x108]
lea ecx, [ebp + 0x20]
push eax
call fcn.0040168c
lea ecx, [ebp + 0x20]
call fcn.0040917d
test eax, eax
je 0x40ab63
lea ecx, [ebp + 0x20]
call fcn.0040917d
mov esi, eax
dec esi
cmp dword [ebp + 0x20], edi
jne 0x40ab42
lea eax, [ebp + 0x20]
jmp 0x40ab51
lea ecx, [ebp + 0x20]
call fcn.00408ccd
mov eax, dword [ebp + 0x20]
lea eax, [esi + eax + 0xd]
cmp byte [eax], 0x5c
je 0x40ab63
push 0x42935c
lea ecx, [ebp + 0x20]
call fcn.0040ac91
push dword [ebp + 0xc]
lea ecx, [ebp + 0x20]
call fcn.0040ac91
mov eax, dword [ebp + 0x20]
cmp eax, edi
jne 0x40ab7a
lea eax, [ebp + 0x20]
jmp 0x40ab7d
add eax, 0xd
push eax
mov ecx, ebx
call fcn.00408bc3
test al, al
jne 0x40ab98
lea ecx, [ebp + 0x20]
call fcn.0040178c
xor al, al
jmp 0x40ac8a
lea eax, [ebp - 4]
push eax
push 0x426788
push 1
push edi
push 0x426778
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, edi
jl 0x40ac7d
mov eax, dword [ebp - 4]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp + 0x14], edi
je 0x40abe2
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x18], edi
je 0x40abf6
push dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
lea edx, [ebp + 0xc]
push edx
push 0x426d20
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, edi
jl 0x40ac74
mov eax, dword [ebp + 0x20]
cmp eax, edi
jne 0x40ac19
lea eax, [ebp + 0x20]
jmp 0x40ac1c
add eax, 0xd
lea ecx, [ebp - 0x310]
push 0x104
push ecx
push 0xffffffffffffffff
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x310]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, edi
jl 0x40ac74
mov eax, dword [ebp + 0x20]
cmp eax, edi
jne 0x40ac60
lea eax, [ebp + 0x20]
jmp 0x40ac63
add eax, 0xd
push eax
push 0x1100
lea ecx, [ebx + 0x104]
call fcn.0041024d
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 0x20]
call fcn.0040178c
cmp esi, edi
setge al
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x40c3c2
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
push str.TARGET_DIR
lea ecx, [ebp - 8]
call fcn.0040168c
lea eax, [ebp - 8]
lea ecx, [esi + 0x30]
push eax
call fcn.0040f10f
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40c3f3
inc dword [eax + 4]
lea ecx, [ebp - 8]
call fcn.0040178c
lea ecx, [ebp - 4]
call fcn.0040917d
cmp eax, 3
jb 0x40c4e8
cmp dword [ebp - 4], ebx
jne 0x40c416
lea eax, [ebp - 4]
jmp 0x40c424
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
add eax, 0xe
cmp byte [eax], 0x3a
jne 0x40c4e8
cmp dword [ebp - 4], ebx
jne 0x40c437
lea eax, [ebp - 4]
jmp 0x40c445
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
add eax, 0xf
cmp byte [eax], 0x5c
jne 0x40c4e8
cmp dword [ebp - 4], ebx
jne 0x40c458
lea eax, [ebp - 4]
jmp 0x40c466
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
add eax, 0x10
mov byte [eax], bl
mov eax, dword [ebp - 4]
cmp eax, ebx
jne 0x40c474
lea eax, [ebp - 4]
jmp 0x40c477
add eax, 0xd
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x40c4e8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
fild qword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
fimul dword [ebp - 0xc]
fmul dword [0x4265f4]
fstp dword [ebp - 8]
jne 0x40c4bd
lea eax, [ebp - 4]
jmp 0x40c4cb
lea ecx, [ebp - 4]
call fcn.00408ccd
mov eax, dword [ebp - 4]
add eax, 0xd
mov ecx, dword [ebp + 0xc]
mov al, byte [eax]
mov dword [ebp - 0x20], ebx
mov bl, 1
mov byte [ecx], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
fild qword [ebp - 0x24]
fmul dword [ebp - 8]
fstp dword [eax]
lea ecx, [ebp - 4]
call fcn.0040178c
mov al, bl
pop esi
pop ebx
leave
ret 8