joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c6d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x44a040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x44a520]
mov ebx, edx
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x10], ecx
mov edi, dword [esi + 0x3f8c]
mov eax, dword [esi + 0x4954]
or eax, 0x100
mov dword [esi + 0x498c], 1
mov dword [esi + 0x4954], eax
cmp dword [edi + 0x198], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
jne 0x40c72f
cmp dword [esi + 0x4ce0], 0
mov eax, 0x234
je 0x40c734
mov eax, 0x204
movss xmm1, dword [edi + eax]
lea ecx, [ebp - 0x24]
movss xmm2, dword [edi + eax + 4]
mov eax, dword [ebp + 8]
subss xmm2, dword [edi + 0xfc]
subss xmm1, dword [edi + 0xf8]
push dword [eax + 4]
push dword [eax]
call fcn.004159a0
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x20]
or eax, 2
mov dword [esi + 0x4954], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x4978], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x4974], eax
mov dword [esi + 0x495c], 1
mov eax, dword [edi + 4]
push ebx
test ecx, ecx
je 0x40c7ac
push ecx
push eax
push str._s__s__08X
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004057a0
add esp, 0x18
jmp 0x40c7c0
push eax
push str._s__08X
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.004057a0
add esp, 0x14
movss xmm0, dword [esi + 0x38d8]
xor edx, edx
mov ecx, dword [ebp - 0x14]
push 0x1000107
movss dword [ebp - 0x10], xmm0
call fcn.0040f520
mov edi, dword [esi + 0x3f8c]
add esp, 4
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x38d8], xmm0
mov byte [ebp - 9], al
cmp word [edi + 0xbc], 1
mov dword [ebp - 0x10], edi
mov dword [edi + 0x78], ebx
jne 0x40c81a
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov dword [eax + 0xf8], ecx
mov dword [eax + 0xfc], edx
mov edi, ebx
mov edx, 0x445e99
not edi
mov al, 0x23
mov ebx, edi
cmp al, 0x23
jne 0x40c835
cmp byte [edx], al
jne 0x40c835
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x441718]
test al, al
jne 0x40c827
mov edi, dword [ebp - 0x10]
not ebx
cmp dword [esi + 0x3fdc], ebx
jne 0x40c864
xor edx, edx
xor ecx, ecx
call fcn.00408f80
mov eax, dword [ebp - 0x1c]
cmp dword [esi + 0x4a50], eax
jne 0x40c8a9
cmp word [edi + 0x154], 0
jne 0x40c882
cmp byte [edi + 0x15a], 0
je 0x40c8a9
xor edx, edx
mov ecx, edi
call fcn.004122c0
xor dl, dl
mov ecx, edi
call fcn.00417ff0
mov edx, edi
mov ecx, ebx
call fcn.00408f80
mov eax, dword [esi + 0x4a7c]
mov dword [esi + 0x4000], eax
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0043f45b
mov esp, ebp
pop ebp
ret
Function at 0x40cad0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40cb0d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40caf3
cmp byte [esi], bl
jne 0x40caf3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x441718]
test bl, bl
jne 0x40cae4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040ca70

Function at 0x412da0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x44a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0xec]
mov ebx, dword [edi + 0xf4]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x441718]
sub esi, 1
jne 0x412de0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x3fc4], ebx
jne 0x412e17
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0041c9a0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f45b
mov esp, ebp
pop ebp
ret 4

Function at 0x412e30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x44a040]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x108]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x10c]
subss xmm0, xmm1
mov ecx, dword [edx + 0xec]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xf4]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x441718]
sub edi, 1
jne 0x412eb0
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.0043f45b
mov esp, ebp
pop ebp
ret 4
Function at 0x41b5d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5e2c], 0
lea esi, [edi + 0x5e30]
je 0x41b652
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x41b60c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0041d750
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00406110
mov edx, dword [esi]
mov ecx, 0x44a519
push dword [edi + 0x5e2c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5e38]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00406110
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ba60
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x44a520]
test bl, bl
je 0x41baa6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x41ba87
cmp byte [esi], bl
jne 0x41ba87
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x441718]
test bl, bl
jne 0x41ba78
mov edi, dword [0x44a520]
mov ecx, dword [edi + 0x5dd0]
not eax
mov edx, dword [edi + 0x5dd8]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x41bacd
cmp dword [edx + 4], eax
je 0x41bad0
add edx, 0x24
cmp edx, ecx
jne 0x41bac1
xor eax, eax
ret
mov eax, edx
ret
Function at 0x42ea70
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x44a520]
lea eax, [ebp - 0x10]
push esi
push edi
push eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x42ec1c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x42ec1c
push 0x38
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, dword [0x44a520]
add esp, 4
mov edi, eax
test esi, esi
je 0x42eb13
movsx edx, word [esi + 0x5ee4]
lea eax, [esi + 0x5ee8]
mov ecx, dword [esi + 0x3f08]
lea eax, [eax + edx*8]
cmp dword [eax], ecx
je 0x42eb09
lea eax, [edx + 1]
mov dword [ebp - 0x1c], 6
cdq
idiv dword [ebp - 0x1c]
movzx eax, dx
mov word [esi + 0x5ee4], ax
cwde
add eax, 0xbdd
lea eax, [esi + eax*8]
mov dword [eax], ecx
xor ecx, ecx
mov dword [eax + 4], ecx
inc word [eax + 4]
inc dword [esi + 0x5edc]
test edi, edi
je 0x42eb26
push 0x38
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x42eb28
xor edi, edi
or dword [ebx + 0xc], 6
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x6c], str.imgui_impl_win32
mov ebx, dword [ebp - 0x24]
mov dword [edi], ebx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
test esi, esi
je 0x42eb63
mov esi, dword [esi + 0x74]
jmp 0x42eb65
xor esi, esi
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 4
add esi, 0x24
shr eax, 0x10
push esi
push 0x20001004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42eb88
mov dword [esi], eax
mov eax, dword [0x44a520]
xor esi, esi
mov dword [ebp - 0x38], str.xinput1_4.dll
mov dword [ebp - 0x34], str.xinput1_3.dll
mov dword [ebp - 0x30], str.xinput9_1_0.dll
mov eax, dword [eax + 0x4a34]
mov dword [ebp - 0x2c], str.xinput1_2.dll
mov dword [ebp - 0x28], str.xinput1_1.dll
mov eax, dword [eax]
mov dword [eax + 0x28], ebx
mov byte [edi + 0x29], 1
push dword [ebp + esi*4 - 0x38]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x42ebea
inc esi
cmp esi, 5
jl 0x42ebc1
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f45b
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x2c], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x30], eax
call esi
mov dword [edi + 0x34], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043f45b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f45b
mov esp, ebp
pop ebp
ret
Function at 0x43d290
Capabilities:
Hash data with crc32

Disassembly:
push ecx
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov edi, edx
je 0x43d302
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x43d2d8
or edi, 0xffffffff
nop
cmp cl, 0x23
jne 0x43d2bf
cmp byte [esi], cl
jne 0x43d2bf
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x441718]
test cl, cl
jne 0x43d2b0
mov ecx, dword [0x44a520]
not eax
cmp dword [ecx + 0x3fdc], eax
jne 0x43d2ee
mov dword [ecx + 0x3fe0], eax
cmp dword [ecx + 0x4004], eax
jne 0x43d348
mov byte [ecx + 0x4008], 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0x44a520]
xor edx, edx
mov esi, dword [eax + 0x3f8c]
mov ecx, dword [esi + 0xec]
mov eax, dword [esi + 0xf4]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.004058d0
mov ecx, dword [esi]
mov ebx, eax
add esp, 4
cmp dword [ecx + 0x3fc4], ebx
jne 0x43d346
push ecx
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.0041c9a0
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43fe11
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43fe50
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43fe50
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43fe50
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x43fe50
cmp dword [ecx + 0x74], 0xe
jbe 0x43fe50
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x402140
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x34]
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x34]
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
cmp dword [esp + 0x18], 0x10
mov eax, dword [esp + 4]
jae 0x402182
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp dword [esp + 0x18], 0x10
jb 0x40219d
mov eax, dword [esp + 4]
push eax
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, dword [esp + 0x20]
call fcn.004ae650
add esp, 0x20
ret 0x14

Function at 0x402350
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [0x51eea4]
xor eax, dword [ebp + 4]
push esi
mov esi, dword [sym.imp.kernel32.dll_GetVersionExA]
push edi
mov dword [esp + 0xcc], eax
xor eax, eax
mov ecx, 0x27
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x2c], 0x9c
call esi
test eax, eax
jne 0x4023c9
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], 0x94
call esi
test eax, eax
jne 0x4023c9
cmp dword [esp + 0x24], 0x10
jb 0x40241f
mov edx, dword [esp + 0x10]
push edx
jmp 0x402417
cmp dword [esp + 0x2c], 6
jb 0x402403
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x38], 1
jb 0x4023ec
mov eax, dword [esp + 0x10]
push eax
call fcn.004ade5d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xcc]
xor ecx, dword [ebp + 4]
call fcn.004ae650
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x24], 0x10
mov dword [esp + 0x38], 0
jb 0x40241f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004ade5d
add esp, 4
mov ecx, dword [esp + 0xcc]
xor ecx, dword [ebp + 4]
xor al, al
call fcn.004ae650
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405330
Capabilities:
Get hostname

Disassembly:
sub esp, 0x108
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x108]
push esi
mov dword [esp + 0x108], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
push ecx
mov dword [esp + 0xc], 0x100
call dword [sym.imp.kernel32.dll_GetComputerNameA]
mov esi, dword [esp + 0x110]
lea eax, [esp + 8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405390
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00402cd0
mov ecx, dword [esp + 0x108]
xor ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
call fcn.004ae650
add esp, 0x108
ret 4
Function at 0x4053d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x108
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x108]
push esi
push 0x100
mov dword [esp + 0x10c], eax
lea eax, [esp + 0xc]
push eax
push 0x80000002
push 0x800
mov dword [esp + 0x14], 0
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
mov esi, dword [esp + 0x110]
lea eax, [esp + 8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405430
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00402cd0
mov ecx, dword [esp + 0x108]
xor ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
call fcn.004ae650
add esp, 0x108
ret 4

Function at 0x405470
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x128
mov eax, dword [0x51eea4]
xor eax, dword [esp + 0x128]
push esi
mov dword [esp + 0x128], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x20
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x4054b7
fadd dword [0x4f15e0]
fstp dword [esp + 4]
mov edx, dword [esp + 0x18]
fld dword [esp + 4]
sub esp, 0x20
test edx, edx
fdiv dword [0x4f15dc]
fstp qword [esp + 0x18]
fild dword [esp + 0x38]
jge 0x4054de
fadd dword [0x4f15e0]
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x34]
test eax, eax
fld dword [esp + 0x24]
fdiv dword [0x4f15dc]
fstp qword [esp + 0x10]
fild dword [esp + 0x34]
jge 0x405502
fadd dword [0x4f15e0]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
test ecx, ecx
fld dword [esp + 0x24]
fdiv dword [0x4f15dc]
fstp qword [esp + 8]
fild dword [esp + 0x30]
jge 0x405526
fadd dword [0x4f15e0]
fstp dword [esp + 0x24]
lea edx, [esp + 0x48]
fld dword [esp + 0x24]
fdiv dword [0x4f15dc]
fstp qword [esp]
push str.physical__.1f_mb__available__.1f_mb___virtual__.1f_mb__available__.1f_mb_
push edx
call fcn.004ae68f
mov esi, dword [esp + 0x158]
lea eax, [esp + 0x50]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
add esp, 0x28
mov byte [esi + 4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405570
sub eax, edx
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00402cd0
mov ecx, dword [esp + 0x128]
xor ecx, dword [esp + 0x12c]
mov eax, esi
pop esi
call fcn.004ae650
add esp, 0x128
ret 4
Function at 0x408d70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bb670
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov al, byte [esi + 8]
test al, al
push edi
je 0x408d98
mov eax, dword [esi]
call dword [eax + 8]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x28], 0
cmp dword [edi + 0x18], 0x10
jb 0x408dae
mov eax, dword [edi + 4]
jmp 0x408db1
lea eax, [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x408e6c
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
lea ecx, [esp + 0xc]
call fcn.004015f0
mov esi, eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x20], 0
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push esi
push 0x4f1a3c
push edi
push 0x4f1a14
push 0x51ff84
mov ecx, eax
mov byte [esp + 0x34], 1
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403fa0
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x1c], 0
je 0x408e57
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
test edx, edx
mov dword [eax], esi
jne 0x408e57
mov edx, dword [ecx]
push 1
call dword [edx]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
test al, 0x10
je 0x408e57
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 8], 1
call dword [eax + 0xc]
neg al
push 0xffffffffffffffff
sbb al, al
push 0
inc al
push edi
lea ecx, [esi + 0xc]
mov byte [esi + 9], al
call fcn.00402aa0
mov ecx, dword [esp + 0x14]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x40b590
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4bb948
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov al, byte [esi + 0x10]
test al, al
push edi
jne 0x40b646
lea eax, [esp + 0x1c]
push eax
call fcn.00408c00
mov ecx, eax
call fcn.004014f0
mov eax, dword [eax]
push 0x51ff63
push str.__that_is_not_opened.
add esi, 0x14
push esi
push str.Trying_to_write_to_file__
push 0x51ff84
mov ecx, eax
mov dword [esp + 0x24], 0
call fcn.00401560
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403370
mov ecx, eax
call fcn.00403390
mov ecx, eax
call fcn.00403f50
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x10], 0xffffffff
je 0x40b631
mov esi, dword [eax + 4]
mov ecx, eax
add eax, 4
dec esi
mov edx, esi
test edx, edx
mov dword [eax], esi
jne 0x40b631
mov edx, dword [ecx]
push 1
call dword [edx]
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, dword [esi + 0x34]
push 0
lea eax, [esp + 0x1c]
push eax
push ecx
push edi
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esp + 0x18]
push eax
push edi
mov ecx, esi
call fcn.004011b0
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x40cc80
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4bbc72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, 0xf
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov dword [esp + 0xc], esi
mov byte [edi + 4], bl
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
push 0x18
mov byte [esp + 0x20], 3
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 4
je 0x40ccf7
mov ecx, eax
call fcn.0040c690
jmp 0x40ccf9
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x1c], 3
je 0x40cd05
inc dword [eax + 4]
mov ecx, dword [esi + 0x48]
cmp ecx, ebx
mov dword [esi + 0x48], eax
je 0x40cd22
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x40cd22
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x38
call fcn.004ad909
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 5
je 0x40cd42
mov ecx, eax
call fcn.00408c70
jmp 0x40cd44
xor eax, eax
cmp eax, ebx
mov byte [esp + 0x1c], 3
je 0x40cd50
inc dword [eax + 4]
mov ecx, dword [esi + 0x4c]
cmp ecx, ebx
mov dword [esi + 0x4c], eax
je 0x40cd6d
mov edx, dword [ecx + 4]
dec edx
mov eax, edx
cmp eax, ebx
mov dword [ecx + 4], edx
jne 0x40cd6d
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [esi + 0x4c]
push ebx
call fcn.004010d0
mov eax, dword [esi + 0x4c]
cmp eax, ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
mov dword [ecx], eax
je 0x40cd8b
inc dword [eax + 4]
mov ecx, dword [esi + 0x48]
call fcn.00406a60
mov eax, str.BladeFX_Application
lea edx, [eax + 1]
jmp 0x40cda0
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40cda0
sub eax, edx
push eax
push str.BladeFX_Application
mov ecx, edi
call fcn.00402cd0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret
Function at 0x414580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bc776
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 4], ebx
mov eax, 0xf
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0xc], bl
mov dword [esi], 0x4f2830
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x7c], bl
mov dword [esi + 0xb0], eax
mov dword [esi + 0xac], ebx
mov byte [esi + 0x9c], bl
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xdc], ebx
lea edi, [esi + 0xe0]
mov ecx, edi
mov byte [esp + 0x1c], 7
call fcn.00438f70
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf4], ebx
mov al, byte [esp + 0xf]
lea edi, [esi + 0x120]
mov ecx, edi
mov byte [esp + 0x1c], 0xa
mov byte [edi], al
call fcn.0040ea40
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov ecx, esi
mov byte [esp + 0x1c], 0xb
call fcn.00413580
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret