Function at 0x43c27c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push 1
push eax
push ebx
push dword [ebp + 8]
call esi
mov dword [ebp - 0x40], eax
mov ecx, 0xdb
xor eax, eax
lea edi, [ebp - 0x3ff]
mov byte [ebp - 0x400], bl
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x400]
push ebx
push eax
push dword [ebp + 8]
call fcn.0043c6ac
add esp, 0x10
test eax, eax
je 0x43c390
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x8f]
mov byte [ebp - 0x90], bl
mov dword [ebp - 0x18], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x90]
push 0x40
push eax
push dword [ebp - 0x1a4]
push dword [ebp - 0x1ac]
push dword [ebp - 0x2e0]
call fcn.00441e9e
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x90]
push dword [ebp - 0x18]
push eax
call fcn.00453ae6
add esp, 0x24
test eax, eax
jne 0x43c33f
push 0x203e
push 0x1b
jmp 0x43c389
push dword [ebp - 0x2dc]
call fcn.00439674
cmp eax, ebx
pop ecx
mov dword [ebp - 0x48], eax
jne 0x43c35b
push 0x2049
push 0xc
jmp 0x43c389
cmp dword [ebp - 0x2b8], ebx
je 0x43c5ec
push dword [ebp - 0x3dc]
push dword [ebp - 0x3e0]
push dword [ebp + 0xc]
call fcn.0043c5f4
add esp, 0xc
test eax, eax
jne 0x43c397
push 0x2056
push 0x25
call fcn.004399ac
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x3c]
push ebx
push eax
push dword [ebp - 0x40]
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 0x2c4]
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x4c]
push 1
push ecx
push eax
mov dword [ebp - 0x50], eax
push dword [ebp + 8]
call esi
push ebx
push ebx
push ebx
push dword [ebp + 0xc]
call esi
xor eax, eax
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], ebx
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
stosd dword es:[edi], eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], ebx
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2b8]
ja 0x43c540
push 0x10
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.00466010
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push ebx
push eax
lea eax, [ebp - 0x34]
push 0x10
push eax
push dword [ebp + 8]
call esi
test eax, eax
je 0x43c549
cmp dword [ebp - 0x34], ebx
jne 0x43c550
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x2c]
jae 0x43c463
cmp dword [ebp - 8], ebx
je 0x43c44b
push dword [ebp - 8]
call fcn.005ed483
pop ecx
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x20], eax
call fcn.005ed45a
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x43c557
push dword [ebp - 0x20]
push ebx
push dword [ebp - 8]
call fcn.00466010
add esp, 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
push dword [ebp - 0x2c]
push dword [ebp - 8]
push dword [ebp + 8]
call esi
test eax, eax
je 0x43c56e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x1c], eax
jb 0x43c575
push dword [ebp - 0x30]
push eax
push dword [ebp - 8]
call fcn.00453a6b
add esp, 0xc
test eax, eax
je 0x43c57e
mov edi, dword [ebp - 0x2c]
cmp edi, dword [ebp - 0x28]
ja 0x43c4b8
mov edi, dword [ebp - 0x28]
cmp dword [ebp - 0x10], edi
jae 0x43c4e0
cmp dword [ebp - 0xc], ebx
je 0x43c4cb
push dword [ebp - 0xc]
call fcn.005ed483
pop ecx
push edi
mov dword [ebp - 0x10], edi
call fcn.005ed45a
cmp eax, ebx
pop ecx
mov dword [ebp - 0xc], eax
je 0x43c587
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0xc]
call fcn.00466010
add esp, 0xc
lea edx, [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ebx
push edx
lea edx, [ebp - 0x90]
push dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [ebp - 0xc]
push dword [ebp - 0x2c]
push dword [ebp - 8]
push dword [ebp - 0x18]
push edx
call dword [eax + 0x14]
test eax, eax
je 0x43c590
lea eax, [ebp - 0x44]
push ebx
push eax
mov dword [ebp - 0x44], ebx
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43c599
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x14]
jb 0x43c5a0
jmp 0x43c3f0
mov dword [ebp - 0x38], 1
jmp 0x43c5b5
push 0x207d
jmp 0x43c57a
push 0x2085
jmp 0x43c57a
push 0x2092
push 0x21
call fcn.004399ac
pop ecx
mov dword [ebp - 4], 1
pop ecx
jmp 0x43c5c3
push 0x209c
jmp 0x43c57a
push 0x20a2
push 0xd
jmp 0x43c5a7
push 0x20aa
push 0x1c
jmp 0x43c5a7
push 0x20b9
push 0x21
jmp 0x43c5a7
push 0x20c5
push 0x12
jmp 0x43c5a7
push 0x20d0
jmp 0x43c5a5
push 0x20d6
push 0xe
call fcn.004399ac
pop ecx
mov dword [ebp - 4], 1
pop ecx
cmp dword [ebp - 8], ebx
je 0x43c5c3
push dword [ebp - 8]
call fcn.005ed483
pop ecx
cmp dword [ebp - 0xc], ebx
je 0x43c5d1
push dword [ebp - 0xc]
call fcn.005ed483
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [ebp - 0x38], ebx
je 0x43c390
cmp dword [ebp - 4], ebx
jne 0x43c390
push 1
pop eax
jmp 0x43c392