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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x40e46e
cmp dword [esi], 0xc0dedbad
jne 0x40e46e
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x118], 0
je 0x40d2f0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004057d0
push 0
push edi
push esi
call fcn.0040cc90
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x40d2e9
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x40d2b6
push eax
call fcn.0040ec30
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x40d2d9
push esi
push ebx
call fcn.0041cc70
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.00425cb0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0040bad0
add esp, 4
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x116]
xor ebp, ebp
mov byte [esp + 0x12], 0
mov byte [ecx + 0x116], 0
test al, al
je 0x40d311
push ecx
call fcn.0040ed00
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x40d330
cmp dword [ebx], ebp
jne 0x40d334
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp dword [ebx], ebp
je 0x40d364
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x40d364
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.0040d0d0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x40e27c
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x40d36c
jmp dword [ecx*4 + 0x40e47c]
push esi
call fcn.00424d90
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x40d36c.1
cmp dword [esi + 0x34], 2
je 0x40d3a0
push esi
mov dword [esi + 0x34], 2
call fcn.00424ce0
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.0042db10
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x84]
movups xmmword [eax], xmm0
jmp case.0x40d36c.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0042db10
mov ebx, dword [esp + 0x90]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x40d3fa
push 0xa
push 0
push eax
push esi
call fcn.0040b8c0
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x40d412
push 2
push 0
push eax
push esi
call fcn.0040b8c0
add esp, 0x10
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.00418bb0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x40d49c
cmp dword [esi + 0x34], 1
je 0x40d43d
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.00425c30
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x40d467
mov dword [ecx + 0x10], eax
jmp 0x40d46a
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x40d488
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x40d36c.1
mov dword [ebx + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x40d36c.1
cmp byte [esi + 0xd23], 0
je 0x40d4bb
push str.Transfer_was_pending__now_try_another
push esi
call fcn.0041d4e0
push dword [esi + 0x7c]
call fcn.0040ed00
add esp, 0xc
test edi, edi
jne case.0x40d36c.1
push 3
lea eax, [esp + 0x60]
push esi
push eax
call fcn.0042db10
add esp, 0xc
cmp byte [esp + 0x17], 0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x34]
je 0x40d4f8
cmp eax, 3
je case.0x40d36c.1
mov dword [esi + 0x34], 3
jmp case.0x40d36c.1
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x40d517
cmp eax, 6
je case.0x40d36c.1
mov dword [esi + 0x34], 6
jmp case.0x40d36c.1
cmp eax, 4
je case.0x40d36c.1
mov dword [esi + 0x34], 4
jmp case.0x40d36c.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x240], 0
je 0x40d540
mov ebx, dword [eax + 0x78]
jmp 0x40d551
cmp byte [eax + 0x249], 0
je 0x40d54e
mov ebx, dword [eax + 0x48]
jmp 0x40d551
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.00426450
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40d593
push ebx
push 0x48b450
xor edi, edi
mov dword [esi + 0x938], eax
push esi
mov byte [esi + 0x94c], 1
mov dword [esp + 0x24], edi
call fcn.0041d4e0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x40d5a7
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00427040
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x80]
push esi
push ebx
call fcn.0040edc0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40e3f0
cmp dword [esp + 0x1c], eax
je 0x40d60c
lea eax, [esp + 0x15]
push eax
push esi
call fcn.00426a90
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x40d5e5
mov dword [esi + 0x18], ebp
jmp 0x40d60c
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x40d600
cmp eax, 6
je 0x40d60c
mov dword [esi + 0x34], 6
jmp 0x40d60c
cmp eax, 4
je 0x40d60c
mov dword [esi + 0x34], 4
test edi, edi
je case.0x40d36c.1
mov byte [esp + 0x12], 1
jmp case.0x40d36c.1
lea eax, [esp + 0x13]
push eax
push esi
call fcn.00428700
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x244], 0
je 0x40d66d
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.0040cc90
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x40d36c.1
push esi
mov dword [esi + 0x34], 2
call fcn.00424ce0
jmp 0x40e224
test edi, edi
jne 0x40d614
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x40d36c.1
mov dword [esi + 0x34], 6
jmp case.0x40d36c.1
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.0041caf0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
je 0x40d6c6
test edi, edi
jne 0x40d6ce
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x40d36c.1
mov dword [esi + 0x34], 6
jmp case.0x40d36c.1
test edi, edi
je case.0x40d36c.1
push esi
call fcn.004057d0
push 1
push edi
push esi
call fcn.0040cc90
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x40d36c.1
mov ebx, dword [ebx]
test edi, edi
jne 0x40d6ce
cmp byte [ebx + 0x247], 0
je 0x40d708
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x40d36c.1
test edi, edi
jne 0x40d6ce
lea eax, [ebx + 0x24e]
mov byte [esp + 0x13], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.0041cfc0
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x40d746
cmp byte [eax], 0
je 0x40d74f
mov eax, dword [ebx + 0x260]
cmp dword [eax + 0x18], edi
jne 0x40d742
mov byte [esp + 0x13], 1
xor edi, edi
jmp 0x40d77b
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x40d77b
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40d76f
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x40d77b
jmp 0x40d774
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40d6ce
cmp byte [esp + 0x13], 0
jne 0x40d7f7
cmp ecx, 7
je 0x40d79d
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x40d36c.1
mov edx, dword [ebx]
test edx, edx
je 0x40d7e1
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x18], ebp
je 0x40d7e1
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x40d7ec
jmp 0x40d6ce
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], 0
je case.0x40d36c.1
cmp ecx, 8
je 0x40d803
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x40d36c.1
cmp dword [esi + 0x1b4], ebp
je 0x40d8b5
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x40d82a
mov eax, dword [edi]
test eax, eax
je 0x40d831
mov byte [eax + 0x117], 1
push dword [esi + 0xddc]
lea eax, [esi + 0xdaa]
push dword [esi + 0xdd8]
push eax
lea eax, [esi + 0xd7c]
push eax
push dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x40d871
mov byte [ecx + 0x117], 0
jmp 0x40d87e
mov eax, dword [edi]
test eax, eax
je 0x40d87e
mov byte [eax + 0x117], 0
test edx, edx
je 0x40d8b2
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.0041d410
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004057d0
push 0
push edi
push esi
call fcn.0040cc90
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x40d36c.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x69d], 1
mov edx, dword [esi + 0x18]
jne 0x40d8e7
push 0
push edx
call fcn.0041f9c0
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x40d8d9
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x40d36c.1
mov eax, dword [edx + 0x260]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x40d909
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40d9f2
cmp byte [esp + 0x14], 0
jne 0x40d9aa
cmp byte [esi + 0xd1e], 0
je 0x40d996
mov eax, dword [esi + 0xd30]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x40d93a
cmp al, 5
jne 0x40d996
push 0
push 0
push esi
call fcn.0040cc90
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov eax, ebx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x40d98e
mov dword [esi + 0x34], eax
test ebx, ebx
jne 0x40d976
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], ebp
jne 0x40d976
push eax
call fcn.0040ec30
add esp, 4
xor eax, eax
test ebx, ebx
sete al
mov eax, dword [eax*4 + 0x48b2c8]
test eax, eax
je 0x40d98e
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x40d36c.1
cmp ecx, 9
je 0x40d9a2
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x40d36c.1
cmp byte [edx + 0x24d], 0
je 0x40d9c7
cmp ecx, 0xa
je 0x40d9bf
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x40d36c.1
cmp ecx, 0xb
je 0x40d9ea
push 7
lea eax, [esp + 0x70]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x138], 0
call fcn.0042db10
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x40d36c.1
cmp edi, 0x37
jne 0x40dab0
cmp byte [edx + 0x247], 0
je 0x40dab0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.00425530
add esp, 8
test eax, eax
je 0x40da29
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004057d0
push 0
push edi
push esi
call fcn.0040cc90
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x40da9f
test eax, eax
je 0x40da5e
cmp eax, 0x37
je 0x40da5e
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x4a4004]
jmp 0x40e224
push 2
push ecx
push esi
call fcn.004247d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40da8b
cmp dword [esi + 0x34], 2
je 0x40da86
push esi
mov dword [esi + 0x34], 2
call fcn.00424ce0
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x4a4004]
jmp 0x40e224
push ecx
mov byte [esp + 0x16], 1
call dword [0x4a4004]
jmp 0x40e224
push esi
call fcn.004057d0
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x40d6e0
push 0
push edi
push esi
call fcn.0040cc90
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x40d36c.1
mov edx, dword [ebx]
test edx, edx
je 0x40db2e
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x1c], ebp
je 0x40db2e
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x18]
mov edi, eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x40db39
push esi
call fcn.004057d0
push 0
push edi
push esi
call fcn.0040cc90
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x40d36c.1
xor edi, edi
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x14], 0
je case.0x40d36c.1
mov dl, byte [edx + 0x24d]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x40d98e
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x48b2b8]
jmp 0x40d984
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40db9d
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40db12
test edx, edx
je case.0x40d36c.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x40d98e
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x48b290]
jmp 0x40d984
mov eax, dword [ebx]
cmp byte [eax + 0x256], 0
je 0x40dbf8
mov ebx, dword [esp + 0x80]
push ebx
call fcn.0040ed00
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x278], 0xffffffff
jne 0x40dc43
cmp dword [eax + 0x27c], 0xffffffff
jne 0x40dc43
cmp byte [esi + 0xd1e], 0
je 0x40dc2e
mov eax, dword [eax + 0x260]
test dword [eax + 0x4c], 0x1000
jne 0x40dc2e
mov eax, dword [esi + 0xd30]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x40dc4f
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x40d36c.1
cmp ecx, 0xc
je 0x40dc4f
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x40d36c.1
push esi
call fcn.0042de40
add esp, 4
test eax, eax
je 0x40dc71
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x40dc98
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0042f190
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x40dcce
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x40dcb7
cmp ebx, 0x5c
je 0x40dcb7
push 2
push ecx
call fcn.0041f9c0
add esp, 8
push esi
call fcn.004057d0
push 1
push ebx
push esi
call fcn.0040cc90
add esp, 0x10
jmp case.0x40d36c.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x40dd34
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.0042d750
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x40dd40
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x40dda6
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.0042d750
add esp, 0x38
mov ecx, eax
jmp 0x40ddae
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x40dde9
mov eax, ecx
or eax, edx
jne 0x40dde9
cmp dword [esi + 0x34], 0xc
je 0x40ddc9
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0042e1c0
add esp, 0x14
jmp case.0x40d36c.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x40de09
jg 0x40ddf7
cmp ebx, ecx
jb 0x40de09
push 0xb
push eax
push ebx
push esi
call fcn.0040b8c0
add esp, 0x10
jmp case.0x40d36c.1
push 0xb
push edx
push ecx
push esi
call fcn.0040b8c0
add esp, 0x10
jmp case.0x40d36c.1
mov edx, dword [esi + 0x208]
xor al, al
mov ecx, dword [esi + 0x20c]
xorps xmm0, xmm0
mov byte [esp + 0x16], al
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
movlpd qword [esp + 0x30], xmm0
je 0x40de8b
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.0042d750
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x40de97
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x40df01
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.0042d750
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x40df0d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x40e10a
mov eax, ecx
or eax, edx
jne 0x40e10a
push esi
call fcn.00425150
add esp, 4
mov edi, eax
cmp byte [esi + 0x12e], 0
mov dword [esp + 0x18], edi
jne 0x40df91
cmp edi, 0x38
je 0x40df91
mov ecx, edi
cmp edi, 0x5c
je 0x40df5b
mov al, byte [esp + 0x16]
mov byte [esp + 0x16], al
test ecx, ecx
je 0x40dfd3
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x40df7a
cmp edi, 0x5c
je 0x40df7a
push 2
push ecx
call fcn.0041f9c0
add esp, 8
push esi
call fcn.004057d0
push 1
push edi
push esi
call fcn.0040cc90
add esp, 0x10
jmp case.0x40d36c.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00425530
add esp, 8
mov ecx, edi
test eax, eax
jne 0x40dfb2
cmp dword [esp + 0x1c], ebp
setne al
mov byte [esp + 0x16], al
jmp 0x40dfc2
test edi, edi
jne 0x40dfbe
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x40df5b
mov al, byte [esp + 0x16]
test al, al
je 0x40df4f
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [esp + 0x18], edi
cmp byte [esi + 0x12e], 0
je 0x40e0e9
push esi
call fcn.004057d0
add esp, 4
cmp byte [esp + 0x16], 0
jne 0x40e09a
cmp dword [esi + 0x120], ebp
jne 0x40e076
cmp dword [esi + 0x11c], ebp
je 0x40e055
push dword [esp + 0x1c]
call dword [0x4a4004]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x11c], ebp
call fcn.004247d0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x4a4004]
add esp, 0x14
test edi, edi
je 0x40e05d
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.0040cc90
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x40d36c.1
cmp dword [esi + 0x34], 0xe
je 0x40d98e
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x40d36c.1
push dword [esp + 0x1c]
call dword [0x4a4004]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x120], ebp
jmp 0x40e09f
mov edi, 2
push 0
push 0
push esi
call fcn.0040cc90
push edi
push dword [esp + 0x2c]
push esi
call fcn.004247d0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40e0da
cmp dword [esi + 0x34], 2
je 0x40e0d7
push esi
mov dword [esi + 0x34], 2
call fcn.00424ce0
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x4a4004]
jmp 0x40e224
cmp byte [esi + 0xd17], 0
je case.0x40d36c.1
push 8
push 0
push 0
push esi
call fcn.0040b8c0
add esp, 0x10
jmp case.0x40d36c.1
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0042e1c0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x40e132
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x40e15a
jg 0x40e162
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x40e15e
push 0xb
push eax
push ebx
push esi
call fcn.0040b8c0
add esp, 0x10
jmp case.0x40d36c.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.0040b8c0
add esp, 0x10
jmp case.0x40d36c.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x40e1ab
cmp byte [eax + 0x256], 0
je 0x40e196
mov ebx, dword [esp + 0x80]
push ebx
call fcn.0040ed00
add esp, 4
push 0
push edi
push esi
call fcn.0040cc90
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd1e], 0
je 0x40e1cf
mov eax, dword [esi + 0xd30]
cmp byte [eax + 0x20], 7
je 0x40e1cf
cmp dword [esi + 0x34], 0
je case.0x40d36c.1
mov dword [esi + 0x34], 0
jmp case.0x40d36c.1
cmp dword [esi + 0x34], 0xf
je case.0x40d36c.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x40e1f4
push eax
call fcn.0040ec30
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x40e217
push esi
push ebx
call fcn.0041cc70
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.00425cb0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0040bad0
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x40e27c
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x80]
sub eax, 2
cmp eax, 5
ja 0x40e283
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x40e283
cmp byte [edx + 0x116], 0
lea ebx, [esi + 0x18]
jne 0x40e283
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.0040d0d0
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x34], 0xf
jge 0x40e3ce
test edi, edi
je 0x40e355
push edx
call fcn.0040ed00
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x40e2eb
cmp byte [esp + 0x12], 0
je 0x40e2fa
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.0041cc70
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2b4]
push eax
call fcn.00425cb0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.00415620
push dword [esp + 0x58]
push ebp
push esi
call fcn.00418cd0
add esp, 0x2c
jmp 0x40e2fa
cmp dword [esi + 0x34], 2
jne 0x40e2fa
push esi
call fcn.004057d0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x40e3c7
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x40e323
push eax
call fcn.0040ec30
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x40e346
push esi
push ebx
call fcn.0041cc70
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.00425cb0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0040bad0
jmp 0x40e3c4
cmp dword [ebx], 0
je 0x40e3ca
push esi
call fcn.0042de40
add esp, 4
test eax, eax
je 0x40e3ca
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.0041f9c0
mov ebx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ebx, 0xe
setge al
add eax, 0xe
cmp ebx, eax
je 0x40e3c7
mov dword [esi + 0x34], eax
cmp ebx, 0xe
jl 0x40e3ae
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x40e3ae
push eax
call fcn.0040ec30
add esp, 4
xor eax, eax
cmp ebx, 0xe
setge al
mov eax, dword [eax*4 + 0x48b2c8]
test eax, eax
je 0x40e3c7
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x40e3fa
mov ecx, dword [esp + 0x80]
cmp ebp, 0xffffffff
je 0x40d2f0
cmp byte [ecx + 0x116], 0
jne 0x40d2f0
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esi + 0x678]
test eax, eax
je 0x40e414
push edi
push esi
call eax
mov ebx, dword [esp + 0x88]
add esp, 8
jmp 0x40e43c
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push dword [ebx + 0x18]
push eax
call fcn.00425c30
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x40e449
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.00425c30
push esi
push ebx
call fcn.0040f1b0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x6c
ret