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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 8]
push 0x46eabc
push dword [ebp + 8]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x416b1a
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 4
mov eax, dword [ebx + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004234c0
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.00436e0a
mov eax, dword [ebx]
add esp, 0x18
mov esi, dword [eax]
cmp esi, eax
je 0x416c1f
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 4
push eax
call fcn.004234c0
push dword [ebp - 8]
lea eax, [ebp - 0x10]
push 1
push 4
push eax
call fcn.00436e0a
mov ecx, dword [esi + 0x18]
mov eax, 0x88888889
mov edi, dword [esi + 0x14]
sub ecx, edi
imul ecx
push 1
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.004234c0
push dword [ebp - 8]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.00436e0a
add esp, 0x30
cmp edi, dword [esi + 0x18]
je 0x416bd2
push 0x78
push edi
call fcn.004234c0
push dword [ebp - 8]
push 1
push 0x78
push edi
call fcn.00436e0a
add edi, 0x78
add esp, 0x18
cmp edi, dword [esi + 0x18]
jne 0x416bb2
cmp byte [esi + 0xd], 0
jne 0x416c17
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x416bfc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x416c17
nop dword [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x416bf0
jmp 0x416c17
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x416c15
cmp esi, dword [eax + 8]
jne 0x416c15
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x416c05
mov esi, eax
cmp esi, dword [ebx]
jne 0x416b50
push 2
push 0
push dword [ebp - 8]
call fcn.0044890e
push dword [ebp - 8]
call fcn.00449096
push 0
push 0
push dword [ebp - 8]
mov edi, eax
call fcn.0044890e
push edi
call fcn.00423c85
push dword [ebp - 8]
mov esi, eax
push edi
push 1
push esi
call fcn.004369f9
push 0xce54
push edi
push esi
call fcn.00422bb0
push 2
push 0
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
call fcn.0044890e
add esp, 0x48
lea eax, [ebp - 0x14]
push dword [ebp - 8]
push 1
push 4
push eax
call fcn.00436e0a
push dword [ebp - 8]
call fcn.004365a5
add esp, 0x14
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x32000
mov dword [ebp - 0x20c], eax
call fcn.00423c85
mov ebx, eax
add esp, 4
mov dword [ebp - 0x210], ebx
mov esi, ebx
mov ebx, dword [ebp - 0x20c]
mov edi, 0xc8
push ebx
push 1
push 0x400
push esi
call fcn.004369f9
push 0x400
push esi
call fcn.004234c0
add esp, 0x18
add esi, 0x400
sub edi, 1
jne 0x4175c1
lea eax, [ebp - 0x208]
mov byte [ebp - 8], 0
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x210]
add esp, 4
test eax, eax
jne 0x41762d
push edi
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.00417b80
add esp, 8
test ebx, ebx
je 0x41764a
push ebx
call fcn.00424407
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424075
mov esp, ebp
pop ebp
ret

Function at 0x417c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x417d2c
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x417cd2
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebp
ret
push edi
mov edi, 0xc8
nop dword [eax + eax]
push 0x400
push esi
call fcn.004234c0
push dword [ebp + 0xc]
push 0x400
push 1
push esi
call fcn.00436e0a
add esp, 0x18
add esi, 0x400
sub edi, 1
jne 0x417ce0
push dword [ebp + 0xc]
call fcn.004365a5
add esp, 4
push edi
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
ret

Function at 0x417d30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x6e00
call fcn.00423c85
push esi
push 1
mov ebx, eax
push 0x6e00
push ebx
call fcn.004369f9
add esp, 0x14
mov esi, ebx
mov edi, 0x100
nop dword [eax]
push 0x6e
push esi
call fcn.004234c0
add esp, 8
add esi, 0x6e
sub edi, 1
jne 0x417d70
lea eax, [ebp - 0x208]
mov byte [ebp - 8], 0
push eax
call fcn.00404e40
add esp, 4
test eax, eax
jne 0x417dc2
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.004183d0
add esp, 8
test ebx, ebx
je 0x417ddf
push ebx
call fcn.00424407
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424075
mov esp, ebp
pop ebp
ret
Function at 0x418560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x418617
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x4185a5
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov esi, ebx
mov edi, 0x100
nop
push 0x6e
push esi
call fcn.004234c0
push dword [ebp + 0xc]
push 0x6e
push 1
push esi
call fcn.00436e0a
add esp, 0x18
add esi, 0x6e
sub edi, 1
jne 0x4185b0
push 0xa2f1
push 0x6e00
push ebx
call fcn.00422bb0
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.00436e0a
push dword [ebp + 0xc]
call fcn.004365a5
add esp, 0x20
push edi
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418620
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x8000
mov dword [ebp - 0x20c], eax
call fcn.00423c85
mov ebx, eax
add esp, 4
mov dword [ebp - 0x210], ebx
mov esi, ebx
mov ebx, dword [ebp - 0x20c]
mov edi, 0x2000
push ebx
push 4
push 1
push esi
call fcn.004369f9
push 4
push esi
call fcn.004234c0
add esp, 0x18
add esi, 4
sub edi, 1
jne 0x418661
lea eax, [ebp - 0x208]
mov byte [ebp - 8], 0
push eax
call fcn.00404e40
mov ebx, dword [ebp - 0x210]
add esp, 4
test eax, eax
jne 0x4186c4
push edi
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x208]
push ebx
push eax
call fcn.00418bf0
add esp, 8
test ebx, ebx
je 0x4186e1
push ebx
call fcn.00424407
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00424075
mov esp, ebp
pop ebp
ret
Function at 0x418cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x418da7
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x418d35
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
mov esi, ebx
mov edi, 0x2000
nop
push 4
push esi
call fcn.004234c0
push dword [ebp + 0xc]
push 4
push 1
push esi
call fcn.00436e0a
add esp, 0x18
add esi, 4
sub edi, 1
jne 0x418d40
push 0xe5f1
push 0x8000
push ebx
call fcn.00422bb0
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.00436e0a
push dword [ebp + 0xc]
call fcn.004365a5
add esp, 0x20
push edi
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x418db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1720
call fcn.00424410
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1720]
push 0x1518
push 0
push eax
call fcn.00425630
push esi
push 0x1518
lea eax, [ebp - 0x1720]
push 1
push eax
call fcn.004369f9
lea eax, [ebp - 0x1720]
push 0x1518
push eax
call fcn.004234c0
lea eax, [ebp - 0x208]
mov byte [ebp - 8], 0
push eax
call fcn.00404e40
add esp, 0x28
pop esi
test eax, eax
jne 0x418e40
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1720]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00419380
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret

Function at 0x4194f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x41956c
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x41952e
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebp
ret
push 0x1518
push esi
call fcn.004234c0
push dword [ebp + 0xc]
push 0x1518
push 1
push esi
call fcn.00436e0a
push dword [ebp + 0xc]
call fcn.004365a5
add esp, 0x1c
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebp
ret
Function at 0x419570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1e0c
call fcn.00424410
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0xe
mov dword [ebp - 0x1e0c], eax
call fcn.00423c3f
add esp, 4
lea edi, [ebp - 0x1e08]
mov esi, eax
mov ebx, 0x200
nop word [eax + eax]
push dword [ebp - 0x1e0c]
push 1
push 0xe
push esi
call fcn.004369f9
push 0xe
push esi
call fcn.004234c0
movq xmm0, qword [esi]
lea edi, [edi + 0xe]
mov eax, dword [esi + 8]
add esp, 0x18
movq qword [edi - 0xe], xmm0
mov dword [edi - 6], eax
mov ax, word [esi + 0xc]
mov word [edi - 2], ax
sub ebx, 1
jne 0x4195b0
lea eax, [ebp - 0x208]
mov byte [ebp - 8], bl
push eax
call fcn.00404e40
add esp, 4
pop edi
pop esi
pop ebx
test eax, eax
jne 0x419628
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1e08]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00419b80
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret

Function at 0x419c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x419cb5
push esi
push str.ERROR_
push str.Error_on_processing_the_gate_struct_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebp
ret
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x419ce8
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebp
ret
push edi
mov edi, 0x200
nop
push 0xe
push esi
call fcn.004234c0
push dword [ebp + 0xc]
push 1
push 0xe
push esi
call fcn.00436e0a
add esp, 0x18
add esi, 0xe
sub edi, 1
jne 0x419cf0
push dword [ebp + 0xc]
call fcn.004365a5
add esp, 4
push edi
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
ret
Function at 0x419d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d8fb
mov eax, dword fs:[0]
push eax
sub esp, 0x65c
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x664], eax
mov dword [ebp - 0x65c], edi
mov dword [ebp - 0x660], esi
mov dword [ebp - 0x654], esi
push eax
push 1
lea eax, [ebp - 0x650]
mov dword [ebp - 4], esi
push 0x3a
xor ebx, ebx
push eax
mov dword [ebp - 0x658], ebx
call fcn.004369f9
add esp, 0x10
test eax, eax
je 0x419f1f
lea eax, [ebp - 0x650]
push 0x3a
push eax
call fcn.004234c0
push 0x400
lea eax, [ebp - 0x616]
push 0
push eax
call fcn.00425630
push dword [ebp - 0x664]
movzx eax, word [ebp - 0x618]
push 1
push eax
lea eax, [ebp - 0x616]
push eax
call fcn.004369f9
movzx eax, word [ebp - 0x618]
push eax
lea eax, [ebp - 0x616]
push eax
call fcn.004234c0
lea eax, [ebp - 0x650]
add esp, 0x2c
cmp eax, ebx
jae 0x419eae
cmp edi, eax
ja 0x419eae
mov ecx, eax
mov eax, 0x3c91beb3
sub ecx, edi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x668], eax
cmp ebx, esi
jne 0x419ea0
push 1
lea ecx, [ebp - 0x65c]
call fcn.0041a8b0
mov eax, dword [ebp - 0x654]
mov ebx, dword [ebp - 0x658]
mov edi, dword [ebp - 0x65c]
mov dword [ebp - 0x660], eax
mov eax, dword [ebp - 0x668]
test ebx, ebx
je 0x419ee6
imul esi, eax, 0x43a
add esi, edi
jmp 0x419edb
cmp ebx, esi
jne 0x419ed1
push 1
lea ecx, [ebp - 0x65c]
call fcn.0041a8b0
mov eax, dword [ebp - 0x654]
mov ebx, dword [ebp - 0x658]
mov dword [ebp - 0x660], eax
test ebx, ebx
je 0x419ee6
lea esi, [ebp - 0x650]
mov ecx, 0x10e
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push dword [ebp - 0x664]
lea eax, [ebp - 0x650]
add ebx, 0x43a
push 1
push 0x3a
push eax
mov dword [ebp - 0x658], ebx
call fcn.004369f9
mov edi, dword [ebp - 0x65c]
add esp, 0x10
mov esi, dword [ebp - 0x660]
test eax, eax
jne 0x419df4
lea eax, [ebp - 0x214]
mov byte [ebp - 0x14], 0
push eax
call fcn.00404e40
add esp, 4
test eax, eax
jne 0x419f68
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
test edi, edi
je 0x419fae
sub esi, edi
mov eax, 0x3c91beb3
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
jmp 0x419fa3
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0041a670
mov esi, dword [ebp - 0x65c]
add esp, 8
test esi, esi
je 0x419fae
mov ecx, dword [ebp - 0x654]
mov eax, 0x3c91beb3
sub ecx, esi
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
lea ecx, [ebp - 0x65c]
call fcn.0041a9c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
Function at 0x41a760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x41a81c
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x41a7a8
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x41a7f8
lea ebx, [esi + 0x3a]
push edi
movzx edi, word [ebx - 2]
push 0x3a
push esi
call fcn.004234c0
push edi
push ebx
call fcn.004234c0
push dword [ebp - 4]
push 0x3a
push 1
push esi
call fcn.00436e0a
push dword [ebp - 4]
push edi
push 1
push ebx
call fcn.00436e0a
mov eax, dword [ebp + 0xc]
add esi, 0x43a
add esp, 0x30
add ebx, 0x43a
cmp esi, dword [eax + 4]
jne 0x41a7b4
pop edi
push dword [ebp - 4]
call fcn.004365a5
add esp, 4
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ae70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d9d7
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [0x48c7e8]
mov ecx, 0x48c7e8
mov dword [ebp - 4], 0
push dword [eax + 4]
call fcn.0041bb60
mov eax, dword [0x48c7e8]
push edi
push 1
push 6
mov dword [eax + 4], eax
mov eax, dword [0x48c7e8]
mov dword [ebp - 4], 0xffffffff
mov dword [eax], eax
mov eax, dword [0x48c7e8]
mov dword [eax + 8], eax
lea eax, [ebp - 0x238]
push eax
mov dword [0x48c7ec], 0
call fcn.004369f9
add esp, 0x10
test eax, eax
je 0x41b042
nop dword [eax]
lea eax, [ebp - 0x238]
push 6
push eax
call fcn.004234c0
movzx eax, word [ebp - 0x234]
push eax
call fcn.00423c85
movzx ecx, word [ebp - 0x234]
mov esi, eax
push edi
push 1
push ecx
push esi
call fcn.004369f9
movzx ecx, word [ebp - 0x234]
push ecx
push esi
call fcn.004234c0
mov eax, dword [ebp - 0x238]
add esp, 0x24
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
cmp byte [esi], 0
jne 0x41af6f
xor eax, eax
jmp 0x41af7d
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41af74
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x22c]
call fcn.0041be60
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, 0x48c7e8
call fcn.0041aa20
push eax
add eax, 0x10
mov ecx, 0x48c7e8
push eax
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0041ac40
mov eax, dword [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x41b005
mov ecx, dword [ebp - 0x22c]
inc eax
cmp eax, 0x1000
jb 0x41affc
test cl, 0x1f
jne 0x41b072
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41b072
sub ecx, eax
cmp ecx, 4
jb 0x41b072
cmp ecx, 0x23
ja 0x41b072
mov ecx, eax
push ecx
call fcn.00423c72
add esp, 4
push esi
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
call fcn.00424407
push edi
push 1
lea eax, [ebp - 0x238]
push 6
push eax
call fcn.004369f9
add esp, 0x14
test eax, eax
jne 0x41af00
lea eax, [ebp - 0x214]
mov byte [ebp - 0x14], 0
push eax
call fcn.00404e40
add esp, 4
test eax, eax
jne 0x41b077
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41b0c5
call fcn.0042e5d8
lea eax, [ebp - 0x214]
push 0x48c7e8
push eax
call fcn.0041b670
add esp, 8
mov eax, dword [0x48c7e8]
mov ecx, 0x48c7e8
mov dword [ebp - 4], 2
push dword [eax + 4]
call fcn.0041bb60
mov eax, dword [0x48c7e8]
mov dword [eax + 4], eax
mov eax, dword [0x48c7e8]
mov dword [eax], eax
mov eax, dword [0x48c7e8]
mov dword [eax + 8], eax
mov dword [0x48c7ec], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
Function at 0x41b760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 4], 0
je 0x41b882
push 0x46e280
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0043649b
add esp, 0xc
test eax, eax
je 0x41b7a9
push 0
push str.ERROR_
push str.Could_not_open_save_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x41b85e
push edi
cmp dword [esi + 0x28], 0x10
lea ebx, [esi + 0x14]
jb 0x41b7c2
mov ebx, dword [ebx]
mov edi, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x41b7c7
mov eax, dword [esi + 0x10]
sub edi, ecx
mov dword [ebp - 0xc], eax
inc edi
lea eax, [ebp - 0xc]
mov word [ebp - 8], di
push 6
push eax
call fcn.004234c0
push edi
push ebx
call fcn.004234c0
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push 6
push 1
push eax
call fcn.00436e0a
push dword [ebp - 4]
push edi
push 1
push ebx
call fcn.00436e0a
add esp, 0x30
cmp byte [esi + 0xd], 0
jne 0x41b852
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x41b831
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x41b852
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x41b825
jmp 0x41b852
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x41b850
nop word [eax + eax]
cmp esi, dword [eax + 8]
jne 0x41b850
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x41b840
mov esi, eax
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax]
jne 0x41b7b7
pop edi
push dword [ebp - 4]
call fcn.004365a5
add esp, 4
push 0
push str.NOTICE_
push str.File_saved_successfully_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x485310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x48cc00]
push esi
mov esi, dword [ebp + 8]
push esi
push 1
mov dword [0x48cc04], eax
lea eax, [ebp - 0x234]
push 0x29
push eax
call fcn.004369f9
add esp, 0x10
test eax, eax
je 0x41c4ba
nop dword [eax]
lea eax, [ebp - 0x234]
push 0x29
push eax
call fcn.004234c0
add esp, 8
lea eax, [ebp - 0x234]
mov ecx, 0x48cc00
push eax
call fcn.0041cd40
push esi
push 1
lea eax, [ebp - 0x234]
push 0x29
push eax
call fcn.004369f9
add esp, 0x10
test eax, eax
jne 0x41c480
lea eax, [ebp - 0x208]
mov byte [ebp - 8], 0
push eax
call fcn.00404e40
add esp, 4
pop esi
test eax, eax
jne 0x41c4f7
push eax
push str.ERROR_
push str.Failed_to_save_the_file_
push dword [0x48f0a0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424075
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x208]
push 0x48cc00
push eax
call fcn.0041c9a0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, dword [0x48cc00]
xor ecx, ebp
mov dword [0x48cc04], eax
call fcn.00424075
mov esp, ebp
pop ebp
ret