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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
xor edi, edi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x40f5f9
cmp dword [esi], 0xc0dedbad
jne 0x40f5f9
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0x10c], 0
je 0x40e480
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004128f0
push 0
push edi
push esi
call fcn.0040dea0
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x40e472
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x40e462
push esi
push ebx
call fcn.0041cc80
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x23c]
push eax
call fcn.00425250
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0040d0b0
add esp, 4
mov ecx, dword [esp + 0x70]
nop word [eax + eax]
mov al, byte [ecx + 0x10a]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0x10a], 0
test al, al
je 0x40e4a1
push ecx
call fcn.0040fe50
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x40e4c0
cmp dword [ebx], ebp
jne 0x40e4c4
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx], ebp
je 0x40e4f4
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x40e4f4
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.0040e270
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x40f436
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x40e4fc
jmp dword [ecx*4 + 0x40f608]
push esi
call fcn.004239c0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x40e4fc.1
cmp dword [esi + 0x34], 2
je 0x40e530
push esi
mov dword [esi + 0x34], 2
call fcn.00423910
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.0042d780
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
jmp case.0x40e4fc.1
cmp dword [esi + 0x8c0], ebp
jne 0x40e583
mov eax, dword [esi + 0x4b0]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x8c0], eax
test eax, eax
jne 0x40e583
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x40e4fc.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0042d780
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x40e5b5
push 0xa
push 0
push eax
push esi
call fcn.0040cea0
add esp, 0x10
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x40e5cd
push 2
push 0
push eax
push esi
call fcn.0040cea0
add esp, 0x10
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.00418c50
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x40e654
cmp dword [esi + 0x34], 1
je 0x40e5f8
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x70]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.004251d0
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x40e61f
mov dword [ecx + 0x10], eax
jmp 0x40e622
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x40e640
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.0x40e4fc.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.0x40e4fc.1
cmp byte [esi + 0xd7c], 0
je 0x40e673
push str.Transfer_was_pending__now_try_another
push esi
call fcn.0041d3f0
push dword [esi + 0x7c]
call fcn.0040fe50
add esp, 0xc
test edi, edi
jne case.0x40e4fc.1
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x34]
je 0x40e69a
cmp eax, 3
je case.0x40e4fc.1
mov dword [esi + 0x34], 3
jmp case.0x40e4fc.1
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x40e6b9
cmp eax, 6
je case.0x40e4fc.1
mov dword [esi + 0x34], 6
jmp case.0x40e4fc.1
cmp eax, 4
je case.0x40e4fc.1
mov dword [esi + 0x34], 4
jmp case.0x40e4fc.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x1c8], 0
je 0x40e6e5
mov ebx, dword [eax + 0x98]
jmp 0x40e6f6
cmp byte [eax + 0x1d1], 0
je 0x40e6f3
mov ebx, dword [eax + 0x68]
jmp 0x40e6f6
mov ebx, dword [eax + 0x50]
push dword [eax + 0x440]
push ebx
push esi
call fcn.004259a0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40e738
push ebx
push 0x4bf42c
xor edi, edi
mov dword [esi + 0x994], eax
push esi
mov byte [esi + 0x9a8], 1
mov dword [esp + 0x24], edi
call fcn.0041d3f0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x40e74c
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00426580
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x70]
push esi
push ebx
call fcn.00410090
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40f581
cmp dword [esp + 0x1c], eax
je 0x40e7ae
lea eax, [esp + 0x13]
push eax
push esi
call fcn.00425fe0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x40e787
mov dword [esi + 0x18], ebp
jmp 0x40e7ae
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x40e7a2
cmp eax, 6
je 0x40e7ae
mov dword [esi + 0x34], 6
jmp 0x40e7ae
cmp eax, 4
je 0x40e7ae
mov dword [esi + 0x34], 4
test edi, edi
je case.0x40e4fc.1
mov byte [esp + 0x10], 1
jmp case.0x40e4fc.1
lea eax, [esp + 0x11]
push eax
push esi
call fcn.004279e0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1cc], 0
je 0x40e80f
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.0040dea0
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x40e4fc.1
push esi
mov dword [esi + 0x34], 2
call fcn.00423910
jmp 0x40f3e1
test edi, edi
jne 0x40e7b6
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x40e4fc.1
mov dword [esi + 0x34], 6
jmp case.0x40e4fc.1
lea eax, [esp + 0x13]
push eax
push 0
push 0
push esi
call fcn.0041cb00
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
je 0x40e868
test edi, edi
jne 0x40e870
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x40e4fc.1
mov dword [esi + 0x34], 6
jmp case.0x40e4fc.1
test edi, edi
je case.0x40e4fc.1
push esi
call fcn.004128f0
push 1
push edi
push esi
call fcn.0040dea0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x40e4fc.1
cmp byte [esi + 0xd83], 0
je 0x40e8a7
push esi
call fcn.0040fec0
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov ebx, dword [esi + 0x18]
test edi, edi
jne 0x40e870
cmp byte [ebx + 0x1cf], 0
je 0x40e8cb
cmp ecx, 8
je 0x40e8c3
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x40e4fc.1
test edi, edi
jne 0x40e870
lea eax, [ebx + 0x1d6]
mov byte [esp + 0x11], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.0041d030
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x40e909
cmp byte [eax], 0
je 0x40e912
mov eax, dword [ebx + 0x1e8]
cmp dword [eax + 0x18], edi
jne 0x40e905
mov byte [esp + 0x11], 1
xor edi, edi
jmp 0x40e93e
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x40e93e
mov eax, dword [ebx + 0x1e8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40e932
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x40e93e
jmp 0x40e937
mov byte [esp + 0x11], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40e870
cmp byte [esp + 0x11], 0
jne 0x40e8b7
cmp ecx, 7
je 0x40e964
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x40e4fc.1
mov edx, dword [ebx]
test edx, edx
je 0x40e9a8
mov eax, dword [edx + 0x1e8]
cmp dword [eax + 0x18], ebp
je 0x40e9a8
mov byte [esp + 0x11], 0
lea ecx, [esp + 0x11]
mov eax, dword [edx + 0x1e8]
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 0x40e9b3
jmp 0x40e870
xor edi, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x11], 0
je case.0x40e4fc.1
jmp 0x40e8b7
cmp dword [esi + 0x1c4], ebp
je 0x40ea6d
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x40e9e2
mov eax, dword [edi]
test eax, eax
je 0x40e9e9
mov byte [eax + 0x10b], 1
push dword [esi + 0xe3c]
lea eax, [esi + 0xe0c]
push dword [esi + 0xe04]
push eax
lea eax, [esi + 0xdd4]
push eax
push dword [esi + 0x1c8]
mov eax, dword [esi + 0x1c4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x40ea29
mov byte [ecx + 0x10b], 0
jmp 0x40ea36
mov eax, dword [edi]
test eax, eax
je 0x40ea36
mov byte [eax + 0x10b], 0
test edx, edx
je 0x40ea6a
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.0041d320
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004128f0
push 0
push edi
push esi
call fcn.0040dea0
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x40e4fc.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x6b6], 1
mov edx, dword [esi + 0x18]
jne 0x40ea9f
push 0
push edx
call fcn.0041e4e0
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x40ea91
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x40e4fc.1
mov eax, dword [edx + 0x1e8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x40eac1
lea ecx, [esp + 0x12]
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 0x40eba1
cmp byte [esp + 0x12], 0
jne 0x40eb51
cmp byte [esi + 0xd76], 0
je 0x40eb39
mov eax, dword [esi + 0xd88]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x40eaee
cmp al, 5
jne 0x40eb39
push 0
push 0
push esi
call fcn.0040dea0
mov ecx, dword [esi + 0x18]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x40eb31
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x40eb19
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x4bf220]
test eax, eax
je 0x40eb31
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x40e4fc.1
cmp ecx, 9
je 0x40e8c3
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x40e4fc.1
cmp byte [edx + 0x1d5], 0
je 0x40eb72
cmp ecx, 0xa
je 0x40e8c3
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x40e4fc.1
cmp ecx, 0xb
je 0x40e8c3
push 6
lea eax, [esp + 0x60]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x147], 0
call fcn.0042d780
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x40e4fc.1
cmp edi, 0x37
jne 0x40ec5f
cmp byte [edx + 0x1cf], 0
je 0x40ec5f
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.00424140
add esp, 8
test eax, eax
je 0x40ebd8
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004128f0
push 0
push edi
push esi
call fcn.0040dea0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x40ec4e
test eax, eax
je 0x40ec0d
cmp eax, 0x37
je 0x40ec0d
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x4e8004]
jmp 0x40f3e1
push 2
push ecx
push esi
call fcn.004233e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40ec3a
cmp dword [esi + 0x34], 2
je 0x40ec35
push esi
mov dword [esi + 0x34], 2
call fcn.00423910
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x4e8004]
jmp 0x40f3e1
push ecx
mov byte [esp + 0x14], 1
call dword [0x4e8004]
jmp 0x40f3e1
push esi
call fcn.004128f0
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x40e882
push 0
push edi
push esi
call fcn.0040dea0
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x40e4fc.1
mov edx, dword [ebx]
test edx, edx
je 0x40ecdd
mov eax, dword [edx + 0x1e8]
cmp dword [eax + 0x1c], ebp
je 0x40ecdd
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x1e8]
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 0x40ece8
push esi
call fcn.004128f0
push 0
push edi
push esi
call fcn.0040dea0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x40e4fc.1
xor edi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x40e4fc.1
mov dl, byte [edx + 0x1d5]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x40e8c3
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x4bf210]
test eax, eax
je 0x40e8c3
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x40e4fc.1
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x1e8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40ed5d
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 0x40ecc1
test edx, edx
je case.0x40e4fc.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x40e8c3
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x4bf1e8]
test eax, eax
je 0x40e8c3
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x40e4fc.1
mov eax, dword [ebx]
cmp byte [eax + 0x1df], 0
je 0x40edc6
mov ebx, dword [esp + 0x70]
push ebx
call fcn.0040fe50
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x200], 0xffffffff
jne 0x40ee11
cmp dword [eax + 0x204], 0xffffffff
jne 0x40ee11
cmp byte [esi + 0xd76], 0
je 0x40edfc
mov eax, dword [eax + 0x1e8]
test dword [eax + 0x4c], 0x1000
jne 0x40edfc
mov eax, dword [esi + 0xd88]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x40ee1d
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x40e4fc.1
cmp ecx, 0xc
je 0x40ee1d
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x40e4fc.1
push esi
call fcn.0042da40
add esp, 4
test eax, eax
je 0x40ee3f
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x40ee63
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0042ed90
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x40ee99
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1e8]
test byte [eax + 0x4c], 2
jne 0x40ee82
cmp ebx, 0x5c
je 0x40ee82
push 2
push ecx
call fcn.0041e4e0
add esp, 8
push esi
call fcn.004128f0
push 1
push ebx
push esi
call fcn.0040dea0
add esp, 0x10
jmp case.0x40e4fc.1
mov edx, dword [esi + 0x220]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x224]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x40eefc
mov ebx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c0]
push ecx
push edx
push dword [esi + 0x7d4]
movups xmmword [eax], xmm0
push dword [esi + 0x7d0]
push dword [esi + 0x724]
push dword [esi + 0x720]
call fcn.0042d380
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x40ef08
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x228]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x22c]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x40ef6b
mov edx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x228]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d8]
push ecx
push edx
push dword [esi + 0x7ec]
movups xmmword [eax], xmm0
push dword [esi + 0x7e8]
push dword [esi + 0x71c]
push dword [esi + 0x718]
call fcn.0042d380
add esp, 0x38
mov ecx, eax
jmp 0x40ef73
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x40efab
mov eax, ecx
or eax, edx
jne 0x40efab
cmp dword [esi + 0x34], 0xc
je 0x40ef8e
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0042dd90
add esp, 0x14
jmp case.0x40e4fc.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x40efcb
jg 0x40efb9
cmp ebx, ecx
jb 0x40efcb
push 0xb
push eax
push ebx
push esi
call fcn.0040cea0
add esp, 0x10
jmp case.0x40e4fc.1
push 0xb
push edx
push ecx
push esi
call fcn.0040cea0
add esp, 0x10
jmp case.0x40e4fc.1
mov edx, dword [esi + 0x220]
xor al, al
mov ecx, dword [esi + 0x224]
xorps xmm0, xmm0
mov byte [esp + 0x14], al
mov byte [esp + 0x16], al
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
movlpd qword [esp + 0x30], xmm0
je 0x40f04e
mov ebx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c0]
push ecx
push edx
push dword [esi + 0x7d4]
movups xmmword [eax], xmm0
push dword [esi + 0x7d0]
push dword [esi + 0x724]
push dword [esi + 0x720]
call fcn.0042d380
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x40f05a
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x228]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x22c]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x40f0c1
mov edx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x228]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d8]
push ecx
push edx
push dword [esi + 0x7ec]
movups xmmword [eax], xmm0
push dword [esi + 0x7e8]
push dword [esi + 0x71c]
push dword [esi + 0x718]
call fcn.0042d380
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x40f0cd
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 0x40f2df
mov eax, ecx
or eax, edx
jne 0x40f2df
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x19]
push eax
lea ebx, [esi + 0x18]
push esi
push dword [ebx]
call fcn.00423d60
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x15]
mov dword [esp + 0x18], edi
test al, al
jne 0x40f15a
cmp edi, 0x38
je 0x40f15a
mov edx, edi
cmp edi, 0x5c
je 0x40f125
mov cl, byte [esp + 0x14]
mov byte [esp + 0x14], cl
test edx, edx
je 0x40f1a2
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x1e8]
test byte [eax + 0x4c], 2
jne 0x40f143
cmp edi, 0x5c
je 0x40f143
push 2
push ecx
call fcn.0041e4e0
add esp, 8
push esi
call fcn.004128f0
push 1
push edi
push esi
call fcn.0040dea0
add esp, 0x10
jmp case.0x40e4fc.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00424140
add esp, 8
mov edx, edi
test eax, eax
jne 0x40f17b
cmp dword [esp + 0x1c], ebp
setne cl
mov byte [esp + 0x14], cl
jmp 0x40f18e
test edi, edi
jne 0x40f18a
mov edi, eax
lea ebx, [esi + 0x18]
mov dword [esp + 0x18], edi
jmp 0x40f125
mov cl, byte [esp + 0x14]
test cl, cl
je 0x40f244
xor edi, edi
mov al, 1
mov dword [esp + 0x18], edi
mov byte [esp + 0x15], al
test al, al
je 0x40f2c0
push esi
call fcn.004128f0
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x40f271
cmp dword [esi + 0x118], ebp
jne 0x40f24d
cmp dword [esi + 0x114], ebp
je 0x40f223
push dword [esp + 0x1c]
call dword [0x4e8004]
mov eax, dword [esi + 0x114]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x114], ebp
call fcn.004233e0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x4e8004]
add esp, 0x14
test edi, edi
je 0x40f22b
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.0040dea0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x40e4fc.1
cmp dword [esi + 0x34], 0xe
je 0x40e8c3
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x40e4fc.1
mov al, byte [esp + 0x15]
jmp 0x40f11d
push dword [esp + 0x1c]
call dword [0x4e8004]
mov eax, dword [esi + 0x118]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x118], ebp
jmp 0x40f276
mov edi, 2
push 0
push 0
push esi
call fcn.0040dea0
push edi
push dword [esp + 0x2c]
push esi
call fcn.004233e0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x40f2b1
cmp dword [esi + 0x34], 2
je 0x40f2ae
push esi
mov dword [esi + 0x34], 2
call fcn.00423910
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x4e8004]
jmp 0x40f3e1
cmp byte [esp + 0x16], 0
je case.0x40e4fc.1
push 8
push 0
push 0
push esi
call fcn.0040cea0
add esp, 0x10
jmp case.0x40e4fc.1
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0042dd90
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x40f304
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x40f32c
jg 0x40f334
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x40f330
push 0xb
push eax
push ebx
push esi
call fcn.0040cea0
add esp, 0x10
jmp case.0x40e4fc.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.0040cea0
add esp, 0x10
jmp case.0x40e4fc.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x40f37a
cmp byte [eax + 0x1df], 0
je 0x40f365
mov ebx, dword [esp + 0x70]
push ebx
call fcn.0040fe50
add esp, 4
push 0
push edi
push esi
call fcn.0040dea0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd76], 0
je 0x40f39e
mov eax, dword [esi + 0xd88]
cmp byte [eax + 0x20], 7
je 0x40f39e
cmp dword [esi + 0x34], 0
je case.0x40e4fc.1
mov dword [esi + 0x34], 0
jmp case.0x40e4fc.1
cmp dword [esi + 0x34], 0xf
je case.0x40e4fc.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x40f3d4
push esi
push ebx
call fcn.0041cc80
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x23c]
push eax
call fcn.00425250
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0040d0b0
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x40f436
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x70]
sub eax, 2
cmp eax, 5
ja 0x40f43a
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x40f43a
cmp byte [edx + 0x10a], 0
lea ebx, [esi + 0x18]
jne 0x40f43a
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.0040e270
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x34], 0xf
jge 0x40f562
test edi, edi
je 0x40f4fb
push edx
call fcn.0040fe50
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x40f4a5
cmp byte [esp + 0x10], 0
je 0x40f4b4
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.0041cc80
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.00425250
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.004158b0
push dword [esp + 0x58]
push ebp
push esi
call fcn.00418da0
add esp, 0x2c
lea ebx, [esi + 0x18]
jmp 0x40f4b4
cmp dword [esi + 0x34], 2
jne 0x40f4b4
push esi
call fcn.004128f0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x40f55b
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x40f4ed
push esi
push ebp
call fcn.0041cc80
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x23c]
push eax
call fcn.00425250
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.0040d0b0
jmp 0x40f558
cmp dword [ebx], 0
je 0x40f55e
push esi
call fcn.0042da40
add esp, 4
test eax, eax
je 0x40f55e
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.0041e4e0
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x40f55b
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x40f542
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x4bf220]
test eax, eax
je 0x40f55b
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x40f58b
mov ecx, dword [esp + 0x70]
cmp ebp, 0xffffffff
je 0x40e480
cmp byte [ecx + 0x10a], 0
jne 0x40e480
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esi + 0x698]
test eax, eax
je 0x40f5a2
push edi
push esi
call eax
mov ebx, dword [esp + 0x78]
add esp, 8
jmp 0x40f5c7
mov ebx, dword [esp + 0x70]
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.004251d0
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x40f5d4
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.004251d0
push esi
push ebx
call fcn.00410580
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x5c
ret