joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41320c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push ebx
mov esi, dword [ebp + 8]
test byte [0x463b90], 2
je 0x413235
add esp, 0xfffffff8
push 0x4131fc
push 0x83
call sym._f__fatal
add esp, 0x10
mov eax, dword [esi + 4]
cmp eax, 0x63
jg 0x4132eb
lea eax, [eax + eax*2]
shl eax, 4
lea ebx, [eax + 0x463bb0]
cmp dword [eax + 0x463bb0], 0
je 0x4132dd
cmp dword [eax + 0x463bdc], 1
je 0x4132af
mov eax, dword [esi + 8]
test eax, eax
je 0x413280
mov al, byte [eax]
cmp al, 0x4b
je 0x413280
jg 0x41327c
cmp al, 0x44
je 0x4132af
jmp 0x413280
cmp al, 0x64
je 0x4132af
cmp dword [ebx + 0x28], 1
jne 0x413292
add esp, 0xfffffff4
push esi
call sym._t_runc
add esp, 0x10
cmp dword [ebx + 4], 0
je 0x4132d7
add esp, 0xfffffff4
push dword [ebx]
call sym._fclose
add esp, 0xfffffff4
push dword [ebx + 4]
call sym._free
jmp 0x4132d7
add esp, 0xfffffff4
push dword [ebx]
call sym._fclose
add esp, 0x10
mov eax, dword [ebx + 4]
test eax, eax
je 0x4132d7
add esp, 0xfffffff4
push eax
call sym._remove
add esp, 0xfffffff4
push dword [ebx + 4]
call sym._free
mov dword [ebx], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 4], 0
xor eax, eax
lea esp, [ebp - 0x18]
pop ebx
pop esi
leave
ret

Function at 0x413518
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push ebx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jle 0x413581
add esp, 0xfffffff8
push 0x4134fc
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sym._fprintf
add esp, 0x10
test ebx, ebx
jle 0x413568
nop
lea esi, [esi]
add esp, 0xfffffff8
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
movsx eax, byte [esi]
push eax
inc esi
call sym._putc
add esp, 0x10
dec ebx
jne 0x41354c
add esp, 0xfffffff8
push 0x413502
mov eax, dword [sym.imp.crtdll.dll__iob]
add eax, 0x40
push eax
call sym._fprintf
add esp, 0x10
add esp, 0xfffffff4
push 0
call sym._exit
add byte [edx], dh
jb 0x4135f2
add byte [edx + 0x2b], dh
add byte [edx + 0x2b], dh
bound eax, qword [eax]
ja 0x41359a
ja 0x4135fe
add byte [ebp + 0x61], ch
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], sp
popaw
imul ebp, dword [ebp + esi*2 + 0x72], 0x89550065
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push ebx
mov ecx, dword [ebp + 8]
cmp dword [0x420cc0], 0x421010
jne 0x4135cd
mov dword [0x420cc4], 0x400
mov edx, dword [0x420cc4]
cmp edx, ecx
jg 0x4135ea
nop
lea esi, [esi]
lea eax, [edx + edx]
mov edx, eax
cmp eax, ecx
jle 0x4135dc
mov dword [0x420cc4], eax
add esp, 0xfffffff4
push dword [0x420cc4]
call sym._malloc
mov esi, eax
add esp, 0x10
add al, ch
or byte [eax], bh
add byte [ecx + 0x10c483c6], cl
test esi, esi
jne 0x413613
div byte [ebp + 0x12]
add esp, 0xfffffff8
push 0x41359d
push 0x71
call sym._f__fatal
add esp, 0x10
mov ecx, esi
mov edx, dword [0x420cc0]
mov ebx, edx
add ebx, dword [ebp + 0xc]
cmp edx, ebx
jae 0x41362e
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
cmp edx, ebx
jb 0x413624
mov eax, dword [0x420cc0]
cmp eax, 0x421010
je 0x413643
add esp, 0xfffffff4
push eax
call sym._free
mov dword [0x420cc0], esi
lea esp, [ebp - 0x18]
pop ebx
pop esi
leave
ret
Function at 0x416e8c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x52b], 0xdf
mov byte [ebp - 0x52a], 0xf6
mov byte [ebp - 0x529], 0xf9
mov byte [ebp - 0x528], 0xf3
mov byte [ebp - 0x527], 0xfb
mov byte [ebp - 0x526], 0xf2
mov byte [ebp - 0x525], 0x97
lea eax, [ebp - 0x534]
push eax
call fcn.004163eb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004163a0
add esp, 0xc
mov dword [ebp - 0x680], eax
call fcn.004163db
add byte [esi], dl
inc ebx
mov es, word [eax - 0x6635b]
inc dword [eax]
and byte [ebp - 0x663], 0
mov byte [ebp - 0x662], 7
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.004163eb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004163a0
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
invalid
test edi, esp

Function at 0x416fdc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sal bl, 0xff
inc dword [ebx - 0x7a76f33c]
cld
invalid
Function at 0x4055b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
lea edi, [eax*4]
xor ebx, ebx
test edi, edi
jle 0x405611
mov eax, dword [ebp + 8]
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
mov ecx, dword [esi - 8]
mov edx, dword [eax - 8]
mov dword [eax - 8], ecx
mov ecx, dword [esi - 4]
mov dword [esi - 8], edx
mov edx, dword [eax - 4]
mov dword [eax - 4], ecx
mov ecx, dword [esi]
mov dword [esi - 4], edx
mov edx, dword [eax]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [esi], edx
mov edx, dword [eax + 4]
mov dword [eax + 4], ecx
add ebx, 4
sub edi, 4
mov dword [esi + 4], edx
lea eax, [eax + 0x10]
lea esi, [esi - 0x10]
cmp ebx, edi
jl 0x4055d2
mov eax, dword [ebp + 0xc]
cmp eax, 1
jle 0x405774
mov esi, dword [ebp + 8]
add esi, 2
lea edi, [eax - 1]
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
shr eax, 0x18
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x51fef0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5206f0]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x520af0]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5202f0]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x51fef0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5206f0]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5202f0]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x520af0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x51fef0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5206f0]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5202f0]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x520af0]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + str.ccccwwww]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x51fef0]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5206f0]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x5202f0]
movzx eax, dl
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, dword [eax*4 + 0x520af0]
mov dword [esi + 0xa], ecx
dec edi
jne 0x405623
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x405780
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0xf8], 0
je 0x405792
pop ebp
jmp fcn.00404520
pop ebp
jmp fcn.00403480
Function at 0x405d00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b953
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.SecretKey.0
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 1
call fcn.00413e70
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 0
call fcn.00413cc0
lea ecx, [edi + 0x44]
call fcn.00416dc0
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.Key.0
call fcn.00417dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b953
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.SecretKey.0
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 1
call fcn.00413e70
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 0
call fcn.00413cc0
lea ecx, [edi + 0x44]
call fcn.00416dc0
lea ecx, [edi + 0xc]
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.Key.0
call fcn.00417dd0
test byte [ebp + 8], 1
je 0x405df7
push edi
call fcn.004efbca
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x405f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
push ebx
mov ebx, ecx
test eax, eax
jne 0x405f57
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 8], 0
je 0x406025
test al, 0xf
jne 0x406048
mov ecx, dword [ebx + 0x5c]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
cmp ecx, 1
jne 0x405ff1
test eax, eax
jle 0x40601c
dec eax
shr eax, 4
sub esi, edi
inc eax
mov dword [ebp + 8], eax
jmp 0x405f90
movq xmm0, qword [esi + edi]
mov eax, dword [ebx]
lea ecx, [esi + edi]
push 0
push edi
movq qword [ebp - 8], xmm0
movq xmm0, qword [ecx + 8]
push ecx
mov ecx, ebx
movq qword [ebp - 0x10], xmm0
call dword [eax + 0x1c]
mov eax, dword [ebx + 0x60]
xor dword [edi], eax
mov eax, dword [ebx + 0x64]
xor dword [edi + 4], eax
mov eax, dword [ebx + 0x68]
xor dword [edi + 8], eax
mov eax, dword [ebx + 0x6c]
xor dword [edi + 0xc], eax
movq xmm0, qword [ebp - 8]
movq qword [ebx + 0x60], xmm0
movq xmm0, qword [ebp - 0x10]
add edi, 0x10
dec dword [ebp + 8]
movq qword [ebx + 0x68], xmm0
jne 0x405f90
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
jne 0x40606b
test eax, eax
jle 0x40601c
dec eax
shr eax, 4
sub edi, esi
inc eax
mov dword [ebp + 8], eax
mov edx, dword [ebx]
push 0
lea eax, [edi + esi]
push eax
push esi
mov ecx, ebx
call dword [edx + 0x1c]
add esi, 0x10
dec dword [ebp + 8]
jne 0x406003
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x561ea0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], vtable.key_not_initialized.0
call fcn.004eff77
push 0x561f18
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], vtable.invalid_data_size.0
call fcn.004eff77
push 0x561f58
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], vtable.invalid_chaining_mode.0
call fcn.004eff77
int3
Function at 0x406090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0xc
push edi
mov edi, ecx
test eax, eax
jne 0x4060a7
pop edi
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 8], 0
je 0x406173
test al, 0xf
jne 0x406196
mov ecx, dword [edi + 0x5c]
push ebx
push esi
mov esi, dword [ebp + 8]
cmp ecx, 1
jne 0x40612e
test eax, eax
jle 0x40616a
mov ecx, dword [ebp + 0x10]
dec eax
sub ecx, esi
shr eax, 4
inc eax
lea ebx, [edi + 0x60]
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], eax
mov eax, dword [esi]
xor dword [ebx], eax
mov eax, dword [esi + 4]
xor dword [ebx + 4], eax
mov eax, dword [esi + 8]
xor dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
xor dword [ebx + 0xc], eax
mov eax, dword [edi]
push 1
push ebx
push ebx
mov ecx, edi
call dword [eax + 0x1c]
dec dword [ebp + 0x10]
movq xmm0, qword [ebx]
mov eax, dword [ebp + 8]
lea esi, [esi + 0x10]
movq qword [eax + esi - 0x10], xmm0
movq xmm0, qword [ebx + 8]
movq qword [eax + esi - 8], xmm0
jne 0x4060e1
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
test ecx, ecx
jne 0x4061b9
test eax, eax
jle 0x40616a
mov ecx, dword [ebp + 0x10]
lea ebx, [eax - 1]
sub ecx, esi
shr ebx, 4
mov dword [ebp + 0x10], ecx
inc ebx
lea esp, [esp]
mov edx, dword [edi]
push 1
lea eax, [ecx + esi]
push eax
push esi
mov ecx, edi
call dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
add esi, 0x10
dec ebx
jne 0x406150
mov eax, dword [ebp + 0xc]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x561ea0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], vtable.key_not_initialized.0
call fcn.004eff77
push 0x561f18
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], vtable.invalid_data_size.0
call fcn.004eff77
push 0x561f58
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], vtable.invalid_chaining_mode.0
call fcn.004eff77
int3

Function at 0x406e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
xor eax, eax
lea edx, [ebx + 0x70]
mov ecx, dword [edi + eax*4]
xor ecx, esi
inc eax
mov dword [edx], ecx
lea edx, [edx + 4]
cmp eax, 0x20
jl 0x406e63
pop edi
pop esi
mov byte [ebx + 8], 1
pop ebx
pop ebp
ret 8
Function at 0x409470
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40959e
lea eax, [ebp - 0x24]
push eax
xorps xmm0, xmm0
push 0x18
push ebx
mov dword [ebp - 0x24], 0
movq qword [ebp - 0x20], xmm0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x10], 0
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x40959e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
js 0x40959e
mov eax, dword [ebp + 0x14]
test eax, eax
js 0x40959e
add eax, ecx
cmp eax, dword [ebp - 0x20]
jg 0x40959e
mov ecx, dword [ebp + 0x10]
test ecx, ecx
js 0x40959e
mov eax, dword [ebp + 0x18]
test eax, eax
js 0x40959e
add eax, ecx
cmp eax, dword [ebp - 0x1c]
jg 0x40959e
push esi
push edi
push 0
push 0
push 0
push dword [0x575280]
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call esi
push ebx
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [ebp + 8], eax
call ebx
push edi
mov dword [ebp - 0xc], eax
call esi
push dword [ebp + 0x18]
mov edi, eax
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 8], eax
call ebx
push 0xcc0020
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
cmp eax, 1
push edi
sete bl
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push dword [ebp - 0xc]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call esi
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 8]
pop edi
pop esi
test bl, bl
jne 0x4095a0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a040
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x40a055
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
push eax
xorps xmm0, xmm0
push 0x18
push edi
mov dword [ebp - 0x38], 0
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x40a04e
mov eax, dword [ebp - 0x34]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
cmp eax, dword [esi + 4]
jne 0x40a0a8
lea eax, [ebp + 8]
push eax
call fcn.00409800
add esp, 4
pop esi
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 0
push 0
push dword [0x575280]
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [ebp - 0x10], eax
call ebx
push edi
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov edi, dword [esi + 4]
mov ecx, edx
imul ecx, edi
push ecx
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 4]
push ecx
push edx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
push dword [ebp - 0x10]
call ebx
push edi
push esi
push dword [ebp - 0x10]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x1c], eax
mov byte [ebp + 0xb], 0
cmp dword [ebp - 8], esi
jle 0x40a15d
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push 0xcc0020
push esi
push 0
push dword [ebp - 0x14]
push dword [ebx + 4]
push eax
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
cmp eax, 1
jne 0x40a156
mov eax, dword [ebp - 4]
add esi, dword [ebx + 4]
add edi, eax
cmp esi, dword [ebp - 8]
jl 0x40a127
jmp 0x40a15a
mov byte [ebp + 0xb], 1
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call edi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call esi
push dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
push ebx
call edi
push ebx
call esi
push dword [ebp - 0x10]
call esi
cmp byte [ebp + 0xb], 0
mov eax, dword [ebp - 0x18]
pop ebx
je 0x40a196
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x413ef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx - 0x14]
mov eax, dword [eax + 4]
add ecx, 0xffffffec
add ecx, eax
pop ebp
jmp fcn.004177d0

Function at 0x413f10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx - 0x14]
mov eax, dword [eax + 4]
add ecx, 0xffffffec
add ecx, eax
pop ebp
jmp fcn.00417aa0
Function at 0x414300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c3db
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x414351
mov dword [edi + 4], 0x5314c0
mov dword [edi + 0x94], vtable.Streamable.0
mov dword [ebp - 0x10], 1
mov eax, dword [edi + 4]
mov dword [edi], vtable.Displayable.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.Displayable.1.0
mov eax, dword [edi + 4]
mov dword [edi + 8], 0
mov dword [edi], vtable.Node.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.Node.1.0
mov eax, dword [edi + 4]
mov dword [edi], vtable.FolderTree.0
mov eax, dword [eax + 4]
mov dword [ebp - 4], 1
mov dword [eax + edi + 4], vtable.FolderTree.1.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x90]
mov dword [ecx + edi], eax
lea ecx, [edi + 0xc]
call fcn.00417d90
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.00417d90
push 0x100
lea ecx, [edi + 0x54]
mov byte [ebp - 4], 3
call fcn.00413fa0
mov dword [edi + 0x54], vtable.FolderTree::FoldersTree.0
push 0x100
lea ecx, [edi + 0x6c]
mov byte [ebp - 4], 4
call fcn.00413f30
mov dword [edi + 0x6c], vtable.FolderTree::FilesTree.0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415ee0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x140
lea eax, [ebp - 0x144]
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x148], esi
call fcn.004f0870
push 0x522c78
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.00414830
add esp, 0x18
lea ecx, [ebp - 0x144]
push ecx
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [ebp - 0x16c]
mov ebx, eax
call fcn.00417dd0
cmp ebx, 0xffffffff
jne 0x415f67
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 0x144]
push eax
mov ecx, edi
call fcn.00416000
mov esi, eax
test esi, esi
jne 0x415fac
lea esp, [esp]
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x415fac
push dword [ebp - 0x148]
lea eax, [ebp - 0x144]
push eax
mov ecx, edi
call fcn.00416000
mov esi, eax
test esi, esi
je 0x415f80
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
jne 0x415feb
mov eax, dword [edi + 0x74]
lea ecx, [edi + 0x6c]
cmp eax, 2
jl 0x415fce
push esi
dec eax
push eax
push esi
mov dword [ecx + 0x14], esi
call fcn.004161a0
mov eax, dword [edi + 0x5c]
lea ecx, [edi + 0x54]
cmp eax, 2
jl 0x415feb
push 0
dec eax
push eax
push 0
mov dword [ecx + 0x14], 0
call fcn.004162e0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eff68
mov esp, ebp
pop ebp
ret 4