Function at 0x43e030
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b74e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebx], 0
mov dword [ebx + 4], 0
test eax, eax
je 0x43e081
lea edx, [ebp - 0x174]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43e075
jmp 0x43e093
lea eax, [ebp - 0x174]
push eax
push 0x104
call dword [0x4b9134]
lea eax, [ebp - 0x174]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e0a0
sub eax, edx
je 0x43e0e2
lea eax, [ebp - 0x174]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e0b4
sub eax, edx
cmp byte [ebp + eax - 0x175], 0x5c
je 0x43e0e2
lea edi, [ebp - 0x174]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43e0d0
mov cx, word [0x4c76dc]
mov word [edi], cx
test esi, esi
je 0x43e366
mov eax, esi
mov edx, esi
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e0f0
lea edi, [ebp - 0x174]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43e100
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x174]
push 0x4c70fc
xor esi, esi
push edx
mov dword [ebp - 4], esi
call fcn.0048466b
add esp, 8
mov dword [ebx + 4], eax
cmp eax, esi
jne 0x43e14b
push 0x4db988
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0xffffffff
call fcn.00486a6b
mov ecx, dword [ebp + 0xc]
push 0x4c709c
push ecx
call fcn.00483f10
mov edi, eax
add esp, 8
cmp edi, esi
je 0x43e165
inc edi
jmp 0x43e16a
mov edi, 0x4c75ab
mov edx, dword [ebx + 4]
push edx
push 1
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.00484992
add esp, 0x10
mov edi, edi
cmp esi, dword [ebp - 0x30]
jl 0x43e19a
push 0x4db988
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x34], 0xffffffff
call fcn.00486a6b
mov edx, dword [ebx + 4]
push edx
push 4
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.00484992
mov ecx, dword [ebx + 4]
push ecx
push 1
lea edx, [ebp - 0x28]
push 4
push edx
call fcn.00484992
mov eax, dword [ebx + 4]
push eax
push 1
lea ecx, [ebp - 0x24]
push 4
push ecx
call fcn.00484992
lea edx, [ebp - 0x20]
push edi
push edx
inc esi
call fcn.0048398d
add esp, 0x38
test eax, eax
jne 0x43e180
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x18], eax
lea esp, [esp]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
jg 0x43e326
mov edx, dword [ebx + 4]
add eax, ecx
sar eax, 1
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov eax, 0x15
imul ecx, eax
add ecx, dword [ebp - 0x24]
push 0
push ecx
push edx
call fcn.004853aa
mov eax, dword [ebx + 4]
push eax
push 0xd
lea ecx, [ebp - 0x5c]
push 1
push ecx
call fcn.00484992
mov edx, dword [ebx + 4]
push edx
push 1
lea eax, [ebp - 0x64]
push 4
push eax
call fcn.00484992
mov ecx, dword [ebx + 4]
push ecx
push 1
lea edx, [ebp - 0x60]
push 4
push edx
call fcn.00484992
add esp, 0x3c
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x4c]
lea ebx, [ebx]
mov dl, byte [eax]
mov byte [ecx], dl
inc eax
inc ecx
test dl, dl
jne 0x43e260
lea edi, [ebp - 0x4c]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x43e270
mov ax, word [0x4c709c]
mov word [edi], ax
lea eax, [ebp - 0x20]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43e286
lea edi, [ebp - 0x4c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x43e293
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
lea ecx, [ecx]
mov ecx, dword [ebp + 0xc]
mov bl, byte [esi + ecx]
test bl, bl
jne 0x43e2c0
cmp byte [ebp + esi - 0x4c], bl
je 0x43e2f6
mov al, byte [ebp + esi - 0x4c]
test al, al
je 0x43e2e7
movsx edx, al
push edx
call fcn.0048571d
mov edi, eax
movsx eax, bl
push eax
call fcn.0048571d
add esp, 8
sub edi, eax
je 0x43e323
test edi, edi
jge 0x43e314
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
inc ecx
mov dword [ebp + 0x10], ecx
jmp 0x43e1f0
mov ecx, dword [ebp - 0x60]
mov esi, dword [ebp + 8]
mov edx, dword [esi + 4]
push 0
push ecx
push edx
call fcn.004853aa
mov eax, dword [ebp - 0x64]
add esp, 0xc
mov dword [esi], eax
mov ebx, esi
jmp 0x43e37a
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
dec edx
mov dword [ebp - 0x18], edx
jmp 0x43e1f0
inc esi
jmp 0x43e2b0
push 0x4db988
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0xffffffff
call fcn.00486a6b
cmp dword [ebp - 0x68], 0
jge 0x43e35b
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x43e35b
push eax
call fcn.004854f7
add esp, 4
mov dword [esi + 4], 0
mov eax, 0x43e361
ret
mov ecx, dword [ebp + 0xc]
push 0x4c70fc
push ecx
call fcn.0048466b
add esp, 8
mov dword [ebx + 4], eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc