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

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
push edi
xor edi, edi
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x471363
cmp dword [esi], 0xc0dedbad
jne 0x471363
mov ecx, dword [esp + 0x74]
cmp byte [ecx + 0x108], 0
je 0x4701e0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.004050a0
push 0
push edi
push esi
call fcn.0046fc20
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x4701d2
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x4701c2
push esi
push ebx
call fcn.0047f540
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x254]
push eax
call fcn.00486ee0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.0046ee00
add esp, 4
mov ecx, dword [esp + 0x74]
nop word [eax + eax]
mov al, byte [ecx + 0x106]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0x106], 0
test al, al
je 0x470201
push ecx
call fcn.00471b50
add esp, 4
mov ecx, dword [esi + 0x34]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x47021a
cmp dword [esi + 0x18], ebp
je case.default.0x47025e
lea ebx, [esi + 0x18]
jmp 0x470222
cmp dword [esi + 0x18], ebp
lea ebx, [esi + 0x18]
je 0x470252
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x470252
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x84]
push esi
call fcn.0046ffd0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x471196
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x47025e
jmp dword [ecx*4 + 0x471370]
push esi
call fcn.004857a0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x47025e.1
cmp dword [esi + 0x34], 2
je 0x470292
push esi
mov dword [esi + 0x34], 2
call fcn.004856f0
add esp, 4
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0048f510
mov edx, dword [esp + 0x84]
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
jmp 0x47115a
cmp dword [esi + 0x8bc], ebp
jne 0x4702e8
mov eax, dword [esi + 0x4a8]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x8bc], eax
test eax, eax
jne 0x4702e8
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x47025e.1
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.0048f510
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x78]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x47031a
push 0xa
push 0
push eax
push esi
call fcn.0046ebf0
add esp, 0x10
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x470332
push 2
push 0
push eax
push esi
call fcn.0046ebf0
add esp, 0x10
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.0047aa90
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x4703b9
cmp dword [esi + 0x34], 1
je 0x47035d
mov dword [esi + 0x34], 1
mov edi, dword [esp + 0x74]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [edi + 0x28]
lea eax, [edi + 0x24]
push eax
call fcn.00486e60
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x470384
mov dword [ecx + 0x10], eax
jmp 0x470387
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x4703a5
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.0x47025e.1
mov dword [edi + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x47025e.1
cmp byte [esi + 0xd60], 0
je 0x4703d8
push str.Transfer_was_pending__now_try_another
push esi
call fcn.0047fea0
push dword [esi + 0x7c]
call fcn.00471b50
add esp, 0xc
test edi, edi
jne case.0x47025e.1
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x34]
je 0x4703ff
cmp eax, 3
je case.0x47025e.1
mov dword [esi + 0x34], 3
jmp case.0x47025e.1
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x47041e
cmp eax, 6
je case.0x47025e.1
mov dword [esi + 0x34], 6
jmp case.0x47025e.1
cmp eax, 4
je case.0x47025e.1
mov dword [esi + 0x34], 4
jmp case.0x47025e.1
mov edi, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [edi + 0x1e0], 0
je 0x47044a
mov ebp, dword [edi + 0xb4]
jmp 0x47045e
cmp byte [edi + 0x1e9], 0
je 0x47045b
mov ebp, dword [edi + 0x84]
jmp 0x47045e
mov ebp, dword [edi + 0x6c]
push dword [edi + 0x458]
push ebp
push esi
call fcn.00487680
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x470498
push ebp
mov dword [edi + 0x48], eax
mov byte [edi + 0x5c], 1
xor edi, edi
push 0x51991c
push esi
mov dword [esp + 0x24], edi
call fcn.0047fea0
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x4704ac
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00488280
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
push esi
push dword [esp + 0x78]
call fcn.00471db0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4712de
cmp dword [esp + 0x1c], eax
je 0x4704e3
lea eax, [esp + 0x13]
push eax
push esi
call fcn.00487cc0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x4704f5
mov dword [ebx], ebp
test edi, edi
je case.0x47025e.1
mov byte [esp + 0x10], 1
jmp case.0x47025e.1
mov eax, dword [esi + 0x34]
jmp 0x4703ff
lea eax, [esp + 0x11]
push eax
push esi
call fcn.004898f0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1e4], 0
je 0x47054c
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.0046fc20
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x47025e.1
push esi
mov dword [esi + 0x34], 2
call fcn.004856f0
jmp 0x471153
test edi, edi
jne 0x4704eb
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x47040c
lea eax, [esp + 0x13]
push eax
push 0
push 0
push esi
call fcn.0047f3c0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
je 0x47058b
test edi, edi
jne 0x470593
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x47040c
test edi, edi
je case.0x47025e.1
push esi
call fcn.004050a0
push 1
push edi
push esi
call fcn.0046fc20
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x47025e.1
cmp byte [esi + 0xd67], 0
mov ecx, 6
je 0x4705cf
push esi
call fcn.00471be0
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x470593
cmp byte [eax + 0x1e7], 0
je 0x4705f6
cmp ecx, 8
je 0x4705ee
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x47025e.1
test edi, edi
jne 0x470593
push edi
push eax
mov byte [esp + 0x19], 0
call fcn.0047f8f0
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x47063d
cmp byte [eax + 0x1ee], 0
je 0x470646
mov eax, dword [eax + 0x200]
movzx ecx, byte [esp + 0x11]
mov dword [esp + 0x18], edi
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov eax, dword [esi + 0x34]
mov byte [esp + 0x11], cl
jmp 0x470689
cmp byte [eax + 0x1ee], 0
jne 0x470676
mov eax, dword [eax + 0x200]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x470666
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x470676
jmp 0x47066b
mov byte [esp + 0x11], 1
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x1ee], 1
mov eax, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x470593
mov cl, byte [esp + 0x11]
test cl, cl
jne 0x4706a1
cmp eax, 7
je 0x470699
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x47025e.1
cmp eax, 8
jmp 0x4705e5
mov ecx, dword [ebx]
test ecx, ecx
je 0x4706ea
mov eax, dword [ecx + 0x200]
cmp dword [eax + 0x18], ebp
je 0x4706ea
mov byte [esp + 0x11], 0
mov eax, dword [ecx + 0x200]
lea ecx, [esp + 0x11]
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
jne 0x470593
mov al, byte [esp + 0x11]
jmp 0x4706fb
mov al, 1
xor edi, edi
mov byte [esp + 0x11], al
mov ecx, 7
mov dword [esp + 0x18], edi
test al, al
je case.0x47025e.1
jmp 0x4705e2
mov edx, 8
cmp dword [esi + 0x1c4], ebp
je 0x4707b6
mov eax, dword [esi + 0x80]
test eax, eax
jne 0x47072a
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x470731
mov byte [eax + 0x107], 1
push dword [esi + 0xe24]
lea eax, [esi + 0xdf4]
push dword [esi + 0xdec]
push eax
lea eax, [esi + 0xdbc]
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 0x470771
mov byte [ecx + 0x107], 0
jmp 0x47077f
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x47077f
mov byte [eax + 0x107], 0
test edx, edx
je 0x4707b3
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.0047fdd0
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.004050a0
push 0
push edi
push esi
call fcn.0046fc20
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x47025e.1
mov edx, dword [esi + 0x34]
cmp byte [esi + 0x6ad], 1
mov ecx, dword [ebx]
jne 0x4707e7
push 0
push ecx
call fcn.00481630
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x4707d9
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x47025e.1
mov eax, dword [ecx + 0x200]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x470808
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov ecx, dword [ebx]
add esp, 8
mov edx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x4708f3
cmp byte [esp + 0x12], 0
jne 0x4708a3
cmp byte [esi + 0xd5a], 0
je 0x47088b
mov eax, dword [esi + 0xd70]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x470839
cmp al, 5
jne 0x47088b
push 0
push 0
push esi
call fcn.0046fc20
mov ecx, dword [ebx]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x4705ee
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x470867
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x519718]
test eax, eax
je 0x4705ee
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x47025e.1
cmp edx, 9
je 0x4705ee
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x47025e.1
cmp byte [ecx + 0x1ed], 0
je 0x4708c4
cmp edx, 0xa
je 0x4705ee
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x47025e.1
cmp edx, 0xb
je 0x4705ee
push 6
lea eax, [esp + 0x64]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x143], 0
call fcn.0048f510
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x47025e.1
cmp edi, 0x37
jne 0x4709b1
cmp byte [ecx + 0x1e7], 0
je 0x4709b1
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.00485f20
add esp, 8
test eax, eax
je 0x47092a
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.004050a0
push 0
push edi
push esi
call fcn.0046fc20
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x4709a0
test eax, eax
je 0x47095f
cmp eax, 0x37
je 0x47095f
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x557004]
jmp 0x471153
push 2
push ecx
push esi
call fcn.004851d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x47098c
cmp dword [esi + 0x34], 2
je 0x470987
push esi
mov dword [esi + 0x34], 2
call fcn.004856f0
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x557004]
jmp 0x471153
push ecx
mov byte [esp + 0x14], 1
call dword [0x557004]
jmp 0x471153
push esi
call fcn.004050a0
add esp, 4
cmp dword [ebx], ebp
je 0x4705a5
push 0
push edi
push esi
call fcn.0046fc20
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x47025e.1
mov ecx, dword [ebx]
test ecx, ecx
je 0x470a2d
mov eax, dword [ecx + 0x200]
cmp dword [eax + 0x1c], ebp
je 0x470a2d
mov byte [esp + 0x12], 0
mov eax, dword [ecx + 0x200]
lea ecx, [esp + 0x12]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x34]
mov edi, eax
mov ecx, dword [ebx]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x470a3d
push esi
call fcn.004050a0
push 0
push edi
push esi
call fcn.0046fc20
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x47025e.1
xor edi, edi
mov byte [esp + 0x12], 1
mov edx, 9
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x47025e.1
mov cl, byte [ecx + 0x1ed]
xor eax, eax
test cl, cl
sete al
add eax, 0xa
cmp edx, eax
je 0x4705ee
mov dword [esi + 0x34], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x519708]
test eax, eax
je 0x4705ee
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x47025e.1
mov eax, dword [ebx]
xor ecx, ecx
mov dword [esp + 0x38], ecx
xor edi, edi
mov eax, dword [eax + 0x200]
lea edx, [edi + 0xa]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x470ab5
lea ecx, [esp + 0x38]
push ecx
push esi
call eax
mov edx, dword [esi + 0x34]
add esp, 8
mov ecx, dword [esp + 0x38]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x470a11
test ecx, ecx
je case.0x47025e.1
xor eax, eax
cmp ecx, 1
sete al
lea eax, [eax*2 + 9]
cmp edx, eax
je 0x4705ee
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x5196e0]
test eax, eax
je 0x4705ee
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x47025e.1
mov eax, dword [ebx]
mov edx, 0xb
cmp byte [eax + 0x1f7], 0
je 0x470b23
push dword [esp + 0x74]
call fcn.00471b50
mov edx, dword [esi + 0x34]
add esp, 4
mov eax, dword [ebx]
mov ecx, edx
cmp dword [eax + 0x218], 0xffffffff
jne 0x470b72
cmp dword [eax + 0x21c], 0xffffffff
jne 0x470b72
cmp byte [esi + 0xd5a], 0
je 0x470b5a
mov eax, dword [eax + 0x200]
test dword [eax + 0x4c], 0x1000
jne 0x470b5a
mov eax, dword [esi + 0xd70]
mov byte [eax + 0x20], 7
mov ecx, dword [esi + 0x34]
cmp ecx, 0xe
je 0x4705ee
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x47025e.1
cmp edx, 0xc
je 0x4705ee
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x47025e.1
push esi
call fcn.0048f7d0
add esp, 4
test eax, eax
je 0x470ba8
mov eax, 0x2a
mov edi, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], edi
jmp 0x470bce
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.00490b20
add esp, 0x14
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x470c06
mov edx, dword [ebx]
mov ecx, dword [edx + 0x200]
test byte [ecx + 0x4c], 2
jne 0x470bec
cmp eax, 0x5c
je 0x470bec
push 2
push edx
call fcn.00481630
add esp, 8
push esi
call fcn.004050a0
push 1
push dword [esp + 0x38]
push esi
call fcn.0046fc20
add esp, 0x10
jmp case.0x47025e.1
mov eax, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x470c6b
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x218]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x71c]
push dword [esi + 0x718]
call fcn.0048f150
add esp, 0x38
mov dword [esp + 0x20], edx
jmp 0x470c77
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x224]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x220]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x470cde
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x220]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.0048f150
add esp, 0x38
mov ecx, eax
jmp 0x470ce6
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
or eax, dword [esp + 0x20]
jne 0x470d20
mov eax, ecx
or eax, edx
jne 0x470d20
cmp dword [esi + 0x34], 0xc
je 0x470d03
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0048fb20
add esp, 0x14
jmp case.0x47025e.1
cmp dword [esp + 0x20], edx
jl 0x470d45
mov eax, dword [esp + 0x1c]
jg 0x470d30
cmp eax, ecx
jb 0x470d45
push 0xb
push dword [esp + 0x24]
push eax
push esi
call fcn.0046ebf0
add esp, 0x10
jmp case.0x47025e.1
push 0xb
push edx
push ecx
push esi
call fcn.0046ebf0
add esp, 0x10
jmp case.0x47025e.1
mov eax, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
movlpd qword [esp + 0x30], xmm0
je 0x470dca
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x218]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x71c]
push dword [esi + 0x718]
call fcn.0048f150
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x470dd6
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x224]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x220]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x470e41
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x220]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.0048f150
add esp, 0x38
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x470e4d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
mov dword [esp + 0x30], edx
jne 0x471045
mov eax, ecx
or eax, edx
jne 0x471045
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x18]
push eax
push esi
push dword [ebx]
call fcn.00485b40
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
jne 0x470ece
cmp edi, 0x38
je 0x470ece
cmp edi, 0x5c
jne 0x470f5a
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x200]
test byte [eax + 0x4c], 2
jne 0x470eb7
cmp edi, 0x5c
je 0x470eb7
push 2
push ecx
call fcn.00481630
add esp, 8
push esi
call fcn.004050a0
push 1
push edi
push esi
call fcn.0046fc20
add esp, 0x10
jmp case.0x47025e.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00485f20
add esp, 8
test eax, eax
jne 0x470f4c
cmp dword [esp + 0x1c], ebp
setne al
mov byte [esp + 0x15], al
test al, al
je 0x470f5a
push esi
mov byte [esp + 0x18], 1
call fcn.004050a0
add esp, 4
mov edi, 2
push 0
push 0
push esi
call fcn.0046fc20
push edi
push dword [esp + 0x2c]
push esi
call fcn.004851d0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x470f3d
cmp dword [esi + 0x34], 2
je 0x470f3a
push esi
mov dword [esi + 0x34], 2
call fcn.004856f0
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x557004]
jmp 0x471153
test edi, edi
jne 0x470e99
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x470e99
cmp byte [esp + 0x14], 0
je 0x471026
push esi
call fcn.004050a0
add esp, 4
cmp byte [esp + 0x15], 0
jne 0x470efd
cmp dword [esi + 0x110], ebp
jne 0x470fff
cmp dword [esi + 0x10c], ebp
je 0x470fe6
push dword [esp + 0x1c]
call dword [0x557004]
mov eax, dword [esi + 0x10c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x10c], ebp
call fcn.004851d0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x557004]
add esp, 0x14
test edi, edi
je 0x470fe6
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.0046fc20
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x47025e.1
cmp dword [esi + 0x34], 0xe
je 0x4705ee
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x47025e.1
push dword [esp + 0x1c]
call dword [0x557004]
mov eax, dword [esi + 0x110]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x110], ebp
jmp 0x470f02
cmp byte [esp + 0x16], 0
je case.0x47025e.1
push 8
push 0
push 0
push esi
call fcn.0046ebf0
add esp, 0x10
jmp case.0x47025e.1
mov ecx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.0048fb20
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x47106a
mov dword [esi + 0x34], 0xd
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x30]
jl 0x471094
mov eax, dword [esp + 0x20]
jg 0x47109e
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x471098
push 0xb
push ecx
push eax
push esi
call fcn.0046ebf0
add esp, 0x10
jmp case.0x47025e.1
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov eax, edx
push 0xb
push ecx
push eax
push esi
call fcn.0046ebf0
add esp, 0x10
jmp case.0x47025e.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x4710e3
cmp byte [eax + 0x1f7], 0
je 0x4710ce
push dword [esp + 0x74]
call fcn.00471b50
add esp, 4
push 0
push edi
push esi
call fcn.0046fc20
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd5a], 0
je 0x47110b
mov eax, dword [esi + 0xd70]
cmp byte [eax + 0x20], 7
je 0x47110b
cmp dword [esi + 0x34], 0
mov edx, dword [esp + 0x78]
je 0x47115a
mov dword [esi + 0x34], 0
jmp 0x47115a
cmp dword [esi + 0x34], 0xf
je case.0x47025e.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [ebx]
mov dword [esp + 0x30], eax
test eax, eax
je 0x471147
push esi
push eax
call fcn.0047f540
push 0
lea eax, [esi + 0x28]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x254
push eax
call fcn.00486ee0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.0046ee00
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [ebx], 0
je 0x471196
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x74]
sub eax, 2
cmp eax, 5
ja 0x47119a
cmp ebp, 0xffffffff
je 0x47119a
cmp byte [ecx + 0x106], 0
jne 0x47119a
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push edx
push esi
call fcn.0046ffd0
mov edi, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esp + 0x74]
cmp dword [esi + 0x34], 0xf
jge 0x4712bf
test edi, edi
je 0x471258
push ecx
call fcn.00471b50
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x471202
cmp byte [esp + 0x10], 0
je 0x471211
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x44]
call fcn.0047f540
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x254]
push eax
call fcn.00486ee0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.00477590
push dword [esp + 0x5c]
push ebp
push esi
call fcn.0047abe0
add esp, 0x2c
jmp 0x471211
cmp dword [esi + 0x34], 2
jne 0x471211
push esi
call fcn.004050a0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x4712b8
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x47124a
push esi
push ebp
call fcn.0047f540
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x254]
push eax
call fcn.00486ee0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.0046ee00
jmp 0x4712b5
cmp dword [ebx], 0
je 0x4712bb
push esi
call fcn.0048f7d0
add esp, 4
test eax, eax
je 0x4712bb
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.00481630
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x4712b8
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x47129f
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x519718]
test eax, eax
je 0x4712b8
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x4712e8
mov ecx, dword [esp + 0x74]
cmp ebp, 0xffffffff
je 0x4701e0
cmp byte [ecx + 0x106], 0
jne 0x4701e0
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [esi + 0x688]
test eax, eax
je 0x4712ff
push edi
push esi
call eax
mov ebx, dword [esp + 0x7c]
add esp, 8
jmp 0x471324
mov ebx, dword [esp + 0x74]
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.00486e60
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x471331
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.00486e60
push esi
push ebx
call fcn.004721b0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x60
ret