Function at 0x4327d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x52382c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x432c7b
cmp esi, 0x50
jge 0x432c7b
cmp dword [esi*4 + 0x5e9360], 0xffffffff
push edi
jne 0x432933
mov eax, esi
shl eax, 5
lea edx, [eax + 0x5194f0]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432817
sub eax, edi
je 0x432933
push edx
lea ecx, [ebp - 0x104]
push str.Char_s.txb
push ecx
call fcn.004cce8a
lea edx, [ebp - 0x104]
push edx
call fcn.004318d0
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.0047e110
add esp, 0x18
xor edx, edx
cmp byte [ebp - 0x11c], 1
push 1
sete dl
cmp dword [0x64123c], 0
lea edi, [edx*4 + 0x15]
push edi
je 0x432893
mov eax, dword [0x41ec330]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a5380
jmp 0x4328ac
mov edx, dword [0x41ec330]
mov ecx, dword [0x5f483c]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [esi*4 + 0x5e9360], eax
je 0x4328e3
cmp edi, 0x19
jne 0x4328cb
push 0x31545844
mov ecx, eax
push ecx
jmp 0x4328d8
mov edx, dword [esi*4 + 0x5e9360]
push 0x34545844
push edx
mov ecx, dword [0x5f483c]
call fcn.004a4b60
mov eax, dword [esi*4 + 0x5e9360]
mov ecx, dword [0x5f483c]
mov edx, dword [ecx + eax*4 + 0x11414]
fild dword [ecx + eax*4 + 0x11414]
test edx, edx
jns 0x432908
fadd dword [0x4e4558]
fstp dword [esi*4 + 0x1a3b408]
mov eax, dword [ecx + eax*4 + 0x11814]
mov dword [ebp - 0x128], eax
fild dword [ebp - 0x128]
test eax, eax
jns 0x43292c
fadd dword [0x4e4558]
fstp dword [esi*4 + 0x5f3c10]
cmp dword [esi*4 + 0x6a4168], 0xffffffff
jne 0x432a1d
mov ecx, esi
shl ecx, 5
lea edx, [ecx + 0x519ef0]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432951
sub eax, edi
je 0x432a1d
push edx
lea edx, [ebp - 0x104]
push str.Char_s.txb
push edx
call fcn.004cce8a
lea eax, [ebp - 0x104]
push eax
call fcn.004318d0
lea ecx, [ebp - 0x124]
push ecx
lea edx, [ebp - 0x104]
push edx
call fcn.0047e110
add esp, 0x18
xor eax, eax
cmp byte [ebp - 0x11c], 1
push 1
sete al
cmp dword [0x64123c], 0
lea edi, [eax*4 + 0x15]
push edi
je 0x4329ce
mov ecx, dword [0x41ec330]
push ecx
mov ecx, dword [0x5f483c]
lea edx, [ebp - 0x104]
push edx
call fcn.004a5380
jmp 0x4329e6
mov eax, dword [0x41ec330]
push eax
lea ecx, [ebp - 0x104]
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [esi*4 + 0x6a4168], eax
je 0x432a1d
mov ecx, dword [0x5f483c]
cmp edi, 0x19
jne 0x432a0b
push 0x31545844
mov edx, eax
push edx
jmp 0x432a18
mov eax, dword [esi*4 + 0x6a4168]
push 0x34545844
push eax
call fcn.004a4b60
mov edi, esi
shl edi, 5
lea eax, [edi + 0x5194f0]
mov dword [ebp - 0x128], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432a31
sub eax, edx
je 0x432c7a
mov eax, dword [esi*4 + 0x5eaab8]
push ebx
lea ebx, [esi*4 + 0x5eaab8]
test eax, eax
je 0x432a72
cmp dword [esi*4 + 0x5f3d60], 0
jne 0x432c79
test eax, eax
je 0x432a72
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx], 0
mov eax, dword [esi*4 + 0x5f3d60]
lea esi, [esi*4 + 0x5f3d60]
test eax, eax
je 0x432a91
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [ebp - 0x128]
push ecx
push 0x525258
lea edx, [ebp - 0x104]
push str._sData_s.cd1
push edx
call fcn.004cce8a
lea eax, [ebp - 0x104]
push 0x4e4714
push eax
call fcn.004cdd4a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x12c], ecx
test ecx, ecx
jne 0x432b09
mov eax, dword [0x5ec1bc]
add eax, dword [0x1a3ba10]
lea ecx, [ebp - 0x104]
push ecx
push eax
push 0x6a3898
call fcn.004cce8a
push 0x6a3898
call fcn.0040b000
add esp, 0x10
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
lea edi, [edi + 0x1a383a0]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
push ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
push 0x20
mov dword [edi + 0x14], eax
push 1
mov dword [edi + 0x18], eax
push edi
mov dword [edi + 0x1c], eax
call fcn.004cdfab
mov ecx, dword [ebp - 0x128]
push 0x526a00
push ecx
push str._s._s
push edi
call fcn.004cce8a
add esp, 0x20
push 0x5004
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx], eax
test eax, eax
je 0x432c6a
mov edx, dword [ebp - 0x12c]
push edx
push 1
push 0x5004
push eax
call fcn.004cdfab
mov eax, dword [ebx]
mov edi, dword [eax]
imul edi, edi, 0x8c
add esp, 0x10
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x432c6a
mov ecx, dword [ebp - 0x12c]
push ecx
push 1
push edi
push eax
call fcn.004cdfab
mov eax, dword [0x41ec330]
add esp, 0x10
cmp eax, 1
jne 0x432c0f
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax], edx
jle 0x432c6a
fld qword [0x4e4620]
xor eax, eax
mov ecx, dword [esi]
fld dword [ecx + eax + 0x20]
lea ecx, [ecx + eax + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x28]
lea ecx, [ecx + eax + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x2c]
lea ecx, [ecx + eax + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [ebx]
cmp edx, dword [ecx]
jl 0x432bc9
jmp 0x432c68
cmp eax, 2
jne 0x432c6a
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax], edx
jle 0x432c6a
fld qword [0x4e46c8]
xor eax, eax
mov ecx, dword [esi]
fld dword [ecx + eax + 0x20]
lea ecx, [ecx + eax + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x28]
lea ecx, [ecx + eax + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [ecx + eax + 0x2c]
lea ecx, [ecx + eax + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [ebx]
cmp edx, dword [ecx]
jl 0x432c24
fstp st(0)
mov edx, dword [ebp - 0x12c]
push edx
call fcn.004cda49
add esp, 4
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ccd49
mov esp, ebp
pop ebp
ret