Function at 0x4323f0
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
mov eax, dword [ebp + 8]
push ebx
lea ebx, [eax + eax*8]
add ebx, ebx
add ebx, ebx
add ebx, ebx
push edi
mov edi, dword [ebx + 0x50d2e0]
cmp edi, 0xffffffff
je 0x4327bb
cmp dword [edi*4 + 0x6a20d0], 0xffffffff
push esi
jne 0x43255b
lea edx, [ebx + 0x50d2e8]
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432440
sub eax, esi
je 0x43255b
push edx
lea eax, [ebp - 0x104]
push str.Effect_s.txb
push eax
call fcn.004cce8a
lea ecx, [ebp - 0x104]
push ecx
call fcn.004318d0
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.0047e110
add esp, 0x18
xor ecx, ecx
cmp byte [ebp - 0x11c], 1
push 1
sete cl
cmp dword [0x64123c], 0
lea esi, [ecx*4 + 0x15]
push esi
je 0x4324bd
mov edx, dword [0x41ec330]
mov ecx, dword [0x5f483c]
push edx
lea eax, [ebp - 0x104]
push eax
call fcn.004a5380
jmp 0x4324d6
mov ecx, dword [0x41ec330]
push ecx
mov ecx, dword [0x5f483c]
lea edx, [ebp - 0x104]
push edx
call fcn.004a4f60
cmp dword [0x5eaaa0], 0
mov dword [edi*4 + 0x6a20d0], eax
je 0x43250b
cmp esi, 0x19
jne 0x4324f3
push 0x31545844
push eax
jmp 0x432500
mov ecx, dword [edi*4 + 0x6a20d0]
push 0x34545844
push ecx
mov ecx, dword [0x5f483c]
call fcn.004a4b60
mov eax, dword [edi*4 + 0x6a20d0]
mov ecx, dword [0x5f483c]
mov edx, dword [ecx + eax*4 + 0x11414]
fild dword [ecx + eax*4 + 0x11414]
test edx, edx
jns 0x432530
fadd dword [0x4e4558]
fstp dword [edi*4 + 0x644260]
mov eax, dword [ecx + eax*4 + 0x11814]
mov dword [ebp - 0x12c], eax
fild dword [ebp - 0x12c]
test eax, eax
jns 0x432554
fadd dword [0x4e4558]
fstp dword [edi*4 + 0x41ebec0]
lea eax, [ebx + 0x50d2e8]
mov dword [ebp - 0x12c], eax
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432570
sub eax, edx
je 0x4327ba
mov eax, dword [edi*4 + 0x5f0640]
lea ebx, [edi*4 + 0x5f0640]
test eax, eax
je 0x4325b0
cmp dword [edi*4 + 0x641240], 0
jne 0x4327ba
test eax, eax
je 0x4325b0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx], 0
mov eax, dword [edi*4 + 0x641240]
lea esi, [edi*4 + 0x641240]
test eax, eax
je 0x4325cf
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [ebp - 0x12c]
push ecx
push 0x525258
lea edx, [ebp - 0x104]
push str._sData_s.cd6
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 - 0x128], ecx
test ecx, ecx
jne 0x432647
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 esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ccd49
mov esp, ebp
pop ebp
ret
xor eax, eax
shl edi, 5
lea edi, [edi + 0x640078]
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 - 0x12c]
push 0x526a00
push ecx
push str._s._s
push edi
call fcn.004cce8a
add esp, 0x20
push 0x284
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx], eax
test eax, eax
je 0x4327ab
mov edx, dword [ebp - 0x128]
push edx
push 1
push 0x284
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 0x4327ab
mov ecx, dword [ebp - 0x128]
push ecx
push 1
push edi
push eax
call fcn.004cdfab
mov eax, dword [0x41ec330]
add esp, 0x10
cmp eax, 1
jne 0x432750
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax], edx
jle 0x4327ab
fld qword [0x4e4620]
xor eax, eax
mov ecx, dword [esi]
fld dword [eax + ecx + 0x20]
lea ecx, [eax + ecx + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [eax + ecx + 0x24]
lea ecx, [eax + ecx + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [eax + ecx + 0x28]
lea ecx, [eax + ecx + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [eax + ecx + 0x2c]
lea ecx, [eax + ecx + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [ebx]
cmp edx, dword [ecx]
jl 0x43270a
jmp 0x4327a9
cmp eax, 2
jne 0x4327ab
mov eax, dword [ebx]
xor edx, edx
cmp dword [eax], edx
jle 0x4327ab
fld qword [0x4e46c8]
xor eax, eax
mov ecx, dword [esi]
fld dword [eax + ecx + 0x20]
lea ecx, [eax + ecx + 0x20]
fmul st(1)
inc edx
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [eax + ecx + 0x24]
lea ecx, [eax + ecx + 0x24]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [eax + ecx + 0x28]
lea ecx, [eax + ecx + 0x28]
fmul st(1)
fstp dword [ecx]
mov ecx, dword [esi]
fld dword [eax + ecx + 0x2c]
lea ecx, [eax + ecx + 0x2c]
fmul st(1)
add eax, 0x8c
fstp dword [ecx]
mov ecx, dword [ebx]
cmp edx, dword [ecx]
jl 0x432765
fstp st(0)
mov edx, dword [ebp - 0x128]
push edx
call fcn.004cda49
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004ccd49
mov esp, ebp
pop ebp
ret