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

Disassembly:
push 0xffffffffffffffff
push 0x56ffbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push esi
mov esi, ecx
mov eax, 0xd
push 0x5e9184
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x9c], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], eax
call fcn.004c56a0
test eax, eax
jne 0x4fc8e7
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0xb0], 0
je 0x4fb680
mov ecx, eax
call fcn.004c42d0
jmp 0x4fb682
xor eax, eax
mov ecx, dword [esp + 0xbc]
push ebx
mov dword [esi + 0x20], eax
push ebp
lea eax, [esp + 0xa0]
push edi
push eax
push 0x5e9180
mov dword [esp + 0xc4], 0xffffffff
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 7
mov ebp, 6
sete cl
mov eax, ecx
test eax, eax
je 0x4fb876
mov ecx, dword [esp + 0xac]
mov edi, ecx
test ecx, ecx
mov dword [esp + 0x3c], edi
je 0x4fb73e
lea edx, [esp + 0x18]
push edx
push 0x5e917c
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebp
sete cl
mov eax, ecx
test eax, eax
je 0x4fb735
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x4fb735
push 0
push 1
push eax
mov ecx, esi
call fcn.004fc930
fld qword [esi + 0x40]
fsub qword [esi + 0x30]
sub esp, 8
mov edx, dword [esi + 0x20]
sub esp, 8
fstp qword [esp + 8]
fld qword [esi + 0x38]
fsub qword [esi + 0x28]
fstp qword [esp]
push 0x5e9160
push edx
call fcn.004c4a40
add esp, 0x18
lea ecx, [esp + 0x18]
call fcn.004b24e0
mov ebx, dword [esp + 0xc4]
lea eax, [esp + 0x84]
push eax
push 0x5e915c
push ebx
mov ecx, esi
call fcn.004fe280
lea ecx, [esp + 0x18]
push ecx
push 0x5e9158
push ebx
mov ecx, esi
call fcn.004fe280
mov ecx, dword [eax]
xor edx, edx
cmp ecx, 1
mov ecx, dword [esp + 0x20]
sete dl
mov eax, edx
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], eax
call fcn.004b24e0
test edi, edi
je 0x4fbd98
mov eax, dword [esi + 0x4c]
fld qword [eax + 8]
fst qword [esp + 0x54]
fcomp qword [0x571800]
fnstsw ax
test ah, 0x41
jne 0x4fbd98
lea ecx, [esp + 0x18]
push ecx
push 0x5e8ab8
mov ecx, edi
call fcn.004b2a50
cmp dword [esp + 0x18], ebp
jne 0x4fb7d4
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0xc]
test eax, eax
jg 0x4fb7ef
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push 0x5e917c
call fcn.004b2a50
cmp dword [esp + 0x18], ebp
jne case.default.0x4fb8d4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0xc]
test eax, eax
jle case.default.0x4fb8d4
fld qword [esi + 0x38]
fsub qword [esi + 0x28]
lea edx, [esp + 0x40]
mov ecx, edi
push edx
push 0x5e8b34
fstp qword [esp + 0x18]
fld qword [esi + 0x40]
fsub qword [esi + 0x30]
fstp qword [esp + 0x30]
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 3
sete cl
mov ebp, ecx
lea ecx, [esp + 0x40]
call fcn.004b24e0
cmp dword [esp + 0x84], 4
jne 0x4fba9c
mov eax, dword [esp + 0x8c]
mov edi, 0x5e9154
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4fb881
test cl, cl
je 0x4fb872
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4fb881
add eax, 2
add edi, 2
test cl, cl
jne 0x4fb852
xor eax, eax
jmp 0x4fb886
xor edi, edi
mov dword [esp + 0x3c], edi
jmp 0x4fb73e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fba9c
mov eax, dword [esp + 0x38]
test ah, 0x80
je 0x4fba9c
test ebp, ebp
jne 0x4fba9c
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4fb8b8
fld qword [esp + 0x10]
jmp 0x4fb8bc
fld qword [esp + 0x28]
mov eax, dword [esi + 0x4c]
fmul qword [0x571968]
mov eax, dword [eax]
cmp eax, 4
fstp qword [esp + 0x5c]
ja case.default.0x4fb8d4
jmp dword [eax*4 + 0x4fc900]
mov ecx, dword [esi + 0x20]
push 0x5ba14c
call fcn.004c47c0
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x4fb915
mov ebx, eax
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esi + 0x20]
push ecx
push edx
push 0x5e9148
push eax
call fcn.004c4a40
add esp, 0x10
add edi, 8
dec ebx
jne 0x4fb8f7
mov ecx, dword [esi + 0x20]
push 0x5e9140
call fcn.004c47c0
mov ebx, dword [esp + 0xc4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x20]
push ecx
push edx
push 0x5e9134
push eax
call fcn.004c4a40
mov ecx, dword [esp + 0x30]
add esp, 0x10
push 0
push 0
push ecx
mov ecx, esi
call fcn.004fc930
fld qword [esp + 0x54]
fmul qword [0x571968]
push 0
mov ecx, esi
sub esp, 8
fsubr qword [esp + 0x68]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x3c]
fmul qword [0x571968]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x2c]
fmul qword [0x571968]
fstp qword [esp]
call fcn.004fde80
jmp case.default.0x4fb8d4
fld qword [esp + 0x54]
fmul qword [0x571968]
mov edx, dword [esi + 0x20]
sub esp, 8
fstp qword [esp]
push 0x5e9134
push edx
call fcn.004c4a40
mov eax, dword [esp + 0x30]
add esp, 0x10
mov ecx, esi
push 0
push 0
push eax
call fcn.004fc930
fld qword [esp + 0x28]
fmul qword [0x571968]
push 0
sub esp, 8
fstp qword [esp + 0x3c]
fld qword [esp + 0x1c]
fmul qword [0x571968]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
fstp qword [esp + 0x34]
fld qword [esp + 0x60]
fmul qword [0x573420]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
fsubr qword [esp + 0x68]
fstp qword [esp]
push edi
push ebx
push ebp
push ecx
mov ecx, esi
call fcn.004fde80
mov edx, dword [esi + 0x4c]
mov ecx, esi
mov eax, dword [edx]
sub eax, 2
neg eax
sbb eax, eax
and al, 0xfe
inc eax
push eax
mov eax, dword [esp + 0x24]
push 0
push eax
call fcn.004fc930
fld qword [esp + 0x54]
fmul qword [0x594960]
mov eax, dword [esp + 0x28]
fsubr qword [esp + 0x5c]
fstp qword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push edi
push ebx
push ebp
push eax
mov ecx, esi
call fcn.004fe030
mov ecx, dword [esi + 0x4c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx]
mov ecx, esi
sub eax, 2
neg eax
sbb eax, eax
and eax, 2
dec eax
push eax
push 0
push edx
call fcn.004fc930
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov edx, dword [esp + 0x2c]
push ecx
push edi
push ebx
push ebp
push edx
mov ecx, esi
call fcn.004fe150
jmp 0x4fbd88
mov eax, dword [esi + 0x4c]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov eax, dword [eax]
cmp eax, 4
ja case.default.0x4fbab2
jmp dword [eax*4 + 0x4fc914]
mov ecx, dword [esi + 0x20]
push 0x5ba14c
call fcn.004c47c0
mov eax, dword [esi + 0x4c]
mov ebp, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x4fbafe
mov dword [esp + 0x30], eax
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov eax, dword [esi + 0x20]
push ecx
push edx
push 0x5e9148
push eax
call fcn.004c4a40
mov eax, dword [esp + 0x40]
add esp, 0x10
add ebp, 8
dec eax
mov dword [esp + 0x30], eax
jne 0x4fbad7
mov ecx, dword [esi + 0x20]
push 0x5e9140
call fcn.004c47c0
mov ecx, dword [esi + 0x20]
push edi
push ebx
push 0x5e9134
push ecx
call fcn.004c4a40
mov edx, dword [esp + 0x30]
add esp, 0x10
mov ecx, esi
push 0
push 0
push edx
call fcn.004fc930
fld qword [esp + 0x28]
fsub qword [esp + 0x54]
sub esp, 8
mov eax, dword [esi + 0x20]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x20]
fsub qword [esp + 0x64]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x6c]
fmul qword [0x571968]
fstp qword [esp]
push 0x5e910c
push eax
call fcn.004c4a40
add esp, 0x20
jmp case.default.0x4fbab2
sub eax, 2
mov ecx, dword [esp + 0x20]
neg eax
sbb eax, eax
and al, 0xfe
inc eax
push eax
push 1
push ecx
mov ecx, esi
call fcn.004fc930
mov ecx, dword [esi + 0x20]
push 0x5e9104
call fcn.004c47c0
mov ebp, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x20]
push ebp
push edx
push 0x5e90f4
push eax
call fcn.004c4a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0x10
push ebp
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push 0x5e90e0
push ecx
call fcn.004c4a40
fld qword [esp + 0x40]
fsub qword [esp + 0x6c]
add esp, 0x18
fstp qword [esp + 0x5c]
fld qword [esp + 0x10]
fsub qword [esp + 0x54]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
push edx
push eax
mov eax, dword [esi + 0x20]
fstp qword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push 0x5e90e0
push eax
call fcn.004c4a40
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov eax, dword [esi + 0x20]
add esp, 0x18
push ecx
push edx
push edi
push ebx
push 0x5e90e0
push eax
call fcn.004c4a40
mov ecx, dword [esi + 0x20]
add esp, 0x18
push edi
push ebx
push 0x5e90cc
push ecx
call fcn.004c4a40
mov ecx, dword [esi + 0x20]
add esp, 0x10
push 0x5e90c8
call fcn.004c47c0
mov edx, dword [esi + 0x4c]
mov eax, dword [edx]
sub eax, 2
neg eax
sbb eax, eax
and eax, 2
dec eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x24]
push 1
push eax
call fcn.004fc930
mov ecx, dword [esi + 0x20]
push 0x5e9104
call fcn.004c47c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x20]
push ecx
push edx
push 0x5e90b8
push eax
call fcn.004c4a40
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0x10
push ebp
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push 0x5e90e0
push ecx
call fcn.004c4a40
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
add esp, 0x18
push edx
mov edx, dword [esi + 0x20]
push eax
push ebp
push ecx
push 0x5e90e0
push edx
call fcn.004c4a40
mov eax, dword [esp + 0x48]
mov ecx, dword [esi + 0x20]
add esp, 0x18
push edi
push ebx
push ebp
push eax
push 0x5e90e0
push ecx
call fcn.004c4a40
mov edx, dword [esi + 0x20]
add esp, 0x18
push edi
push ebx
push 0x5e90cc
push edx
call fcn.004c4a40
mov ecx, dword [esi + 0x20]
add esp, 0x10
push 0x5e90c8
call fcn.004c47c0
jmp case.default.0x4fbab2
mov eax, dword [esi + 0x20]
push edi
push ebx
push 0x5e9134
push eax
call fcn.004c4a40
mov ecx, dword [esp + 0x30]
add esp, 0x10
push 0
push 0
push ecx
mov ecx, esi
call fcn.004fc930
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
push edx
push eax
push 0x5e90a0
push ecx
call fcn.004c4a40
add esp, 0x10
fld qword [esp + 0x54]
fadd st(0), st(0)
fld qword [esp + 0x28]
sub esp, 8
mov edx, dword [esi + 0x20]
fsub st(1)
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x20]
fsub st(1)
fstp qword [esp]
push edi
push ebx
push 0x5e9078
push edx
fstp st(0)
call fcn.004c4a40
add esp, 0x20
mov ebx, dword [esp + 0xc4]
lea ecx, [esp + 0x18]
call fcn.004b24e0
mov edi, dword [esp + 0xcc]
lea eax, [esp + 0x74]
push eax
push 0x5e9074
mov ecx, edi
call fcn.004b2a50
cmp dword [esp + 0x74], 7
jne 0x4fbe24
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x80]
push 0x5e88e0
call fcn.004b2a50
cmp dword [eax], 7
jne 0x4fbe24
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 1
je 0x4fbe11
mov edx, dword [esp + 0x20]
mov ecx, dword [esi]
push edx
push 0
push ecx
mov ecx, eax
call fcn.004cd860
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0x30], eax
jmp 0x4fbe2c
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0x30], eax
jmp 0x4fbe2c
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x18]
call fcn.004b24e0
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x5e9070
push ebx
call fcn.004fe280
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 5
sete cl
mov eax, ecx
test eax, eax
je 0x4fbe71
lea ecx, [esp + 0x18]
call fcn.004b24e0
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push 0x5e9070
call fcn.004b2a50
cmp dword [esp + 0x18], 3
jne 0x4fbec5
mov edi, dword [esp + 0x20]
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 2
je 0x4fbeb2
push edi
mov ecx, eax
call fcn.004c4450
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0x50], eax
jmp 0x4fbecd
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov dword [esp + 0x50], eax
jmp 0x4fbecd
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x18]
call fcn.004b24e0
cmp dword [esp + 0x84], 4
jne 0x4fc6da
mov ebp, dword [esp + 0x8c]
mov edi, 0x5e9154
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4fbf16
test cl, cl
je 0x4fbf12
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4fbf16
add eax, 2
add edi, 2
test cl, cl
jne 0x4fbef2
xor eax, eax
jmp 0x4fbf1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fc20c
mov eax, dword [esp + 0x3c]
xor ebp, ebp
test eax, eax
je 0x4fbf93
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x18]
push eax
push 0x5e8b34
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 3
sete cl
mov eax, ecx
test eax, eax
je 0x4fbf8a
mov edi, dword [esp + 0x20]
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 3
je 0x4fbf7b
push edi
mov ecx, eax
call fcn.004c4450
jmp 0x4fbf7d
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov ebp, eax
lea ecx, [esp + 0x18]
call fcn.004b24e0
mov eax, dword [esp + 0x38]
test ah, 0x80
je 0x4fc108
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push 0x5ca720
push ebx
call fcn.004fe280
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 4
sete cl
mov eax, ecx
test eax, eax
je 0x4fc1e6
mov ecx, dword [esp + 0xc8]
mov edi, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
push 0x5e9008
call fcn.004b2a50
cmp dword [eax], 4
jne 0x4fc0fa
mov eax, dword [eax + 8]
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4fc014
test cl, cl
je 0x4fc010
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4fc014
add eax, 2
add edi, 2
test cl, cl
jne 0x4fbfec
xor eax, eax
jmp 0x4fc019
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fc0fa
test ebp, ebp
je 0x4fc04c
mov ecx, dword [esp + 0x50]
push 1
push eax
push 1
push eax
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
push ebp
mov ecx, esi
call fcn.004fcaf0
lea ecx, [esp + 0x40]
call fcn.004b24e0
jmp 0x4fc1e6
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4fc0fa
lea edx, [esp + 0x64]
push edx
push 0x5e8ab8
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 6
sete cl
mov eax, ecx
test eax, eax
je 0x4fc0f1
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x4fc0f1
fld qword [esi + 0x38]
fsub qword [esi + 0x28]
push 0
push 1
push eax
mov ecx, esi
fstp qword [esp + 0x1c]
fld qword [esi + 0x40]
fsub qword [esi + 0x30]
fstp qword [esp + 0x34]
call fcn.004fc930
fld qword [esp + 0x10]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4fc0b7
fld qword [esp + 0x10]
jmp 0x4fc0bb
fld qword [esp + 0x28]
fmul qword [0x594958]
push 1
mov ecx, esi
sub esp, 8
fstp qword [esp]
fld qword [esp + 0x34]
fmul qword [0x571968]
sub esp, 8
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0x2c]
fmul qword [0x571968]
fstp qword [esp]
call fcn.004fde80
lea ecx, [esp + 0x64]
call fcn.004b24e0
lea ecx, [esp + 0x40]
call fcn.004b24e0
jmp 0x4fc1e6
test eax, 0x10000
je 0x4fc138
test ebp, ebp
je 0x4fc6e9
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
push 0
push 0
push 1
push 0
push 0
push edx
push eax
push ebp
mov ecx, esi
call fcn.004fcaf0
jmp 0x4fc1ef
lea ecx, [esp + 0x18]
push ecx
push 0x5ca720
push ebx
mov ecx, esi
call fcn.004fe280
cmp dword [eax], 4
jne 0x4fc1e6
mov eax, dword [eax + 8]
mov edi, 0x5e906c
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4fc183
test cl, cl
je 0x4fc17f
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4fc183
add eax, 2
add edi, 2
test cl, cl
jne 0x4fc15b
xor eax, eax
jmp 0x4fc188
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fc1e6
test ebp, ebp
jne 0x4fc1ca
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 4
je 0x4fc1bb
push 0x5d0e70
mov ecx, eax
call fcn.004c4300
jmp 0x4fc1bd
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov ebp, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push 1
push 0
push 1
push 0
push 0
push eax
push ecx
push ebp
mov ecx, esi
call fcn.004fcaf0
lea ecx, [esp + 0x18]
call fcn.004b24e0
test ebp, ebp
je 0x4fc6e9
mov ecx, ebp
call fcn.004c44b0
push ebp
call fcn.0055d27b
add esp, 4
jmp 0x4fc6e9
mov edi, 0x5e9068
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4fc237
test cl, cl
je 0x4fc233
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4fc237
add eax, 2
add edi, 2
test cl, cl
jne 0x4fc213
xor eax, eax
jmp 0x4fc23c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fc2fa
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push 0x5ca720
push ebx
call fcn.004fe280
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 3
sete cl
mov eax, ecx
test eax, eax
je 0x4fc3b5
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x40]
push edx
push 0x5d07d0
push eax
mov ecx, esi
call fcn.004fe280
mov edi, dword [eax]
xor ecx, ecx
cmp edi, 1
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x48]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x40]
mov ebx, eax
call fcn.004b24e0
mov ebp, dword [esp + 0x38]
xor edi, edi
test ebp, 0x1000000
je 0x4fc2e8
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x40]
push edx
push 0x5e9060
push eax
mov ecx, esi
call fcn.004fe280
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 1
sete cl
mov eax, ecx
test eax, eax
je 0x4fc2df
mov edi, dword [esp + 0x48]
lea ecx, [esp + 0x40]
call fcn.004b24e0
push 0
push 1
push ebx
and ebp, 0x1000
push edi
push ebp
jmp 0x4fc39f
mov edi, 0x5e905c
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4fc325
test cl, cl
je 0x4fc321
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4fc325
add eax, 2
add edi, 2
test cl, cl
jne 0x4fc301
xor eax, eax
jmp 0x4fc32a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4fc6a2
lea eax, [esp + 0x18]
mov ecx, esi
push eax
push 0x5d07d0
push ebx
call fcn.004fe280
mov edi, dword [eax]
xor ecx, ecx
cmp edi, 1
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x18]
mov edi, eax
mov dword [esp + 0x28], edi
call fcn.004b24e0
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x18]
test eax, 0x20000
push edx
je 0x4fc3c3
push 0x5ca720
push ebx
mov ecx, esi
call fcn.004fe280
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 3
sete cl
mov eax, ecx
test eax, eax
je 0x4fc3b5
push 0
push 1
push edi
push 0
push 0
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004fcaf0
lea ecx, [esp + 0x18]
call fcn.004b24e0
jmp 0x4fc6e9
push 0x5e9058
mov ecx, ebx
call fcn.004b2a50
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 6
sete cl
mov eax, ecx
test eax, eax
je 0x4fc3b5
mov edx, dword [esp + 0x20]
push 4
mov edi, dword [edx + 0xc]
push edi
mov dword [esp + 0x40], edi
call fcn.004c6580
add esp, 8
xor ebp, ebp
test edi, edi
mov dword [esp + 0x3c], eax
jle 0x4fc522
mov ebx, eax
lea eax, [esp + 0x40]
mov dword [ebx], 0
mov ecx, dword [esp + 0x20]
push eax
push ebp
call fcn.004bc920
mov eax, dword [esp + 0x40]
cmp eax, 3
jne 0x4fc46c
mov edi, dword [esp + 0x48]
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 5
je 0x4fc45b
push edi
mov ecx, eax
call fcn.004c4450
mov dword [esp + 0xbc], 0xffffffff
mov dword [ebx], eax
jmp 0x4fc4cf
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov dword [ebx], eax
jmp 0x4fc4cf
cmp eax, 6
jne 0x4fc4cf
mov ecx, dword [esp + 0x48]
cmp dword [ecx + 0xc], 2
jne 0x4fc4cf
lea edx, [esp + 0x64]
push edx
push 1
call fcn.004bc920
cmp dword [eax], 3
jne 0x4fc4c6
mov edi, dword [esp + 0x6c]
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 6
je 0x4fc4b7
push edi
mov ecx, eax
call fcn.004c4450
jmp 0x4fc4b9
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov dword [ebx], eax
lea ecx, [esp + 0x64]
call fcn.004b24e0
lea ecx, [esp + 0x40]
call fcn.004b24e0
cmp dword [ebx], 0
jne 0x4fc512
push 8
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 7
je 0x4fc503
mov ecx, eax
call fcn.004c42d0
jmp 0x4fc505
xor eax, eax
mov dword [esp + 0xbc], 0xffffffff
mov dword [ebx], eax
mov eax, dword [esp + 0x38]
inc ebp
add ebx, 4
cmp ebp, eax
jl 0x4fc405
mov edi, dword [esp + 0x38]
push 4
push edi
call fcn.004c6580
mov ecx, dword [esp + 0xcc]
add esp, 8
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push 0x5ca720
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebp
call fcn.004fe280
test edi, edi
jle 0x4fc5f8
mov ecx, dword [esp + 0x3c]
mov ebx, ebp
sub ecx, ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], ecx
jmp 0x4fc56e
mov ecx, dword [esp + 0x5c]
mov dword [ebx], 0
mov eax, dword [esp + 0x40]
cmp eax, 3
jne 0x4fc596
mov edx, dword [ecx + ebx]
mov ecx, dword [esp + 0x48]
push edx
call fcn.004c5660
test eax, eax
jne 0x4fc5e6
mov dword [ebx], 1
jmp 0x4fc5e6
cmp eax, 6
jne 0x4fc5e6
mov ecx, dword [esp + 0x48]
xor edi, edi
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x4fc5e6
lea eax, [esp + 0x64]
push eax
push edi
call fcn.004bc920
cmp dword [eax], 3
jne 0x4fc5d3
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + ebx]
mov ecx, dword [esp + 0x6c]
push edx
call fcn.004c5660
test eax, eax
jne 0x4fc5d3
mov dword [ebx], 1
lea ecx, [esp + 0x64]
call fcn.004b24e0
mov ecx, dword [esp + 0x48]
inc edi
cmp edi, dword [ecx + 0xc]
jl 0x4fc5a8
mov eax, dword [esp + 0x54]
add ebx, 4
dec eax
mov dword [esp + 0x54], eax
jne 0x4fc56a
lea ecx, [esp + 0x40]
call fcn.004b24e0
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x40]
push eax
push 0x5e9054
call fcn.004b2a50
mov edi, dword [eax]
xor ecx, ecx
cmp edi, 1
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x48]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x40]
mov edi, eax
call fcn.004b24e0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edi
mov edi, dword [esp + 0x48]
mov ecx, esi
push edi
push ebp
push edx
call fcn.004fd650
test edi, edi
jle 0x4fc680
mov ebx, dword [esp + 0x3c]
mov ebp, edi
mov edi, dword [ebx]
test edi, edi
je 0x4fc67a
mov ecx, edi
call fcn.004c44b0
push edi
call fcn.0055d27b
add esp, 4
add ebx, 4
dec ebp
jne 0x4fc664
mov eax, dword [esp + 0x3c]
push eax
call fcn.004c66b0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004c66b0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.004b24e0
jmp 0x4fc6e9
mov edi, 0x5e9050
mov eax, ebp
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x4fc6d1
test cl, cl
je 0x4fc6cd
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x4fc6d1
add eax, 2
add edi, 2
test cl, cl
jne 0x4fc6a9
xor eax, eax
jmp 0x4fc6d6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4fc6e9
push 0x5e903c
push 0xffffffffffffffff
call fcn.004cda10
add esp, 8
mov edi, dword [esp + 0x50]
test edi, edi
je 0x4fc701
mov ecx, edi
call fcn.004c44b0
push edi
call fcn.0055d27b
add esp, 4
mov eax, dword [esi]
lea ecx, [esp + 0x94]
push eax
call fcn.004b22e0
mov ecx, dword [esi + 0x20]
push 0x5e5580
mov eax, dword [ecx]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], eax
call fcn.004c66c0
mov ecx, dword [esp + 0xa0]
add esp, 4
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004b2910
push 0x5e8ed8
mov dword [esp + 0x1c], 4
call fcn.004c66c0
push 0x5ca870
mov dword [esp + 0x28], eax
call fcn.004c66c0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
call fcn.004b2910
mov edx, dword [esi]
lea ecx, [esp + 0x18]
push edx
call fcn.004b2280
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x40]
mov edi, 2
push eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.004bc8b0
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edi
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.004bc8b0
fld qword [esi + 0x38]
fsub qword [esi + 0x28]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x44], edi
fstp qword [esp + 0x4c]
call fcn.004bc8b0
fld qword [esi + 0x40]
fsub qword [esi + 0x30]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x44], edi
fstp qword [esp + 0x4c]
call fcn.004bc8b0
push 0x5ca0a4
call fcn.004c66c0
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xa0]
push eax
call fcn.004b2910
cmp dword [esp + 0x74], 7
jne 0x4fc853
lea edx, [esp + 0x18]
lea ecx, [esp + 0x74]
push edx
call fcn.004b2380
push 0x5ca01c
mov edi, eax
call fcn.004c66c0
mov ecx, dword [esp + 0xa0]
add esp, 4
push edi
push eax
call fcn.004b2910
lea ecx, [esp + 0x74]
call fcn.004b24e0
push 0x30
call fcn.0055d252
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0xbc], 8
je 0x4fc898
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x94]
push ecx
mov ecx, eax
mov edi, dword [edx]
mov edx, dword [edx + 4]
push edi
push 0
push edx
call fcn.004a1520
mov edi, eax
jmp 0x4fc89a
xor edi, edi
add esi, 0x10
mov dword [esp + 0xbc], 0xffffffff
mov ecx, esi
call fcn.004b24e0
push edi
mov ecx, esi
call fcn.004b2360
mov esi, dword [esp + 0x30]
pop edi
pop ebp
pop ebx
test esi, esi
je 0x4fc8d2
mov ecx, esi
call fcn.004cd980
push esi
call fcn.0055d27b
add esp, 4
lea ecx, [esp + 0x78]
call fcn.004b24e0
lea ecx, [esp + 0x98]
call fcn.004b24e0
mov ecx, dword [esp + 0xa8]
pop esi
mov dword fs:[0], ecx
add esp, 0xb0
ret 0xc