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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x120]
cmp eax, dword [ecx + 8]
jbe 0x418967
sub esp, 0x1a0
nop
lea eax, [0x5e81c4]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00402c60
mov eax, dword [0x5e81c4]
cmp eax, 1
jne 0x41786a
mov eax, 1
jmp 0x417870
cmp eax, 2
sete al
mov byte [0x5e83c4], al
mov byte [0x5e83c0], al
lea eax, [0x5e8a88]
mov dword [esp], eax
call fcn.00402c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5c34f4], eax
mov dword [0x5c34f0], ecx
nop
call fcn.00464320
mov eax, dword [0x5e82a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
nop
mov edx, dword [esp + 4]
mov dword [esp + 0x54], edx
mov ebx, dword [esp]
mov dword [esp + 0x38], ebx
inc dword [ecx + 0x7c]
mov eax, dword [eax + 0x18]
mov dword [eax + 0x78], 5
mov ecx, dword [0x5e83c0]
test ecx, ecx
je 0x4178e3
mov ecx, dword [eax + 0x74]
call fcn.004635e0
mov dword [edi], ecx
mov dword [esp + 0x190], eax
lea ecx, [0x4fd1db]
mov dword [eax + 0x74], ecx
mov byte [eax + 0x9d], 2
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x198], ecx
nop
mov byte [ecx + 0x64], 6
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 4
call fcn.0043b7e0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [0x418980]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xcc]
mov dword [esp], eax
call fcn.004620f0
lea eax, [0x509b34]
mov dword [esp], eax
call fcn.004620f0
mov eax, dword [esp + 0x190]
mov byte [eax + 0x9d], 0
mov ecx, dword [esp + 0x198]
mov dword [esp], ecx
mov dword [esp + 4], 4
mov dword [esp + 8], 2
call fcn.0043b7e0
movzx eax, byte [0x5cc824]
test al, al
je 0x4179e4
nop
mov byte [esp], 8
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00454840
mov eax, dword [esp + 0x190]
mov dword [eax + 0x78], 0
mov ecx, dword [0x5e83c0]
test ecx, ecx
je 0x417a06
mov ecx, dword [eax + 0x74]
call fcn.004635e0
mov dword [edi], ecx
mov dword [eax + 0x74], 0
mov ecx, dword [0x5e81c4]
test ecx, ecx
jne 0x418950
lea eax, [0x5e8b30]
mov dword [esp], eax
call fcn.00402c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5ed9ec], eax
mov dword [0x5ed9e8], ecx
lea eax, [0x509b20]
mov dword [esp], eax
call fcn.004620f0
nop
call fcn.00464320
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x50], ecx
mov edx, dword [esp]
mov dword [esp + 0x34], edx
call fcn.00464390
mov eax, dword [esp + 8]
mov ecx, dword [esp]
mov edx, eax
mov eax, ecx
mov ebx, 0x3b9aca00
mov ecx, edx
mul ebx
mov ebx, dword [esp + 4]
imul ebx, ebx, 0x3b9aca00
add edx, ebx
mov ebx, ecx
sar ecx, 0x1f
mov ebp, dword [0x5c34d8]
mov esi, dword [0x5c34dc]
mov dword [esp + 0xc0], esi
mov edi, dword [0x5c34e0]
mov esi, dword [0x5c34e4]
add ebx, eax
mov dword [esp + 0x60], ebx
adc edx, ecx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x34]
mov ecx, eax
sub eax, edi
mov edi, dword [esp + 0x3c]
sbb edi, esi
add ebp, eax
mov dword [0x5c34d8], ebp
mov eax, dword [esp + 0xc0]
adc edi, eax
mov dword [0x5c34dc], edi
mov eax, dword [esp + 0x50]
mov dword [0x5c34d4], eax
mov dword [0x5c34d0], ecx
mov ebp, dword [0x5c34e0]
mov esi, dword [0x5c34e4]
lea edi, [0x5ed9f8]
mov dword [esp], edi
sub ecx, ebp
mov ebp, dword [esp + 0x3c]
sbb ebp, esi
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
call fcn.00408540
lea eax, [0x5ec9c0]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.00402cb0
lea eax, [0x5ed9e0]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00402cb0
mov eax, dword [0x5ed9d0]
and eax, 0xff
lea ecx, [0x5ec9d0]
lea edx, [ecx + eax*8]
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [0x5c34d8]
mov ebx, dword [0x5c34dc]
mov dword [edx], ecx
mov dword [eax], ebx
mov eax, dword [0x5ed9d0]
and eax, 0xff
lea ecx, [0x5ed1d0]
lea edx, [ecx + eax*8]
mov ebx, dword [esp + 0x60]
mov dword [edx], ebx
lea eax, [ecx + eax*8 + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax], ecx
mov eax, dword [0x5ec9c8]
mov ecx, dword [0x5ec9cc]
mov edx, dword [0x5c34d8]
mov ebx, dword [0x5c34dc]
add eax, edx
mov dword [0x5ec9c8], eax
adc ecx, ebx
mov dword [0x5ec9cc], ecx
mov eax, dword [0x5c34b0]
mov ecx, eax
sar ecx, 0x1f
mov edx, dword [0x5c34d0]
mov ebx, dword [0x5c34d4]
mov ebp, dword [0x5c34c8]
mov esi, dword [0x5c34cc]
mov edi, dword [0x5c3518]
mov dword [esp + 0xbc], edi
mov edi, dword [0x5c351c]
sub edx, ebp
sbb ebx, esi
mov ebp, edx
mov esi, eax
mul edx
mov dword [esp + 0x78], eax
imul ebx, esi
add edx, ebx
imul ecx, ebp
add ecx, edx
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0xbc]
add edx, eax
mov dword [0x5c3518], edx
adc edi, ecx
mov dword [0x5c351c], edi
mov edx, dword [0x5c3520]
mov ebx, dword [0x5c3524]
add edx, eax
mov dword [0x5c3520], edx
adc ebx, ecx
mov dword [0x5c3524], ebx
lea edx, [0x5c3500]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 4], ebx
mov byte [esp + 0xc], 1
call fcn.00430f00
mov eax, dword [0x5c3520]
mov ecx, dword [0x5c3524]
mov edx, dword [0x5c3510]
mov ebx, dword [0x5c3514]
sub eax, edx
sbb ecx, ebx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045c0b0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0xc4], xmm0
mov eax, dword [0x5c3550]
mov ecx, dword [0x5c3554]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045c0b0
movsd xmm0, qword [esp + 0xc4]
divsd xmm0, qword [esp + 8]
movsd qword [0x5ed9d8], xmm0
nop
lea eax, [0x5e8490]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402ad0
nop
lea eax, [0x5e8498]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402ad0
nop
lea eax, [0x5c42a0]
mov dword [esp], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call fcn.00402ad0
mov dword [0x5c316c], 0
mov dword [0x5c3170], 0
movzx eax, byte [0x5c348c]
test al, al
je 0x417d5f
inc dword [0x5ed9d4]
nop
nop
lea eax, [0x5c34a4]
mov dword [esp], eax
call fcn.00409ba0
inc dword [0x5ed9d0]
lea eax, [0x5c34a8]
mov dword [esp], eax
call fcn.00440190
nop
nop
lea eax, [0x5c34a4]
mov dword [esp], eax
call fcn.00409da0
lea eax, [0x5c81e0]
mov dword [esp], eax
call fcn.004237a0
lea eax, [0x5e8560]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00419fa0
nop
lea eax, [0x5e81dc]
mov dword [esp], eax
call fcn.0042e430
lea eax, [0x5c3174]
mov dword [esp], eax
call fcn.004243b0
movzx eax, byte [esp + 8]
test al, al
je 0x41893a
mov byte [esp + 0x23], al
mov eax, dword [esp + 4]
mov dword [esp + 0xbc], eax
lea ecx, [0x509b38]
mov dword [esp], ecx
call fcn.004620f0
call fcn.0042e9c0
call fcn.00426c30
lea eax, [0x509b14]
mov dword [esp], eax
call fcn.004620f0
lea eax, [0x509b3c]
mov dword [esp], eax
call fcn.004620f0
lea eax, [0x5c3174]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
movzx eax, byte [esp + 0x23]
mov byte [esp + 8], al
call fcn.00424430
mov eax, dword [0x5e8640]
test eax, eax
jle 0x4187d9
movsd xmm0, qword [0x5295bc]
mulsd xmm0, qword [0x5ed9d8]
movsd qword [esp + 0xc4], xmm0
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.004637ca
call fcn.00438a00
mov ecx, dword [0x5c34b8]
mov edx, dword [0x5c34bc]
mov ebx, dword [0x5e82f0]
mov ebp, dword [0x5e82f4]
sub ecx, ebx
sbb edx, ebp
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf4240
call fcn.0045c2f0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, 0x17
jmp 0x417ed6
adc ebp, 0
mov eax, edx
mov edx, ebp
test edx, edx
sete bl
xchg ebp, ebx
seta bl
xchg ebp, ebx
cmp ecx, 0xa
xchg esi, ebx
setae bl
xchg esi, ebx
and esi, ebx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
jne 0x417eff
cmp eax, 0x14
jl 0x417fb6
mov dword [esp + 0x58], ecx
mov ebx, eax
mov eax, 0xcccccccd
mov ebp, edx
mul ecx
mov eax, 0xcccccccd
mov esi, edx
mul ebp
shr esi, 3
lea edi, [esi + esi*4]
shr edx, 3
mov dword [esp + 0xbc], edx
lea eax, [edx + edx*4]
shl edi, 1
sub ecx, edi
shl eax, 1
sub ebp, eax
mov eax, ebp
mov edi, 0x19999999
mul edi
mov dword [esp + 0xb4], edx
lea ebp, [ebp + ebp*2]
lea ebp, [ecx + ebp*2]
mov ecx, eax
mov eax, 0xcccccccd
mul ebp
shr edx, 3
add esi, 0
mov ebp, dword [esp + 0xbc]
adc ebp, 0
add esi, ecx
mov edi, dword [esp + 0xb4]
adc ebp, edi
mov edi, edx
add edx, esi
mov eax, 0xa
mov ecx, edx
mul edx
mov edx, dword [esp + 0x58]
sub edx, eax
add edx, 0x30
cmp ebx, 0x18
jae 0x41892e
mov byte [esp + ebx + 0xd8], dl
lea edx, [ebx - 1]
cmp ebx, 0x15
jne 0x417faf
mov byte [esp + ebx + 0xd7], 0x2e
add edi, esi
mov edx, 0x13
jmp 0x417ecf
add edi, esi
jmp 0x417ecf
add ecx, 0x30
cmp eax, 0x18
jae 0x418924
mov byte [esp + eax + 0xd8], cl
movsd xmm0, qword [esp + 0xc4]
cvttsd2si ecx, xmm0
mov dword [esp + 0x5c], ecx
sar ecx, 0x1f
mov dword [esp + 0xc0], ecx
mov ebx, dword [0x5ed9d0]
mov dword [esp + 0xbc], ebx
lea ebp, [esp + 0x148]
mov dword [esp], ebp
lea ebp, [eax - 0x18]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
lea eax, [esp + eax + 0xd8]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0044e950
mov eax, dword [esp + 0xc]
mov dword [esp + 0x19c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], ecx
call fcn.00438a00
lea eax, [0x4fcebb]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439280
mov dword [esp + 4], 0
mov eax, dword [esp + 0xbc]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fce75]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439280
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.00439280
lea eax, [0x4fce77]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439280
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004390a0
lea eax, [0x4fcebe]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00439280
call fcn.00438a60
mov eax, dword [0x5c34b8]
mov ecx, dword [0x5c34bc]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0xf0]
mov edx, eax
xor eax, eax
call fcn.004637ca
mov ecx, dword [0x5c34c0]
mov ebx, dword [0x5c34c4]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ebx
mov ecx, dword [0x5c34c8]
mov ebx, dword [0x5c34cc]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ebx
mov ecx, dword [0x5c34d0]
mov ebx, dword [0x5c34d4]
mov dword [esp + 0x100], ecx
mov dword [esp + 0x104], ebx
xor ecx, ecx
mov ebx, dword [esp + 0x6c]
jmp 0x4181fb
lea eax, [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
inc ecx
mov dword [esp + 0xb0], ecx
sub esi, edx
sbb ebp, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], esi
call fcn.00419a90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x128]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044e950
mov eax, dword [esp + 0xc]
mov dword [esp + 0x19c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xac], ecx
call fcn.00438a00
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.00439280
call fcn.00438a60
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp ecx, 3
jge 0x418274
lea ebp, [esp + ecx*8 + 0xf0]
mov esi, dword [ebp]
mov dword [esp + 0x68], esi
mov ebp, dword [ebp + 4]
mov dword [esp + 0x6c], ebp
test ecx, ecx
je 0x41815e
mov dword [esp + 0x80], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
call fcn.00438a00
lea eax, [0x4fce55]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439280
call fcn.00438a60
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc0]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
jmp 0x41815e
call fcn.00438a00
lea eax, [0x4fdf1d]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.00439280
call fcn.00438a60
nop
lea eax, [0x5e8ae0]
mov dword [esp], eax
call fcn.00402b10
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edx, [0x5e8ae8]
mov dword [esp], edx
call fcn.00402b10
mov eax, dword [esp + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x5e8af0]
mov dword [esp], edx
call fcn.00402b10
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
nop
lea edx, [0x5e8af8]
mov dword [esp], edx
call fcn.00402b10
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x168]
mov edx, eax
xor eax, eax
call fcn.004637c6
mov eax, dword [0x5c34b0]
mov ecx, eax
sar ecx, 0x1f
mov ebx, dword [0x5c34c0]
mov ebp, dword [0x5c34c4]
mov esi, dword [0x5c34b8]
mov edi, dword [0x5c34bc]
sub ebx, esi
sbb ebp, edi
mov esi, edx
mov edi, eax
mul ebx
mov dword [esp + 0x168], eax
imul edi, ebp
lea eax, [edi + edx]
imul ecx, ebx
add eax, ecx
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x174], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
adc eax, ecx
mov dword [esp + 0x17c], eax
mov dword [esp + 0x184], esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x18c], eax
xor eax, eax
jmp 0x41844f
lea eax, [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0x18
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
call fcn.00419a90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x108]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0044e950
mov eax, dword [esp + 0xc]
mov dword [esp + 0x19c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb0], ecx
call fcn.00438a00
mov eax, dword [esp + 0x19c]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.00439280
call fcn.00438a60
mov eax, dword [esp + 0x7c]
inc eax
cmp eax, 5
jge 0x4184e0
mov dword [esp + 0x7c], eax
lea ecx, [esp + eax*8 + 0x168]
mov edx, dword [ecx]
mov dword [esp + 0x70], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x74], ecx
cmp eax, 2
je 0x41847a
cmp eax, 3
jne 0x4184a7
call fcn.00438a00
lea eax, [0x4fce57]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439280
call fcn.00438a60
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x4183ca
test eax, eax
je 0x4183ca
call fcn.00438a00
lea eax, [0x4fce55]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00439280
call fcn.00438a60
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
jmp 0x4183ca
lea eax, [0x5e8aa0]
mov dword [esp], eax
call fcn.00402c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xbc], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xb8], eax
lea ecx, [0x5e8ab0]
mov dword [esp], ecx
call fcn.00402c90
mov eax, dword [0x5c34ec]
mov ecx, dword [0x5c34e8]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
mov dword [esp + 0xb4], edx
shr ecx, 0x14
or eax, ecx
mov dword [esp + 0xa8], eax
mov ecx, dword [0x5c34f4]
mov ebx, dword [0x5c34f0]
mov ebp, ecx
shl ecx, 0xc
shr ebp, 0x14
mov dword [esp + 0xa4], ebp
shr ebx, 0x14
or ecx, ebx
mov dword [esp + 0xa0], ecx
mov ebx, dword [0x5c34fc]
mov esi, dword [0x5c34f8]
mov edi, ebx
shl ebx, 0xc
shr edi, 0x14
mov dword [esp + 0x9c], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x98], ebx
mov esi, dword [0x5e8a84]
mov dword [esp + 0x94], esi
mov ebx, dword [0x5e8a80]
shl esi, 0xc
mov edi, dword [esp + 0x94]
shr edi, 0x14
mov dword [esp + 0x94], edi
shr ebx, 0x14
or esi, ebx
mov dword [esp + 0x90], esi
mov ebx, dword [esp + 8]
mov dword [esp + 0x48], ebx
mov esi, dword [esp + 4]
shl ebx, 0xc
mov edi, dword [esp + 0x48]
shr edi, 0x14
mov dword [esp + 0x8c], edi
shr esi, 0x14
or ebx, esi
mov dword [esp + 0x88], ebx
mov esi, dword [0x5c34b4]
mov dword [esp + 0xc0], esi
call fcn.00438a00
lea eax, [0x4fd8fa]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00439280
mov eax, dword [esp + 0xb4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fce79]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439280
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fce79]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439280
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fd1e0]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.00439280
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fdbbf]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00439280
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fe316]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00439280
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call fcn.00438f60
lea eax, [0x4fe6c0]
mov dword [esp], eax
mov dword [esp + 4], 0xd
call fcn.00439280
mov eax, dword [esp + 0xc0]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004390a0
lea eax, [0x4fce7b]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.00439280
call fcn.00438a60
movzx eax, byte [0x5c348c]
test al, al
je 0x418796
call fcn.00438a00
lea eax, [0x4fd903]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.00439280
call fcn.00438a60
call fcn.00438a00
call fcn.00438c10
call fcn.00438a60
mov eax, dword [0x5e82a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
nop
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x4187d9
nop
nop
lea eax, [0x5e8224]
mov dword [esp], eax
call fcn.00409da0
nop
nop
lea eax, [0x5c3140]
mov dword [esp], eax
call fcn.00409ba0
mov eax, dword [0x5c3154]
mov dword [esp + 0x84], eax
mov ecx, dword [0x5c3150]
mov dword [esp + 0x194], ecx
mov dword [0x5c3154], 0
mov dword [0x5c3158], 0
mov edx, dword [0x5e83c0]
test edx, edx
je 0x41882e
mov edx, dword [0x5c3150]
call fcn.004635e0
mov dword [edi], edx
mov dword [0x5c3150], 0
nop
nop
lea eax, [0x5c3140]
mov dword [esp], eax
call fcn.00409da0
xor eax, eax
jmp 0x41886f
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x194]
lea edx, [ecx + eax*8]
mov edx, dword [edx]
mov dword [esp], edx
call fcn.004040e0
mov eax, dword [esp + 0xb0]
inc eax
mov ecx, dword [esp + 0x84]
cmp eax, ecx
jl 0x41884c
lea eax, [0x5e8a20]
mov dword [esp], eax
call fcn.00420570
mov eax, dword [esp + 8]
test eax, eax
seta al
sete cl
cmp dword [esp + 4], 0x40000000
seta dl
and edx, ecx
or edx, eax
test dl, dl
je 0x4188b5
lea eax, [0x5c8180]
mov dword [esp], eax
call fcn.0040b020
nop
lea eax, [0x5b7224]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448e20
nop
lea eax, [0x5b7228]
mov dword [esp], eax
mov byte [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00448e20
mov eax, dword [esp + 0x190]
mov ecx, dword [eax + 0x7c]
lea edx, [ecx - 1]
nop
mov ebx, dword [0x5e82a4]
mov ebx, dword fs:[ebx]
mov ebx, dword [ebx]
mov dword [eax + 0x7c], edx
cmp ecx, 1
jne 0x41891d
movzx eax, byte [ebx + 0x65]
test al, al
je 0x41891d
mov dword [ebx + 8], 0xfffffade
add esp, 0x1a0
ret
mov ecx, 0x18
call fcn.00463640
mov eax, ebx
mov ecx, 0x18
call fcn.00463640
lea eax, [0x50282e]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.00436fd0
lea eax, [0x503121]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00436fd0
nop
call fcn.004621e0
jmp fcn.00417820