Function at 0x437d4c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482016
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x200]
cmp eax, 2
je 0x437daf
mov ecx, ebx
call fcn.0040121c
push eax
push 0x6edd4c
call fcn.00440328
add esp, 8
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov edi, 0x6eddb4
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x437dc6
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x437dbe
cmp eax, 0x80
jl 0x437de1
mov eax, 0x7f
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x196f4], 0x7f
jmp 0x437dea
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x196f4], eax
test eax, eax
je 0x437e0c
lea esi, [edx + 0x196f8]
push eax
push 0x6eddb4
push esi
call fcn.0046edc0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x196f4]
mov edx, dword [ebp - 0x14]
lea ecx, [ebx + 0x20]
mov byte [edx + eax + 0x196f8], 0
call fcn.0040121c
mov esi, eax
mov edi, esi
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x437e35
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x437e2d
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x196f4]
mov dword [ebp - 0x18], eax
lea edx, [ebx + eax]
cmp edx, 0x7f
jge 0x437e7a
mov ecx, dword [ebp - 0x14]
lea edi, [ecx + 0x196f8]
mov edx, esi
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x437e5e
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x196f4]
add ebx, dword [ebp - 0x18]
mov dword [eax + 0x196f4], ebx
mov edi, 0x6eddbc
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x437e91
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x437e89
mov esi, eax
add ebx, esi
cmp ebx, 0x7f
jge 0x437ec5
mov ecx, dword [ebp - 0x14]
lea edi, [ecx + 0x196f8]
mov edx, 0x6eddbc
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x437eb2
mov edx, dword [ebp - 0x14]
add dword [edx + 0x196f4], esi
mov ecx, dword [ebp - 0x14]
call fcn.00438098
movzx eax, al
test eax, eax
je 0x438076
mov dword [ebp - 0x1b0], 0
xor esi, esi
lea ebx, [ebp - 0x1ac]
add ebx, esi
lea eax, [ebp - 0x1b0]
push 0
mov edx, dword [ebp - 0x14]
push eax
push 1
push ebx
push dword [edx + 0x196f0]
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 0x1b0]
cmp eax, 1
jne 0x43804a
mov al, byte [ebx]
test al, al
je 0x437f2d
inc esi
cmp esi, 0x103
jne 0x437ee4
mov byte [ebp + esi - 0x1ac], 0
lea edi, [ebp - 0x1ac]
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x437f45
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x437f3d
cmp eax, 0x80
jl 0x437f5d
mov eax, 0x7f
mov dword [ebp - 0xa8], 0x7f
jmp 0x437f63
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x437f84
lea ecx, [ebp - 0xa4]
lea edx, [ebp - 0x1ac]
push eax
push edx
push ecx
call fcn.0046edc0
add esp, 0xc
mov eax, dword [ebp - 0xa8]
mov byte [ebp + eax - 0xa4], 0
mov dword [ebp - 4], 0
mov edi, 0x6ed1a8
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x437faa
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x437fa2
mov ebx, eax
mov edx, dword [ebp - 0xa8]
add edx, ebx
cmp edx, 0x7f
jge 0x437fde
lea edi, [ebp - 0xa4]
mov edx, 0x6ed1a8
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x437fce
add dword [ebp - 0xa8], ebx
mov ecx, dword [0x660f04]
mov edx, dword [ecx]
lea eax, [ebp - 0xa4]
push eax
call dword [edx + 0x10]
movzx eax, al
test eax, eax
je 0x438017
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6f1b14
call fcn.00440328
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043f78c
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x6f1b00
call fcn.00440328
pop ecx
mov ecx, dword [ebp - 0x14]
call fcn.0043f78c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x14]
call fcn.0043f78c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4