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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49dde8
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], 0x4a1840
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x44], edi
dec ecx
and ecx, dword [0x4c83f0]
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 0x459917
mov eax, 0x10
call fcn.00498e00
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 0x457ff1
cmp eax, 7
jne 0x4595fa
mov esi, dword [ebx + 4]
test esi, esi
je 0x457e1b
mov ecx, dword [ebx]
xor edi, edi
mov dword [ebx], 0x4a1840
mov dword [ebx + 8], edi
mov eax, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp eax, esi
jne 0x457bd1
movzx edx, word [ecx + 0xa]
cmp word [esi + edx*2], di
jne 0x457bd1
cmp byte [ecx + 0x14], 0
je 0x457bd1
mov edx, dword [ecx + 4]
cmp byte [edx + 0x17], 0
jne 0x457ba7
mov edx, dword [edx + 0xc]
test byte [edx + 0x15], 2
je 0x457bd1
mov dword [ebx + 8], 6
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0x17], 0
jne 0x457bc0
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 0x4595fa
test eax, eax
je 0x457ce6
cmp esi, eax
mov eax, dword [ebp - 0x18]
jae 0x457bfb
cmp edi, 0xfd
jae 0x457c03
mov cx, word [esi]
mov word [ebp + edi*2 - 0x28c], cx
add esi, 2
inc edi
cmp esi, dword [eax]
jb 0x457be0
cmp edi, 0xfd
jb 0x457c0b
cmp esi, dword [eax]
jb 0x457d6a
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
movzx eax, byte [eax + 0x17]
cmp eax, 3
ja case.default.0x457c1e
jmp dword [eax*4 + 0x459cf4]
mov eax, dword [ebp - 0x14]
call fcn.00401160
cmp dword [0x4c860c], 0
jne 0x457c6e
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0xc], 0
jne 0x457c6e
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 0x457c62
mov dword [0x4cbb48], 0
dec eax
jmp 0x457ca8
mov eax, dword [ebp - 0x14]
mov dword [0x4cbb48], eax
xor eax, eax
jmp 0x457ca8
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0xc]
shr eax, 1
jmp 0x457ca8
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + 0xc]
push 0
call fcn.00477310
jmp 0x457ca8
xor ecx, ecx
call fcn.00404010
cmp eax, 0xffffffff
jne 0x457ca8
xor eax, eax
jmp 0x457ca8
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 0x457d6a
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
lea edx, [ebp + edi*2 - 0x28c]
push edx
call fcn.00477310
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 0x457bd9
movzx eax, word [esi]
test ax, ax
je 0x457d0c
mov edi, edi
cmp edi, 0xfd
jae 0x457d14
add esi, 2
mov word [ebp + edi*2 - 0x28c], ax
movzx eax, word [esi]
inc edi
test ax, ax
jne 0x457cf0
cmp edi, 0xfd
jb 0x457d1a
cmp word [esi], 0
jne 0x457d6a
mov eax, dword [ebp - 0x18]
test edi, edi
jne 0x457d27
cmp byte [eax + 8], 0
je 0x457d6d
xor edx, edx
mov word [ebp + edi*2 - 0x28c], dx
cmp byte [eax + 8], dl
je 0x457dbd
lea eax, [edi + edi + 2]
mov dword [ebx + 8], edx
call fcn.00494be0
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 0x457d54
mov dword [ebx], esi
jmp 0x4595fa
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
je 0x457d7a
add eax, 0xc
cmp dword [eax], 0
jne 0x457d72
cmp byte [eax + 8], 0
je 0x4595fa
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je case.0x4599ec.3
mov eax, dword [ebp - 0x34]
test eax, eax
je case.0x4599ec.3
push 1
push 0
push 0xffffffffffffffff
push eax
push ecx
call fcn.00476f40
test eax, eax
jne case.0x4599ec.3
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
jmp case.0x4599ec.3
cmp word [ebp - 0x28c], dx
je 0x459b41
lea edx, [ebp - 0x4d]
push edx
push 3
lea eax, [ebp - 0x8c]
push eax
push edi
lea ecx, [ebp - 0x28c]
push ecx
mov ecx, 0x4ca630
call fcn.00421550
test eax, eax
jne 0x457e19
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 0x4ca630
mov ecx, edi
call fcn.004217f0
test eax, eax
je 0x459b41
mov dword [ebx], eax
mov esi, dword [ebx]
mov al, byte [esi + 0x17]
test al, al
jne 0x457e2a
mov edx, dword [esi + 0xc]
mov al, byte [edx + 0x17]
movzx eax, al
mov edi, 1
sub eax, edi
je 0x457e7d
sub eax, 3
jne 0x457eb3
mov eax, dword [esi + 0x10]
cmp eax, 0x445310
jne 0x457e5d
mov eax, dword [0x4c49ac]
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 0x4595fa
cmp eax, 0x445bc0
jne 0x457eb3
mov eax, dword [0x4c49ac]
mov ecx, dword [eax + 0x38]
mov dword [ebx], ecx
mov dword [ebx + 4], 0
mov dword [ebx + 8], edi
jmp 0x4595fa
cmp dword [0x4c860c], 0
jne 0x4592dd
cmp byte [esi + 0x17], 0
jne 0x457e95
mov eax, dword [esi + 0xc]
jmp 0x457e97
mov eax, esi
test byte [eax + 0x15], 0xa
jne 0x4592dd
xor edx, edx
cmp dword [eax + 0xc], edx
setne dl
mov eax, edx
test eax, eax
jne 0x4592dd
movzx eax, byte [esi + 0x17]
cmp eax, 3
ja case.default.0x457ebc
jmp dword [eax*4 + 0x459d04]
mov eax, esi
call fcn.00401160
cmp dword [0x4c860c], 0
jne 0x457f07
cmp dword [esi + 0xc], 0
jne 0x457f07
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 0x457efd
mov dword [0x4cbb48], 0
dec eax
jmp 0x457f3a
mov dword [0x4cbb48], esi
xor eax, eax
jmp 0x457f3a
mov eax, dword [esi + 0xc]
shr eax, 1
jmp 0x457f3a
mov ecx, dword [esi + 0xc]
push 0
call fcn.00477310
jmp 0x457f3a
xor ecx, ecx
call fcn.00404010
cmp eax, 0xffffffff
jne 0x457f3a
xor eax, eax
jmp 0x457f3a
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 0x457f65
mov eax, dword [ebx]
mov cl, byte [eax + 0x17]
test cl, cl
jne 0x457f50
mov ecx, dword [eax + 0xc]
mov cl, byte [ecx + 0x17]
cmp cl, 1
jne 0x458764
mov dword [ebx + 8], 4
jmp 0x4595fa
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 0x457f85
mov edi, dword [ebp - 0x54]
lea ecx, [edi + esi*2]
mov dword [ebp - 0x54], ecx
jmp 0x457fd4
cmp esi, 0x1001
jae 0x457fa5
cmp dword [ebp - 0x44], 0x9c40
jae 0x457fa5
lea eax, [esi + esi]
call fcn.00494be0
add dword [ebp - 0x44], esi
mov edi, esp
jmp 0x457fd4
mov edi, dword [ebp - 0x30]
cmp edi, 0xc8
je 0x459842
lea edx, [esi + esi]
push edx
call fcn.0048d694
add esp, 4
mov dword [ebp + edi*4 - 0x5ac], eax
test eax, eax
je 0x459842
inc dword [ebp - 0x30]
mov edi, eax
mov ecx, dword [ebx]
push edi
call fcn.00477310
mov dword [ebx], edi
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
jmp 0x4595fa
cmp eax, 0x3e
jne 0x458400
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 0x457d84
sub edi, eax
mov dword [ebp - 0x20], edi
lea esi, [ebp + edi*4 - 0xdac]
test ecx, ecx
jne 0x4580b0
test edi, edi
je 0x457d84
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.0044f3c0
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x458099
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x45806c
lea eax, [edi*4]
push eax
lea ecx, [esi + 4]
push esi
push ecx
call fcn.0048e080
add esp, 0xc
inc dword [ebp - 0x5c]
mov eax, 0x10
call fcn.00498e00
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], 0x4a1840
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0x4c5cc8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx + 0x14]
jge 0x4580b0
mov edx, dword [ebx]
cmp byte [edx + 8], 2
jne 0x457d84
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.00459f10
test al, al
je 0x459850
mov ecx, dword [ebp + 8]
mov dword [0x4cac60], ecx
mov eax, dword [ebx + 8]
cmp eax, 1
je 0x4583d5
cmp eax, 2
je 0x4583d5
cmp eax, 6
je 0x4583d5
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x458148
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x18], 0x41
jne 0x458148
cmp byte [ecx], 3
mov dword [ebp - 0x1c], 1
je 0x459884
mov esi, dword [ebp - 0x6c]
jmp 0x458181
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x18], 0x13
mov dword [ebp - 0x1c], 0
jne 0x45817f
test eax, eax
je 0x45817f
lea eax, [ebp + eax*4 - 0xdac]
mov eax, dword [eax - 4]
cmp dword [eax + 8], 4
jne 0x45817f
mov esi, dword [eax]
mov al, byte [esi + 0x17]
test al, al
jne 0x45817b
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
je 0x458181
xor esi, esi
mov edi, dword [ebx]
test esi, esi
je 0x45825e
mov edx, dword [0x4c49ac]
mov eax, dword [ebp - 0x14]
cmp dword [edx + 0xb4], eax
jne 0x4581ab
mov dl, byte [esi + 0x16]
and dl, 0x22
cmp dl, 2
je 0x45825e
mov ecx, dword [ebx + 0xc]
cmp ecx, edi
jne 0x4581c1
mov eax, dword [ebx + 4]
push eax
mov edi, ecx
mov eax, esi
call fcn.00477630
jmp 0x458211
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4581c6
mov ecx, dword [ebx]
sub eax, edx
sar eax, 1
cmp ecx, dword [0x4ca558]
jne 0x4581fc
cmp eax, 0x40
jb 0x4581fc
push eax
mov edi, ecx
mov eax, esi
call fcn.00477630
xor eax, eax
mov dword [0x4ca558], eax
mov dword [0x4ca55c], eax
jmp 0x458211
push 1
push 0
push 0xffffffffffffffff
push ecx
push esi
call fcn.00476f40
test eax, eax
je 0x4598a9
cmp dword [ebp - 0x1c], 0
jne 0x45985c
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 0x4595fa
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00477850
add esp, 0xc
jmp 0x4595fa
mov edx, dword [ebx + 0xc]
mov esi, 1
test edx, edx
je 0x458289
mov eax, dword [ebp - 0x30]
cmp eax, 0xc8
je 0x459896
cmp edx, edi
jne 0x45827e
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 0x4582b0
mov dword [ebx], 0x4a1840
mov dword [ebx + 8], 5
mov dword [ebx + 4], 0
jmp 0x4583d8
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x3d], 0
je 0x4582c9
test esi, esi
je 0x4582fd
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov esi, ecx
jmp 0x4582fd
cmp edi, dword [0x4ca558]
jne 0x4582f8
xor esi, esi
cmp dword [ebp - 0x1c], esi
jne 0x4582fd
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x18]
add ecx, 0x18
cmp eax, 0x41
je 0x4582fd
cmp eax, 0x3e
je 0x4582f8
mov eax, dword [ecx + 0x10]
add ecx, 0x10
cmp eax, 0x41
jne 0x4582e6
jmp 0x4582fd
mov esi, 1
mov eax, dword [ebx]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 5
test esi, esi
je 0x4583d1
lea edx, [eax + 2]
jmp 0x458320
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x458320
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 0x458361
mov eax, dword [ebx]
add esi, esi
push esi
push eax
push edi
call fcn.00495990
add esp, 0xc
add edi, esi
mov dword [ebp - 0x54], edi
mov dword [ebx], eax
jmp 0x4583d8
cmp esi, 0x1001
jae 0x458393
cmp dword [ebp - 0x44], 0x9c40
jae 0x458393
lea eax, [esi + esi]
call fcn.00494be0
mov eax, dword [ebx]
mov ecx, esp
lea edx, [esi + esi]
push edx
push eax
push ecx
call fcn.00495990
add esp, 0xc
add dword [ebp - 0x44], esi
mov dword [ebx], eax
jmp 0x4583d8
cmp dword [ebp - 0x30], 0xc8
je 0x4598d1
lea eax, [esi + esi]
push eax
call fcn.0048d694
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [ebp + ecx*4 - 0x5ac], eax
test eax, eax
je 0x4598d1
mov ecx, dword [ebx]
lea edx, [esi + esi]
push edx
push ecx
push eax
call fcn.00495990
add esp, 0xc
inc dword [ebp - 0x30]
mov dword [ebx], eax
jmp 0x4583d8
mov dword [ebx + 0xc], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4595fa
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00477850
add esp, 0xc
jmp 0x4595fa
cmp eax, 0x1f
jne 0x458443
cmp dword [ebx + 0xc], 0
je 0x459831
test edi, edi
je 0x459831
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 0x459604
test edi, edi
je 0x457d84
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 0x457d84
cmp eax, 0x20
jne 0x45849e
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x457d84
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 0x4595fa
add eax, 0xffffffee
cmp eax, 0x27
ja case.0x4584ad.20
movzx eax, byte [eax + 0x459d1c]
jmp dword [eax*4 + 0x459d14]
mov eax, edi
call fcn.0044ef30
mov edx, dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x84], esi
jmp 0x4584ce
mov esi, dword [ebp - 0x84]
mov eax, dword [ebx + 8]
lea ecx, [eax - 9]
mov dword [ebp - 0x58], 0
cmp ecx, 0x34
ja case.0x4584eb.11
movzx ecx, byte [ecx + 0x459d60]
jmp dword [ecx*4 + 0x459d44]
mov eax, esi
mov esi, edi
call fcn.0044ee10
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], 1
jmp 0x4595fa
mov eax, esi
mov esi, edi
call fcn.0044ee10
test eax, eax
jne 0x458f10
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
jmp 0x4595fa
cmp esi, 1
jne 0x458556
push esi
mov ecx, edi
call fcn.0044f070
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 0x4595fa
cmp esi, 2
jne 0x458764
push 1
push 0
mov eax, edi
call fcn.0044f100
fchs
fstp qword [ebx]
add esp, 8
mov dword [ebx + 8], esi
jmp 0x4595fa
mov ecx, dword [edi + 8]
xor edx, edx
cmp eax, 0x3c
setge dl
mov dword [ebp - 0x28], edx
cmp ecx, 4
jne 0x458764
test esi, esi
je 0x458644
cmp eax, 9
je 0x4585a9
mov dword [ebp - 0x1c], 0xffffffff
cmp eax, 0x3c
jne 0x4585b0
mov dword [ebp - 0x1c], 1
push 1
cmp esi, 1
jne 0x4585db
mov ecx, edi
call fcn.0044f070
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.00413280
jmp 0x4585f4
push 0
mov eax, edi
call fcn.0044f100
fst qword [ebx]
fiadd dword [ebp - 0x1c]
mov ecx, dword [edi]
fstp qword [esp]
push ecx
call fcn.004132b0
cmp dword [ebp - 0x28], 0
je 0x458571
mov edi, dword [edi]
mov al, byte [edi + 0x17]
test al, al
jne 0x45860d
mov edx, dword [edi + 0xc]
mov al, byte [edx + 0x17]
cmp al, 1
jne 0x45861f
mov dword [ebx], edi
mov dword [ebx + 8], 4
jmp 0x4595fa
cmp esi, 1
jne 0x458635
mov eax, dword [ebp - 0x1c]
cdq
add dword [ebx], eax
mov dword [ebx + 8], esi
adc dword [ebx + 4], edx
jmp 0x4595fa
fild dword [ebp - 0x1c]
mov dword [ebx + 8], esi
fadd qword [ebx]
fstp qword [ebx]
jmp 0x4595fa
cmp ecx, 4
jne 0x458764
mov eax, dword [edi]
cmp byte [eax + 0x17], 0
jne 0x45865a
mov ecx, dword [eax + 0xc]
jmp 0x45865c
mov ecx, eax
test byte [ecx + 0x15], 4
je 0x458667
call fcn.0042ea10
mov ecx, dword [edi]
call fcn.00413220
cmp dword [ebp - 0x28], 0
je 0x458764
mov edi, dword [edi]
mov al, byte [edi + 0x17]
test al, al
jne 0x458687
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
jne 0x458764
mov dword [ebx], edi
mov dword [ebx + 8], 4
jmp 0x4595fa
mov eax, dword [edi + 8]
cmp eax, 4
jne 0x458747
mov eax, dword [edi]
cmp byte [eax + 0x17], 0
jne 0x4586b6
mov ecx, dword [eax + 0xc]
jmp 0x4586b8
mov ecx, eax
test byte [ecx + 0x15], 2
je 0x4586dd
mov dword [ebx + 8], 1
mov edi, dword [edi]
cmp byte [edi + 0x17], 0
jne 0x4586d0
mov edi, dword [edi + 0xc]
mov eax, dword [edi]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4595fa
call fcn.00403a40
mov dword [ebx + 8], 1
mov edi, dword [edi]
cmp byte [edi + 0x17], 0
jne 0x4586f4
mov edi, dword [edi + 0xc]
test byte [edi + 0x15], 8
je 0x458701
mov eax, edi
call fcn.00401160
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x458723
test byte [edi + 0x15], 4
je 0x458715
mov eax, edi
call fcn.0042ea10
mov eax, dword [edi + 8]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4595fa
cmp al, 2
jne 0x458737
call fcn.00401000
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4595fa
mov eax, 0x4ca5a8
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4595fa
cmp eax, 6
jne 0x458764
mov dword [ebx + 8], 1
mov eax, dword [edi]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp 0x4595fa
test esi, esi
jne 0x458776
mov dword [ebx], 0x4a1840
mov dword [ebx + 8], 0
jmp 0x4595fa
xor ecx, ecx
cmp esi, 1
sete cl
push ecx
mov ecx, edi
call fcn.0044f070
add esp, 4
cmp dword [ebx + 8], 0x38
jne 0x4587c6
test edx, edx
ja 0x4587b1
jb 0x45879a
cmp eax, 0xffffffff
ja 0x4587b1
not eax
mov dword [ebx + 4], 0
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x4595fa
not eax
not edx
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x4595fa
cmp eax, 0x1000
jae 0x4587e1
xor eax, eax
cdq
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x4595fa
movzx eax, byte [eax]
cdq
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov dword [ebx + 8], 1
jmp 0x4595fa
test edx, edx
je 0x457d84
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 0x457d84
cmp eax, 0x12
jne 0x45885a
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 0x4595fa
mov eax, dword [ebx]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
jmp 0x4595fa
cmp eax, 0x1e
jg 0x45895a
cmp eax, 0x13
jl 0x45895a
cmp ecx, 4
je 0x458883
mov dword [ebx], 0x4a1840
mov dword [ebx + 8], 0
jmp 0x4595fa
add eax, 0xffffffed
cmp eax, 0xb
ja case.default.0x45888f
jmp dword [eax*4 + 0x459d98]
mov esi, dword [ebp - 0x48]
mov ebx, dword [esi]
mov eax, edi
call fcn.00476860
test eax, eax
je 0x459b41
mov ecx, dword [esi]
mov al, byte [ecx + 0x17]
test al, al
jne 0x4588b9
mov eax, dword [ecx + 0xc]
mov al, byte [eax + 0x17]
mov ebx, dword [ebp - 0x4c]
cmp al, 2
mov eax, ebx
jne 0x4588e6
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 0x4595fa
mov dword [eax], ecx
mov dword [eax + 8], 4
jmp 0x4595fa
mov dword [ebx + 8], 0x31
jmp case.default.0x45888f
mov dword [ebx + 8], 0x32
jmp case.default.0x45888f
mov dword [ebx + 8], 0x33
jmp case.default.0x45888f
mov dword [ebx + 8], 0x34
jmp case.default.0x45888f
mov dword [ebx + 8], 0x35
jmp case.default.0x45888f
mov dword [ebx + 8], 0x2c
jmp case.default.0x45888f
mov dword [ebx + 8], 0x2d
jmp case.default.0x45888f
mov dword [ebx + 8], 0x2e
jmp case.default.0x45888f
mov dword [ebx + 8], 0x2f
jmp case.default.0x45888f
mov dword [ebx + 8], 0x30
jmp case.default.0x45888f
mov dword [ebx + 8], 0x2b
mov eax, dword [edx]
mov dword [ebp - 0x58], eax
cmp dword [ebx + 8], 0x2b
je 0x458ec4
test esi, esi
je 0x458ec4
mov eax, dword [ebp - 0x48]
call fcn.0044ef30
mov dword [ebp - 0x60], eax
test eax, eax
je 0x458ec4
cmp esi, 1
jne 0x45898e
cmp eax, esi
jne 0x45898e
cmp dword [ebx + 8], 0x34
jne 0x4589a3
mov eax, dword [ebx + 8]
cmp eax, 0x30
jg 0x458c6d
cmp eax, 0x2c
jl 0x458c6d
xor ecx, ecx
cmp esi, 1
sete cl
push ecx
mov ecx, edi
call fcn.0044f070
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.0044f070
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.0x4589f1.43
jmp dword [ecx*4 + 0x459dc8]
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 0x4595c2
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 0x4595c2
push esi
push edi
push edx
push eax
call fcn.00493b50
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x4595c2
cmp eax, edi
jne 0x458a58
cmp edx, esi
jne 0x458a58
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 0x4595c2
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 0x4595c2
cmp eax, edi
jne 0x458a74
cmp edx, esi
je 0x458a58
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 0x4595c2
cmp edx, esi
jl 0x458a58
jg 0x458a95
cmp eax, edi
jbe 0x458a58
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 0x4595c2
cmp edx, esi
jg 0x458a58
jl 0x458ab6
cmp eax, edi
jae 0x458a58
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 0x4595c2
cmp edx, esi
jl 0x458a58
jg 0x458ad7
cmp eax, edi
jb 0x458a58
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 0x4595c2
cmp edx, esi
jg 0x458a58
jl 0x458b00
cmp eax, edi
ja 0x458a58
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 0x4595c2
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 0x4595c2
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 0x4595c2
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 0x4595c2
mov ecx, edi
call fcn.0049cae0
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x4595c2
mov ecx, edi
call fcn.0049cab0
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x4595c2
mov ecx, edi
or ecx, dword [ebp - 0x70]
jne 0x458b9b
mov edx, ecx
mov dword [ebx], 0x4a1840
mov dword [ebp - 0x14], ecx
mov dword [ebx + 8], edx
jmp 0x4595c2
mov ecx, dword [ebp - 0x70]
push ecx
push edi
push edx
push eax
call fcn.0049bfe0
mov dword [ebx + 4], edx
mov edx, dword [ebp - 0x14]
mov dword [ebx], eax
mov dword [ebx + 8], edx
jmp 0x4595c2
mov ecx, eax
or ecx, edx
jne 0x458bdf
test esi, esi
jg 0x458c2f
jl 0x458bc7
test edi, edi
jae 0x458c2f
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov dword [ebx], 0x4a1840
mov dword [ebx + 8], edx
jmp 0x4595c2
test edx, edx
jg 0x458c2f
jl 0x458be9
test eax, eax
jae 0x458c2f
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.0042f880
cmp dword [ebp - 0x28], 0
fst qword [ebx]
je 0x458c38
push 0
push 2
push esi
push edi
call fcn.0049c9f0
or eax, edx
je 0x458c38
fchs
fstp qword [ebx]
jmp 0x458c3a
mov dword [ebp - 0x28], 0
jmp 0x458bfd
fstp st(0)
test esi, esi
jg 0x458c56
jl 0x458c44
test edi, edi
jae 0x458c56
mov dword [ebp - 0x14], 2
mov edx, dword [ebp - 0x14]
mov dword [ebx + 8], edx
jmp 0x4595c2
fld qword [ebx]
call fcn.0049bf66
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov edx, dword [ebp - 0x14]
mov dword [ebx + 8], edx
jmp 0x4595c2
xor eax, eax
cmp esi, 2
sete al
push eax
push 1
mov eax, edi
call fcn.0044f100
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.0044f100
fst qword [ebp - 0x64]
mov ecx, dword [ebx + 8]
add esp, 0x10
cmp ecx, 0x24
jl 0x458cae
mov edi, 1
cmp ecx, 0x2a
jle 0x458cb3
mov edi, 2
lea eax, [ecx - 0x24]
cmp eax, 0x17
ja case.0x458cc2.43
movzx edx, byte [eax + 0x459e58]
jmp dword [edx*4 + 0x459e28]
fadd qword [ebp - 0x2c]
mov dword [ebx + 8], edi
fstp qword [ebx]
jmp 0x4595c2
fsub qword [ebp - 0x2c]
mov dword [ebx + 8], edi
fstp qword [ebx]
jmp 0x4595c2
fmul qword [ebp - 0x2c]
mov dword [ebx + 8], edi
fstp qword [ebx]
jmp 0x4595c2
fld qword [ebp - 0x2c]
fld st(0)
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x458d14
fstp st(1)
mov dword [ebx], 0x4a1840
xor edi, edi
fstp st(0)
mov dword [ebx + 8], edi
jmp 0x4595c2
fdivp st(1)
fst qword [ebx]
cmp ecx, 0x35
jne case.0x458cc2.43
sub esp, 8
fstp qword [esp]
call fcn.0042f8e0
fstp qword [ebx]
mov dword [ebx + 8], edi
jmp 0x4595c2
fld qword [ebp - 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jp 0x458d52
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
fld qword [ebp - 0x2c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x458d52
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jne 0x458d52
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 5
jp 0x458d52
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 1
jne 0x458d52
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jp 0x458d52
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edi
jmp 0x4595c2
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x458e11
mov esi, 1
jmp 0x458e13
xor esi, esi
fld st(1)
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jp 0x458e3c
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
jne 0x458e3e
fstp st(0)
xor edi, edi
mov dword [ebx], 0x4a1840
mov dword [ebx + 8], edi
jmp 0x4595c2
fstp st(0)
test esi, esi
je 0x458e68
fstp st(0)
sub esp, 0x10
fld1
fstp qword [esp + 8]
fld qword [ebp - 0x2c]
fstp qword [esp]
call fcn.0042f910
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x458e2c
fld qword [ebp - 0x64]
fchs
fld qword [ebp - 0x2c]
sub esp, 0x10
fstp qword [esp + 8]
fstp qword [esp]
call fcn.0042f880
fstp qword [ebx]
test esi, esi
je 0x458d0c
fld qword [0x4be7b8]
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x2c]
fstp qword [esp]
call fcn.0042f910
sub esp, 8
fstp qword [esp]
call fcn.0042f870
fld1
fucompp
fnstsw ax
test ah, 0x44
jp 0x458d0c
fld qword [ebx]
mov dword [ebx + 8], edi
fchs
fstp qword [ebx]
jmp 0x4595c2
mov eax, dword [ebx + 8]
add eax, 0xffffffdc
cmp eax, 2
ja 0x458f25
mov ecx, edi
call fcn.0044f370
mov ecx, dword [ebp - 0x48]
mov esi, eax
call fcn.0044f370
test esi, esi
jne 0x458ee8
test eax, eax
je 0x458f25
xor ecx, ecx
cmp esi, eax
sete cl
xor edx, edx
cmp dword [ebx + 8], 0x26
setne dl
cmp edx, ecx
jne 0x458f10
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], eax
jmp 0x4595fa
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], 1
jmp 0x4595fa
lea ecx, [ebp - 0xfac]
mov eax, edi
call fcn.0044f1b0
mov esi, eax
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x60], esi
call fcn.0044f1b0
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 8]
add eax, 0xffffffdc
mov dword [ebp - 0x14], 1
cmp eax, 7
ja case.default.0x458f5e
jmp dword [eax*4 + 0x459e70]
mov eax, dword [0x4c49ac]
cmp byte [eax + 0xf2], 0
push esi
jne 0x458f82
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0048d609
add esp, 8
jmp 0x458f8c
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x458fa1
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
xor eax, eax
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x458fda
test dx, dx
je 0x458fd6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x458fda
add eax, 4
add ecx, 4
test dx, dx
jne 0x458fb4
xor eax, eax
jmp 0x458fdf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x458fa1
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
mov eax, dword [0x4c49ac]
mov al, byte [eax + 0xf2]
test al, al
jne 0x459024
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call fcn.0048d609
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 0x4595bc
cmp al, 2
jne 0x459047
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 0x4595bc
mov eax, dword [ebp - 0x18]
mov ecx, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459088
test dx, dx
je 0x459072
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459088
add eax, 4
add ecx, 4
test dx, dx
jne 0x459050
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 0x4595bc
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 0x4595bc
mov edx, dword [0x4c49ac]
mov al, byte [edx + 0xf2]
test al, al
jne 0x4590c0
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048d609
add esp, 8
jmp 0x459101
cmp al, 2
jne 0x4590d1
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x459101
mov eax, dword [ebp - 0x18]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4590fc
test dx, dx
je 0x4590f8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4590fc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4590d6
xor eax, eax
jmp 0x459101
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jle 0x458fa1
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
mov edx, dword [0x4c49ac]
mov al, byte [edx + 0xf2]
test al, al
jne 0x459139
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048d609
add esp, 8
jmp 0x45917b
cmp al, 2
jne 0x45914a
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x45917b
mov eax, dword [ebp - 0x18]
mov ecx, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459176
test dx, dx
je 0x459172
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459176
add eax, 4
add ecx, 4
test dx, dx
jne 0x459150
xor eax, eax
jmp 0x45917b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jns 0x458fa1
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
mov edx, dword [0x4c49ac]
mov al, byte [edx + 0xf2]
test al, al
jne 0x4591b3
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048d609
add esp, 8
jmp 0x4591fb
cmp al, 2
jne 0x4591c4
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x4591fb
mov eax, dword [ebp - 0x18]
mov ecx, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4591f6
test dx, dx
je 0x4591f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4591f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4591d0
xor eax, eax
jmp 0x4591fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, 0xffffffff
jle 0x458fa1
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
mov edx, dword [0x4c49ac]
mov al, byte [edx + 0xf2]
test al, al
jne 0x459234
mov eax, dword [ebp - 0x18]
push esi
push eax
call fcn.0048d609
add esp, 8
jmp 0x45927b
cmp al, 2
jne 0x459245
mov ecx, dword [ebp - 0x18]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x45927b
mov eax, dword [ebp - 0x18]
mov ecx, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x459276
test dx, dx
je 0x459272
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x459276
add eax, 4
add ecx, 4
test dx, dx
jne 0x459250
xor eax, eax
jmp 0x45927b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, 1
jge 0x458fa1
mov eax, 1
xor ecx, ecx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4595bc
cmp dword [edi + 8], 4
jne 0x4592a4
mov eax, dword [edi]
call fcn.00413730
jmp 0x4592bf
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4592b0
sub eax, edx
sar eax, 1
cmp dword [ebp - 0x58], 0
mov dword [ebp - 0x1c], eax
je 0x4592e9
mov edx, eax
mov eax, dword [ebp - 0x58]
push edx
push esi
call fcn.004775a0
test eax, eax
je 0x4592e9
mov eax, dword [ebp - 0x58]
mov dword [ebx], eax
mov dword [ebx + 8], 4
jmp 0x4595fa
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 8], 4
jne 0x4592fd
mov edx, ecx
mov eax, dword [edx]
call fcn.00413730
jmp 0x459312
mov eax, dword [ebp - 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459303
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 0x4594df
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x459348
cmp dword [ebp - 0x20], 0
jne 0x459348
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x18], 0x41
jne 0x459348
mov dword [ebp - 0x28], 1
jmp 0x45938d
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x18], 0x13
jne 0x4594df
cmp dword [ebp - 0x20], 0
je 0x4594df
mov edx, dword [ebp - 0x28]
mov eax, dword [edx - 4]
cmp dword [eax + 8], 4
jne 0x4594df
mov esi, dword [eax]
mov al, byte [esi + 0x17]
test al, al
jne 0x45937e
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x17]
cmp al, 1
jne 0x4594df
mov dword [ebp - 0x28], 0
test esi, esi
je 0x4594df
cmp byte [esi + 0x17], 0
jne 0x4593a0
mov eax, dword [esi + 0xc]
jmp 0x4593a2
mov eax, esi
mov cl, byte [eax + 0x17]
cmp cl, 1
jne 0x4593af
mov eax, dword [eax + 8]
jmp 0x4593b9
cmp cl, 2
jne 0x4593c0
call fcn.00401000
cmp eax, 0x4ca5a8
jne 0x4593c2
xor eax, eax
cmp eax, dword [ebp - 0x18]
jne 0x459415
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x60]
push ecx
push edx
mov eax, esi
call fcn.004775a0
test eax, eax
je 0x4594df
cmp dword [ebp - 0x28], 0
jne case.0x4599ec.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 0x4595fa
cmp eax, dword [ebp - 0x60]
je 0x4594df
mov eax, dword [ebp - 0x14]
push 1
push 0
dec eax
push eax
push 0
push esi
call fcn.00476f40
test eax, eax
je 0x459b41
cmp byte [esi + 0x17], 0
jne 0x459442
mov edi, dword [esi + 0xc]
jmp 0x459444
mov edi, esi
test byte [edi + 0x15], 8
je 0x459451
mov eax, edi
call fcn.00401160
mov al, byte [edi + 0x17]
cmp al, 1
jne 0x45946a
test byte [edi + 0x15], 4
je 0x459465
mov eax, edi
call fcn.0042ea10
mov edi, dword [edi + 8]
jmp 0x45947c
cmp al, 2
jne 0x459477
call fcn.00401000
mov edi, eax
jmp 0x45947c
mov edi, 0x4ca5a8
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x459497
mov edx, dword [ebp - 0x18]
lea ecx, [eax + eax]
push ecx
push edx
push edi
call fcn.00495990
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.00495990
add esp, 0xc
cmp byte [esi + 0x17], 0
jne 0x4594b8
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x4594d6
cmp dword [0x4ca5e0], 0
je 0x4594d6
mov ecx, 0x4ca5d4
call fcn.004042f0
jmp 0x4593de
and byte [esi + 0x15], 0x86
jmp 0x4593de
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 0x459503
mov dword [ebx], eax
lea eax, [eax + ecx*2]
mov dword [ebp - 0x54], eax
jmp 0x45955b
cmp ecx, 0x1001
jae 0x459528
cmp dword [ebp - 0x44], 0x9c40
jae 0x459528
mov esi, dword [ebp - 0x14]
lea eax, [esi + esi]
call fcn.00494be0
add dword [ebp - 0x44], esi
mov eax, esp
mov dword [ebx], eax
jmp 0x45955b
mov esi, dword [ebp - 0x30]
cmp esi, 0xc8
je 0x45990f
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + ecx]
push edx
call fcn.0048d694
add esp, 4
mov dword [ebp + esi*4 - 0x5ac], eax
mov dword [ebx], eax
test eax, eax
je 0x45990f
inc esi
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x459575
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebx]
lea eax, [esi + esi]
push eax
push ecx
push edx
call fcn.00495990
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.00495990
mov edx, dword [ebp - 0x48]
xor eax, eax
add esp, 0xc
cmp dword [edx + 8], eax
je 0x4595aa
cmp dword [edi + 8], eax
je 0x4595aa
mov dword [ebp - 0x14], 5
mov dword [ebx + 4], eax
jmp 0x4595bc
mov dword [ebp - 0x14], eax
jmp 0x4595bc
mov dword [ebx], 0x4a1840
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov dword [ebx + 8], eax
cmp dword [ebp - 0x58], 0
je 0x4595fa
mov eax, ebx
mov ebx, dword [ebp - 0x58]
call fcn.00476860
test eax, eax
je 0x459b41
mov al, byte [ebx + 0x17]
test al, al
jne 0x4595e7
mov ecx, dword [ebx + 0xc]
mov al, byte [ecx + 0x17]
cmp al, 2
je 0x4595f7
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 0x4597e8
mov eax, dword [ebx + 8]
lea ecx, [eax - 1]
cmp ecx, 4
ja case.0x45960f.3
jmp dword [ecx*4 + 0x459e90]
mov eax, dword [ebx]
push 0
call fcn.004132e0
jmp case.0x45960f.1
cmp dword [ebx + 4], 0
je 0x45962e
mov eax, 1
jmp case.0x45960f.1
push 0
push 1
push 0
push 1
xor ecx, ecx
mov eax, ebx
call fcn.0044f1b0
call fcn.00473ff0
add esp, 0x10
jmp case.0x45960f.1
xor eax, eax
dec eax
je 0x45972f
dec eax
mov eax, dword [ebx + 8]
je 0x459690
cmp eax, 6
je 0x4597de
cmp eax, 4
jne 0x45967b
mov eax, dword [ebx]
cmp byte [eax + 0x17], 0
jne 0x459671
mov eax, dword [eax + 0xc]
test byte [eax + 0x15], 2
jne 0x4597de
xor ecx, ecx
mov eax, ebx
call fcn.0044f1b0
xor edx, edx
cmp word [eax], dx
setne dl
mov esi, edx
jmp 0x4596d7
dec eax
cmp eax, 5
ja case.0x459696.3
jmp dword [eax*4 + 0x459ea4]
fild qword [ebx]
jmp 0x4596c6
fld qword [ebx]
jmp 0x4596c6
mov eax, dword [ebx]
push 1
call fcn.00413440
jmp 0x4596c6
mov eax, dword [ebx + 4]
test eax, eax
je case.0x459696.3
fild qword [eax]
jmp 0x4596c6
mov eax, dword [ebx]
push eax
call fcn.0048f186
add esp, 4
fldz
fucompp
fnstsw ax
test ah, 0x44
jp 0x4597de
xor esi, esi
cmp dword [ebx + 8], 6
jne 0x4596e7
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 0x45982a
xor edx, edx
cmp dword [ecx + 8], 0x21
sete dl
cmp esi, edx
jne 0x459831
mov dword [ebp - 0x24], ecx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x459718
cmp dword [ecx + 8], edi
jne 0x4596f8
mov eax, esi
cdq
mov dword [ebx + 8], 1
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebx + 0xc], ecx
jmp 0x4595fa
mov eax, dword [ebx + 8]
dec eax
cmp eax, 5
ja case.0x459738.3
jmp dword [eax*4 + 0x459ebc]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
jmp 0x4597d6
mov ecx, dword [ebx + 4]
test ecx, ecx
je case.0x459738.3
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
jmp 0x4597d6
fld qword [ebx]
call fcn.0049bf66
jmp 0x4597d6
mov eax, dword [ebx]
push 1
call fcn.00413380
jmp 0x4597d6
mov esi, dword [ebx]
mov eax, esi
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x45977f
cmp ecx, 9
jne 0x459784
add eax, 2
jmp 0x459772
movzx ecx, word [eax]
test cx, cx
je 0x4597cd
cmp ecx, 0x2d
je 0x459796
cmp ecx, 0x2b
jne 0x459799
add eax, 2
cmp word [eax], 0x30
jne 0x4597cd
movzx ecx, word [eax + 2]
cmp ecx, 0x78
je 0x4597ad
cmp ecx, 0x58
jne 0x4597cd
movzx ecx, word [eax + 4]
push ecx
call fcn.0048ea49
add esp, 4
test eax, eax
je 0x4597cd
push 0x10
push 0
push esi
call fcn.0048f0a7
add esp, 0xc
jmp 0x4597d6
push esi
call fcn.0048e8b1
add esp, 4
or eax, edx
je case.0x459738.6
mov esi, 1
jmp 0x4596d7
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x20]
cmp esi, edi
jle 0x45980e
mov eax, dword [ebp + esi*4 - 0xdb0]
dec esi
cmp dword [eax + 8], 6
jne 0x45980a
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, edi
jg 0x4597f2
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 0x457b23
test esi, esi
jne 0x459831
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp - 0x20]
add esi, 0x10
jmp 0x457b23
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp + 8]
push edx
jmp 0x459b35
cmp dword [esi], 1
je 0x45985c
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je case.0x4599ec.3
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00477850
add esp, 0xc
jmp case.0x4599ec.3
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x45985c
push ebx
call fcn.0048ec6f
add esp, 4
jmp 0x45985c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
push edx
push 0
push str.Out_of_memory.
call fcn.0042e1a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x459b41
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x3c]
push edx
push eax
call fcn.00477850
add esp, 0xc
jmp 0x459b41
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.0042e1a0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x459b41
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00477850
add esp, 0xc
jmp 0x459b41
mov ecx, dword [ebp + 8]
jmp 0x459b30
mov edx, dword [ebp + 8]
mov cl, byte [edx]
cmp cl, 3
je case.0x4599ec.3
cmp dword [ebp - 0x20], 1
jne 0x457d84
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xdac]
mov edi, eax
test edx, edx
je 0x459952
mov ebx, edx
call fcn.00476860
test eax, eax
je 0x459b41
jmp case.0x4599ec.3
cmp cl, 0x11
je 0x459c2b
cmp cl, 0x6b
je 0x459c2b
cmp cl, 0x6c
je 0x459c2b
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x4599db
mov ecx, dword [eax + 8]
cmp ecx, 1
je 0x4599c4
cmp ecx, 2
je 0x4599c4
cmp ecx, 6
je 0x4599c4
cmp ecx, 4
jne 0x4599db
mov ecx, dword [eax]
cmp byte [ecx + 0x17], 0
jne 0x459996
mov ecx, dword [ecx + 0xc]
test byte [ecx + 0x15], 2
je 0x4599db
mov dword [edx + 8], 6
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x4599ae
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, 0x4a1840
jmp 0x459c92
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, 0x4a1840
jmp 0x459c92
mov ecx, dword [ebx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [eax + 8]
cmp ecx, 6
ja case.0x4599ec.3
jmp dword [ecx*4 + 0x459ed4]
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 0x459a10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459a10
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
add dword [ebx], ecx
jmp case.0x4599ec.3
mov edx, dword [0x4c49ac]
fld qword [eax]
mov edi, dword [ebp - 0x34]
sub esp, 8
add edx, 0x74
fstp qword [esp]
push edx
mov esi, 0x100
call fcn.00474190
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 0x18]
add esp, 0xc
add dword [eax], ecx
jmp case.0x4599ec.3
cmp ecx, 4
jne 0x459ac6
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x459a6c
mov esi, dword [eax + 0xc]
jmp 0x459a6e
mov esi, eax
test byte [esi + 0x15], 8
je 0x459a7b
mov eax, esi
call fcn.00401160
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x459a9e
test byte [esi + 0x15], 4
je 0x459a8f
mov eax, esi
call fcn.0042ea10
mov esi, dword [esi + 8]
mov eax, dword [edi]
mov dword [ebp + 0x14], esi
call fcn.00413730
jmp 0x459adf
cmp al, 2
jne 0x459ab5
call fcn.00401000
mov esi, eax
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
call fcn.00413730
jmp 0x459adf
mov eax, dword [edi]
mov esi, 0x4ca5a8
mov dword [ebp + 0x14], esi
call fcn.00413730
jmp 0x459adf
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 0x459ad0
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 0x459b01
mov eax, ecx
mov edx, dword [ebp + 0x28]
lea eax, [eax + edx + 1]
cmp edi, eax
jbe 0x459c0a
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.0048d694
mov edi, eax
add esp, 4
test edi, edi
jne 0x459b56
mov ecx, ebx
push 0x4a1840
push 0
push str.Out_of_memory.
call fcn.0042e1a0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], 0
mov dword [eax], 0
jmp case.0x4599ec.3
cmp esi, 0x400000
jbe 0x459b64
inc dword [0x4ca560]
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 0x459b82
lea edx, [esi + esi]
push edx
push eax
push edi
call fcn.00495990
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.00495990
mov eax, dword [ebx]
add esp, 0xc
push eax
call fcn.0048ec6f
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
add esp, 4
cmp eax, 0x400000
jbe 0x459bbe
dec dword [0x4ca560]
mov edx, dword [ebx]
xor ecx, ecx
lea esi, [edx + eax*2]
cmp dword [ebp + 0xc], ecx
jle 0x459bf3
lea ebx, [ebx]
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + ecx*4]
mov edx, dword [ebx]
cmp eax, edx
jb 0x459bed
cmp eax, esi
jae 0x459bed
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 0x459bd0
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.0x4599ec.3
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
cmp eax, esi
je 0x459c21
lea ecx, [edi + edi]
push ecx
push esi
push eax
call fcn.0048e080
add esp, 0xc
mov eax, dword [ebp + 0x18]
lea edx, [edi + edi]
add dword [eax], edx
jmp case.0x4599ec.3
mov ecx, dword [eax + 8]
cmp ecx, 6
ja case.0x459c37.3
jmp dword [ecx*4 + 0x459ef0]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne case.0x459c37.6
mov dword [ebp - 0x34], 0x4a1840
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x459c6c
mov eax, dword [ebp + esi*4 - 0x5b0]
dec esi
push eax
call fcn.0048ec6f
add esp, 4
test esi, esi
jne 0x459c57
mov esi, dword [ebp - 0x5c]
test esi, esi
je 0x459c8f
mov eax, dword [ebp + esi*4 - 0xdb0]
dec esi
cmp dword [eax + 8], 6
jne 0x459c8b
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test esi, esi
jne 0x459c73
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.0x459c37.6
jmp case.0x4599ec.6
mov ecx, dword [eax + 4]
test ecx, ecx
je case.0x459c37.0
mov edx, dword [ecx]
or edx, dword [ecx + 4]
jmp 0x459c43
mov eax, dword [eax]
call fcn.0044ed20
jmp 0x459ce0
mov esi, dword [eax]
call fcn.0044ed80
jmp 0x459ce0
mov eax, dword [ebp + 8]
test eax, eax
je case.0x4599ec.6
mov dword [ebp - 0x34], 0x4a4428
jmp case.0x4599ec.3