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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
push edi
xor edi, edi
mov byte [esp + 0x10], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 0
test esi, esi
je 0x418b35
cmp dword [esi + 0x11f0], 0xc0dedbad
jne 0x418b35
mov ebp, dword [esp + 0x7c]
nop dword [eax + eax]
mov al, byte [ebp + 0xe1]
xor ebx, ebx
mov byte [esp + 0x11], 0
mov byte [ebp + 0xe1], bl
test al, al
je 0x417a2b
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x417a2b
mov ebp, dword [eax]
cmp dword [ebp + 0x24], 2
je 0x4179fe
push ebp
mov dword [ebp + 0x24], 2
call fcn.0042a490
mov eax, dword [esp + 0x30]
add esp, 4
push 0
push eax
mov eax, dword [esp + 0x84]
add eax, 0x24
push eax
call fcn.0042be60
push 8
push 0
push 0
push ebp
call fcn.00415ed0
mov byte [ebp + 0x10f2], 1
add esp, 0x1c
mov ebp, dword [esp + 0x7c]
mov eax, dword [esi + 8]
mov ecx, eax
test eax, eax
je 0x417a46
mov edx, dword [esi + 0x24]
cmp edx, 2
jle 0x417a46
cmp edx, 0xf
jge 0x417a46
mov dword [eax], esi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x417bc0
mov ecx, dword [esi + 0x24]
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x417bc0
cmp ecx, 8
setle al
movzx eax, al
push eax
push dword [esp + 0x84]
push esi
call fcn.00425ba0
add esp, 0xc
test edx, edx
jg 0x417bc0
jl 0x417a89
test eax, eax
jae 0x417bc0
mov eax, dword [esi + 0x24]
movups xmm0, xmmword [esi + 0xc08]
cmp eax, 3
jne 0x417acc
mov ecx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
call fcn.0042bc10
push edx
push eax
push str.Resolving_timed_out_after__I64d_milliseconds
push esi
call fcn.00424730
add esp, 0x30
jmp 0x417b92
cmp eax, 4
jne 0x417b05
mov ecx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
call fcn.0042bc10
push edx
push eax
push str.Connection_timed_out_after__I64d_milliseconds
push esi
call fcn.00424730
add esp, 0x30
jmp 0x417b92
mov edx, dword [esi + 0x88]
mov eax, edx
mov ecx, dword [esi + 0x8c]
and eax, ecx
mov ebp, dword [esi + 0x98]
mov edi, dword [esi + 0x9c]
cmp eax, 0xffffffff
je 0x417b5e
push ecx
mov ecx, dword [esp + 0x84]
push edx
push edi
push ebp
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
call fcn.0042bc10
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.00424730
add esp, 0x20
jmp 0x417b92
mov ecx, dword [esp + 0x80]
push edi
push ebp
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
call fcn.0042bc10
add esp, 0x20
push edx
push eax
push str.Operation_timed_out_after__I64d_milliseconds_with__I64d_bytes_received
push esi
call fcn.00424730
add esp, 0x18
cmp dword [esi + 0x24], 8
jle 0x417baa
push 2
push dword [esi + 8]
call fcn.00425170
add esp, 8
mov byte [esp + 0x11], 1
push 1
mov edi, 0x1c
push edi
push esi
call fcn.00417470
add esp, 0xc
jmp case.0x417bcc.1
mov eax, dword [esi + 0x24]
cmp eax, 0x10
ja case.default.0x417bcc
jmp dword [eax*4 + 0x418b44]
push esi
call fcn.0042a520
mov edi, eax
add esp, 4
test edi, edi
jne case.0x417bcc.1
cmp dword [esi + 0x24], 2
je 0x417bfc
push esi
mov dword [esi + 0x24], 2
call fcn.0042a490
add esp, 4
push 1
lea eax, [esp + 0x3c]
push esi
push eax
call fcn.00432380
mov ebp, dword [esp + 0x8c]
add esp, 0xc
or ebx, 0xffffffff
movups xmm0, xmmword [eax]
movups xmmword [ebp], xmm0
jmp case.0x417bcc.1
cmp dword [esi + 0xd2c], ebx
jne 0x417c4d
mov eax, dword [esi + 0x91c]
inc eax
push eax
call dword [0x4d8074]
add esp, 4
mov dword [esi + 0xd2c], eax
test eax, eax
jne 0x417c4d
lea edi, [eax + 0x1b]
jmp case.0x417bcc.1
push 2
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.00432380
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x80]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x638]
test eax, eax
je 0x417c82
push 0xa
cdq
push edx
push eax
push esi
call fcn.00415ed0
add esp, 0x10
mov eax, dword [esi + 0x63c]
test eax, eax
je 0x417c9a
push 2
cdq
push edx
push eax
push esi
call fcn.00415ed0
add esp, 0x10
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
call fcn.00420a20
mov edi, eax
add esp, 0xc
cmp edi, 0x59
jne 0x417cdc
cmp dword [esi + 0x24], 1
je 0x417cc1
mov dword [esi + 0x24], 1
lea eax, [esi + 0xc]
push eax
push esi
push dword [ebp + 0x28]
lea eax, [ebp + 0x24]
push eax
call fcn.0042bdf0
add esp, 0x10
xor edi, edi
jmp case.0x417bcc.1
cmp byte [esi + 0x10f2], bl
je 0x417cfa
push str.Transfer_was_pending__now_try_another_n
push esi
call fcn.00424810
push dword [esi + 0x78]
call fcn.00418c90
add esp, 0xc
test edi, edi
jne case.0x417bcc.1
cmp byte [esp + 0x16], bl
je 0x417d1e
cmp dword [esi + 0x24], 3
je case.0x417bcc.1
mov dword [esi + 0x24], 3
jmp case.0x417bcc.1
or ebx, 0xffffffff
cmp byte [esp + 0x10], 0
je 0x417d44
cmp dword [esi + 0x24], 8
je case.0x417bcc.1
push esi
mov dword [esi + 0x24], 8
call fcn.004299c0
jmp 0x41896a
push dword [esi + 8]
call fcn.004299f0
mov ecx, dword [esi + 0x24]
add esp, 4
test al, al
je 0x417d6b
cmp ecx, 5
je case.0x417bcc.1
mov dword [esi + 0x24], 5
jmp case.0x417bcc.1
cmp ecx, 4
je case.0x417bcc.1
mov dword [esi + 0x24], 4
jmp case.0x417bcc.1
mov edi, dword [esi + 8]
mov dword [esp + 0x18], ebx
cmp byte [edi + 0x518], bl
je 0x417d97
mov eax, dword [edi + 0x34c]
jmp 0x417dad
cmp byte [edi + 0x520], bl
je 0x417da7
mov eax, dword [edi + 0x31c]
jmp 0x417dad
mov eax, dword [edi + 0x304]
push dword [edi + 0x364]
mov dword [esp + 0x24], eax
push eax
push edi
call fcn.0042c630
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x417df0
push dword [esp + 0x20]
mov dword [edi + 0x704], eax
push 0x4b4b98
mov byte [edi + 0x710], 1
xor edi, edi
push esi
call fcn.00424810
add esp, 0xc
cmp dword [esp + 0x18], ebx
jne 0x417e02
lea eax, [esp + 0x18]
push eax
push dword [esi + 8]
call fcn.0042cf70
add esp, 8
mov edi, eax
push esi
push ebp
call fcn.00418cf0
add esp, 8
cmp dword [esp + 0x18], ebx
je 0x417e2f
lea eax, [esp + 0x10]
push eax
push dword [esi + 8]
call fcn.0042cc50
mov edi, eax
add esp, 8
test edi, edi
je 0x417d1e
mov dword [esi + 8], ebx
test edi, edi
je case.0x417bcc.1
mov byte [esp + 0x11], 1
jmp case.0x417bcc.1
lea eax, [esp + 0x10]
push eax
push dword [esi + 8]
call fcn.0042f110
mov edi, eax
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0x51c], bl
je 0x417e8a
xor edi, edi
or ebx, 0xffffffff
push edi
push edi
push esi
call fcn.00417470
add esp, 0xc
cmp dword [esi + 0x24], 2
je case.0x417bcc.1
push esi
mov dword [esi + 0x24], 2
call fcn.0042a490
jmp 0x41896a
test edi, edi
jne 0x417e37
cmp dword [eax + 0x358], 2
jne 0x417ea3
cmp byte [eax + 0x516], bl
je case.0x417bcc.1
push eax
call fcn.004299a0
add esp, 4
test al, al
je case.0x417bcc.1
or ebx, 0xffffffff
cmp dword [esi + 0x24], 6
je case.0x417bcc.1
mov dword [esi + 0x24], 6
jmp case.0x417bcc.1
lea eax, [esp + 0x17]
push eax
push 0
push dword [esi + 8]
call fcn.00425400
add esp, 0xc
mov edi, eax
cmp byte [esp + 0x17], bl
je 0x417f45
test edi, edi
jne 0x417f4d
mov eax, dword [esi + 8]
cmp dword [eax + 0x358], 2
jne 0x417eff
cmp byte [eax + 0x516], bl
je 0x417f0c
push eax
call fcn.004299f0
add esp, 4
test al, al
je 0x417f22
cmp dword [esi + 0x24], 5
je case.0x417bcc.1
mov dword [esi + 0x24], 5
jmp case.0x417bcc.1
mov eax, dword [esi + 8]
xor ecx, ecx
or ebx, 0xffffffff
cmp byte [eax + 0x51b], cl
sete cl
add ecx, 5
push ecx
push esi
call fcn.00417440
add esp, 8
jmp case.0x417bcc.1
test edi, edi
je case.0x417bcc.1
push esi
call fcn.00407540
push 1
push edi
push esi
call fcn.00417470
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x417bcc.1
mov edi, dword [esi + 8]
xor cl, cl
xor ebp, ebp
mov byte [esp + 0x10], cl
cmp byte [edi + 0x514], bl
je 0x417fa3
cmp byte [edi + 0x527], bl
je 0x417fab
mov eax, dword [edi + 0x568]
movzx ecx, cl
cmp dword [eax + 0x18], ebx
mov eax, 1
cmove ecx, eax
xor edi, edi
mov byte [esp + 0x10], cl
jmp 0x418028
cmp byte [edi + 0x527], bl
jne 0x418022
push 0
push edi
call fcn.00429ad0
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x417fc0
mov edi, eax
jmp 0x418024
cmp dword [edi + 0x358], 2
jne 0x417fd5
cmp byte [edi + 0x516], bl
jne 0x417fd5
xor edi, edi
jmp 0x418028
cmp byte [edi + 0x51b], bl
je 0x417ff6
cmp byte [edi + 0x518], bl
je 0x417ff6
push edi
call fcn.004299f0
add esp, 4
test al, al
je 0x417ff6
xor edi, edi
jmp 0x418028
mov eax, dword [edi + 0x568]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x418016
lea ecx, [esp + 0x10]
push ecx
push edi
call eax
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x41801b
jmp 0x418022
mov byte [esp + 0x10], 1
mov byte [edi + 0x527], 1
mov edi, ebp
test ebp, ebp
jne 0x418062
cmp byte [esp + 0x10], bl
jne 0x418044
cmp dword [esi + 0x24], 7
je case.0x417bcc.1
mov dword [esi + 0x24], 7
jmp case.0x417bcc.1
cmp dword [esi + 0x24], 8
je 0x41805a
push esi
mov dword [esi + 0x24], 8
call fcn.004299c0
add esp, 4
or ebx, 0xffffffff
jmp case.0x417bcc.1
push esi
call fcn.00407540
push 1
push ebp
push esi
call fcn.00417470
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x417bcc.1
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
je 0x4180b5
mov eax, dword [ecx + 0x568]
cmp dword [eax + 0x18], ebx
je 0x4180b5
mov byte [esp + 0x10], bl
lea edx, [esp + 0x10]
mov eax, dword [ecx + 0x568]
push edx
push ecx
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x24]
mov edi, eax
mov al, byte [esp + 0x18]
add esp, 8
jmp 0x4180c0
mov al, 1
mov ecx, 7
mov byte [esp + 0x10], al
test edi, edi
jne 0x417f4d
test al, al
je case.0x417bcc.1
cmp ecx, 8
jmp 0x418048
cmp byte [esi + 0xb45], bl
je 0x418104
push 0
push dword [esi + 8]
call fcn.00425170
add esp, 8
cmp dword [esi + 0x24], 0xe
je 0x4180fa
mov dword [esi + 0x24], 0xe
xor edi, edi
or ebx, 0xffffffff
jmp case.0x417bcc.1
mov ebp, dword [esi + 8]
xor edi, edi
mov eax, dword [ebp + 0x568]
mov eax, dword [eax + 8]
test eax, eax
je 0x41814c
lea ecx, [esp + 0x12]
push ecx
push ebp
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x4181e1
cmp byte [esp + 0x12], bl
je 0x41814c
mov eax, dword [ebp]
push 6
mov byte [eax + 0x589], bl
lea eax, [esp + 0x5c]
push dword [ebp]
push eax
call fcn.00432380
add esp, 0xc
test edi, edi
jne 0x4181e1
cmp byte [esp + 0x12], bl
jne 0x4181a8
cmp byte [esi + 0x10eb], bl
je 0x418194
mov eax, dword [esi + 0x10f8]
cmp eax, 7
je 0x418172
cmp eax, 5
jne 0x418194
push 0
push 0
push esi
call fcn.00417470
add esp, 0xc
cmp dword [esi + 0x24], 0xe
je 0x41818c
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x417bcc.1
cmp dword [esi + 0x24], 9
je 0x4181a1
mov dword [esi + 0x24], 9
xor ebx, ebx
jmp case.0x417bcc.1
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
cmp byte [eax + 0x526], bl
je 0x4181c9
cmp ecx, 0xa
je 0x4181c2
mov dword [esi + 0x24], 0xa
xor ebx, ebx
jmp case.0x417bcc.1
cmp ecx, 0xb
je 0x41805a
mov dword [esi + 0x24], 0xb
or ebx, 0xffffffff
jmp case.0x417bcc.1
cmp edi, 0x37
jne 0x418295
mov eax, dword [esi + 8]
cmp byte [eax + 0x51e], bl
je 0x418295
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push eax
call fcn.0042abd0
add esp, 8
test eax, eax
je 0x418216
mov edi, eax
mov byte [esp + 0x11], 1
push esi
call fcn.00407540
push 0
push edi
push esi
call fcn.00417470
mov ecx, dword [esp + 0x28]
add esp, 0x10
test ecx, ecx
je 0x418284
test eax, eax
je 0x418247
cmp eax, 0x37
je 0x418247
push ecx
mov edi, eax
call dword [0x4d8078]
jmp 0x41896a
push 2
push ecx
push esi
call fcn.0042a1a0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x418274
cmp dword [esi + 0x24], 2
je 0x41826f
push esi
mov dword [esi + 0x24], 2
call fcn.0042a490
add esp, 4
or ebx, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x4d8078]
jmp 0x41896a
push ecx
mov byte [esp + 0x15], 1
call dword [0x4d8078]
jmp 0x41896a
push esi
call fcn.00407540
add esp, 4
cmp dword [esi + 8], ebx
je 0x4182af
push 0
push edi
push esi
call fcn.00417470
add esp, 0xc
mov byte [esp + 0x11], 1
jmp case.0x417bcc.1
mov ecx, dword [esi + 8]
xor edi, edi
test ecx, ecx
je 0x4182e9
mov eax, dword [ecx + 0x568]
cmp dword [eax + 0x1c], ebx
je 0x4182e9
mov byte [esp + 0x12], bl
lea edx, [esp + 0x12]
mov eax, dword [ecx + 0x568]
push edx
push ecx
mov eax, dword [eax + 0x1c]
call eax
add esp, 8
mov edi, eax
jmp 0x4182ee
mov byte [esp + 0x12], 1
test edi, edi
jne 0x41831f
cmp byte [esp + 0x12], bl
je case.0x417bcc.1
mov eax, dword [esi + 8]
xor ecx, ecx
cmp byte [eax + 0x526], cl
sete cl
add ecx, 0xa
push ecx
push esi
call fcn.00417440
add esp, 8
or ebx, 0xffffffff
jmp case.0x417bcc.1
push esi
call fcn.00407540
push 0
push edi
push esi
call fcn.00417470
add esp, 0x10
mov byte [esp + 0x11], 1
jmp case.0x417bcc.1
mov ebp, dword [esi + 8]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
xor edi, edi
mov eax, dword [ebp + 0x568]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41838c
lea ecx, [esp + 0x1c]
push ecx
push ebp
call eax
mov ecx, dword [esp + 0x24]
mov edi, eax
add esp, 8
test edi, edi
jne 0x41831f
cmp ecx, 1
jne 0x41838c
mov eax, dword [ebp]
push 6
mov byte [eax + 0x589], bl
lea eax, [esp + 0x6c]
push dword [ebp]
push eax
call fcn.00432380
mov ecx, dword [esp + 0x28]
add esp, 0xc
test edi, edi
jne 0x41831f
test ecx, ecx
je 0x41888f
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
push eax
push esi
call fcn.00417440
add esp, 8
or ebx, 0xffffffff
jmp case.0x417bcc.1
mov eax, dword [esi + 8]
mov ecx, 0xb
cmp byte [eax + 0x531], bl
je 0x4183d8
push ebp
call fcn.00418c90
mov eax, dword [esi + 8]
add esp, 4
mov ecx, dword [esi + 0x24]
cmp dword [eax + 0x58c], 0xffffffff
jne 0x41841f
cmp dword [eax + 0x590], 0xffffffff
jne 0x41841f
cmp byte [esi + 0x10eb], bl
je 0x41840b
mov eax, dword [eax + 0x568]
test dword [eax + 0x48], 0x1000
jne 0x41840b
mov dword [esi + 0x10f8], 7
cmp ecx, 0xe
je 0x41842b
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x417bcc.1
cmp ecx, 0xc
je 0x41842b
mov dword [esi + 0x24], 0xc
or ebx, 0xffffffff
jmp case.0x417bcc.1
push dword [esi + 8]
call fcn.004324e0
add esp, 4
test eax, eax
je 0x41844c
mov edi, 0x2a
jmp case.0x417bcc.1
mov ebp, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ebp]
push esi
movups xmmword [eax], xmm0
call fcn.004338a0
mov edi, eax
add esp, 0x14
test edi, edi
jne case.0x417bcc.1
mov edx, dword [esi + 0x66c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x668]
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x4184d6
jg 0x418491
test ecx, ecx
je 0x4184d6
movups xmm0, xmmword [ebp]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc38]
push edx
push ecx
push dword [esi + 0xc4c]
movups xmmword [eax], xmm0
push dword [esi + 0xc48]
push dword [esi + 0xb9c]
push dword [esi + 0xb98]
call fcn.00431fc0
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebp, eax
jmp 0x4184e2
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x24], xmm0
test edx, edx
jl 0x41854e
jg 0x418501
test ecx, ecx
je 0x41854e
mov edx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x674]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc50]
push edx
push ecx
push dword [esi + 0xc64]
movups xmmword [eax], xmm0
push dword [esi + 0xc60]
push dword [esi + 0xb94]
push dword [esi + 0xb90]
call fcn.00431fc0
add esp, 0x38
mov ecx, eax
jmp 0x418556
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebp
or eax, dword [esp + 0x20]
jne 0x418591
mov eax, ecx
or eax, edx
jne 0x418591
cmp dword [esi + 0x24], 0xc
je 0x418571
mov dword [esi + 0x24], 0xc
mov ecx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00432680
add esp, 0x14
jmp case.0x417bcc.1
mov eax, dword [esp + 0x20]
cmp eax, edx
jl 0x4185b1
jg 0x41859f
cmp ebp, ecx
jb 0x4185b1
push 0xb
push eax
push ebp
push esi
call fcn.00415ed0
add esp, 0x10
jmp case.0x417bcc.1
push 0xb
push edx
push ecx
push esi
call fcn.00415ed0
add esp, 0x10
jmp case.0x417bcc.1
mov edx, dword [esi + 0x66c]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x668]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], bl
movlpd qword [esp + 0x2c], xmm0
test edx, edx
jl 0x41863a
jg 0x4185ee
test ecx, ecx
je 0x41863a
mov ebp, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc38]
push edx
push ecx
push dword [esi + 0xc4c]
movups xmmword [eax], xmm0
push dword [esi + 0xc48]
push dword [esi + 0xb9c]
push dword [esi + 0xb98]
call fcn.00431fc0
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebp, eax
jmp 0x418646
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
mov edx, dword [esi + 0x674]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x670]
movlpd qword [esp + 0x24], xmm0
test edx, edx
jl 0x4186b6
jg 0x418665
test ecx, ecx
je 0x4186b6
mov edx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x674]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0xc50]
push edx
push ecx
push dword [esi + 0xc64]
movups xmmword [eax], xmm0
push dword [esi + 0xc60]
push dword [esi + 0xb94]
push dword [esi + 0xb90]
call fcn.00431fc0
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x4186c2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebp
mov dword [esp + 0x2c], edx
or eax, dword [esp + 0x20]
jne 0x418896
mov eax, ecx
or eax, edx
jne 0x418896
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x17]
push eax
push esi
push dword [esi + 8]
call fcn.0042a8b0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], bl
jne 0x41873a
cmp edi, 0x38
je 0x41873a
cmp edi, 0x5c
jne 0x41876c
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 0x568]
test byte [eax + 0x48], 2
jne 0x418723
cmp edi, 0x5c
je 0x418723
push 2
push ecx
call fcn.00425170
add esp, 8
push esi
call fcn.00407540
push 1
push edi
push esi
call fcn.00417470
add esp, 0x10
jmp case.0x417bcc.1
lea eax, [esp + 0x18]
push eax
push dword [esi + 8]
call fcn.0042abd0
add esp, 8
test eax, eax
jne 0x418766
cmp dword [esp + 0x18], ebx
setne al
mov byte [esp + 0x14], al
test al, al
je 0x41876c
xor edi, edi
mov byte [esp + 0x13], 1
jmp 0x41877a
test edi, edi
jne 0x418704
mov edi, eax
test edi, edi
jne 0x418704
cmp byte [esp + 0x13], bl
je 0x418876
push esi
call fcn.00407540
add esp, 4
cmp byte [esp + 0x14], bl
jne 0x41882b
cmp dword [esi + 0x12c], ebx
jne 0x418807
cmp dword [esi + 0x128], ebx
je 0x4187ee
push dword [esp + 0x18]
call dword [0x4d8078]
mov eax, dword [esi + 0x128]
push 1
push eax
push esi
mov dword [esp + 0x28], eax
mov dword [esi + 0x128], ebx
call fcn.0042a1a0
push dword [esp + 0x28]
mov edi, eax
call dword [0x4d8078]
add esp, 0x14
test edi, edi
je 0x4187ee
push 1
push edi
push esi
mov byte [esp + 0x1d], 1
call fcn.00417470
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x417bcc.1
cmp dword [esi + 0x24], 0xe
je 0x41818c
mov dword [esi + 0x24], 0xe
or ebx, 0xffffffff
jmp case.0x417bcc.1
push dword [esp + 0x18]
call dword [0x4d8078]
mov eax, dword [esi + 0x12c]
add esp, 4
mov dword [esp + 0x18], eax
mov edi, 3
mov dword [esi + 0x12c], ebx
jmp 0x418830
mov edi, 2
push 0
push 0
push esi
call fcn.00417470
push edi
push dword [esp + 0x28]
push esi
call fcn.0042a1a0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x418867
cmp dword [esi + 0x24], 2
je 0x418864
push esi
mov dword [esi + 0x24], 2
call fcn.0042a490
add esp, 4
or ebx, 0xffffffff
push dword [esp + 0x18]
call dword [0x4d8078]
jmp 0x41896a
cmp byte [esp + 0x15], bl
je case.0x417bcc.1
push 8
push 0
push 0
push esi
call fcn.00415ed0
add esp, 0x10
xor ebx, ebx
jmp case.0x417bcc.1
mov ecx, dword [esp + 0x80]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00432680
add esp, 0x14
cmp dword [esi + 0x24], 0xd
je 0x4188be
mov dword [esi + 0x24], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
cmp eax, edx
jl 0x4188e6
jg 0x4188ee
mov ecx, dword [esp + 0x24]
cmp ebp, ecx
jb 0x4188ea
push 0xb
push eax
push ebp
push esi
call fcn.00415ed0
add esp, 0x10
jmp case.0x417bcc.1
mov ecx, dword [esp + 0x24]
mov ebp, ecx
mov eax, edx
push 0xb
push eax
push ebp
push esi
call fcn.00415ed0
add esp, 0x10
jmp case.0x417bcc.1
mov eax, dword [esi + 8]
or ebx, 0xffffffff
test eax, eax
je 0x418930
cmp byte [eax + 0x531], 0
je 0x418919
push ebp
call fcn.00418c90
add esp, 4
push 0
push edi
push esi
call fcn.00417470
test edi, edi
push esi
cmove edi, eax
call fcn.00415ea0
add esp, 0x10
cmp byte [esi + 0x10eb], 0
je 0x418951
cmp dword [esi + 0x10f8], 7
je 0x418951
cmp dword [esi + 0x24], 0
je case.0x417bcc.1
mov dword [esi + 0x24], 0
jmp case.0x417bcc.1
cmp dword [esi + 0x24], 0xf
je case.0x417bcc.1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
push esi
dec dword [eax + 0x10]
call fcn.00415e30
add esp, 4
mov eax, dword [esi + 0x24]
cmp eax, 0xf
jge 0x418aa4
test edi, edi
je 0x418a42
mov ecx, dword [esp + 0x7c]
add ecx, 0x24
mov dword [esp + 0x2c], ecx
mov ebp, dword [ecx]
test ebp, ebp
je 0x4189d1
mov ebx, dword [ebp]
cmp dword [ebx + 0x24], 2
je 0x4189af
push ebx
mov dword [ebx + 0x24], 2
call fcn.0042a490
mov ecx, dword [esp + 0x30]
add esp, 4
push 0
push ebp
push ecx
call fcn.0042be60
push 8
push 0
push 0
push ebx
call fcn.00415ed0
mov byte [ebx + 0x10f2], 1
add esp, 0x1c
mov eax, dword [esi + 0x24]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x418a19
cmp byte [esp + 0x11], 0
je 0x418a27
push 0
lea eax, [esi + 0x18]
cmp edi, 0x1c
push eax
lea eax, [ebx + 0x5c8]
sete byte [esp + 0x3c]
push eax
call fcn.0042be60
push 1
push ebx
push esi
mov dword [esi + 8], 0
call fcn.0041e0d0
push dword [esp + 0x4c]
push ebx
push esi
call fcn.00420cd0
add esp, 0x24
jmp 0x418a27
cmp eax, 2
jne 0x418a27
push esi
call fcn.00407540
add esp, 4
cmp dword [esi + 0x24], 0xf
je 0x418aa1
mov eax, dword [esi + 0x78]
mov dword [esi + 0x24], 0xf
push esi
dec dword [eax + 0x10]
call fcn.00415e30
jmp 0x418a9e
mov eax, dword [esi + 8]
test eax, eax
je 0x418aa4
push eax
call fcn.004324e0
add esp, 4
test eax, eax
je 0x418aa4
push 2
push dword [esi + 8]
mov edi, 0x2a
call fcn.00425170
mov ecx, dword [esi + 0x24]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x418aa1
mov dword [esi + 0x24], eax
cmp ecx, 0xe
jl 0x418a88
mov eax, dword [esi + 0x78]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x4b4a20]
test eax, eax
je 0x418aa1
push esi
call eax
add esp, 4
or ebx, 0xffffffff
cmp dword [esi + 0x24], 0xf
jne 0x418af4
mov eax, dword [esi + 0xb0c]
test eax, eax
je 0x418abd
push edi
push esi
call eax
add esp, 8
jmp 0x418ae7
lea eax, [esi + 0x2c]
mov dword [eax + 0xc], 1
push eax
push eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x84]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.0042bdf0
add esp, 0x10
xor ebx, ebx
cmp dword [esi + 0x24], 0x10
je 0x418af4
mov dword [esi + 0x24], 0x10
mov ebp, dword [esp + 0x7c]
cmp ebx, 0xffffffff
je 0x4179c0
cmp byte [ebp + 0xe1], 0
jne 0x4179c0
mov dword [esi + 0x28], edi
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov dword [esi + 0x28], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x68
ret