Function at 0x5e829c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x534
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
cmp eax, esi
mov edi, ecx
mov dword [esp + 0xc], edi
je 0x5e8e14
mov ebx, dword [ebp + 0xc]
cmp ebx, esi
je 0x5e8e14
cmp dword [edi + 0x5dc], esi
jne 0x5e82f5
push 0x10
call fcn.0071528c
add esp, 4
cmp eax, esi
je 0x5e82ed
push 0x2710
mov ecx, eax
call fcn.005d3fdc
jmp 0x5e82ef
xor eax, eax
mov dword [edi + 0x5dc], eax
mov ecx, dword [edi + 0x5c4]
cmp ecx, esi
je 0x5e8333
push esi
call fcn.005d895c
test eax, eax
je 0x5e8333
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x5c4]
push 2
push ebx
push eax
push esi
call fcn.005d895c
push eax
call fcn.0054f81c
mov eax, dword [edi + 0x5dc]
add esp, 0x10
cmp eax, esi
je 0x5e8e14
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.006c699c
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x70], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
lea ebx, [ebx]
mov edi, dword [ebp + 0xc]
cmp edi, 0x1388
mov esi, 0x1388
jg 0x5e839e
mov esi, edi
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x50]
mov ebx, dword [esp + 0xc]
mov ecx, dword [ebx + 0x5dc]
push esi
add edx, eax
push edx
call fcn.005d40ac
mov eax, dword [esp + 0x50]
add eax, esi
sub edi, esi
mov esi, dword [ebx + 0x5dc]
mov ecx, dword [esi + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
sub eax, ecx
mov dword [ebp + 0xc], edi
jns 0x5e83da
add eax, dword [esi + 0xc]
cmp eax, 0x80
jl 0x5e847b
mov eax, dword [esi + 4]
sub eax, dword [esi + 8]
jns 0x5e83f0
add eax, dword [esi + 0xc]
lea ecx, [eax - 0x80]
test ecx, ecx
jl 0x5e8433
mov edi, dword [esi + 8]
mov eax, dword [esi + 4]
sub eax, edi
jns 0x5e8404
add eax, dword [esi + 0xc]
cmp ecx, eax
jge 0x5e8433
lea eax, [edi + ecx]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
mov dword [esi + 8], eax
jl 0x5e841a
sub eax, ecx
mov dword [esi + 8], eax
push 0
push 0x80
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.005d400c
mov dword [esi + 8], edi
mov ecx, dword [ebx + 0x5c4]
test ecx, ecx
je 0x5e847b
push 0
call fcn.005d895c
test eax, eax
je 0x5e847b
mov ecx, dword [ebx + 0x5c4]
push 4
push 0x80
lea edx, [esp + 0xa8]
push edx
push 0
call fcn.005d895c
push eax
call fcn.0054f81c
mov eax, dword [ebx + 0x5dc]
add esp, 0x10
test eax, eax
je 0x5e8d97
mov ecx, dword [ebx + 0x5dc]
push 4
lea eax, [esp + 0x124]
push eax
call fcn.005d5cfc
cmp eax, 4
jl 0x5e8d58
lea ecx, [ecx]
cmp byte [esp + 0x120], 0xff
jne 0x5e865e
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.006c6b8c
add esp, 8
test eax, eax
je 0x5e865e
mov eax, dword [esp + 0x58]
cdq
and edx, 7
add eax, edx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x5dc]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
sar ebx, 3
sub ecx, edx
mov dword [esp + 0x3c], ebx
jns 0x5e84f1
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jg 0x5e8d58
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x5e8504
add ecx, dword [eax + 0xc]
lea edx, [ebx + 4]
cmp edx, ecx
jle 0x5e8516
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x5e8d58
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x5e8521
add ecx, dword [eax + 0xc]
cmp edx, ecx
jg 0x5e8649
test ebx, ebx
jl 0x5e85ca
mov esi, dword [eax + 4]
mov edx, dword [eax + 8]
mov ecx, esi
sub ecx, edx
jns 0x5e8540
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jge 0x5e85ca
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
add edx, ebx
cmp edx, ecx
mov dword [eax + 8], edx
jl 0x5e855d
sub edx, ecx
mov dword [eax + 8], edx
mov edx, dword [eax + 8]
sub esi, edx
mov edi, 4
mov dword [esp + 0x38], edi
jns 0x5e856f
add esi, ecx
cmp esi, 4
jge 0x5e857a
mov edi, esi
mov dword [esp + 0x38], edi
lea esi, [edx + edi]
cmp esi, ecx
mov esi, dword [eax]
jge 0x5e858d
mov ecx, edi
add esi, edx
lea edi, [esp + 0x48]
jmp 0x5e85b5
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov esi, dword [eax]
sub ecx, ebx
lea edi, [esp + ebx + 0x48]
mov ebx, dword [esp + 0x3c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x34]
mov dword [eax + 8], ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.006c6b8c
add esp, 8
test eax, eax
je 0x5e865e
cmp ebx, 0x41a
jg 0x5e8d3a
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x5dc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x38], ebx
jns 0x5e860e
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jle 0x5e8618
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x5e86f1
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x5e8727
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
jns 0x5e8654
add ecx, dword [eax + 0xc]
cmp ebx, ecx
jl 0x5e8d58
jmp 0x5e85e3
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x5dc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
sub ecx, edx
mov ebx, 1
mov dword [esp + 0x38], ebx
jns 0x5e867e
add ecx, dword [eax + 0xc]
cmp ecx, 1
jge 0x5e8689
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov ecx, dword [eax + 0xc]
lea esi, [edx + ebx]
cmp esi, ecx
mov esi, dword [eax]
lea edi, [esp + 0x120]
jge 0x5e86b6
add esi, edx
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [eax + 8], ebx
jmp 0x5e8d16
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x38]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
jmp 0x5e8d16
sub ecx, edx
mov ebx, ecx
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x38]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax]
sub edx, ebx
mov ecx, edx
lea edi, [esp + ebx + 0x120]
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [eax + 8], edx
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x5d8]
xor edi, edi
cmp eax, edi
jne 0x5e8a82
mov eax, dword [esi + 0x210]
cmp eax, edi
mov dword [esi + 0x44], edi
mov dword [esp + 0x54], 1
jne 0x5e8775
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x5e8770
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x5e8770
call fcn.005c59cc
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x5e8775
mov eax, 9
cmp eax, 8
jne 0x5e87ad
push eax
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e883a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [0x5fb2d0]
mov dword [ecx], edx
mov edx, dword [0x5fb2d4]
mov dword [ecx + 4], edx
jmp 0x5e8833
mov eax, dword [esi + 0x210]
cmp eax, edi
jne 0x5e87dc
mov eax, dword [esi + 0x54]
cmp eax, edi
je 0x5e87d7
mov ecx, dword [eax + 8]
cmp ecx, edi
je 0x5e87d7
call fcn.005c59cc
xor ecx, ecx
cmp eax, 5
setle cl
dec ecx
and eax, ecx
jmp 0x5e87dc
mov eax, 9
cmp eax, 7
lea ecx, [esp + 0x10]
push 8
jne 0x5e880e
call fcn.005d54ac
test eax, eax
je 0x5e883a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov edx, dword [0x5fb2c4]
mov dword [ecx], edx
mov edx, dword [0x5fb2c8]
mov dword [ecx + 4], edx
jmp 0x5e8833
call fcn.005d54ac
test eax, eax
je 0x5e883a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx]
mov ecx, dword [0x5fb2b8]
mov dword [edx], ecx
mov ecx, dword [0x5fb2bc]
mov dword [edx + 4], ecx
add eax, 8
mov dword [esp + 0x1c], eax
mov eax, 0xc8
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
call fcn.005d847c
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8888
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0xc
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x5e88ad
mov eax, dword [esp + 0x18]
mov byte [esi + eax], 0xe8
inc esi
mov byte [esi + eax], 3
inc esi
mov dword [esp + 0x1c], esi
call dword [fcn.005f6554]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
and eax, 0x7fffffff
mov dword [ecx + 0x5e0], eax
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], 0x12
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], 1
call fcn.005d54ac
test eax, eax
je 0x5e890b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e893a
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
push 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0
call fcn.005d568c
mov eax, edi
dec eax
mov esi, 3
je 0x5e8978
dec eax
jne 0x5e898c
mov eax, ebx
sub eax, 0
je 0x5e8971
dec eax
je 0x5e8987
dec eax
jmp 0x5e897e
mov esi, 1
jmp 0x5e898c
sub ebx, 0
je 0x5e8987
dec ebx
jne 0x5e898c
mov esi, 3
jmp 0x5e898c
mov esi, 2
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.005d568c
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.005d568c
mov edx, dword [esp + 0x34]
xor eax, eax
cmp edx, 1
setne al
push 1
lea ecx, [esp + 0x14]
mov edi, eax
push edi
call fcn.005d568c
push 4
push 2
lea ecx, [esp + 0x18]
call fcn.005d568c
push 2
push esi
lea ecx, [esp + 0x18]
call fcn.005d568c
push 1
push 1
lea ecx, [esp + 0x18]
call fcn.005d568c
push 1
push edi
lea ecx, [esp + 0x18]
call fcn.005d568c
cmp dword [esp + 0x10], 8
jge 0x5e8a1b
mov bl, byte [esp + 0x14]
push 1
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8a1b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8a42
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8a67
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.005d55dc
fld dword [esp + 0x70]
mov edx, dword [esp + 0xc]
fstp qword [edx + 0x5d0]
xor edi, edi
mov esi, edx
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
call fcn.005d54ac
test eax, eax
je 0x5e8abb
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.005d55dc
cmp dword [esi + 0x5d8], edi
jne 0x5e8bec
mov esi, dword [esp + 0x3c]
push esi
call fcn.0071528c
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5e8be8
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.005d54ac
test eax, eax
je 0x5e8b38
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 0
lea ecx, [esp + 0x14]
call fcn.005d557c
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8b72
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov byte [eax + edi], cl
inc eax
mov byte [eax + edi], ch
inc eax
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edx
call fcn.005d54ac
test eax, eax
je 0x5e8ba1
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
mov byte [eax + edi], cl
inc eax
mov byte [eax + edi], ch
inc eax
mov dword [esp + 0x1c], eax
push esi
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8bd6
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
add eax, ecx
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.005d55dc
push ebx
call fcn.007152ac
add esp, 4
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
push 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0x13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 1
call fcn.005d54ac
test eax, eax
je 0x5e8c29
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
push 4
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8c58
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov byte [eax + ecx], 0
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8c7f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x5c]
push 2
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8ca6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov byte [eax + ecx], bl
inc eax
mov byte [eax + ecx], bh
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.005d54ac
test eax, eax
je 0x5e8ce7
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ecx, edx
mov ebx, ecx
shr ecx, 2
add edi, eax
lea esi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x10]
call fcn.005d55dc
fld dword [esp + 0x70]
mov ecx, dword [esi + 0x44]
fadd dword [esp + 0x40]
mov eax, dword [esp + 0x44]
inc ecx
inc eax
fstp dword [esp + 0x40]
mov dword [esi + 0x5d8], 1
mov dword [esi + 0x44], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x5dc]
push 4
lea edx, [esp + 0x124]
push edx
call fcn.005d5cfc
cmp eax, 4
jge 0x5e849c
jmp 0x5e8d58
mov edx, dword [esp + 0xc]
push 1
push 0x41a
lea ecx, [esp + 0x128]
push ecx
mov ecx, dword [edx + 0x5dc]
call fcn.005d400c
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x5e838c
mov edi, dword [esp + 0xc]
fld dword [esp + 0x40]
fadd qword [edi + 0x5c8]
mov ecx, dword [esp + 0x44]
test ecx, ecx
fstp qword [edi + 0x5c8]
je 0x5e8d8d
fld dword [esp + 0x40]
fidiv dword [esp + 0x44]
fstp qword [edi + 0x208]
mov eax, dword [esp + 0x1c]
test eax, eax
mov esi, eax
jne 0x5e8dba
lea ecx, [esp + 0x4c]
call fcn.006c69dc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5e8e14
push eax
call fcn.007152ac
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0x54]
test edx, edx
je 0x5e8df1
imul ecx, ecx, 0x3e8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0x11
fild dword [esp + 0x34]
fdiv dword [esp + 0x40]
call fcn.00632d5c
xor ecx, ecx
mov ch, al
push ecx
lea ecx, [esp + 0x14]
call fcn.005d554c
mov eax, esi
mov esi, dword [esp + 0x18]
push eax
push esi
mov ecx, edi
call fcn.005e54bc
lea ecx, [esp + 0x4c]
call fcn.006c69dc
test esi, esi
je 0x5e8e14
push esi
call fcn.007152ac
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8