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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x6e30d0]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
mov esi, dword [esp + 0xd8]
push edi
mov edi, dword [esi + 0x538]
mov dword [esp + 8], edi
test edi, edi
je 0x495e68
lea ecx, [esp + 0x14]
call fcn.00430110
push 0
lea eax, [esp + 0x18]
push eax
push 0xd4
mov ecx, 0x6f27a0
call fcn.00435810
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esi + 0x178], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x17c], edx
mov edx, dword [esp + 0x28]
mov dword [esi + 0x180], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x184], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x190], ecx
lea ecx, [esp + 0x54]
mov dword [esi + 0x188], edx
mov dword [esi + 0x18c], eax
call fcn.00430110
push 0
lea edx, [esp + 0x58]
push edx
push 0x3f
mov ecx, 0x6f27a0
call fcn.00435810
push 0x1e1e1e
lea eax, [esp + 0x58]
push eax
push 0xffffffffffffffff
push 0x5c8cae
mov ecx, esi
call fcn.00442a90
lea ecx, [esp + 0x34]
mov dword [esi + 0x170], 1
call fcn.00430110
push 0
lea ecx, [esp + 0x38]
push ecx
push 0xd5
mov ecx, 0x6f27a0
call fcn.00435810
lea eax, [esi + 0x194]
test eax, eax
je 0x494db3
push eax
mov ecx, esi
call fcn.00442a50
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add edi, 0x1e
push edi
lea edx, [esp + 0xa0]
push 0x5c8cb0
push edx
call ebp
mov eax, dword [esi]
mov edx, dword [eax + 0xbc]
add esp, 0xc
mov ecx, esi
call edx
push 9
push 0
test ax, ax
jne 0x494df5
push 0xffffff
lea eax, [esp + 0xa8]
push eax
jmp 0x494e02
push 0xcc92f8
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00442a30
push 0
push 0
push 0xffffff
push 0x5c8caf
mov ecx, esi
call fcn.00442a30
mov edx, dword [esi + 0x538]
mov ecx, dword [0x6f321c]
mov ebx, 8
cmp word [edx + 0x3b], bx
jne 0x494e3c
call fcn.004a6790
jmp 0x494e41
call fcn.004a6740
movzx edi, ax
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x3d]
dec eax
cmp eax, 5
ja case.default.0x494e56
jmp dword [eax*4 + 0x495e84]
push 0x959
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cb8
lea ecx, [esp + 0xa8]
push ecx
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea edx, [esp + 0xa8]
push edx
jmp 0x494fb4
push 0x95a
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cc0
lea eax, [esp + 0xa8]
push eax
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0xa8]
push ecx
jmp 0x494fb4
push 0x95b
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cc8
jmp 0x494f93
push 0x95c
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cd0
jmp 0x494e82
push 0x95d
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cd8
jmp 0x494ecd
push 0x95e
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8ce0
lea edx, [esp + 0xa8]
push edx
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.00442a30
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0xc7]
cmp eax, 7
ja case.0x494fcf.6
jmp dword [eax*4 + 0x495e9c]
push 0x95f
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8ce8
jmp 0x495136
push 0x960
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cf0
lea ecx, [esp + 0xa8]
push ecx
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea edx, [esp + 0xa8]
push edx
jmp 0x495157
push 0x961
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8cf8
lea eax, [esp + 0xa8]
push eax
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea ecx, [esp + 0xa8]
push ecx
jmp 0x495157
push 0x962
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8d00
jmp 0x495136
push 0x963
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8d08
jmp 0x495025
push 0x964
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8d10
jmp 0x495070
push 0x965
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x5c8d18
lea edx, [esp + 0xa8]
push edx
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.00442a30
mov ecx, dword [esp + 0x10]
movzx eax, word [ecx + 0x3b]
sub eax, 3
je 0x4951ba
dec eax
jne 0x495207
push 0x966
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0xa4]
push 0x5c8d20
push edx
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea eax, [esp + 0xa8]
push eax
jmp 0x495200
push 0x967
mov ecx, 0x6f5218
call fcn.004d7240
push eax
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0xa4]
push 0x5c8d28
push ecx
call fcn.0058a079
add esp, 0x10
push 7
push 0
push 0xffffb0
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call fcn.00442a30
push 0x958
mov ecx, 0x6f5218
call fcn.004d7240
push eax
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0x31]
push ecx
push 0x956
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0xa8]
push 0x5c8d30
push edx
call ebp
mov eax, dword [0x6f321c]
mov cx, word [eax + 0x43c]
mov edx, dword [esp + 0x24]
add esp, 0x14
push 7
push 0
cmp cx, word [edx + 0x31]
jae 0x49526b
push 0xe61414
lea eax, [esp + 0xa8]
push eax
jmp 0x495278
push 0xffffff
lea ecx, [esp + 0xa8]
push ecx
mov ecx, esi
call fcn.00442a30
push 0
push 0
push 0xffffff
push 0x5c8cb5
mov ecx, esi
call fcn.00442a30
push 0
lea edx, [esp + 0x40]
push edx
push 0xffffb0
push 0x5c8cb6
mov ecx, esi
call fcn.00442a30
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0x31]
push ecx
push 0x972
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0xa4]
push edx
call ebp
mov eax, dword [esp + 0x1c]
movzx eax, word [eax + 0x3d]
dec eax
add esp, 0xc
cmp eax, 5
ja case.default.0x4952e4
jmp dword [eax*4 + 0x495ebc]
push 0
mov ecx, 0x6f5218
push 0
cmp di, 1
jne 0x495309
push 0xffffff
push 0x1d1
jmp 0x4953da
push 0xe61414
push 0x1d1
jmp 0x4953da
push 0
mov ecx, 0x6f5218
push 0
cmp di, 2
jne 0x495336
push 0xffffff
push 0x1d2
jmp 0x4953da
push 0xe61414
push 0x1d2
jmp 0x4953da
push 0
mov ecx, 0x6f5218
push 0
cmp di, 3
jne 0x495360
push 0xffffff
push 0x1d3
jmp 0x4953da
push 0xe61414
push 0x1d3
jmp 0x4953da
push 0
mov ecx, 0x6f5218
push 0
cmp di, 4
jne 0x495387
push 0xffffff
push 0x1d4
jmp 0x4953da
push 0xe61414
push 0x1d4
jmp 0x4953da
push 0
mov ecx, 0x6f5218
push 0
cmp di, 5
jne 0x4953ae
push 0xffffff
push 0x1d5
jmp 0x4953da
push 0xe61414
push 0x1d5
jmp 0x4953da
push 0
mov ecx, 0x6f5218
push 0
cmp di, 6
jne 0x4953d0
push 0xffffff
jmp 0x4953d5
push 0xe61414
push 0x1d6
call fcn.004d7240
push eax
mov ecx, esi
call fcn.00442a30
mov ecx, dword [esi + 0x538]
cmp word [ecx + 0x3b], bx
push 0
push 0
mov ecx, 0x6f5218
jne 0x495423
mov edx, dword [0x6f321c]
cmp dword [edx + 0x404], 1
jne 0x495417
push 0xffffff
push 0x677
jmp 0x495442
push 0xe61414
push 0x677
jmp 0x495442
mov eax, dword [0x6f321c]
cmp dword [eax + 0x404], 1
jne 0x495438
push 0xe61414
jmp 0x49543d
push 0xffffff
push 0x678
call fcn.004d7240
push eax
mov ecx, esi
call fcn.00442a30
mov eax, dword [esp + 0x10]
cmp word [eax + 0x3b], bx
jne 0x49549e
cmp word [eax + 0x3d], 0
je 0x49549e
mov ecx, dword [0x6f321c]
call fcn.004a6740
mov ecx, dword [0x6f321c]
mov di, ax
call fcn.004a6790
cmp di, ax
je 0x49549e
push 0
push 0
push 0xe61414
push 0x67c
mov ecx, 0x6f5218
call fcn.004d7240
push eax
mov ecx, esi
call fcn.00442a30
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
movzx eax, al
cmp eax, 0xc
jge 0x495574
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx + eax*4 + 0x7f]
mov dword [esp + 0x14], edi
test edi, edi
je 0x495624
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
mov ecx, esi
cmp al, 0xc
jae 0x495580
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
call eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
test eax, eax
jns 0x4954fc
fadd dword [0x5ba9e4]
fmul qword [0x5baa08]
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
mov ecx, esi
fidiv dword [esp + 0x14]
fstp dword [esp + 0x14]
call eax
lea ecx, [edi - 1]
cmp eax, ecx
je 0x495538
fld dword [esp + 0x14]
fcomp qword [0x5c4398]
fnstsw ax
test ah, 0x41
jne 0x495538
fld dword [0x5c4390]
fstp dword [esp + 0x14]
mov edx, dword [esi]
fld dword [esp + 0x14]
mov eax, dword [edx + 0xa8]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call eax
movzx ecx, al
push ecx
push 0x1d7
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0xac]
push edx
call fcn.0058a079
add esp, 0x14
jmp 0x4955cb
or edi, 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x4954ca
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
call edx
movzx eax, ax
push eax
call fcn.00405140
mov ecx, eax
call fcn.0053cc10
test eax, eax
jne 0x4955cb
mov edx, dword [esi]
mov eax, dword [edx + 0xa8]
mov ecx, esi
call eax
movzx ecx, al
push ecx
push 0x195
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0xa4]
push edx
call fcn.0058a079
add esp, 0xc
push 0
push 0
push 0xe6e826
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call fcn.00442a30
cmp dword [0x6f40dc], 0
je 0x495624
mov edx, dword [esi]
mov eax, dword [edx + 0xa0]
push edi
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0xa4]
push 0x5c8d38
push ecx
call ebp
add esp, 0x10
push 0
push 0
push 0xe6e826
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call fcn.00442a30
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
test al, al
je 0x495687
mov eax, dword [esi]
mov edx, dword [eax + 0xa8]
mov ecx, esi
call edx
mov ebx, dword [esp + 0x10]
movzx eax, al
movzx eax, word [ebx + eax*2 + 0xad]
push eax
push 0x1d8
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0xa4]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0xe6e826
lea edx, [esp + 0xa8]
push edx
mov ecx, esi
call fcn.00442a30
jmp 0x49568b
mov ebx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
mov ecx, esi
call edx
test eax, eax
je 0x4956dd
mov eax, dword [esi]
mov edx, dword [eax + 0xb8]
mov ecx, esi
call edx
push eax
push 0x246
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0xffc800
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
cmp word [ebx + 0x86b], 0
je 0x495782
push 0
push 0
push 0xe6e826
push 0x54f
mov ecx, 0x6f5218
call fcn.004d7240
push eax
mov ecx, esi
call fcn.00442a30
test byte [0x6e4838], 1
movzx edi, word [ebx + 0x86b]
jne 0x495739
or dword [0x6e4838], 1
mov ecx, 0x6e46c8
call fcn.0053dfa0
push 0x5b8890
call fcn.00589c96
add esp, 4
push edi
mov ecx, 0x6e46c8
call fcn.00496a10
test eax, eax
je 0x495782
movzx edx, word [eax + 6]
push edx
push 0x550
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0xe6e826
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
test byte [0x6e4838], 1
jne 0x4957a9
or dword [0x6e4838], 1
mov ecx, 0x6e46c8
call fcn.0053dfa0
push 0x5b8890
call fcn.00589c96
add esp, 4
mov edx, dword [esi]
mov eax, dword [edx + 0xbc]
mov ecx, esi
call eax
movzx ecx, ax
xor edx, edx
mov eax, ecx
div dword [0x6e47a8]
mov eax, dword [0x6e47ac]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x495e07
cmp dword [edx], ecx
je 0x4957e2
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4957d2
jmp 0x495e07
mov edi, dword [edx + 4]
test edi, edi
je 0x495e07
mov eax, dword [edi + 0x1e]
test eax, eax
jle 0x49582a
push eax
push 0x524
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0x1e]
test eax, eax
jns 0x495869
neg eax
push eax
push 0x528
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x22]
fnstsw ax
test ah, 5
jp 0x4958bf
fld dword [edi + 0x22]
fmul qword [0x5baa08]
fadd qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x525
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x22]
fnstsw ax
test ah, 0x41
jne 0x495915
fld dword [edi + 0x22]
fmul qword [0x5baa08]
fsubr qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x529
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x26]
fnstsw ax
test ah, 5
jp 0x49596b
fld dword [edi + 0x26]
fmul qword [0x5baa08]
fadd qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x526
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x26]
fnstsw ax
test ah, 0x41
jne 0x4959c1
fld dword [edi + 0x26]
fmul qword [0x5baa08]
fsubr qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x52a
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
fld dword [edi + 0x2a]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x495a13
fld dword [edi + 0x2a]
fmul qword [0x5baa08]
call fcn.0058a4c0
push eax
push 0x6cc
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x2e]
fnstsw ax
test ah, 5
jp 0x495a69
fld dword [edi + 0x2e]
fmul qword [0x5baa08]
fadd qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x527
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x2e]
fnstsw ax
test ah, 0x41
jne 0x495abf
fld dword [edi + 0x2e]
fmul qword [0x5baa08]
fsubr qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x52b
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0xa]
test eax, eax
jle 0x495afc
push eax
push 0x53c
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0xa]
test eax, eax
jns 0x495b3b
neg eax
push eax
push 0x53d
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0xe]
test eax, eax
jle 0x495b78
push eax
push 0x53e
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0xe]
test eax, eax
jns 0x495bb7
neg eax
push eax
push 0x53f
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0x12]
test eax, eax
jle 0x495bf4
push eax
push 0x540
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0x12]
test eax, eax
jns 0x495c33
neg eax
push eax
push 0x541
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x16]
fnstsw ax
test ah, 5
jp 0x495c89
fld dword [edi + 0x16]
fmul qword [0x5baa08]
fadd qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x544
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x16]
fnstsw ax
test ah, 0x41
jne 0x495cdf
fld dword [edi + 0x16]
fmul qword [0x5baa08]
fsubr qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x545
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x1a]
fnstsw ax
test ah, 5
jp 0x495d35
fld dword [edi + 0x1a]
fmul qword [0x5baa08]
fadd qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x52c
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
fldz
fcomp dword [edi + 0x1a]
fnstsw ax
test ah, 0x41
jne 0x495d8b
fld dword [edi + 0x1a]
fmul qword [0x5baa08]
fsubr qword [0x5bd7b0]
call fcn.0058a4c0
push eax
push 0x52d
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea ecx, [esp + 0x84]
push ecx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea edx, [esp + 0x88]
push edx
mov ecx, esi
call fcn.00442a30
mov eax, dword [edi + 0x32]
test eax, eax
jle 0x495dc8
push eax
push 0x542
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea eax, [esp + 0x84]
push eax
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea ecx, [esp + 0x88]
push ecx
mov ecx, esi
call fcn.00442a30
mov edi, dword [edi + 0x32]
test edi, edi
jns 0x495e07
neg edi
push edi
push 0x543
mov ecx, 0x6f5218
call fcn.004d7240
push eax
lea edx, [esp + 0x84]
push edx
call ebp
add esp, 0xc
push 0
push 0
push 0x548fdf
lea eax, [esp + 0x88]
push eax
mov ecx, esi
call fcn.00442a30
push 0
push 0
push 0xffffff
push 0x5c8cb7
mov ecx, esi
call fcn.00442a30
push 0
lea ecx, [esp + 0x40]
push ecx
push 0xffffb0
push 0x5c8cbe
mov ecx, esi
call fcn.00442a30
movzx edx, word [ebx + 0x2f]
push 1
push 0xc8d7aa
push edx
push esi
mov ecx, 0x6f3e28
call fcn.004ab9f0
lea ecx, [esp + 0x3c]
call fcn.00430120
lea ecx, [esp + 0x5c]
call fcn.00430120
lea ecx, [esp + 0x1c]
call fcn.00430120
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
xor ecx, esp
call fcn.00589b64
add esp, 0xd0
ret 4