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

Disassembly:
mov eax, 0x14044
call fcn.0041e1a0
mov eax, dword [0x4538d0]
xor eax, esp
mov dword [esp + 0x14040], eax
push ebx
mov ebx, dword [esp + 0x14050]
push ebp
push esi
push edi
mov edi, dword [esp + 0x14058]
mov esi, ecx
lea eax, [esi + 0xc]
push 0x44885c
push eax
mov dword [esp + 0x1c], ebx
call fcn.00420ee9
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x410f58
push 0x448850
push edi
call fcn.00420ee9
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x410f5f
push ebp
call fcn.004207b5
add esp, 4
xor al, al
jmp 0x4113cd
mov eax, ebx
test ebx, ebx
jne 0x410f6b
lea eax, [esi + 0x138]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x410f70
mov ecx, dword [esi + 0x2c0]
sub eax, edx
push 0
lea edx, [ecx + eax + 0x1e]
push edx
push ebp
call fcn.00420da0
push 0x38
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0041dfb0
push 0x38
push 0x448854
push ebx
push 8
push 0xfffffffffffffff1
push 8
lea ecx, [esp + 0x48]
push 0xffffffffffffffff
push ecx
mov dword [esp + 0x74], 0x410ee0
mov dword [esp + 0x70], 0x410ec0
call fcn.00416f20
push edi
call fcn.00421137
add esp, 0x3c
test eax, eax
jne 0x4110b7
jmp 0x410fe4
mov edi, dword [esp + 0x10]
push edi
push 0xa000
lea edx, [esp + 0xa058]
push 1
push edx
call fcn.00420aee
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4110b3
push edi
lea eax, [esp + 0xa054]
push eax
push ebx
call fcn.004185c0
add esp, 0xc
lea ecx, [esp + 0xa050]
lea edx, [esp + 0x50]
mov ebx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 0xa000
test edi, edi
jbe 0x411082
lea ecx, [ecx]
cmp dword [esp + 0x28], 0
jne 0x41106c
push ebp
push 1
lea eax, [esp + 0x58]
push 0xa000
push eax
call fcn.004210b5
lea ecx, [esp + 0x60]
add esp, 0x10
mov dword [esp + 0x28], 0xa000
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x18]
push 0
push edx
call fcn.00417370
add esp, 8
cmp dword [esp + 0x1c], 0
ja 0x411040
mov eax, 0xa000
sub eax, dword [esp + 0x28]
je 0x41109e
push ebp
push 1
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004210b5
add esp, 0x10
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00421137
add esp, 4
test eax, eax
je 0x410fe0
mov edi, dword [esp + 0x10]
push edi
call fcn.004207b5
lea edx, [esp + 0x54]
mov edi, 0xa000
add esp, 4
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edi
cmp dword [esp + 0x28], 0
jne 0x4110f5
push ebp
push 1
lea eax, [esp + 0x58]
push edi
push eax
call fcn.004210b5
lea ecx, [esp + 0x60]
add esp, 0x10
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x18]
push 4
push edx
call fcn.00417370
add esp, 8
test eax, eax
je 0x4110d1
mov eax, edi
sub eax, dword [esp + 0x28]
je 0x411121
push ebp
push 1
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004210b5
add esp, 0x10
push ebp
call fcn.00420ca8
mov edx, dword [esp + 0x24]
lea edi, [esi + 0x264]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov word [edi + 0x1c], ax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x272], ebx
mov ebx, dword [esp + 0x18]
xor ecx, ecx
add esp, 4
mov word [esi + 0x26a], cx
mov dword [edi], 0x4034b50
mov dword [esi + 0x27a], edx
mov dword [esi + 0x276], eax
test ebx, ebx
je 0x41118b
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411182
jmp 0x41119b
lea eax, [esi + 0x138]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411194
sub eax, edx
mov word [esi + 0x27e], ax
mov eax, dword [esi + 0x2c0]
push 0
push eax
mov ecx, 8
mov edx, 0x14
push ebp
mov word [esi + 0x26c], cx
mov word [esi + 0x268], dx
call fcn.00420da0
push ebp
push 1
push 0x1e
push edi
call fcn.004210b5
add esp, 0x1c
test ebx, ebx
je 0x4111f2
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4111e2
push ebp
push 1
sub eax, edx
push eax
push ebx
jmp 0x41120e
lea edx, [esi + 0x138]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411200
push ebp
push 1
sub eax, edi
push eax
push edx
call fcn.004210b5
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0
push ecx
push ebp
call fcn.00420da0
mov edx, dword [esi + 0x2bc]
mov eax, dword [esi + 0x2d4]
push ebp
push 1
push edx
push eax
call fcn.004210b5
mov ecx, dword [esi + 0x2d4]
push ecx
call fcn.0041db26
push 0x2e
lea edi, [esi + 0x282]
push 0
push edi
mov dword [esi + 0x2d4], 0
call fcn.0041dfb0
mov cx, word [esi + 0x26c]
mov edx, 0x14
mov eax, edx
mov word [esi + 0x286], dx
mov edx, dword [esi + 0x272]
mov word [esi + 0x288], ax
mov eax, dword [esi + 0x276]
mov word [esi + 0x28c], cx
mov ecx, dword [esi + 0x27a]
add esp, 0x2c
mov dword [edi], 0x2014b50
mov dword [esi + 0x292], edx
mov dword [esi + 0x296], eax
mov dword [esi + 0x29a], ecx
test ebx, ebx
je 0x4112c1
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4112b8
jmp 0x4112d7
lea eax, [esi + 0x138]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4112d0
push ebp
push 1
sub eax, edx
mov edx, dword [esi + 0x2c0]
push 0x2e
push edi
mov word [esi + 0x29e], ax
mov dword [esi + 0x2ac], edx
call fcn.004210b5
add esp, 0x10
test ebx, ebx
je 0x411313
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411303
push ebp
push 1
sub eax, edx
push eax
push ebx
jmp 0x41132e
lea edx, [esi + 0x138]
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411320
push ebp
push 1
sub eax, edi
push eax
push edx
call fcn.004210b5
mov eax, dword [esp + 0x20]
add dword [esi + 0x2bc], 0x2e
mov edx, dword [esi + 0x2bc]
mov dword [esi + 0x2c0], eax
mov eax, 1
add word [esi + 0x2b8], ax
add word [esi + 0x2ba], ax
add esp, 0x10
test ebx, ebx
je 0x411379
mov eax, ebx
lea edi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411370
jmp 0x411389
lea eax, [esi + 0x138]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411382
sub eax, edi
push ebp
add edx, eax
push 1
mov dword [esi + 0x2bc], edx
lea edx, [esi + 0x2b0]
xor ecx, ecx
push 0x16
push edx
mov word [esi + 0x2c4], cx
call fcn.004210b5
lea eax, [esp + 0x28]
push eax
call fcn.004176d0
push ebp
call fcn.004207b5
add esp, 0x18
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.00410e00
mov al, 1
mov ecx, dword [esp + 0x14050]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e18f
add esp, 0x14044
ret 8