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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x77cd3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x410], 0
mov dword [esp + 0x1c], edi
je 0x60538c
mov eax, dword [edi + 0x388]
test eax, eax
je 0x60538c
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x60538c
mov eax, dword [edi + 0x70]
test eax, eax
je 0x60538c
lea ecx, [eax + 0x54]
call fcn.00543db0
test eax, eax
je 0x60538c
call dword [0x794288]
cmp dword [edi + 0x410], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], 0
jbe 0x60538c
lea ebx, [edi + 0x400]
jmp 0x604eca
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
call fcn.00602980
cmp dword [eax + 0x18], 0x10
jb 0x604ee5
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
jmp 0x604eec
add eax, 4
mov dword [esp + 0x20], eax
mov esi, dword [edi + 0x388]
mov ebp, dword [0x794290]
add esi, 0x54
cmp byte [0x992082], 0
je 0x604f0b
push 0x1b1cd34
call ebp
cmp byte [0x992082], 0
mov edx, dword [esi]
mov esi, dword [edx + 0x14]
je 0x604f24
push 0x1b1cd34
call dword [0x79428c]
mov eax, dword [esi + 0x10]
mov esi, dword [edi + 0x388]
add esi, 0x54
cmp byte [0x992082], 0
mov dword [esp + 0x2c], eax
je 0x604f44
push 0x1b1cd34
call ebp
cmp byte [0x992082], 0
mov ecx, dword [esi]
mov esi, dword [ecx + 0x14]
je 0x604f5d
push 0x1b1cd34
call dword [0x79428c]
mov edx, dword [esp + 0x20]
push edx
mov ecx, esi
call fcn.0053a2e0
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
mov dword [esp + 0x3c], edi
call fcn.00602980
mov esi, eax
add esi, 0x34
cmp byte [0x992082], 0
je 0x604f90
push 0x1b16358
call ebp
cmp dword [esi], 0
sete byte [esp + 0x1b]
cmp byte [0x992082], 0
je 0x604fac
push 0x1b16358
call dword [0x79428c]
cmp byte [esp + 0x1b], 0
je 0x604fb7
xor ebp, ebp
jmp 0x604fcf
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.00602980
mov ecx, eax
add ecx, 0x34
call fcn.00427d90
mov ebp, eax
mov eax, 0x58ed2309
mul edi
sub edi, edx
shr edi, 1
add edi, edx
shr edi, 7
add edi, 1
test ebp, ebp
jne 0x604ff2
mov ecx, ebx
call fcn.00603c30
jmp 0x605378
mov edx, dword [ebp]
mov eax, dword [edx + 0x10c]
push 0
mov ecx, ebp
call eax
cmp eax, 2
mov ecx, ebx
jne 0x605012
call fcn.00603c30
jmp 0x605378
mov esi, dword [esp + 0x14]
push esi
call fcn.00602980
mov ecx, dword [esp + 0x3c]
add ecx, 0xffffffd8
cmp dword [eax + 0x1c], ecx
jae 0x605054
push esi
mov ecx, ebx
call fcn.00602980
mov edx, dword [esp + 0x3c]
push esi
mov ecx, ebx
mov dword [eax + 0x1c], edx
call fcn.00602980
mov esi, dword [eax + 0x20]
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebx
sub esi, 2
call fcn.00602980
mov dword [eax + 0x20], esi
cmp edi, 1
jle 0x60506d
mov esi, edi
imul esi, dword [esp + 0x2c]
mov dword [esp + 0x28], 0xf5
add esi, 0x28
jmp 0x60507d
mov ecx, dword [esp + 0x38]
add ecx, 0x28
mov dword [esp + 0x28], ecx
mov esi, 0x28
fldz
push 0x40
lea edx, [esp + 0x94]
fst dword [esp + 0x50]
push 0
fst dword [esp + 0x58]
push edx
fstp dword [esp + 0x60]
call fcn.0074d440
add esp, 0xc
lea eax, [esp + 0x90]
push eax
push 1
mov ecx, ebp
call fcn.00444ed0
fld dword [esp + 0x9c]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x4c]
fld dword [esp + 0xac]
push ecx
fstp dword [esp + 0x54]
mov ecx, ebx
fld dword [esp + 0xc0]
fstp dword [esp + 0x58]
fldz
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fstp dword [esp + 0x4c]
call fcn.00602980
mov edx, dword [eax + 0x24]
add eax, 0x24
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x84], edx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x90], eax
call fcn.005dc6c0
test al, al
je 0x60534e
fld dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
call fcn.0074d900
fld dword [esp + 0x40]
mov ebp, eax
call fcn.0074d900
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], esi
mov ecx, ebp
mov dword [esp + 0x34], esp
call fcn.005fdfd0
fld dword [esp + 0x40]
fadd qword [0x7dd540]
mov dword [esp + 0x24], 0
call fcn.0074d900
imul edi, dword [esp + 0x2c]
sub esi, edi
shr esi, 1
test esi, esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x30], eax
fild dword [esp + 0x8c]
jge 0x6051a5
fadd dword [0x7bb540]
fadd dword [esp + 0x44]
fsub qword [0x795860]
call fcn.0074d900
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], eax
mov byte [esp + 0x5c], al
mov ecx, dword [esp + 0x20]
cmp byte [ecx], al
mov dword [esp + 0xdc], eax
je 0x60533a
lea ecx, [ecx]
mov dl, byte [ebx]
mov byte [esp + 0x74], dl
mov eax, dword [esp + 0x74]
push eax
push 1
lea ecx, [esp + 0x60]
call fcn.0040faa0
movsx ecx, byte [ebx]
push ecx
call fcn.007511d3
add esp, 4
test eax, eax
je 0x605220
mov dl, byte [ebx + 1]
add ebx, 1
mov byte [esp + 0x78], dl
mov eax, dword [esp + 0x78]
push eax
push 1
lea ecx, [esp + 0x60]
call fcn.0040faa0
mov edi, dword [esp + 0x5c]
add ebx, 1
cmp dword [esp + 0x70], 0x10
jae 0x605232
lea edi, [esp + 0x5c]
mov esi, dword [ebp + 0x388]
add esi, 0x54
cmp byte [0x992082], 0
je 0x60524f
push 0x1b1cd34
call dword [0x794290]
cmp byte [0x992082], 0
mov ecx, dword [esi]
mov esi, dword [ecx + 0x14]
je 0x605268
push 0x1b1cd34
call dword [0x79428c]
push edi
mov ecx, esi
call fcn.0053a2e0
mov ecx, dword [esp + 0x28]
add ecx, 0xffffffd8
cmp eax, ecx
jl 0x6052d6
lea edx, [esp + 0x7c]
push edx
call fcn.00534680
mov eax, dword [esp + 0x60]
add esp, 4
cmp dword [esp + 0x70], 0x10
jae 0x605297
lea eax, [esp + 0x5c]
mov ecx, dword [ebp + 0x388]
push 9
push 0
push eax
lea eax, [esp + 0x3c]
push eax
add ecx, 0x54
call fcn.00543db0
push eax
call fcn.00537cb0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
add dword [esp + 0x38], 1
lea eax, [ecx + edx + 2]
add esp, 0x14
lea ecx, [esp + 0x58]
mov dword [esp + 0x34], eax
call fcn.00460a80
cmp byte [ebx], 0
jne 0x6051e0
lea ecx, [esp + 0x7c]
push ecx
call fcn.00534680
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x605301
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x38]
shr edx, 1
add dword [esp + 0x30], edx
cmp dword [esp + 0x70], 0x10
mov eax, dword [esp + 0x5c]
jae 0x605310
lea eax, [esp + 0x5c]
mov ecx, dword [ebp + 0x388]
push 9
push 0
push eax
lea eax, [esp + 0x3c]
push eax
add ecx, 0x54
call fcn.00543db0
push eax
call fcn.00537cb0
add esp, 0x14
cmp byte [ebx], 0
jne 0x6051e0
lea ecx, [esp + 0x58]
mov dword [esp + 0xdc], 0xffffffff
call fcn.0045deb0
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
push ecx
add ebx, 0x400
mov ecx, ebx
call fcn.00602980
cmp dword [eax + 0x20], 0
jg 0x605373
mov ecx, ebx
call fcn.00603c30
jmp 0x605378
add dword [esp + 0x14], 1
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + 0x410]
jb 0x604ec8
mov ecx, dword [esp + 0xd4]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret