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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x491c76
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4c72d0]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
push edi
mov eax, dword [0x4c72d0]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x7c], edi
lea ecx, [esp + 0x8c]
call fcn.0045f9a0
mov dword [esp + 0x230], 0
cmp byte [edi + 0x314], 0
mov dl, byte [edi + 0xad9ee]
mov al, byte [edi + 0xad9d4]
mov cl, byte [edi + 0xad9f2]
mov byte [esp + 0x6e], dl
mov dl, byte [edi + 0xad9ed]
mov byte [esp + 0x6d], dl
mov dl, byte [edi + 0xad9f0]
mov byte [esp + 0x6f], dl
mov dl, byte [edi + 0xad9f1]
mov byte [esp + 0x6b], dl
lea edx, [edi + 0x2f0]
mov byte [esp + 0x4f], al
mov al, byte [edi + 0xad9d5]
mov byte [esp + 0x6c], al
mov byte [esp + 0x6a], cl
je 0x4165eb
test byte [edx + 0x28], 1
je 0x4165eb
cmp dword [edi + 0x35c], 0
je 0x4165eb
mov eax, dword [edi + 0x2f8]
lea edx, [esp + 0xc4]
mov dword [esp + 0xcc], eax
mov eax, dword [edi + 0x2fc]
mov dword [esp + 0xd0], eax
mov eax, dword [edi + 0x30c]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xd8], 0x3f800000
mov dword [esp + 0xd4], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xbc]
mov al, byte [esp + 0x6c]
lea edx, [edi + 0x2f0]
mov cl, byte [esp + 0x6a]
cmp byte [esp + 0x4f], 0
je 0x41673d
test al, al
je 0x41673d
mov eax, dword [edi + 0xd29c]
cmp eax, 1
je 0x417b89
test eax, eax
je 0x417b89
cmp eax, 3
jne 0x4166e2
mov esi, dword [edi + 0xcecc]
test esi, esi
je 0x417b61
mov ecx, esi
call fcn.00455880
lea ecx, [edi + 0xcb8]
call fcn.004545f0
test eax, eax
je 0x416673
push 0xcc0020
push 0
push 0
push dword [esi + 0x164]
push dword [edi + 0xd284]
push dword [edi + 0xd280]
push 0
push 0
push eax
call dword [0x496064]
lea ecx, [edi + 0xcb8]
call fcn.00454630
lea ecx, [edi + 0x2f0]
call fcn.00456b80
test al, al
je 0x417b61
push dword [edi + 0xd284]
mov esi, dword [0x4962fc]
lea eax, [esp + 0xa8]
push dword [edi + 0xd280]
push 0
push 0
push eax
call esi
push dword [edi + 0x2fc]
lea eax, [esp + 0xb8]
push dword [edi + 0x2f8]
push 0
push 0
push eax
call esi
push 0
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [edi + 0xcb8]
call fcn.00454a90
jmp 0x417b56
mov ecx, edx
call fcn.00456b80
test al, al
je 0x417b61
mov eax, dword [edi + 0xd280]
lea ecx, [edi + 0xced0]
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0xd284]
push 0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
push 0
push eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
call fcn.0044f090
jmp 0x417b56
test cl, cl
je 0x4169f2
push 0
mov ecx, edx
call fcn.00456ea0
cmp byte [edi + 0xada04], 0
mov edx, dword [edi + 0x3b6d4]
mov ecx, dword [edi + 0x3b6d8]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ecx
je 0x41688b
mov eax, dword [edi + 0xad508]
movdqu xmm0, xmmword [edi + 0xad9f4]
lea esi, [eax + edx]
mov dword [esp + 0xac], esi
mov esi, dword [edi + 0xad50c]
movdqu xmmword [esp + 0xb4], xmm0
lea edi, [esi + ecx]
mov dword [esp + 0xb0], edi
mov edi, dword [esp + 0x7c]
test edx, edx
jns 0x4167c0
sub dword [esp + 0xb4], edx
mov dword [esp + 0xa4], 0
mov edx, dword [esp + 0xac]
cmp edx, eax
jle 0x4167e1
sub eax, edx
add dword [esp + 0xbc], eax
mov eax, dword [edi + 0xad508]
mov dword [esp + 0xac], eax
test ecx, ecx
jns 0x4167f7
sub dword [esp + 0xb8], ecx
mov dword [esp + 0xa8], 0
mov ecx, dword [esp + 0xb0]
cmp ecx, esi
jle 0x416814
mov eax, esi
mov dword [esp + 0xb0], esi
sub eax, ecx
add dword [esp + 0xc0], eax
mov eax, dword [edi + 0x30c]
lea edx, [esp + 0xec]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
js 0x416840
test dword [esp + 0x1e0], 0x2000200
je 0x416840
mov eax, 2
jmp 0x416842
xor eax, eax
cmp dword [edi + 0xad500], 1
push eax
lea eax, [esp + 0xb8]
push eax
jne 0x416873
lea eax, [edi + 0x368]
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [edi + 0x1160]
call fcn.00454780
jmp 0x4169d4
lea eax, [esp + 0xac]
lea ecx, [edi + 0x368]
push eax
call fcn.00454a90
jmp 0x4169ad
mov esi, dword [edi + 0x394]
mov eax, dword [edi + 0x398]
mov dword [esp + 0x3c], esi
add esi, edx
mov dword [esp + 0xac], esi
mov dword [esp + 0xc0], eax
lea esi, [eax + ecx]
mov dword [esp + 0xb0], esi
xor esi, esi
mov dword [esp + 0x54], esi
mov dword [esp + 0xb4], esi
mov esi, dword [edi + 0x394]
mov dword [esp + 0xbc], esi
xor esi, esi
mov dword [esp + 0xb8], esi
test edx, edx
jns 0x4168f2
neg edx
mov dword [esp + 0x54], edx
mov dword [esp + 0xb4], edx
xor edx, edx
mov dword [esp + 0xa4], edx
mov ecx, dword [esp + 0xac]
cmp ecx, dword [edi + 0xad508]
mov ecx, dword [edi + 0x3b6d8]
jle 0x416932
mov eax, dword [edi + 0xad508]
sub eax, dword [esp + 0xac]
add eax, dword [edi + 0x394]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 0xad508]
mov dword [esp + 0xac], eax
test ecx, ecx
jns 0x41694a
mov esi, ecx
neg esi
xor ecx, ecx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xa8], ecx
mov eax, dword [esp + 0xb0]
cmp eax, dword [edi + 0xad50c]
mov eax, dword [edi + 0x398]
jle 0x416986
mov eax, dword [edi + 0xad50c]
sub eax, dword [esp + 0xb0]
add eax, dword [edi + 0x398]
mov edi, dword [edi + 0xad50c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xb0], edi
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x54], edi
mov edi, dword [esp + 0x7c]
jge 0x4169e5
cmp esi, eax
jge 0x4169e5
lea esi, [esp + 0xb4]
push esi
push ecx
push edx
lea ecx, [edi + 0x368]
call fcn.004548c0
test al, al
jne 0x4169e5
push ecx
lea eax, [esp + 0xb8]
push eax
lea eax, [edi + 0x368]
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [edi + 0x1160]
call fcn.00454fc0
push 0
push 0
push 0
lea ecx, [edi + 0x1160]
call fcn.004548c0
push 1
lea ecx, [edi + 0x2f0]
call fcn.00456ea0
lea ecx, [edi + 0x2f0]
call fcn.00456b80
test al, al
je 0x417b61
cmp byte [esp + 0x6b], 0
je 0x416a15
push 0
mov ecx, edi
call fcn.00417bf0
cmp byte [esp + 0x4f], 0
je 0x416a72
mov eax, dword [edi + 0xd29c]
cmp eax, 2
jne 0x416b0e
mov eax, dword [edi + 0xd280]
lea ecx, [edi + 0xced0]
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0xd284]
push 0
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xa8]
push 0
push eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
call fcn.0044f090
cmp byte [esp + 0x6e], 0
je 0x417341
lea eax, [edi + 0x3b68c]
mov dword [esp + 0x50], 3
mov dword [esp + 0x78], eax
nop
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x88], edx
cmp eax, 0xffffffff
je 0x41732c
imul edx, eax, 0x64
mov dword [esp + 0x20], edx
cmp byte [edx + edi + 0x3b368], 0
je 0x41732c
mov eax, dword [edx + edi + 0x3b378]
mov ecx, dword [ebp + 8]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + edi + 0x3b37c]
sub ecx, eax
mov eax, dword [edx + edi + 0x3b390]
mov dword [esp + 0x48], eax
lea eax, [edi + 0x3b39c]
add eax, edx
mov dword [esp + 0x18], ecx
push eax
lea ecx, [edi + 0xed38]
call fcn.0044bb40
mov esi, eax
mov dword [esp + 0x70], esi
mov al, byte [esi + 0x54]
test al, al
je 0x416b9c
mov ecx, dword [esi + 0x58]
jmp 0x416b9f
cmp eax, 3
jne 0x416a72
mov esi, dword [edi + 0xcecc]
test esi, esi
je 0x417b89
mov ecx, esi
call fcn.00455880
lea eax, [edi + 0xcb8]
mov ecx, eax
mov dword [esp + 0x50], eax
call fcn.004545f0
test eax, eax
je 0x416b86
push 0xcc0020
push 0
push 0
push dword [esi + 0x164]
push dword [edi + 0xd284]
push dword [edi + 0xd280]
push 0
push 0
push eax
call dword [0x496064]
lea esi, [edi + 0xcb8]
mov ecx, esi
call fcn.00454630
push 0
push 0
push 0
mov ecx, esi
call fcn.00454a90
jmp 0x417b89
mov esi, dword [esp + 0x50]
mov ecx, esi
push 0
push 0
push 0
call fcn.00454a90
jmp 0x417b89
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x24], ecx
test al, al
je 0x416bac
mov eax, dword [esi + 0x5c]
jmp 0x416baf
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x20]
mov edx, eax
mov dword [esp + 0x14], eax
mov ecx, dword [ecx + edi + 0x3b374]
call fcn.00415ef0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
cmp dword [ecx + edi + 0x3b38c], 6
jne 0x416c08
mov eax, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x84], edx
cmp dword [edx*4 + 0x49cdd0], eax
ja 0x416bff
inc edx
mov dword [esp + 0x84], edx
cmp edx, 4
jl 0x416be4
jmp 0x41732c
cmp edx, 4
jge 0x41732c
cmp dword [ecx + edi + 0x3b384], 0xffffffff
je 0x416dde
cmp dword [esp + 0x18], 0
je 0x416dde
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + edi + 0x3b374]
call fcn.00415e90
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + edi + 0x3b384]
call fcn.00415e90
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi + 0x3b374]
call fcn.00415ef0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi + 0x3b384]
call fcn.00415ef0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
cmp dword [eax + edi + 0x3b38c], 3
jne 0x416d99
mov eax, dword [esp + 0x1c]
cmp eax, 3
jge 0x416c9f
xor eax, eax
jmp 0x416ca2
add eax, 0xfffffffd
push dword [esp + 0x48]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x48], eax
call fcn.00416090
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
push dword [esp + 0x48]
push dword [esp + 0x40]
push dword [esp + 0x20]
call fcn.00416090
mov cl, byte [esi + 0x54]
add esp, 0xc
mov dword [esp + 0x74], eax
test cl, cl
je 0x416cf2
mov eax, dword [esi + 0x58]
jmp 0x416cf5
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x3c], eax
test cl, cl
je 0x416d02
mov ecx, dword [esi + 0x5c]
jmp 0x416d05
mov ecx, dword [esi + 0x20]
mov dword [esp + 0xac], eax
cdq
sub eax, edx
mov dword [esp + 0xb0], ecx
mov edx, dword [esp + 0x24]
sar eax, 1
sub edx, eax
mov dword [esp + 0xa4], 0
mov eax, dword [esp + 0x3c]
add eax, edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xb8], eax
add eax, ecx
mov dword [esp + 0xc0], eax
mov ecx, esi
mov dword [esp + 0xb4], edx
lea eax, [esp + 0xb4]
push 1
push 0
push eax
mov dword [esi + 0x34], 0xff
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0xff
mov dword [esi + 0x44], 0xff0000ff
mov dword [esi + 0x30], 0x40
call fcn.0044f090
push dword [esp + 0x48]
mov edx, dword [esp + 0x58]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.00416090
mov edx, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x24], eax
push dword [esp + 0x48]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.00416090
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x416df2
mov edx, dword [esp + 0x24]
mov ecx, dword [ecx + edi + 0x3b374]
call fcn.00415e90
mov dword [esp + 0x24], eax
mov al, byte [esi + 0x54]
test al, al
je 0x416dfe
mov ecx, dword [esi + 0x58]
jmp 0x416e01
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x54], ecx
test al, al
je 0x416e0e
mov eax, dword [esi + 0x5c]
jmp 0x416e11
mov eax, dword [esi + 0x20]
mov dword [esp + 0x48], eax
xor edx, edx
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
xor ecx, ecx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [eax + edi + 0x3b38c]
dec eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
cmp eax, 5
ja case.0x416e5a.3
jmp dword [eax*4 + 0x417bc8]
mov eax, dword [esp + 0x18]
cmp eax, 1
jle case.0x416e5a.3
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x417127
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x416e8b
imul eax, ecx, 0xc8
jmp 0x416e97
mov eax, dword [esp + 0x18]
sub eax, ecx
imul eax, eax, 0xc8
cdq
idiv dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + edi + 0x3b374]
call fcn.00416000
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test al, al
je case.0x416e5a.3
neg ecx
mov dword [esp + 0x10], ecx
jmp case.0x416e5a.3
mov eax, dword [esp + 0x18]
cmp eax, 1
jle case.0x416e5a.3
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x417127
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jge 0x416ef2
imul eax, ecx, 0x64
jmp 0x416e97
mov eax, dword [esp + 0x18]
sub eax, ecx
imul eax, eax, 0x64
jmp 0x416e97
mov eax, dword [esp + 0x48]
add eax, 0xc8
mov ecx, dword [esp + 0x24]
imul eax, dword [esp + 0x1c]
add ecx, 0xffffff41
mov esi, dword [edi + 0xad50c]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xd0], esi
cdq
idiv dword [esp + 0x18]
sub eax, dword [esp + 0x48]
add eax, esi
add ecx, 0x17e
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xc8], eax
lea edx, [edi + 0x52b4]
mov dword [edi + 0x52e4], 0x80
mov dword [edx + 0x34], 0
movzx ecx, byte [edx + 0x38]
movzx eax, byte [edx + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x40]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0xc4]
push 1
push ecx
mov dword [edx + 0x44], ecx
mov ecx, edx
mov dword [edx + 0x48], 0
push 0x4d43cc
mov dword [edx + 0x4c], 0
push eax
mov dword [edx + 0x50], 0
call fcn.00450d30
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov esi, dword [esp + 0x70]
jmp case.0x416e5a.3
mov eax, dword [esp + 0x48]
add eax, 0xc8
mov esi, dword [esp + 0x24]
imul eax, dword [esp + 0x1c]
add esi, 0xffffff41
mov edi, dword [edi + 0xad50c]
mov ecx, edi
mov dword [esp + 0xd0], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0xc4], esi
cdq
idiv dword [esp + 0x18]
sub ecx, eax
lea eax, [esi + 0x17e]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ecx
jmp 0x416f48
mov eax, dword [esp + 0x84]
cmp eax, 3
ja case.0x416e5a.3
jmp dword [eax*4 + 0x417be0]
imul ecx, dword [esp + 0x1c], 0x3a
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
neg eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, 0xaaaaaaab
add ecx, ecx
mul ecx
mov ecx, edx
mov edx, dword [esp + 0x14]
shr ecx, 1
mov dword [esp + 0x10], ecx
jmp case.0x416e5a.3
mov esi, dword [esp + 0x1c]
mov eax, 0xaaaaaaab
add esi, 0xfffffffd
imul ecx, esi, 0x74
mul ecx
lea ecx, [esi*8]
mov eax, edx
sub ecx, esi
mov esi, dword [esp + 0x70]
shr eax, 2
sub eax, 0x3a
shl ecx, 2
mov dword [esp + 0x14], eax
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
mov edx, dword [esp + 0x14]
shr ecx, 2
add ecx, 0xe
mov dword [esp + 0x10], ecx
jmp case.0x416e5a.3
mov esi, dword [esp + 0x1c]
mov eax, 0xaaaaaaab
add esi, 0xfffffff7
imul ecx, esi, 0x74
mul ecx
mov eax, 0xffffffc6
lea ecx, [esi*8]
shr edx, 1
sub ecx, esi
mov esi, dword [esp + 0x70]
sub eax, edx
mov dword [esp + 0x14], eax
add ecx, ecx
mov eax, 0xaaaaaaab
mul ecx
mov ecx, edx
mov edx, dword [esp + 0x14]
shr ecx, 1
add ecx, 0x2a
mov dword [esp + 0x10], ecx
jmp case.0x416e5a.3
mov esi, dword [esp + 0x1c]
mov eax, 0xaaaaaaab
add esi, 0xfffffff4
lea ecx, [esi + esi*4]
shl ecx, 8
mul ecx
imul ecx, esi, 0x16
mov esi, dword [esp + 0x70]
mov eax, 0xaaaaaaab
shr edx, 5
add edx, 0x38
mov dword [esp + 0x10], edx
mul ecx
mov ecx, dword [esp + 0x10]
shr edx, 5
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x14]
jmp case.0x416e5a.3
mov ecx, edx
mov eax, dword [esp + 0x20]
cmp byte [eax + edi + 0x3b388], 0
je 0x41716e
call fcn.00461530
movzx eax, ax
and eax, 0x80000007
jns 0x41714b
dec eax
or eax, 0xfffffff8
inc eax
add edx, 0xfffffffc
add edx, eax
mov dword [esp + 0x14], edx
call fcn.00461530
movzx eax, ax
and eax, 0x80000007
jns 0x417168
dec eax
or eax, 0xfffffff8
inc eax
add ecx, eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov dword [esp + 0x74], eax
add ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x3c]
add eax, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
add ecx, dword [esp + 0x54]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x10]
cmp dword [eax + edi + 0x3b38c], 8
mov dword [esp + 0xb8], ecx
jne 0x4171e8
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x4171d6
xor eax, eax
mov dword [esi + 0x30], eax
jmp 0x4171ef
cmp eax, 0xff
mov ecx, 0xff
cmovg eax, ecx
mov dword [esi + 0x30], eax
jmp 0x4171ef
mov dword [esi + 0x30], 0xff
movzx ecx, byte [esi + 0x38]
movzx eax, byte [esi + 0x3c]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x34], 0
movzx eax, byte [esi + 0x40]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x44], ecx
test eax, eax
jle 0x41722d
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x50], eax
jmp 0x417242
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
push 1
push 0
lea eax, [esp + 0xbc]
mov ecx, esi
push eax
call fcn.0044f090
mov ecx, dword [esp + 0x20]
cmp byte [ecx + edi + 0x3b389], 0
je 0x417302
cmp byte [edi + 0x5308], 0
lea esi, [edi + 0x52b4]
je 0x41727b
mov eax, dword [esi + 0x58]
jmp 0x41727e
mov eax, dword [esi + 0x1c]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
cmp byte [esi + 0x54], 0
je 0x417290
mov esi, dword [esi + 0x5c]
jmp 0x417293
mov esi, dword [esi + 0x20]
mov eax, dword [esp + 0x24]
sub eax, edx
mov dword [esp + 0xc0], esi
mov esi, dword [ecx + edi + 0x3b398]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
add eax, edx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], eax
xor edx, edx
mov eax, dword [edi + 0xad9d0]
sub eax, dword [ecx + edi + 0x3b394]
lea ecx, [edi + 0x52b4]
div esi
imul eax, edx, 0xff
xor edx, edx
div esi
push eax
lea eax, [edi + 0x3334]
push eax
push 0
lea eax, [esp + 0xc0]
push eax
call fcn.004524f0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + edi + 0x3b38c]
sub eax, 4
je 0x417311
dec eax
jne 0x41732c
push 1
push ecx
push 0x4d43dc
lea eax, [esp + 0xd0]
push eax
lea ecx, [edi + 0x52b4]
call fcn.00450d30
mov eax, dword [esp + 0x78]
add eax, 4
dec dword [esp + 0x50]
mov dword [esp + 0x78], eax
jne 0x416a90
cmp byte [esp + 0x6d], 0
je 0x417b46
cmp byte [edi + 0x3b494], 0
je 0x417b46
cmp byte [edi + 0x3b4dc], 0
je 0x4178e4
lea ecx, [esp + 0xc4]
call fcn.0045f9a0
lea ecx, [esp + 0xc4]
mov byte [esp + 0x230], 0
call fcn.0045fb00
mov ecx, dword [edi + 0xad7ac]
mov eax, 0x51eb851f
shl ecx, 8
imul ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp byte [edi + 0x3b4dd], 0
mov dword [esp + 0x50], esi
je 0x417423
imul ecx, dword [edi + 0x3b498], 0x2a0
mov eax, dword [0x4adda8]
add eax, 0x349
mov dword [esp + 0xa4], 0x349
mov dword [esp + 0xac], eax
mov eax, dword [0x4add90]
add ecx, 0x13b4
mov dword [esp + 0xa8], 0x221
add eax, 0x221
add ecx, edi
push esi
mov dword [esp + 0xb4], eax
call fcn.00415e30
push 1
push 0x4daff4
lea eax, [esp + 0xac]
push eax
imul eax, dword [edi + 0x3b498], 0x2a0
lea ecx, [edi + 0x13b4]
add ecx, eax
call fcn.0044f090
mov ecx, dword [0x4adda0]
mov eax, dword [0x4add88]
mov edx, dword [0x4adda4]
add eax, ecx
mov dword [esp + 0xac], eax
mov eax, dword [0x4add84]
mov dword [esp + 0xa4], ecx
add eax, edx
imul ecx, dword [edi + 0x3b498], 0x2a0
mov dword [esp + 0xa8], edx
mov dword [esp + 0xb0], eax
test esi, esi
jns 0x41746b
xor eax, eax
jmp 0x41747b
cmp esi, 0xff
mov eax, esi
mov edx, 0xff
cmovg eax, edx
mov dword [ecx + edi + 0x13e4], eax
imul esi, dword [edi + 0x3b498], 0x2a0
movzx ecx, byte [edi + 0x3b4ae]
movzx edx, byte [edi + 0x3b4ad]
movzx eax, byte [edi + 0x3b4ac]
mov dword [esp + 0x74], ecx
push 1
push 0x5a3f90
mov dword [esi + edi + 0x13f4], ecx
mov ecx, dword [esi + edi + 0x13e8]
shl ecx, 8
or ecx, eax
mov dword [esi + edi + 0x13ec], eax
mov eax, dword [esp + 0x7c]
shl ecx, 8
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
mov dword [esi + edi + 0x13f0], edx
mov dword [esi + edi + 0x13f8], ecx
imul edx, dword [edi + 0x3b498], 0x2a0
mov eax, dword [edi + 0x3b4b0]
movzx ecx, byte [edx + edi + 0x13ec]
mov dword [edx + edi + 0x13e8], eax
shl eax, 8
or ecx, eax
movzx eax, byte [edx + edi + 0x13f0]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + edi + 0x13f4]
shl ecx, 8
or ecx, eax
lea eax, [esp + 0xac]
mov dword [edx + edi + 0x13f8], ecx
imul ecx, dword [edi + 0x3b498], 0x2a0
push eax
add ecx, 0x13b4
add ecx, edi
call fcn.0044f090
mov eax, dword [0x5a3fa8]
sub eax, dword [0x5a3fa0]
mov ecx, dword [0x4cc724]
add eax, ecx
mov edx, dword [0x4cc728]
mov dword [esp + 0xac], eax
mov eax, dword [0x5a3fac]
sub eax, dword [0x5a3fa4]
add eax, edx
mov dword [esp + 0xa4], ecx
push 1
mov dword [esp + 0xb4], eax
lea ecx, [edi + 0x13b4]
push 0x5a3fa0
lea eax, [esp + 0xac]
mov dword [esp + 0xb0], edx
push eax
imul eax, dword [edi + 0x3b498], 0x2a0
add ecx, eax
call fcn.0044f090
lea ecx, [edi + 0x3b584]
call fcn.0045fd40
test al, al
jne 0x4176cc
mov ecx, dword [0x4add94]
mov eax, dword [0x4add8c]
mov edx, dword [0x4add98]
add eax, ecx
push dword [esp + 0x50]
mov dword [esp + 0xa8], ecx
imul ecx, dword [edi + 0x3b498], 0x2a0
mov dword [esp + 0xb0], eax
mov eax, dword [0x4add9c]
add eax, edx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], eax
add ecx, 0x13b4
add ecx, edi
call fcn.00415e30
imul ecx, dword [edi + 0x3b498], 0x2a0
lea eax, [esp + 0xa4]
push 1
push 0x4dafe4
push eax
add ecx, 0x13b4
add ecx, edi
call fcn.0044f090
mov ecx, dword [edi + 0x3b4b4]
add ecx, dword [0x4dafdc]
mov eax, dword [0x4f3798]
add eax, ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [edi + 0x3b4b8]
add ecx, dword [0x4dafe0]
movdqu xmm0, xmmword [0x49ce4c]
mov dword [esp + 0xac], eax
mov eax, dword [0x4f3848]
add eax, ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], eax
lea ecx, [edi + 0x13b4]
imul eax, dword [edi + 0x3b498], 0x2a0
push 1
movdqu xmmword [esp + 0xc8], xmm0
mov dword [eax + edi + 0x13e4], 0xff
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xac]
push eax
imul eax, dword [edi + 0x3b498], 0x2a0
add ecx, eax
call fcn.0044f090
mov ecx, dword [edi + 0x3b4b4]
mov eax, dword [edi + 0x3b4bc]
movdqu xmm0, xmmword [edi + 0x3b5bc]
add eax, ecx
mov dword [esp + 0xa4], ecx
mov ecx, dword [edi + 0x3b4b8]
mov dword [esp + 0xac], eax
mov eax, dword [edi + 0x3b4c0]
add eax, ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xb0], eax
imul eax, dword [edi + 0x3b498], 0x2a0
movdqu xmmword [esp + 0xb4], xmm0
push 1
mov dword [eax + edi + 0x13e4], 0xff
lea eax, [esp + 0xb8]
imul ecx, dword [edi + 0x3b498], 0x2a0
push eax
lea eax, [esp + 0xac]
push eax
add ecx, 0x13b4
add ecx, edi
call fcn.0044f090
mov eax, dword [edi + 0x3b5b4]
cmp eax, 0xffffffff
je 0x4177e4
dec eax
cmp eax, 0xffffffff
je 0x4177e4
mov eax, dword [eax*4 + 0x49ce08]
lea ecx, [edi + 0x20d4]
shl eax, 4
add eax, 0x49cc98
mov dword [esp + 0xb4], 0
push 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xbc], 0
movdqu xmm0, xmmword [eax]
mov dword [esp + 0xc4], 0
mov dword [edi + 0x2104], 0xff
movdqu xmmword [esp + 0xa8], xmm0
call fcn.00415dc0
push 1
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [edi + 0x20d4]
call fcn.0044f090
lea ecx, [edi + 0x3b584]
call fcn.0045fd40
test al, al
jne 0x4178e4
mov eax, dword [edi + 0x3b4b4]
add eax, 0x29
add eax, dword [edi + 0x3b5b0]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x3b4b8]
sub eax, 0x32
cmp byte [edi + 0xad780], 0
mov dword [esp + 0x50], eax
je 0x41787d
push 1
push 0
lea ecx, [edi + 0xcb8c]
call fcn.00455350
push dword [edi + 0x3b4a4]
lea ecx, [edi + 0xcb8c]
call fcn.004552f0
push 0xff
lea ecx, [edi + 0xcb8c]
call fcn.00455310
mov ecx, dword [esp + 0x50]
lea eax, [ecx + 2]
push eax
mov eax, dword [esp + 0x7c]
add eax, 2
push eax
push 0xffffffffffffffff
push ecx
lea ecx, [edi + 0x3b584]
call fcn.00460050
add esp, 4
lea ecx, [edi + 0xcb8c]
push eax
call fcn.004552d0
push dword [edi + 0x3b4a0]
lea ecx, [edi + 0xcb8c]
call fcn.004552f0
push dword [edi + 0x3b4a8]
lea ecx, [edi + 0xcb8c]
call fcn.00455330
xor eax, eax
lea ecx, [edi + 0xcb8c]
cmp dword [edi + 0xad784], eax
setne al
lea eax, [eax*2 + 1]
push eax
push 1
call fcn.00455350
push dword [esp + 0x50]
push dword [esp + 0x7c]
push 0xffffffffffffffff
push ecx
lea ecx, [edi + 0x3b584]
call fcn.00460050
add esp, 4
lea ecx, [edi + 0xcb8c]
push eax
call fcn.004552d0
cmp byte [edi + 0x3b570], 0
mov ecx, edi
je 0x417999
push 0xffffffffffffffff
call fcn.004192e0
mov eax, dword [edi + 0x3b4c4]
lea ecx, [edi + 0x20d4]
add eax, dword [edi + 0x3b4b4]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 0x3b4c8]
add eax, dword [edi + 0x3b4b8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov eax, dword [edi + 0x3b5a8]
mov dword [edi + 0x2104], 0xff
movzx edx, byte [ecx + 0x38]
shl edx, 8
mov eax, dword [eax*4 + 0x49cdf0]
shl eax, 4
add eax, 0x49cde0
mov dword [ecx + 0x34], 0
push 1
movdqu xmm0, xmmword [eax]
movzx eax, byte [ecx + 0x3c]
or edx, eax
movzx eax, byte [ecx + 0x40]
shl edx, 8
or edx, eax
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0xbc]
mov dword [ecx + 0x44], edx
push eax
movdqu xmmword [esp + 0xd0], xmm0
call fcn.0044f090
jmp 0x4179a4
push dword [edi + 0x3b5ac]
call fcn.004192e0
cmp byte [edi + 0xad8e0], 0
je 0x4179ec
movdqa xmm0, xmmword [0x4d0c10]
lea eax, [esp + 0xb4]
push 1
push eax
movdqa xmmword [esp + 0xbc], xmm0
lea eax, [esp + 0xac]
movdqa xmm0, xmmword [0x4d0be0]
lea ecx, [edi + 0x20d4]
push eax
movdqa xmmword [esp + 0xb0], xmm0
call fcn.0044f090
cmp byte [edi + 0xad8e1], 0
je 0x417a34
movdqu xmm0, xmmword [0x4d0c94]
push 1
lea eax, [esp + 0xb8]
movdqu xmmword [esp + 0xb8], xmm0
push eax
movdqu xmm0, xmmword [0x4d0c64]
lea eax, [esp + 0xac]
push eax
lea ecx, [edi + 0x20d4]
movdqu xmmword [esp + 0xb0], xmm0
call fcn.0044f090
mov ecx, dword [edi + 0x3b5b8]
cmp ecx, 0xffffffff
je 0x417ae7
xor eax, eax
mov dword [esp + 0xa4], 0
test ecx, ecx
mov dword [esp + 0xa8], 0
push 1
setne al
shl eax, 4
add eax, 0x49cd78
movdqu xmm1, xmmword [eax]
movdqa xmm0, xmm1
movd eax, xmm1
psrldq xmm0, 8
movd ecx, xmm0
movdqa xmm0, xmm1
movdqa xmmword [esp + 0xb8], xmm1
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], ecx
sub ecx, eax
mov dword [esp + 0xb0], ecx
psrldq xmm0, 0xc
movd ecx, xmm0
psrldq xmm1, 4
movd eax, xmm1
mov dword [esp + 0xc4], ecx
sub ecx, eax
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0xb4], ecx
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [edi + 0x20d4]
call fcn.0044f090
cmp byte [edi + 0x3b5cd], 0
je 0x417b46
mov esi, dword [0x4962fc]
lea eax, [esp + 0xa4]
push 0x33a
push 0x10a
push 0x23a
push 0xa
push eax
call esi
push 0x100
push 0x100
push 0
push 0
lea eax, [esp + 0xc4]
push eax
call esi
push 1
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xac]
push eax
lea ecx, [edi + 0x5fd4]
call fcn.0044f090
cmp byte [esp + 0x6f], 0
je 0x417b56
push 1
mov ecx, edi
call fcn.00417bf0
lea ecx, [edi + 0x2f0]
call fcn.00456bb0
lea ecx, [edi + 0x2f0]
call fcn.00456c00
test al, al
jne 0x417b89
cmp dword [edi + 0x364], 0x88760868
mov byte [edi + 0xad9c6], al
jne 0x417b89
mov byte [edi + 0xad9c6], 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x230], 0xffffffff
call fcn.0045fb00
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00466a0a
mov esp, ebp
pop ebp
ret 4