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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov edx, dword [0x4fc038]
test edx, edx
jne 0x4022a5
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x20]
mov eax, dword [eax + 0xa4]
test eax, eax
cmove eax, dword [esp + 0x70]
mov eax, dword [eax + 4]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [eax + 0x100]
test eax, eax
jne 0x4022fc
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov esi, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.0040c6f0
test esi, esi
mov dword [0x4fc04c], 0
jne 0x402213
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00401ff0
mov dword [0x4fc04c], eax
mov dword [esp], eax
call sub.msvcrt.dll_fclose
movzx eax, word [esp + 0x26]
mov dword [0x4fc04c], 0
mov dword [esp + 4], eax
mov eax, dword [0x4fc050]
mov dword [esp], eax
call sub.msvcrt.dll__chmod
mov eax, dword [0x4fc038]
test eax, eax
je 0x402201
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [0x4fc050]
mov dword [esp], eax
call fcn.004048e0
mov dword [0x4fc050], 0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x2000
xor esi, esi
call fcn.0049cd60
mov ebp, eax
jmp 0x402249
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov dword [esp + 4], 1
mov dword [esp], ebp
call sub.msvcrt.dll_fwrite
cmp edi, eax
jne 0x4022b7
add esi, ebx
cmp dword [esp + 0x1c], esi
jbe 0x402293
mov ebx, dword [esp + 0x1c]
mov eax, 0x2000
mov dword [esp], ebp
sub ebx, esi
cmp ebx, 0x2000
cmova ebx, eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0040c3e0
cmp ebx, eax
mov edi, eax
jne 0x4022e0
mov eax, dword [0x4fc04c]
test eax, eax
jne 0x402225
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.00401ff0
mov dword [0x4fc04c], eax
jmp 0x402225
mov dword [esp], ebp
call fcn.0049fa48
mov eax, dword [0x4fc04c]
jmp 0x4021b3
lea edi, [esp + 0x20]
mov ecx, 0xc
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x402135
call dword [sym.imp.msvcrt.dll__errno]
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 8], eax
mov eax, dword [0x4fc050]
mov dword [esp], str._s:__s
mov dword [esp + 4], eax
call fcn.00405110
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xa4]
mov eax, dword [eax]
mov dword [esp], str._s_is_not_a_valid_archive
mov dword [esp + 4], eax
call fcn.00405110
mov eax, dword [esp + 0x70]
mov eax, dword [eax]
mov dword [esp], str.internal_stat_error_on__s
mov dword [esp + 4], eax
call fcn.00405110
lea esi, [esi]
lea edi, [edi]
Function at 0x4047a0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
push eax
mov eax, 0x2028
call fcn.0049e290
sub esp, eax
mov eax, dword [esp + eax]
test eax, eax
js 0x4048a8
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov ebx, edx
mov dword [esp + 8], 0
mov dword [esp], eax
mov edi, eax
call fcn.0049f800
or edx, eax
jne 0x4048a8
mov dword [esp + 4], 0x8201
mov dword [esp], ebx
call sub.msvcrt.dll__open
test eax, eax
mov ebp, eax
js 0x4048ba
lea esi, [esp + 0x20]
jmp 0x404824
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], ebp
call sub.msvcrt.dll__write_1
cmp ebx, eax
jne 0x404870
mov dword [esp + 8], 0x2000
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.msvcrt.dll__read
test eax, eax
mov ebx, eax
jg 0x404810
mov esi, dword [sym.imp.msvcrt.dll__errno]
call esi
mov eax, dword [eax]
mov dword [esp], edi
mov dword [esp + 0x1c], eax
call sub.msvcrt.dll__close
mov dword [esp], ebp
call sub.msvcrt.dll__close
test ebx, ebx
jne 0x4048a0
add esp, 0x202c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov esi, dword [eax]
mov dword [esp], edi
call sub.msvcrt.dll__close
mov dword [esp], ebp
call sub.msvcrt.dll__close
call ebx
mov ebx, 0xffffffff
mov dword [eax], esi
add esp, 0x202c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call esi
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
add esp, 0x202c
mov ebx, 0xffffffff
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [sym.imp.msvcrt.dll__errno]
call ebx
mov esi, dword [eax]
mov dword [esp], edi
call sub.msvcrt.dll__close
call ebx
mov ebx, 0xffffffff
mov dword [eax], esi
jmp 0x404860

Function at 0x405260
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
test eax, eax
je 0x4052e0
mov dword [esp + 8], eax
mov dword [esp + 4], str._s:_supported_targets:
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
call fcn.00413420
mov edi, eax
mov eax, dword [eax]
lea ebx, [edi + 4]
test eax, eax
je 0x4052be
lea esi, [esi]
lea edi, [edi]
add ebx, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x4be56f
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx - 4]
test eax, eax
jne 0x4052a0
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov dword [esp + 0x20], edi
add esp, 0x10
pop ebx
pop esi
pop edi
jmp fcn.0049fa48
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x12
mov dword [esp + 4], 1
mov dword [esp], str.Supported_targets:
call sub.msvcrt.dll_fwrite
jmp 0x405286
Function at 0x405690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
cmp byte [esp + 0xb8], 0
mov esi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov edi, dword [esp + 0xbc]
je 0x4056dc
mov eax, dword [ebx + 0xa4]
lea edx, [esp + 0x60]
test eax, eax
cmove eax, ebx
mov eax, dword [eax + 4]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x100]
test eax, eax
je 0x405740
mov dword [esp + 4], esi
mov eax, dword [ebx]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov eax, edi
test al, al
je 0x405700
test byte [ebx + 0x2d], 0x10
je 0x405720
mov eax, dword [ebx + 0x40]
mov ecx, eax
or ecx, dword [ebx + 0x44]
jne 0x40572a
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 0x38]
mov ecx, eax
or ecx, dword [ebx + 0x3c]
je 0x405700
mov dword [esp + 8], eax
mov dword [esp + 4], str._0x_lx
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
jmp 0x405700
mov eax, dword [esp + 0x84]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_ctime
test eax, eax
je 0x4057d2
lea edx, [eax + 0x14]
lea ebp, [esp + 0x38]
add eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], str._.12s__.4s
mov dword [esp + 0xc], edx
mov dword [esp], ebp
call sub.msvcrt.dll_sprintf
lea eax, [esp + 0x2d]
mov dword [esp + 4], eax
movzx eax, word [esp + 0x66]
mov dword [esp], eax
call fcn.00405db0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], ebp
mov dword [esp + 4], str._s__ld__ld__6lu__s
mov dword [esp], esi
mov byte [esp + 0x37], 0
mov dword [esp + 0x14], eax
movsx eax, word [esp + 0x6c]
mov dword [esp + 0x10], eax
movsx eax, word [esp + 0x6a]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x2e]
mov dword [esp + 8], eax
call sub.msvcrt.dll_fprintf
jmp 0x4056dc
mov dword [esp + 0x38], 0x6d69743c
mov dword [esp + 0x3c], 0x61642065
lea ebp, [esp + 0x38]
mov dword [esp + 0x40], 0x63206174
mov dword [esp + 0x44], 0x7572726f
mov dword [esp + 0x48], 0x3e7470
jmp 0x40577d
Function at 0x4132a0
Capabilities:
Query environment variable

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
je 0x4132e0
mov edi, str.default
mov ecx, 8
mov esi, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4132f0
test ebx, ebx
je 0x413311
and byte [ebx + 0x2c], 0xbf
call fcn.004131a0
test eax, eax
je 0x41331a
mov dword [ebx + 4], eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp], str.GNUTARGET
call sub.msvcrt.dll_getenv
test eax, eax
jne 0x4132b2
mov eax, dword [0x4a23e0]
mov edx, 0x4c25a0
test eax, eax
cmove eax, edx
test ebx, ebx
je 0x4132d6
mov dword [ebx + 4], eax
or byte [ebx + 0x2c], 0x40
add esp, 0x10
pop ebx
pop esi
pop edi
ret
call fcn.004131a0
test eax, eax
jne 0x4132d6
xor eax, eax
jmp 0x4132d6
Function at 0x499490
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov dword [esp + 4], 1
jmp fcn.00498f60

Function at 0x49d670
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.0049d6d0

Function at 0x49d6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4fcc00]
test esi, esi
jle 0x49d7bd
mov edi, dword [0x4fcc04]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x49d704
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x49d7b6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x49d6f0
mov dword [esp], eax
mov esi, eax
call fcn.0049e020
test eax, eax
mov edi, eax
je 0x49d7fa
mov esi, dword [0x4fcc04]
lea ebx, [ebx + ebx*2]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call fcn.0049e130
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4fcc04]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x49d7da
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x49d7af
sub eax, 0x40
and eax, 0xffffffbf
je 0x49d7af
mov eax, dword [esp + 0x20]
add ebx, dword [0x4fcc04]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x49d7c4
add dword [0x4fcc00], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor ebx, ebx
jmp 0x49d70e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0049d670
mov eax, dword [0x4fcc04]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0049d670
mov dword [esp + 4], esi
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0049d670
lea esi, [esi]
Function at 0x49dc90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4fcc18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4fcc10]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x49dce5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x49dcde
test esi, esi
je 0x49dcde
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x49dcc0
mov dword [esp], 0x4fcc18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x49e820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x13c
mov ebx, dword [esp + 0x150]
call sub.msvcrt.dll__errno
mov dword [eax], 0
test ebx, ebx
je 0x49e9ac
cmp byte [ebx], 0
je 0x49e970
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
cmp eax, 0xffffffff
je 0x49e990
test al, 0x10
je 0x49e970
lea edi, [esp + 0x2c]
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov dword [esp], edi
mov esi, edi
call sub.msvcrt.dll__fullpath
mov edx, dword [esi]
add esi, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x49e884
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [esi + 2]
mov ecx, eax
cmove esi, edx
add cl, al
sbb esi, 3
sub esi, edi
lea eax, [esi + 0x233]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x49e99f
lea edx, [esi + 1]
lea ebp, [eax + 0x22c]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], ebp
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
cmp byte [ebx + 0x22c], 0
je 0x49e914
movzx eax, byte [ebx + esi + 0x22b]
cmp al, 0x2f
je 0x49e914
cmp al, 0x5c
je 0x49e914
mov edx, dword [esp + 0x1c]
mov edi, 0x5c
mov word [ebp + esi], di
mov esi, edx
mov eax, 0x2a
xor edx, edx
xor ecx, ecx
mov word [ebp + esi], ax
mov word [ebx + 0x11c], dx
lea edx, [ebx + 0x120]
mov word [ebx + 0x11e], cx
xor eax, eax
mov ecx, 0x41
mov edi, edx
mov dword [ebx + 0x224], 0xffffffff
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x118], 0
rep stosd dword es:[edi], eax
add esp, 0x13c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 0x14
add esp, 0x13c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
xor ebx, ebx
mov dword [eax], 2
jmp 0x49e95f
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x49e95f
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x49e95f
Function at 0x418010
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x632042]
mov ecx, dword [0x632034]
sub esp, 0x14
mov edx, dword [0x63203c]
and ecx, 4
and edx, 0xc
push ebx
mov bl, byte [0x632049]
xor bl, al
mov eax, dword [0x632030]
add eax, ecx
mov ecx, dword [0x632038]
mov dword [0x632030], eax
mov eax, dword [0x632048]
and eax, 0xff
push esi
imul edx, eax
xor ecx, edx
push 0
mov byte [0x632049], bl
mov dword [0x632038], ecx
call sub.comdlg32.dll_FindTextW
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x635c2c
mov esi, eax
call fcn.006298fc
add esp, 4
test eax, eax
je 0x418089
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov ecx, dword [0x632030]
mov eax, dword [0x632034]
mov dword [esp + 0x18], 0
mov ebx, 1
lea edx, [ecx + ecx]
mov dword [esp + 8], 0
or edx, eax
lea eax, [esp + 8]
mov dword [esp + 0x14], edx
push eax
fild qword [esp + 0x18]
push ebx
push 0
push 0x632064
push 0x80000000
fadd qword [0x632058]
fstp qword [0x632058]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [0x63af4c], eax
jne 0x418152
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push 0x635c2c
push edx
push eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], 0x208
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [0x63af4c], eax
jne 0x41811a
cmp dword [esp + 0xc], ebx
je 0x41811c
xor bl, bl
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x418133
pop esi
xor eax, eax
pop ebx
add esp, 0x14
ret
mov eax, dword [0x63af4c]
test eax, eax
jne 0x418152
test esi, esi
jle 0x41814c
and esi, 0xffff
or esi, 0x80070000
mov dword [0x63af4c], esi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0x14
ret
Function at 0x42931b
Capabilities:
Encode data using xor

Disassembly:
jno 0x429394
pop esp
push 0xffffffffffffffe0
mov eax, dword [0xb0a368b5]
sbb dword [ebx], 8
std
sbb byte [ecx - 0xd5521f6], al
mov bh, 0x50
pop es
mov byte [ecx + 0x10], 0xf8
add eax, 0xa1a41e38
pop ecx
invalid
adc dword [ebx - 0x16ee7671], ebp
jecxz 0x4293b9
cwde
mov al, 0xb1
imul edi, dword [eax - 0x3fc0df0f], 4
out 0xe, eax
or ebx, ebx
invalid
xchg byte [eax], bl
loope 0x42942e
pop ds
or dword [0x30b0221a], ebx
pop ebx
inc ecx
pop ds
jne 0x4293bb
fst qword [eax - 0x1471085c]
xchg dword [esi], esp
jns 0x429452
mov esi, 0x7bbaf90
pop es
test byte [edx - 0x14], ah
cmp dh, byte [ebx]
jbe 0x429413
fcomp dword [ebp + 0x78]
xor dword [eax - 0x53], 0x4600a030
sar ax, cl
sar eax, cl
vaddsubpd ymm0, ymm0, ymm2
fnstcw word [edi - 0x27]
imul byte [eax + 0x3bfeb97f]
inc ebx
lcall 0x7f85, 0x440970de
sub eax, 0x55720237
and edx, dword [ebp + 0x45e99805]
cmp dword [ebx - 0x7e], ebp
mov byte es:[0x72477676], al
aam 0x2c
sahf
jbe 0x42945c
jb 0x4293eb
sub al, 0x9e
push ebx
pop edx
xor dword [ebp - 0x5a338b72], ecx
dec ebx
invalid
mov esi, 0x20a274a2
and al, ah
jl 0x429435
inc eax
jg 0x429413
and bl, byte [esi]
and ecx, dword [eax - 0x41]
outsd dx, dword [esi]
inc eax
in al, dx
mov al, byte ds:[0xbdc3cdfb]
sti
int 0xc3
mov ebp, 0x72708e7f
jg 0x4293d8
jo 0x4294be
ja 0x429448
jg 0x42944f
call dword [ebp + 0x7fd3c07f]
xchg ebp, eax
jg 0x429413
rcl bl, 0x7f
sar dword [edi - 3], cl
std
invalid
xlatb
jb 0x4294ae
sbb eax, 0x8d7ea877
push esi
sti
jge 0x429444
invalid
mov cs, word [edx - 0x4f9f2746]
inc ecx
cmp byte [edi], al
sub byte [esp + edx*4], al
or ah, ch
invalid
mov eax, 0xb948bfd2
mov al, 0xbf
add esi, eax
and byte [ecx - 0x77fff24e], dh
ror dword [eax - 0x62], 1
dec eax
sahf
clc
adc eax, 0xf85b7097
mov edx, dword [edx + 0x29f92975]
xchg edx, eax
nop
les ebx, [edi]
cwde
stosb byte es:[edi], al
ja 0x429485
pop edi
dec byte [esi + ecx*4 - 0x35851d89]
iretd
Function at 0x62ace9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6323d0
cmp edx, dword [eax]
je 0x62ad0b
add eax, 8
inc ecx
cmp eax, 0x632460
jl 0x62acfc
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6323d0]
jne 0x62ae39
mov eax, dword [0x63af64]
cmp eax, 1
je 0x62ae13
test eax, eax
jne 0x62ad3c
cmp dword [0x6322f8], 1
je 0x62ae13
cmp edx, 0xfc
je 0x62ae39
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62ad73
lea eax, [ebp - 0x1a4]
push 0x62f9d0
push eax
call fcn.0062b6d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062bb60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62adb6
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062bb60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f9cc
push edi
call fcn.0062da30
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x62f9b0
push eax
call fcn.0062b6d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062b6e0
lea eax, [ebp - 0xa0]
push 0x62f9ac
push eax
call fcn.0062b6e0
push dword [esi + 0x6323d4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062b6e0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x62f984
push eax
call fcn.0062d9a4
add esp, 0x2c
pop edi
jmp 0x62ae39
lea eax, [ebp + 8]
lea esi, [esi + 0x6323d4]
push 0
push eax
push dword [esi]
call fcn.0062bb60
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 0x403f4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414720]
jne 0x403f56
repz ret
jmp fcn.00405e6b

Function at 0x40a4fc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405940
and dword [ebp - 4], 0
cmp dword [0x417380], 0
mov ebx, eax
jne 0x40a5ad
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a65e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a65e
push eax
call fcn.004058ce
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x417380], eax
call esi
push eax
call fcn.004058ce
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x417384], eax
call esi
push eax
call fcn.004058ce
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x417388], eax
call esi
push eax
call fcn.004058ce
pop ecx
mov dword [0x417390], eax
test eax, eax
je 0x40a5ad
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004058ce
pop ecx
mov dword [0x41738c], eax
mov eax, dword [0x41738c]
cmp eax, ebx
je 0x40a605
cmp dword [0x417390], ebx
je 0x40a605
push eax
call fcn.00405949
push dword [0x417390]
mov esi, eax
call fcn.00405949
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a605
test edi, edi
je 0x40a605
call esi
test eax, eax
je 0x40a5fc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a5fc
test byte [ebp - 0xc], 1
jne 0x40a605
or dword [ebp + 0x10], 0x200000
jmp 0x40a63e
mov eax, dword [0x417384]
cmp eax, ebx
je 0x40a63e
push eax
call fcn.00405949
pop ecx
test eax, eax
je 0x40a63e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a63e
mov eax, dword [0x417388]
cmp eax, ebx
je 0x40a63e
push eax
call fcn.00405949
pop ecx
test eax, eax
je 0x40a63e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x417380]
call fcn.00405949
pop ecx
test eax, eax
je 0x40a65e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a660
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c49
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x526247
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x5937d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.StubInit
call fcn.00401769
and dword [esp + 0x34], 0
or dword [esp + 0x34], 0xffffffff
call fcn.00401a28
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0x80]
mov dword [esp + 0x30], 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x53b4b8
call fcn.00401769
mov byte [esp + 0x34], 2
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0040184e
mov byte [esp + 0x38], 3
mov byte [esp + 0x38], 1
lea esi, [esp + 0x18]
call fcn.004138e4
mov byte [esp + 0x38], 4
add esp, 4
mov eax, esi
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 5
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x38], 4
call fcn.004655d8
mov byte [esp + 0x30], 6
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x53b4c4
call fcn.00401769
mov byte [esp + 0x34], 7
lea ebx, [edi + 0x78]
mov byte [esp + 0x34], 6
call fcn.00401c56
test eax, eax
jne 0x402d43
mov ecx, edi
call fcn.004023c1
mov ecx, edi
call fcn.00402e67
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x53b5d4
call fcn.00401769
mov byte [esp + 0x34], 8
mov byte [esp + 0x34], 6
call fcn.00401c56
test eax, eax
je 0x402d90
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Dev_mode_started.
call fcn.00401769
mov byte [esp + 0x34], 9
push 2
mov byte [esp + 0x38], 6
call fcn.0041474e
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0040184e
mov byte [esp + 0x34], 0xa
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x53b9e7
call fcn.00401769
mov byte [esp + 0x3c], 0xb
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 6
mov ebx, dword [edi + 4]
call fcn.0042e497
test eax, eax
jne 0x402e35
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Engine_configuration_failed_
call fcn.00401769
mov byte [esp + 0x34], 0xc
push 1
mov byte [esp + 0x38], 6
call fcn.0041474e
xor esi, esi
mov byte [esp + 0x30], 4
lea ecx, [esp + 0x1c]
call fcn.0046563c
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x10]
call fcn.00401898
or dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401898
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
lea ecx, [esp + 0x14]
add eax, 4
push ecx
push eax
call fcn.0043f86d
mov byte [esp + 0x30], 0xd
lea ecx, [edi + 0x74]
push eax
call fcn.004044be
mov byte [esp + 0x30], 6
lea ecx, [esp + 0x14]
call fcn.00401898
xor esi, esi
inc esi
jmp 0x402df7