Function at 0x458140
Capabilities:
Check http status code
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfa4
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
push esi
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push edi
xor edi, edi
cmp byte [eax], 2
mov eax, dword [eax + 8]
setne cl
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], 0x4ac0f0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x44], edi
dec ecx
and ecx, dword [0x4c8410]
add edx, edx
mov esi, dword [eax + edx*8 + 0xc]
lea eax, [eax + edx*8 + 0xc]
mov dword [ebp - 0x6c], ecx
cmp dword [esi + 8], 0x41
mov dword [ebp - 0x24], esi
je 0x459f97
mov eax, 0x10
call fcn.00499390
mov ecx, dword [esi]
mov ebx, esp
mov dword [ebx], ecx
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xc]
mov dword [ebx + 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4c], ebx
cmp eax, 8
jge 0x458671
cmp eax, 7
jne 0x459c7a
mov esi, dword [ebx + 4]
test esi, esi
je 0x45849b
mov ecx, dword [ebx]
xor edi, edi
mov dword [ebx], 0x4ac0f0
mov dword [ebx + 8], edi
mov eax, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp eax, esi
jne 0x458251
movzx edx, word [ecx + 0xa]
cmp word [esi + edx*2], di
jne 0x458251
cmp byte [ecx + 0x14], 0
je 0x458251
mov edx, dword [ecx + 4]
cmp byte [edx + 0x17], 0
jne 0x458227
mov edx, dword [edx + 0xc]
test byte [edx + 0x15], 2
je 0x458251
mov dword [ebx + 8], 6
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0x17], 0
jne 0x458240
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx]
mov dword [ebx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x459c7a
test eax, eax
je 0x458366
cmp esi, eax
mov eax, dword [ebp - 0x18]
jae 0x45827b
cmp edi, 0xfd
jae 0x458283
mov cx, word [esi]
mov word [ebp + edi*2 - 0x28c], cx
add esi, 2
inc edi
cmp esi, dword [eax]
jb 0x458260
cmp edi, 0xfd
jb 0x45828b
cmp esi, dword [eax]
jb 0x4583ea
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
movzx eax, byte [eax + 0x17]
cmp eax, 3
ja case.default.0x45829e
jmp dword [eax*4 + 0x45a374]
mov eax, dword [ebp - 0x14]
call fcn.00401160
cmp dword [0x4c862c], 0
jne 0x4582ee
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
jne 0x4582ee
push 0
lea eax, [ebp - 0x80]
mov ecx, edx
mov edx, dword [ecx + 0x18]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4582e2
mov dword [0x4cbb68], 0
dec eax
jmp 0x458328
mov eax, dword [ebp - 0x14]
mov dword [0x4cbb68], eax
xor eax, eax
jmp 0x458328
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
shr eax, 1
jmp 0x458328
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
push 0
call fcn.004778a0
jmp 0x458328
xor ecx, ecx
call fcn.00404020
cmp eax, 0xffffffff
jne 0x458328
xor eax, eax
jmp 0x458328
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push ecx
push 0
call edx
add esp, 8
mov ecx, 0xfd
sub ecx, edi
cmp eax, ecx
ja 0x4583ea
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
lea edx, [ebp + edi*2 - 0x28c]
push edx
call fcn.004778a0
add edi, eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
add eax, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [eax]
lea esi, [esi + ecx*2]
test eax, eax
jne 0x458259
movzx eax, word [esi]
test ax, ax
je 0x45838c
mov edi, edi
cmp edi, 0xfd
jae 0x458394
add esi, 2
mov word [ebp + edi*2 - 0x28c], ax
movzx eax, word [esi]
inc edi
test ax, ax
jne 0x458370
cmp edi, 0xfd
jb 0x45839a
cmp word [esi], 0
jne 0x4583ea
mov eax, dword [ebp - 0x18]
test edi, edi
jne 0x4583a7
cmp byte [eax + 8], 0
je 0x4583ed
xor edx, edx
mov word [ebp + edi*2 - 0x28c], dx
cmp byte [eax + 8], dl
je 0x45843d
lea eax, [edi + edi + 2]
mov dword [ebx + 8], edx
call fcn.00495170
mov esi, esp
lea eax, [ebp - 0x28c]
mov edx, esi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4583d4
mov dword [ebx], esi
jmp 0x459c7a
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x4583fa
add eax, 0xc
cmp dword [eax], 0
jne 0x4583f2
cmp byte [eax + 8], 0
je 0x459c7a
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je case.0x45a06c.3
mov eax, dword [ebp - 0x34]
test eax, eax
je case.0x45a06c.3
push 1
push 0
push 0xffffffffffffffff
push eax
push ecx
call fcn.004774d0
test eax, eax
jne case.0x45a06c.3
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
jmp case.0x45a06c.3
cmp word [ebp - 0x28c], dx
je 0x45a1c1
lea edx, [ebp - 0x4d]
push edx
push 3
lea eax, [ebp - 0x8c]
push eax
push edi
lea ecx, [ebp - 0x28c]
push ecx
mov ecx, 0x4ca650
call fcn.00421540
test eax, eax
jne 0x458499
mov eax, dword [ebp - 0x8c]
xor edx, edx
cmp byte [ebp - 0x4d], dl
lea ecx, [ebp - 0x28c]
setne dl
inc edx
push edx
push eax
push ecx
push 0x4ca650
mov ecx, edi
call fcn.004217e0
test eax, eax
je 0x45a1c1
mov dword [ebx], eax
mov esi, dword [ebx]
mov al, byte [esi + 0x17]
test al, al
jne 0x4584aa
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x17]
movzx eax, al
mov edi, 1
sub eax, edi
je 0x4584fd
sub eax, 3
jne 0x458533
mov eax, dword [esi + 0x10]
cmp eax, 0x445b10
jne 0x4584dd
mov eax, dword [0x4c48ec]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
jmp 0x459c7a
cmp eax, 0x4463c0
jne 0x458533
mov eax, dword [0x4c48ec]
mov ecx, dword [eax + 0x38]
mov dword [ebx], ecx
mov dword [ebx + 4], 0
mov dword [ebx + 8], edi
jmp 0x459c7a
cmp dword [0x4c862c], 0
jne 0x45995d
cmp byte [esi + 0x17], 0
jne 0x458515
mov eax, dword [esi + 0xc]
jmp 0x458517
mov eax, esi
test byte [eax + 0x15], 0xa
jne 0x45995d
xor edx, edx
cmp dword [eax + 0xc], edx
setne dl
mov eax, edx
test eax, eax
jne 0x45995d
movzx eax, byte [esi + 0x17]
cmp eax, 3
ja case.default.0x45853c
jmp dword [eax*4 + 0x45a384]
mov eax, esi
call fcn.00401160
cmp dword [0x4c862c], 0
jne 0x458587
cmp dword [esi + 0xc], 0
jne 0x458587
mov ecx, dword [esi + 0x18]
push 0
lea eax, [ebp - 0x88]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x45857d
mov dword [0x4cbb68], 0
dec eax
jmp 0x4585ba
mov dword [0x4cbb68], esi
xor eax, eax
jmp 0x4585ba
mov eax, dword [esi + 0xc]
shr eax, 1
jmp 0x4585ba
mov ecx, dword [esi + 0xc]
push 0
call fcn.004778a0
jmp 0x4585ba
xor ecx, ecx
call fcn.00404020
cmp eax, 0xffffffff
jne 0x4585ba
xor eax, eax
jmp 0x4585ba
mov edx, dword [esi + 0x18]
mov eax, dword [esi + 0x10]
push edx
push 0
call eax
add esp, 8
lea esi, [eax + 1]
cmp esi, edi
jne 0x4585e5
mov eax, dword [ebx]
mov cl, byte [eax + 0x17]
test cl, cl
jne 0x4585d0
mov ecx, dword [eax + 0xc]
mov cl, byte [ecx + 0x17]
cmp cl, 1
jne 0x458de4
mov dword [ebx + 8], 4
jmp 0x459c7a
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x54]
sub edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
sar edx, 1
sub eax, edx
cmp esi, eax
ja 0x458605
mov edi, dword [ebp - 0x54]
lea ecx, [edi + esi*2]
mov dword [ebp - 0x54], ecx
jmp 0x458654
cmp esi, 0x1001
jae 0x458625
cmp dword [ebp - 0x44], 0x9c40
jae 0x458625
lea eax, [esi + esi]
call fcn.00495170
add dword [ebp - 0x44], esi
mov edi, esp
jmp 0x458654
mov edi, dword [ebp - 0x30]
cmp edi, 0xc8
je 0x459ec2
lea edx, [esi + esi]
push edx
call fcn.0048dc24
add esp, 4
mov dword [ebp + edi*4 - 0x5ac], eax
test eax, eax
je 0x459ec2
inc dword [ebp - 0x30]
mov edi, eax
mov ecx, dword [ebx]
push edi
call fcn.004778a0
mov dword [ebx], edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
jmp 0x459c7a
cmp eax, 0x3e
jne 0x458a80
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
movzx eax, byte [eax + 9]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
cmp eax, edi
jg 0x458404
sub edi, eax
mov dword [ebp - 0x20], edi
lea esi, [ebp + edi*4 - 0xdac]
test ecx, ecx
jne 0x458730
test edi, edi
je 0x458404
mov eax, edi
dec eax
mov edi, dword [ebp + eax*4 - 0xdac]
mov dword [ebp - 0x20], eax
lea eax, [ebp + eax*4 - 0xdac]
call fcn.0044fbb0
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x458719
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x4586ec
lea eax, [edi*4]
push eax
lea ecx, [esi + 4]
push esi
push ecx
call fcn.0048e610
add esp, 0xc
inc dword [ebp - 0x5c]
mov eax, 0x10
call fcn.00499390
mov eax, esp
mov dword [esi], eax
mov dword [eax + 8], 0
mov edx, dword [esi]
sub esi, 4
add edi, 2
mov dword [edx], 0x4ac0f0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0x4c5cd0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x14]
jge 0x458730
mov edx, dword [ebx]
cmp byte [edx + 8], 2
jne 0x458404
mov edi, dword [ebx + 0xc]
lea eax, [ebp - 0x28c]
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebp - 0x28], edi
mov dword [ebx + 0xc], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], eax
mov ecx, dword [ebx]
cmp byte [ecx + 8], 2
mov ecx, dword [ebp - 0x1c]
sete dl
movzx eax, dl
push eax
mov eax, dword [ebp - 0x14]
push ecx
push esi
mov esi, dword [ebp + 0x10]
push ebx
push esi
lea edx, [ebp - 0x40]
push edx
push eax
call fcn.0045a590
test al, al
je 0x459ed0
mov ecx, dword [ebp + 8]
mov dword [0x4cac80], ecx
mov eax, dword [ebx + 8]
cmp eax, 1
je 0x458a55
cmp eax, 2
je 0x458a55
cmp eax, 6
je 0x458a55
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4587c8
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x18], 0x41
jne 0x4587c8
cmp byte [ecx], 3
mov dword [ebp - 0x1c], 1
je 0x459f04
mov esi, dword [ebp - 0x6c]
jmp 0x458801
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x18], 0x13
mov dword [ebp - 0x1c], 0
jne 0x4587ff
test eax, eax
je 0x4587ff
lea eax, [ebp + eax*4 - 0xdac]
mov eax, dword [eax - 4]
cmp dword [eax + 8], 4
jne 0x4587ff
mov esi, dword [eax]
mov al, byte [esi + 0x17]
test al, al
jne 0x4587fb
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
je 0x458801
xor esi, esi
mov edi, dword [ebx]
test esi, esi
je 0x4588de
mov edx, dword [0x4c48ec]
mov eax, dword [ebp - 0x14]
cmp dword [edx + 0xb4], eax
jne 0x45882b
mov dl, byte [esi + 0x16]
and dl, 0x22
cmp dl, 2
je 0x4588de
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
jne 0x458841
mov eax, dword [ebx + 4]
push eax
mov edi, ecx
mov eax, esi
call fcn.00477bc0
jmp 0x458891
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x458846
mov ecx, dword [ebx]
sub eax, edx
sar eax, 1
cmp ecx, dword [0x4ca578]
jne 0x45887c
cmp eax, 0x40
jb 0x45887c
push eax
mov edi, ecx
mov eax, esi
call fcn.00477bc0
xor eax, eax
mov dword [0x4ca578], eax
mov dword [0x4ca57c], eax
jmp 0x458891
push 1
push 0
push 0xffffffffffffffff
push ecx
push esi
call fcn.004774d0
test eax, eax
je 0x459f29
cmp dword [ebp - 0x1c], 0
jne 0x459edc
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x1c]
dec dword [ebp - 0x20]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov dword [ebx + 0xc], ecx
mov dword [ebx], esi
mov dword [ebx + 8], 4
test eax, eax
je 0x459c7a
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00477de0
add esp, 0xc
jmp 0x459c7a
mov edx, dword [ebx + 0xc]
mov esi, 1
test edx, edx
je 0x458909
mov eax, dword [ebp - 0x30]
cmp eax, 0xc8
je 0x459f16
cmp edx, edi
jne 0x4588fe
xor esi, esi
mov dword [ebp + eax*4 - 0x5ac], edx
inc eax
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx]
mov dword [ebx + 0xc], edx
cmp word [eax], 0
jne 0x458930
mov dword [ebx], 0x4ac0f0
mov dword [ebx + 8], 5
mov dword [ebx + 4], 0
jmp 0x458a58
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3d], 0
je 0x458949
test esi, esi
je 0x45897d
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov esi, ecx
jmp 0x45897d
cmp edi, dword [0x4ca578]
jne 0x458978
xor esi, esi
cmp dword [ebp - 0x1c], esi
jne 0x45897d
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
cmp eax, 0x41
je 0x45897d
cmp eax, 0x3e
je 0x458978
mov eax, dword [ecx + 0x10]
add ecx, 0x10
cmp eax, 0x41
jne 0x458966
jmp 0x45897d
mov esi, 1
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
test esi, esi
je 0x458a51
lea edx, [eax + 2]
jmp 0x4589a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4589a0
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp + 0x20]
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
mov eax, dword [ebp + 0x1c]
mov edx, edi
sub edx, dword [eax]
mov eax, dword [ecx]
sar edx, 1
sub eax, edx
cmp esi, eax
ja 0x4589e1
mov eax, dword [ebx]
add esi, esi
push esi
push eax
push edi
call fcn.00495f20
add esp, 0xc
add edi, esi
mov dword [ebp - 0x54], edi
mov dword [ebx], eax
jmp 0x458a58
cmp esi, 0x1001
jae 0x458a13
cmp dword [ebp - 0x44], 0x9c40
jae 0x458a13
lea eax, [esi + esi]
call fcn.00495170
mov eax, dword [ebx]
mov ecx, esp
lea edx, [esi + esi]
push edx
push eax
push ecx
call fcn.00495f20
add esp, 0xc
add dword [ebp - 0x44], esi
mov dword [ebx], eax
jmp 0x458a58
cmp dword [ebp - 0x30], 0xc8
je 0x459f51
lea eax, [esi + esi]
push eax
call fcn.0048dc24
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [ebp + ecx*4 - 0x5ac], eax
test eax, eax
je 0x459f51
mov ecx, dword [ebx]
lea edx, [esi + esi]
push edx
push ecx
push eax
call fcn.00495f20
add esp, 0xc
inc dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x458a58
mov dword [ebx + 0xc], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x459c7a
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00477de0
add esp, 0xc
jmp 0x459c7a
cmp eax, 0x1f
jne 0x458ac3
cmp dword [ebx + 0xc], 0
je 0x459eb1
test edi, edi
je 0x459eb1
mov eax, dword [ebp + edi*4 - 0xdb0]
mov ecx, dword [eax]
dec edi
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x20], edi
mov dword [ebx + 0xc], eax
jmp 0x459c84
test edi, edi
je 0x458404
mov edx, dword [ebp - 0x20]
mov edi, dword [ebp + edx*4 - 0xdb0]
dec edx
cmp dword [edi + 8], 8
mov dword [ebp - 0x20], edx
jge 0x458404
cmp eax, 0x20
jne 0x458b1e
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x458404
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [edi]
mov dword [ebx], edx
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov ecx, dword [edi + 8]
mov dword [ebx + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [ebx + 0xc], edx
mov dword [edi + 8], 1
jmp 0x459c7a
add eax, 0xffffffee
cmp eax, 0x27
ja case.0x458b2d.20
movzx eax, byte [eax + 0x45a39c]
jmp dword [eax*4 + 0x45a394]
mov eax, edi
call fcn.0044f720
mov edx, dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x84], esi
jmp 0x458b4e
mov esi, dword [ebp - 0x84]
mov eax, dword [ebx + 8]
lea ecx, [eax - 9]
mov dword [ebp - 0x58], 0
cmp ecx, 0x34
ja case.0x458b6b.11
movzx ecx, byte [ecx + 0x45a3e0]
jmp dword [ecx*4 + 0x45a3c4]
mov eax, esi
mov esi, edi
call fcn.0044f600
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], 1
jmp 0x459c7a
mov eax, esi
mov esi, edi
call fcn.0044f600
test eax, eax
jne 0x459590
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
jmp 0x459c7a
cmp esi, 1
jne 0x458bd6
push esi
mov ecx, edi
call fcn.0044f860
add esp, 4
neg eax
adc edx, 0
neg edx
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
jmp 0x459c7a
cmp esi, 2
jne 0x458de4
push 1
push 0
mov eax, edi
call fcn.0044f8f0
fchs
fstp qword [ebx]
add esp, 8
mov dword [ebx + 8], esi
jmp 0x459c7a
mov ecx, dword [edi + 8]
xor edx, edx
cmp eax, 0x3c
setge dl
mov dword [ebp - 0x28], edx
cmp ecx, 4
jne 0x458de4
test esi, esi
je 0x458cc4
cmp eax, 9
je 0x458c29
mov dword [ebp - 0x1c], 0xffffffff
cmp eax, 0x3c
jne 0x458c30
mov dword [ebp - 0x1c], 1
push 1
cmp esi, 1
jne 0x458c5b
mov ecx, edi
call fcn.0044f860
mov dword [ebx], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], edx
cdq
add esp, 4
add eax, dword [ebx]
adc edx, dword [ebx + 4]
push edx
push eax
mov eax, dword [edi]
push eax
call fcn.00413220
jmp 0x458c74
push 0
mov eax, edi
call fcn.0044f8f0
fst qword [ebx]
fiadd dword [ebp - 0x1c]
mov ecx, dword [edi]
fstp qword [esp]
push ecx
call fcn.00413250
cmp dword [ebp - 0x28], 0
je 0x458bf1
mov edi, dword [edi]
mov al, byte [edi + 0x17]
test al, al
jne 0x458c8d
mov edx, dword [edi + 0xc]
mov al, byte [edx + 0x17]
cmp al, 1
jne 0x458c9f
mov dword [ebx], edi
mov dword [ebx + 8], 4
jmp 0x459c7a
cmp esi, 1
jne 0x458cb5
mov eax, dword [ebp - 0x1c]
cdq
add dword [ebx], eax
mov dword [ebx + 8], esi
adc dword [ebx + 4], edx
jmp 0x459c7a
fild dword [ebp - 0x1c]
mov dword [ebx + 8], esi
fadd qword [ebx]
fstp qword [ebx]
jmp 0x459c7a
cmp ecx, 4
jne 0x458de4
mov eax, dword [edi]
cmp byte [eax + 0x17], 0
jne 0x458cda
mov ecx, dword [eax + 0xc]
jmp 0x458cdc
mov ecx, eax
test byte [ecx + 0x15], 4
je 0x458ce7
call fcn.0042e9d0
mov ecx, dword [edi]
call fcn.004131c0
cmp dword [ebp - 0x28], 0
je 0x458de4
mov edi, dword [edi]
mov al, byte [edi + 0x17]
test al, al
jne 0x458d07
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
jne 0x458de4
mov dword [ebx], edi
mov dword [ebx + 8], 4
jmp 0x459c7a
mov eax, dword [edi + 8]
cmp eax, 4
jne 0x458dc7
mov eax, dword [edi]
cmp byte [eax + 0x17], 0
jne 0x458d36
mov ecx, dword [eax + 0xc]
jmp 0x458d38
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x458d5d
mov dword [ebx + 8], 1
mov edi, dword [edi]
cmp byte [edi + 0x17], 0
jne 0x458d50
mov edi, dword [edi + 0xc]
mov eax, dword [edi]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c7a
call fcn.00403a50
mov dword [ebx + 8], 1
mov edi, dword [edi]
cmp byte [edi + 0x17], 0
jne 0x458d74
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x458d81
mov eax, edi
call fcn.00401160
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x458da3
test byte [edi + 0x15], 4
je 0x458d95
mov eax, edi
call fcn.0042e9d0
mov eax, dword [edi + 8]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c7a
cmp al, 2
jne 0x458db7
call fcn.00401000
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c7a
mov eax, 0x4ca5c8
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c7a
cmp eax, 6
jne 0x458de4
mov dword [ebx + 8], 1
mov eax, dword [edi]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c7a
test esi, esi
jne 0x458df6
mov dword [ebx], 0x4ac0f0
mov dword [ebx + 8], 0
jmp 0x459c7a
xor ecx, ecx
cmp esi, 1
sete cl
push ecx
mov ecx, edi
call fcn.0044f860
add esp, 4
cmp dword [ebx + 8], 0x38
jne 0x458e46
test edx, edx
ja 0x458e31
jb 0x458e1a
cmp eax, 0xffffffff
ja 0x458e31
not eax
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x459c7a
not eax
not edx
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x459c7a
cmp eax, 0x1000
jae 0x458e61
xor eax, eax
cdq
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x459c7a
movzx eax, byte [eax]
cdq
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x459c7a
test edx, edx
je 0x458404
dec edx
mov dword [ebp - 0x20], edx
lea edx, [ebp + edx*4 - 0xdac]
mov dword [ebp - 0x28], edx
mov edx, dword [edx]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x48], edx
cmp ecx, 8
jge 0x458404
cmp eax, 0x12
jne 0x458eda
mov eax, dword [edx]
mov dword [ebx], eax
mov ecx, dword [edx + 4]
mov dword [ebx + 4], ecx
mov eax, dword [edx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [edx + 0xc]
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0xc], ecx
cmp dword [ebx + 8], 6
mov eax, dword [edx + 0xc]
mov dword [ebx + 0xc], eax
jne 0x459c7a
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x459c7a
cmp eax, 0x1e
jg 0x458fda
cmp eax, 0x13
jl 0x458fda
cmp ecx, 4
je 0x458f03
mov dword [ebx], 0x4ac0f0
mov dword [ebx + 8], 0
jmp 0x459c7a
add eax, 0xffffffed
cmp eax, 0xb
ja case.default.0x458f0f
jmp dword [eax*4 + 0x45a418]
mov esi, dword [ebp - 0x48]
mov ebx, dword [esi]
mov eax, edi
call fcn.00476df0
test eax, eax
je 0x45a1c1
mov ecx, dword [esi]
mov al, byte [ecx + 0x17]
test al, al
jne 0x458f39
mov eax, dword [ecx + 0xc]
mov al, byte [eax + 0x17]
mov ebx, dword [ebp - 0x4c]
cmp al, 2
mov eax, ebx
jne 0x458f66
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
jmp 0x459c7a
mov dword [eax], ecx
mov dword [eax + 8], 4
jmp 0x459c7a
mov dword [ebx + 8], 0x31
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x32
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x33
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x34
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x35
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x2c
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x2d
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x2e
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x2f
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x30
jmp case.default.0x458f0f
mov dword [ebx + 8], 0x2b
mov eax, dword [edx]
mov dword [ebp - 0x58], eax
cmp dword [ebx + 8], 0x2b
je 0x459544
test esi, esi
je 0x459544
mov eax, dword [ebp - 0x48]
call fcn.0044f720
mov dword [ebp - 0x60], eax
test eax, eax
je 0x459544
cmp esi, 1
jne 0x45900e
cmp eax, esi
jne 0x45900e
cmp dword [ebx + 8], 0x34
jne 0x459023
mov eax, dword [ebx + 8]
cmp eax, 0x30
jg 0x4592ed
cmp eax, 0x2c
jl 0x4592ed
xor ecx, ecx
cmp esi, 1
sete cl
push ecx
mov ecx, edi
call fcn.0044f860
mov ecx, dword [ebp - 0x48]
mov esi, edx
xor edx, edx
add esp, 4
cmp dword [ebp - 0x60], 1
mov edi, eax
sete dl
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], esi
push edx
call fcn.0044f860
mov ecx, dword [ebx + 8]
add ecx, 0xffffffdc
add esp, 4
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x14], 1
cmp ecx, 0x17
ja case.0x459071.43
jmp dword [ecx*4 + 0x45a448]
add eax, edi
adc edx, esi
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
sub eax, edi
sbb edx, esi
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
push esi
push edi
push edx
push eax
call fcn.004940e0
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
cmp eax, edi
jne 0x4590d8
cmp edx, esi
jne 0x4590d8
mov edx, dword [ebp - 0x14]
mov eax, 1
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
mov edx, dword [ebp - 0x14]
xor eax, eax
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
cmp eax, edi
jne 0x4590f4
cmp edx, esi
je 0x4590d8
mov edx, dword [ebp - 0x14]
mov eax, 1
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
cmp edx, esi
jl 0x4590d8
jg 0x459115
cmp eax, edi
jbe 0x4590d8
mov edx, dword [ebp - 0x14]
mov eax, 1
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
cmp edx, esi
jg 0x4590d8
jl 0x459136
cmp eax, edi
jae 0x4590d8
mov edx, dword [ebp - 0x14]
mov eax, 1
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
cmp edx, esi
jl 0x4590d8
jg 0x459157
cmp eax, edi
jb 0x4590d8
mov edx, dword [ebp - 0x14]
mov eax, 1
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
cmp edx, esi
jg 0x4590d8
jl 0x459180
cmp eax, edi
ja 0x4590d8
mov edx, dword [ebp - 0x14]
mov eax, 1
xor ecx, ecx
mov dword [ebx + 4], ecx
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
and eax, edi
and edx, esi
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
or eax, edi
or edx, esi
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
xor eax, edi
xor edx, esi
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
mov ecx, edi
call fcn.0049d070
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
mov ecx, edi
call fcn.0049d040
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
mov ecx, edi
or ecx, dword [ebp - 0x70]
jne 0x45921b
mov edx, ecx
mov dword [ebx], 0x4ac0f0
mov dword [ebp - 0x14], ecx
mov dword [ebx + 8], edx
jmp 0x459c42
mov ecx, dword [ebp - 0x70]
push ecx
push edi
push edx
push eax
call fcn.0049c570
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x459c42
mov ecx, eax
or ecx, edx
jne 0x45925f
test esi, esi
jg 0x4592af
jl 0x459247
test edi, edi
jae 0x4592af
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebx], 0x4ac0f0
mov dword [ebx + 8], edx
jmp 0x459c42
test edx, edx
jg 0x4592af
jl 0x459269
test eax, eax
jae 0x4592af
neg eax
adc edx, 0
neg edx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], edx
fild qword [ebp - 0x74]
sub esp, 0x10
fstp qword [esp + 8]
fild qword [ebp - 0x7c]
fstp qword [esp]
call fcn.0042f850
cmp dword [ebp - 0x28], 0
fst qword [ebx]
je 0x4592b8
push 0
push 2
push esi
push edi
call fcn.0049cf80
or eax, edx
je 0x4592b8
fchs
fstp qword [ebx]
jmp 0x4592ba
mov dword [ebp - 0x28], 0
jmp 0x45927d
fstp st(0)
test esi, esi
jg 0x4592d6
jl 0x4592c4
test edi, edi
jae 0x4592d6
mov dword [ebp - 0x14], 2
mov edx, dword [ebp - 0x14]
mov dword [ebx + 8], edx
jmp 0x459c42
fld qword [ebx]
call fcn.0049c4f6
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov edx, dword [ebp - 0x14]
mov dword [ebx + 8], edx
jmp 0x459c42
xor eax, eax
cmp esi, 2
sete al
push eax
push 1
mov eax, edi
call fcn.0044f8f0
fstp qword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
xor ecx, ecx
cmp dword [ebp - 0x60], 2
sete cl
push ecx
push 1
call fcn.0044f8f0
fst qword [ebp - 0x64]
mov ecx, dword [ebx + 8]
add esp, 0x10
cmp ecx, 0x24
jl 0x45932e
mov edi, 1
cmp ecx, 0x2a
jle 0x459333
mov edi, 2
lea eax, [ecx - 0x24]
cmp eax, 0x17
ja case.0x459342.43
movzx edx, byte [eax + 0x45a4d8]
jmp dword [edx*4 + 0x45a4a8]
fadd qword [ebp - 0x2c]
mov dword [ebx + 8], edi
fstp qword [ebx]
jmp 0x459c42
fsub qword [ebp - 0x2c]
mov dword [ebx + 8], edi
fstp qword [ebx]
jmp 0x459c42
fmul qword [ebp - 0x2c]
mov dword [ebx + 8], edi
fstp qword [ebx]
jmp 0x459c42
fld qword [ebp - 0x2c]
fld st(0)
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x459394
fstp st(1)
mov dword [ebx], 0x4ac0f0
xor edi, edi
fstp st(0)
mov dword [ebx + 8], edi
jmp 0x459c42
fdivp st(1)
fst qword [ebx]
cmp ecx, 0x35
jne case.0x459342.43
sub esp, 8
fstp qword [esp]
call fcn.0042f8b0
fstp qword [ebx]
mov dword [ebx + 8], edi
jmp 0x459c42
fld qword [ebp - 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4593d2
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
fld qword [ebp - 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4593d2
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4593d2
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 5
jp 0x4593d2
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 1
jne 0x4593d2
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jp 0x4593d2
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x459c42
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x459491
mov esi, 1
jmp 0x459493
xor esi, esi
fld st(1)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x4594bc
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jne 0x4594be
fstp st(0)
xor edi, edi
mov dword [ebx], 0x4ac0f0
mov dword [ebx + 8], edi
jmp 0x459c42
fstp st(0)
test esi, esi
je 0x4594e8
fstp st(0)
sub esp, 0x10
fld1
fstp qword [esp + 8]
fld qword [ebp - 0x2c]
fstp qword [esp]
call fcn.0042f8e0
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x4594ac
fld qword [ebp - 0x64]
fchs
fld qword [ebp - 0x2c]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0042f850
fstp qword [ebx]
test esi, esi
je 0x45938c
fld qword [0x4be640]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x2c]
fstp qword [esp]
call fcn.0042f8e0
sub esp, 8
fstp qword [esp]
call fcn.0042f840
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x45938c
fld qword [ebx]
mov dword [ebx + 8], edi
fchs
fstp qword [ebx]
jmp 0x459c42
mov eax, dword [ebx + 8]
add eax, 0xffffffdc
cmp eax, 2
ja 0x4595a5
mov ecx, edi
call fcn.0044fb60
mov ecx, dword [ebp - 0x48]
mov esi, eax
call fcn.0044fb60
test esi, esi
jne 0x459568
test eax, eax
je 0x4595a5
xor ecx, ecx
cmp esi, eax
sete cl
xor edx, edx
cmp dword [ebx + 8], 0x26
setne dl
cmp edx, ecx
jne 0x459590
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
jmp 0x459c7a
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], 1
jmp 0x459c7a
lea ecx, [ebp - 0xfac]
mov eax, edi
call fcn.0044f9a0
mov esi, eax
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x60], esi
call fcn.0044f9a0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
add eax, 0xffffffdc
mov dword [ebp - 0x14], 1
cmp eax, 7
ja case.default.0x4595de
jmp dword [eax*4 + 0x45a4f0]
mov eax, dword [0x4c48ec]
cmp byte [eax + 0xf2], 0
push esi
jne 0x459602
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048db99
add esp, 8
jmp 0x45960c
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x459621
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45965a
test dx, dx
je 0x459656
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45965a
add eax, 4
add ecx, 4
test dx, dx
jne 0x459634
xor eax, eax
jmp 0x45965f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x459621
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
mov eax, dword [0x4c48ec]
mov al, byte [eax + 0xf2]
test al, al
jne 0x4596a4
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call fcn.0048db99
xor ecx, ecx
add esp, 8
test eax, eax
setne cl
mov eax, ecx
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c3c
cmp al, 2
jne 0x4596c7
mov edx, dword [ebp - 0x18]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c3c
mov eax, dword [ebp - 0x18]
mov ecx, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459708
test dx, dx
je 0x4596f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459708
add eax, 4
add ecx, 4
test dx, dx
jne 0x4596d0
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c3c
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x459c3c
mov edx, dword [0x4c48ec]
mov al, byte [edx + 0xf2]
test al, al
jne 0x459740
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048db99
add esp, 8
jmp 0x459781
cmp al, 2
jne 0x459751
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x459781
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x45977c
test dx, dx
je 0x459778
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x45977c
add eax, 4
add ecx, 4
test dx, dx
jne 0x459756
xor eax, eax
jmp 0x459781
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x459621
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
mov edx, dword [0x4c48ec]
mov al, byte [edx + 0xf2]
test al, al
jne 0x4597b9
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048db99
add esp, 8
jmp 0x4597fb
cmp al, 2
jne 0x4597ca
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x4597fb
mov eax, dword [ebp - 0x18]
mov ecx, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4597f6
test dx, dx
je 0x4597f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4597f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4597d0
xor eax, eax
jmp 0x4597fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jns 0x459621
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
mov edx, dword [0x4c48ec]
mov al, byte [edx + 0xf2]
test al, al
jne 0x459833
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048db99
add esp, 8
jmp 0x45987b
cmp al, 2
jne 0x459844
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x45987b
mov eax, dword [ebp - 0x18]
mov ecx, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459876
test dx, dx
je 0x459872
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459876
add eax, 4
add ecx, 4
test dx, dx
jne 0x459850
xor eax, eax
jmp 0x45987b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, 0xffffffff
jle 0x459621
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
mov edx, dword [0x4c48ec]
mov al, byte [edx + 0xf2]
test al, al
jne 0x4598b4
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048db99
add esp, 8
jmp 0x4598fb
cmp al, 2
jne 0x4598c5
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x4598fb
mov eax, dword [ebp - 0x18]
mov ecx, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4598f6
test dx, dx
je 0x4598f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4598f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4598d0
xor eax, eax
jmp 0x4598fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, 1
jge 0x459621
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x459c3c
cmp dword [edi + 8], 4
jne 0x459924
mov eax, dword [edi]
call fcn.004136d0
jmp 0x45993f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459930
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x1c], eax
je 0x459969
mov edx, eax
mov eax, dword [ebp - 0x58]
push edx
push esi
call fcn.00477b30
test eax, eax
je 0x459969
mov eax, dword [ebp - 0x58]
mov dword [ebx], eax
mov dword [ebx + 8], 4
jmp 0x459c7a
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 8], 4
jne 0x45997d
mov edx, ecx
mov eax, dword [edx]
call fcn.004136d0
jmp 0x459992
mov eax, dword [ebp - 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459983
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x58], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ecx + 1]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x14], edx
jne 0x459b5f
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x4599c8
cmp dword [ebp - 0x20], 0
jne 0x4599c8
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x18], 0x41
jne 0x4599c8
mov dword [ebp - 0x28], 1
jmp 0x459a0d
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x18], 0x13
jne 0x459b5f
cmp dword [ebp - 0x20], 0
je 0x459b5f
mov edx, dword [ebp - 0x28]
mov eax, dword [edx - 4]
cmp dword [eax + 8], 4
jne 0x459b5f
mov esi, dword [eax]
mov al, byte [esi + 0x17]
test al, al
jne 0x4599fe
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
jne 0x459b5f
mov dword [ebp - 0x28], 0
test esi, esi
je 0x459b5f
cmp byte [esi + 0x17], 0
jne 0x459a20
mov eax, dword [esi + 0xc]
jmp 0x459a22
mov eax, esi
mov cl, byte [eax + 0x17]
cmp cl, 1
jne 0x459a2f
mov eax, dword [eax + 8]
jmp 0x459a39
cmp cl, 2
jne 0x459a40
call fcn.00401000
cmp eax, 0x4ca5c8
jne 0x459a42
xor eax, eax
cmp eax, dword [ebp - 0x18]
jne 0x459a95
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
push ecx
push edx
mov eax, esi
call fcn.00477b30
test eax, eax
je 0x459b5f
cmp dword [ebp - 0x28], 0
jne case.0x45a06c.3
mov eax, dword [ebp - 0x24]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0xdb0]
mov edx, dword [ecx]
dec eax
mov dword [ebp - 0x20], eax
mov dword [ebx], edx
mov dword [ebx + 8], 4
jmp 0x459c7a
cmp eax, dword [ebp - 0x60]
je 0x459b5f
mov eax, dword [ebp - 0x14]
push 1
push 0
dec eax
push eax
push 0
push esi
call fcn.004774d0
test eax, eax
je 0x45a1c1
cmp byte [esi + 0x17], 0
jne 0x459ac2
mov edi, dword [esi + 0xc]
jmp 0x459ac4
mov edi, esi
test byte [edi + 0x15], 8
je 0x459ad1
mov eax, edi
call fcn.00401160
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x459aea
test byte [edi + 0x15], 4
je 0x459ae5
mov eax, edi
call fcn.0042e9d0
mov edi, dword [edi + 8]
jmp 0x459afc
cmp al, 2
jne 0x459af7
call fcn.00401000
mov edi, eax
jmp 0x459afc
mov edi, 0x4ca5c8
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x459b17
mov edx, dword [ebp - 0x18]
lea ecx, [eax + eax]
push ecx
push edx
push edi
call fcn.00495f20
mov eax, dword [ebp - 0x68]
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
lea edx, [ecx + ecx + 2]
mov ecx, dword [ebp - 0x60]
push edx
push ecx
lea edx, [edi + eax*2]
push edx
call fcn.00495f20
add esp, 0xc
cmp byte [esi + 0x17], 0
jne 0x459b38
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x459b56
cmp dword [0x4ca600], 0
je 0x459b56
mov ecx, 0x4ca5f4
call fcn.00404300
jmp 0x459a5e
and byte [esi + 0x15], 0x86
jmp 0x459a5e
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp + 0x1c]
mov ecx, eax
sub ecx, dword [edx]
mov edx, dword [ebp + 0x20]
mov edx, dword [edx]
sar ecx, 1
sub edx, ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
ja 0x459b83
mov dword [ebx], eax
lea eax, [eax + ecx*2]
mov dword [ebp - 0x54], eax
jmp 0x459bdb
cmp ecx, 0x1001
jae 0x459ba8
cmp dword [ebp - 0x44], 0x9c40
jae 0x459ba8
mov esi, dword [ebp - 0x14]
lea eax, [esi + esi]
call fcn.00495170
add dword [ebp - 0x44], esi
mov eax, esp
mov dword [ebx], eax
jmp 0x459bdb
mov esi, dword [ebp - 0x30]
cmp esi, 0xc8
je 0x459f8f
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx]
push edx
call fcn.0048dc24
add esp, 4
mov dword [ebp + esi*4 - 0x5ac], eax
mov dword [ebx], eax
test eax, eax
je 0x459f8f
inc esi
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x459bf5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx]
lea eax, [esi + esi]
push eax
push ecx
push edx
call fcn.00495f20
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
lea ecx, [eax + eax + 2]
mov eax, dword [ebx]
push ecx
push edx
lea ecx, [eax + esi*2]
push ecx
call fcn.00495f20
mov edx, dword [ebp - 0x48]
xor eax, eax
add esp, 0xc
cmp dword [edx + 8], eax
je 0x459c2a
cmp dword [edi + 8], eax
je 0x459c2a
mov dword [ebp - 0x14], 5
mov dword [ebx + 4], eax
jmp 0x459c3c
mov dword [ebp - 0x14], eax
jmp 0x459c3c
mov dword [ebx], 0x4ac0f0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
cmp dword [ebp - 0x58], 0
je 0x459c7a
mov eax, ebx
mov ebx, dword [ebp - 0x58]
call fcn.00476df0
test eax, eax
je 0x45a1c1
mov al, byte [ebx + 0x17]
test al, al
jne 0x459c67
mov ecx, dword [ebx + 0xc]
mov al, byte [ecx + 0x17]
cmp al, 2
je 0x459c77
mov eax, dword [ebp - 0x4c]
mov dword [eax], ebx
mov dword [eax + 8], 4
mov ebx, dword [ebp - 0x4c]
cmp dword [ebx + 0xc], 0
je 0x459e68
mov eax, dword [ebx + 8]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.0x459c8f.3
jmp dword [ecx*4 + 0x45a510]
mov eax, dword [ebx]
push 0
call fcn.00413280
jmp case.0x459c8f.1
cmp dword [ebx + 4], 0
je 0x459cae
mov eax, 1
jmp case.0x459c8f.1
push 0
push 1
push 0
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0044f9a0
call fcn.00474580
add esp, 0x10
jmp case.0x459c8f.1
xor eax, eax
dec eax
je 0x459daf
dec eax
mov eax, dword [ebx + 8]
je 0x459d10
cmp eax, 6
je 0x459e5e
cmp eax, 4
jne 0x459cfb
mov eax, dword [ebx]
cmp byte [eax + 0x17], 0
jne 0x459cf1
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x459e5e
xor ecx, ecx
mov eax, ebx
call fcn.0044f9a0
xor edx, edx
cmp word [eax], dx
setne dl
mov esi, edx
jmp 0x459d57
dec eax
cmp eax, 5
ja case.0x459d16.3
jmp dword [eax*4 + 0x45a524]
fild qword [ebx]
jmp 0x459d46
fld qword [ebx]
jmp 0x459d46
mov eax, dword [ebx]
push 1
call fcn.004133e0
jmp 0x459d46
mov eax, dword [ebx + 4]
test eax, eax
je case.0x459d16.3
fild qword [eax]
jmp 0x459d46
mov eax, dword [ebx]
push eax
call fcn.0048f716
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x459e5e
xor esi, esi
cmp dword [ebx + 8], 6
jne 0x459d67
mov eax, dword [ebx]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebx + 0xc]
mov edi, 0x20
cmp dword [ecx + 8], edi
je 0x459eaa
xor edx, edx
cmp dword [ecx + 8], 0x21
sete dl
cmp esi, edx
jne 0x459eb1
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x459d98
cmp dword [ecx + 8], edi
jne 0x459d78
mov eax, esi
cdq
mov dword [ebx + 8], 1
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], ecx
jmp 0x459c7a
mov eax, dword [ebx + 8]
dec eax
cmp eax, 5
ja case.0x459db8.3
jmp dword [eax*4 + 0x45a53c]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
jmp 0x459e56
mov ecx, dword [ebx + 4]
test ecx, ecx
je case.0x459db8.3
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
jmp 0x459e56
fld qword [ebx]
call fcn.0049c4f6
jmp 0x459e56
mov eax, dword [ebx]
push 1
call fcn.00413320
jmp 0x459e56
mov esi, dword [ebx]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x459dff
cmp ecx, 9
jne 0x459e04
add eax, 2
jmp 0x459df2
movzx ecx, word [eax]
test cx, cx
je 0x459e4d
cmp ecx, 0x2d
je 0x459e16
cmp ecx, 0x2b
jne 0x459e19
add eax, 2
cmp word [eax], 0x30
jne 0x459e4d
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x459e2d
cmp ecx, 0x58
jne 0x459e4d
movzx ecx, word [eax + 4]
push ecx
call fcn.0048efd9
add esp, 4
test eax, eax
je 0x459e4d
push 0x10
push 0
push esi
call fcn.0048f637
add esp, 0xc
jmp 0x459e56
push esi
call fcn.0048ee41
add esp, 4
or eax, edx
je case.0x459db8.6
mov esi, 1
jmp 0x459d57
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x20]
cmp esi, edi
jle 0x459e8e
mov eax, dword [ebp + esi*4 - 0xdb0]
dec esi
cmp dword [eax + 8], 6
jne 0x459e8a
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
jg 0x459e72
mov esi, dword [ebp - 0x24]
mov dword [ebp + edi*4 - 0xdac], ebx
mov ebx, dword [ebp + 0x18]
inc edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x5c], edi
add esi, 0x10
jmp 0x4581a3
test esi, esi
jne 0x459eb1
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp - 0x20]
add esi, 0x10
jmp 0x4581a3
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp + 8]
push edx
jmp 0x45a1b5
cmp dword [esi], 1
je 0x459edc
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je case.0x45a06c.3
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00477de0
add esp, 0xc
jmp case.0x45a06c.3
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x459edc
push ebx
call fcn.0048f1ff
add esp, 4
jmp 0x459edc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
push edx
push 0
push str.Out_of_memory.
call fcn.0042e160
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45a1c1
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00477de0
add esp, 0xc
jmp 0x45a1c1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp + 8]
push 0
push str.Out_of_memory.
call fcn.0042e160
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45a1c1
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00477de0
add esp, 0xc
jmp 0x45a1c1
mov ecx, dword [ebp + 8]
jmp 0x45a1b0
mov edx, dword [ebp + 8]
mov cl, byte [edx]
cmp cl, 3
je case.0x45a06c.3
cmp dword [ebp - 0x20], 1
jne 0x458404
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xdac]
mov edi, eax
test edx, edx
je 0x459fd2
mov ebx, edx
call fcn.00476df0
test eax, eax
je 0x45a1c1
jmp case.0x45a06c.3
cmp cl, 0x11
je 0x45a2ab
cmp cl, 0x6b
je 0x45a2ab
cmp cl, 0x6c
je 0x45a2ab
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x45a05b
mov ecx, dword [eax + 8]
cmp ecx, 1
je 0x45a044
cmp ecx, 2
je 0x45a044
cmp ecx, 6
je 0x45a044
cmp ecx, 4
jne 0x45a05b
mov ecx, dword [eax]
cmp byte [ecx + 0x17], 0
jne 0x45a016
mov ecx, dword [ecx + 0xc]
test byte [ecx + 0x15], 2
je 0x45a05b
mov dword [edx + 8], 6
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x45a02e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [edx], eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, 0x4ac0f0
jmp 0x45a312
mov dword [edx + 8], ecx
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov eax, 0x4ac0f0
jmp 0x45a312
mov ecx, dword [ebx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 8]
cmp ecx, 6
ja case.0x45a06c.3
jmp dword [ecx*4 + 0x45a554]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov edi, dword [ebp - 0x34]
push edx
push eax
call fcn.00401050
add esp, 8
lea edx, [eax + 2]
jmp 0x45a090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a090
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
add dword [ebx], ecx
jmp case.0x45a06c.3
mov edx, dword [0x4c48ec]
fld qword [eax]
mov edi, dword [ebp - 0x34]
sub esp, 8
add edx, 0x74
fstp qword [esp]
push edx
mov esi, 0x100
call fcn.00474720
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 0x18]
add esp, 0xc
add dword [eax], ecx
jmp case.0x45a06c.3
cmp ecx, 4
jne 0x45a146
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x45a0ec
mov esi, dword [eax + 0xc]
jmp 0x45a0ee
mov esi, eax
test byte [esi + 0x15], 8
je 0x45a0fb
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x45a11e
test byte [esi + 0x15], 4
je 0x45a10f
mov eax, esi
call fcn.0042e9d0
mov esi, dword [esi + 8]
mov eax, dword [edi]
mov dword [ebp + 0x14], esi
call fcn.004136d0
jmp 0x45a15f
cmp al, 2
jne 0x45a135
call fcn.00401000
mov esi, eax
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
call fcn.004136d0
jmp 0x45a15f
mov eax, dword [edi]
mov esi, 0x4ca5c8
mov dword [ebp + 0x14], esi
call fcn.004136d0
jmp 0x45a15f
mov esi, dword [eax]
mov eax, esi
mov dword [ebp + 0x14], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a150
sub eax, edx
sar eax, 1
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea edi, [eax + 1]
mov eax, dword [ebx + 8]
add edx, edx
movzx eax, word [eax + edx*8 + 2]
mov ecx, 0xff
mov dword [ebp - 0x14], edi
cmp ax, cx
jae 0x45a181
mov eax, ecx
mov edx, dword [ebp + 0x28]
lea eax, [eax + edx + 1]
cmp edi, eax
jbe 0x45a28a
mov ecx, dword [ebp + 0x20]
mov esi, dword [ecx]
sub esi, eax
add esi, edi
lea edx, [esi + esi]
push edx
mov dword [ebp + 8], esi
call fcn.0048dc24
mov edi, eax
add esp, 4
test edi, edi
jne 0x45a1d6
mov ecx, ebx
push 0x4ac0f0
push 0
push str.Out_of_memory.
call fcn.0042e160
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], 0
mov dword [eax], 0
jmp case.0x45a06c.3
cmp esi, 0x400000
jbe 0x45a1e4
inc dword [0x4ca580]
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov esi, dword [ecx]
sub esi, eax
sar esi, 1
je 0x45a202
lea edx, [esi + esi]
push edx
push eax
push edi
call fcn.00495f20
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
lea eax, [edi + esi*2]
mov dword [ecx], eax
lea ecx, [edx + edx]
mov edx, dword [ebp + 0x14]
push ecx
push edx
push eax
mov dword [ebp - 0x34], eax
call fcn.00495f20
mov eax, dword [ebx]
add esp, 0xc
push eax
call fcn.0048f1ff
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
add esp, 4
cmp eax, 0x400000
jbe 0x45a23e
dec dword [0x4ca580]
mov edx, dword [ebx]
xor ecx, ecx
lea esi, [edx + eax*2]
cmp dword [ebp + 0xc], ecx
jle 0x45a273
lea ebx, [ebx]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + ecx*4]
mov edx, dword [ebx]
cmp eax, edx
jb 0x45a26d
cmp eax, esi
jae 0x45a26d
sub eax, edx
sar eax, 1
lea edx, [edi + eax*2]
mov eax, dword [ebp + 0x24]
mov dword [eax + ecx*4], edx
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0x45a250
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov dword [ebx], edi
mov edi, dword [ebp - 0x14]
mov dword [edx], ecx
lea edx, [edi + edi]
add dword [eax], edx
jmp case.0x45a06c.3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp eax, esi
je 0x45a2a1
lea ecx, [edi + edi]
push ecx
push esi
push eax
call fcn.0048e610
add esp, 0xc
mov eax, dword [ebp + 0x18]
lea edx, [edi + edi]
add dword [eax], edx
jmp case.0x45a06c.3
mov ecx, dword [eax + 8]
cmp ecx, 6
ja case.0x45a2b7.3
jmp dword [ecx*4 + 0x45a570]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne case.0x45a2b7.6
mov dword [ebp - 0x34], 0x4ac0f0
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x45a2ec
mov eax, dword [ebp + esi*4 - 0x5b0]
dec esi
push eax
call fcn.0048f1ff
add esp, 4
test esi, esi
jne 0x45a2d7
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x45a30f
mov eax, dword [ebp + esi*4 - 0xdb0]
dec esi
cmp dword [eax + 8], 6
jne 0x45a30b
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jne 0x45a2f3
mov eax, dword [ebp - 0x34]
lea esp, [ebp - 0xfbc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
fld qword [eax]
fldz
fucompp
fnstsw ax
test ah, 0x44
jp case.0x45a2b7.6
jmp case.0x45a06c.6
mov ecx, dword [eax + 4]
test ecx, ecx
je case.0x45a2b7.0
mov edx, dword [ecx]
or edx, dword [ecx + 4]
jmp 0x45a2c3
mov eax, dword [eax]
call fcn.0044f510
jmp 0x45a360
mov esi, dword [eax]
call fcn.0044f570
jmp 0x45a360
mov eax, dword [ebp + 8]
test eax, eax
je case.0x45a06c.6
mov dword [ebp - 0x34], 0x4a432c
jmp case.0x45a06c.3