Function at 0x403bdd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x485008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
mov edi, 0x83e740
mov dword [ebp - 0x120], ebx
mov edx, edi
mov eax, esi
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x403c26
test cl, cl
je 0x403c22
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x403c26
add eax, 2
add edx, 2
test cl, cl
jne 0x403c06
xor eax, eax
jmp 0x403c2b
sbb eax, eax
or eax, 1
mov edx, 0x83e746
test eax, eax
jne 0x403c6b
mov ecx, edx
mov eax, ebx
mov bl, byte [eax]
cmp bl, byte [ecx]
jne 0x403c58
test bl, bl
je 0x403c54
mov bl, byte [eax + 1]
cmp bl, byte [ecx + 1]
jne 0x403c58
add eax, 2
add ecx, 2
test bl, bl
jne 0x403c38
xor eax, eax
jmp 0x403c5d
sbb eax, eax
or eax, 1
test eax, eax
je 0x403e39
mov ebx, dword [ebp - 0x120]
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x403c6f
mov ecx, esi
sub edi, esi
mov al, byte [ecx]
mov byte [edi + ecx], al
inc ecx
test al, al
jne 0x403c7d
mov ecx, esi
mov dword [0x83e74c], 0xbf800000
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403c96
sub ecx, edx
cmp byte [ecx + esi - 1], 0x58
je 0x403e39
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403caf
sub ecx, edx
cmp byte [ecx + esi - 1], 0x59
je 0x403e39
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403cc8
sub ecx, edx
cmp ecx, 3
jne 0x403e39
xor edi, edi
push 4
mov ecx, edi
pop edx
movzx eax, byte [esi + ecx]
mov edx, 0x46ead0
push 4
cmp al, byte [edx + ecx]
pop edx
jne 0x403cfc
inc ecx
cmp ecx, edx
jne 0x403ce1
jmp 0x403e39
mov ecx, edi
movzx eax, byte [esi + ecx]
mov edx, 0x46ead4
push 4
cmp al, byte [edx + ecx]
pop edx
jne 0x403d19
inc ecx
cmp ecx, edx
jne 0x403cfe
jmp 0x403e39
mov ecx, edi
movzx eax, byte [esi + ecx]
mov edx, 0x46ead8
push 4
cmp al, byte [edx + ecx]
pop edx
jne 0x403d36
inc ecx
cmp ecx, edx
jne 0x403d1b
jmp 0x403e39
mov ecx, edi
movzx eax, byte [esi + ecx]
mov edx, 0x46eadc
push 4
cmp al, byte [edx + ecx]
pop edx
jne 0x403d53
inc ecx
cmp ecx, edx
jne 0x403d38
jmp 0x403e39
push 0x104
lea eax, [ebp - 0x108]
push eax
push edi
push dword [0x491210]
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
push ebx
push esi
push str.dataknw_s__s.knw
mov edx, 0x46eaf4
lea ecx, [ebp - 0x108]
call fcn.004019b8
inc eax
push eax
call fcn.00401468
lea eax, [ebp - 0x108]
push 0x46eaf8
push eax
call fcn.0044a0f7
mov esi, eax
add esp, 0x18
test esi, esi
je 0x403e19
push esi
push 1
lea eax, [ebp - 0x11c]
push 0x14
push eax
call fcn.00451a9d
push 6
lea eax, [ebp - 0x11c]
push str.LFSKNW
push eax
call fcn.0044d630
add esp, 0x1c
test eax, eax
jne 0x403df0
movss xmm0, dword [ebp - 0x10c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x47d200]
cvtpd2ps xmm0, xmm0
movss dword [0x83e74c], xmm0
jmp 0x403e10
mov edx, 0x46eb04
lea ecx, [ebp - 0x108]
call fcn.004019b8
inc eax
push eax
push str._s_not_valid
push edi
call fcn.00407cc3
add esp, 0xc
push esi
call fcn.0044a2d1
pop ecx
jmp 0x403e39
mov edx, 0x46eb18
lea ecx, [ebp - 0x108]
call fcn.004019b8
inc eax
push eax
push str._s_not_found
push edi
call fcn.00407cc3
add esp, 0xc
mov ecx, dword [ebp - 4]
movss xmm0, dword [0x83e74c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00445b7e
leave
ret