Function at 0x10047960
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 0x10048b86
cmp dword [esi], 0xc0dedbad
jne 0x10048b86
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0x108], 0
je 0x10047a10
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.100021c0
push 0
push edi
push esi
call fcn.10047450
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x10047a02
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x100479f2
push esi
push ebx
call fcn.10056150
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x254]
push eax
call fcn.1005ede0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10046620
add esp, 4
mov ecx, dword [esp + 0x70]
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 0x10047a31
push ecx
call fcn.10049350
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x10047a50
cmp dword [ebx], ebp
jne 0x10047a54
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx], ebp
je 0x10047a84
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x10047a84
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.10047800
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x100489c3
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x10047a8c
jmp dword [ecx*4 + 0x10048b94]
push esi
call fcn.1005d5a0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x10047a8c.1
cmp dword [esi + 0x34], 2
je 0x10047ac0
push esi
mov dword [esi + 0x34], 2
call fcn.1005d4f0
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.100673e0
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
jmp case.0x10047a8c.1
cmp dword [esi + 0x8bc], ebp
jne 0x10047b13
mov eax, dword [esi + 0x4a8]
inc eax
push eax
call dword [0x1011b0ac]
add esp, 4
mov dword [esi + 0x8bc], eax
test eax, eax
jne 0x10047b13
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x10047a8c.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.100673e0
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1e8]
test eax, eax
je 0x10047b45
push 0xa
push 0
push eax
push esi
call fcn.10046410
add esp, 0x10
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x10047b5d
push 2
push 0
push eax
push esi
call fcn.10046410
add esp, 0x10
lea eax, [esp + 0x13]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.10052040
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x10047be4
cmp dword [esi + 0x34], 1
je 0x10047b88
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.1005ed60
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x10047baf
mov dword [ecx + 0x10], eax
jmp 0x10047bb2
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x10047bd0
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.0x10047a8c.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.0x10047a8c.1
cmp byte [esi + 0xd60], 0
je 0x10047c03
push str.Transfer_was_pending__now_try_another
push esi
call fcn.10056ac0
push dword [esi + 0x7c]
call fcn.10049350
add esp, 0xc
test edi, edi
jne case.0x10047a8c.1
cmp byte [esp + 0x17], 0
mov eax, dword [esi + 0x34]
je 0x10047c2a
cmp eax, 3
je case.0x10047a8c.1
mov dword [esi + 0x34], 3
jmp case.0x10047a8c.1
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x10047c49
cmp eax, 6
je case.0x10047a8c.1
mov dword [esi + 0x34], 6
jmp case.0x10047a8c.1
cmp eax, 4
je case.0x10047a8c.1
mov dword [esi + 0x34], 4
jmp case.0x10047a8c.1
mov ebx, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [ebx + 0x1e0], 0
je 0x10047c75
mov ebp, dword [ebx + 0xb4]
jmp 0x10047c89
cmp byte [ebx + 0x1e9], 0
je 0x10047c86
mov ebp, dword [ebx + 0x84]
jmp 0x10047c89
mov ebp, dword [ebx + 0x6c]
push dword [ebx + 0x458]
push ebp
push esi
call fcn.1005f560
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10047cc5
push ebp
push 0x100eee84
xor edi, edi
mov dword [ebx + 0x48], eax
push esi
mov byte [ebx + 0x5c], 1
mov dword [esp + 0x24], edi
call fcn.10056ac0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x10047cd9
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10060160
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x70]
push esi
push ebx
call fcn.100495a0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x10048b0e
cmp dword [esp + 0x1c], eax
je 0x10047d3b
lea eax, [esp + 0x13]
push eax
push esi
call fcn.1005fba0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10047d14
mov dword [esi + 0x18], ebp
jmp 0x10047d3b
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x10047d2f
cmp eax, 6
je 0x10047d3b
mov dword [esi + 0x34], 6
jmp 0x10047d3b
cmp eax, 4
je 0x10047d3b
mov dword [esi + 0x34], 4
test edi, edi
je case.0x10047a8c.1
mov byte [esp + 0x10], 1
jmp case.0x10047a8c.1
lea eax, [esp + 0x11]
push eax
push esi
call fcn.100617d0
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1e4], 0
je 0x10047d9c
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.10047450
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x10047a8c.1
push esi
mov dword [esi + 0x34], 2
call fcn.1005d4f0
jmp 0x1004896e
test edi, edi
jne 0x10047d43
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x10047a8c.1
mov dword [esi + 0x34], 6
jmp case.0x10047a8c.1
lea eax, [esp + 0x13]
push eax
push 0
push 0
push esi
call fcn.10055fd0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], edi
je 0x10047df5
test edi, edi
jne 0x10047dfd
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x10047a8c.1
mov dword [esi + 0x34], 6
jmp case.0x10047a8c.1
test edi, edi
je case.0x10047a8c.1
push esi
call fcn.100021c0
push 1
push edi
push esi
call fcn.10047450
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x10047a8c.1
cmp byte [esi + 0xd67], 0
je 0x10047e34
push esi
call fcn.100493e0
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 0x10047dfd
cmp byte [ebx + 0x1e7], 0
je 0x10047e58
cmp ecx, 8
je 0x10047e50
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x10047a8c.1
test edi, edi
jne 0x10047dfd
lea eax, [ebx + 0x1ee]
mov byte [esp + 0x11], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.10056510
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x10047e96
cmp byte [eax], 0
je 0x10047e9f
mov eax, dword [ebx + 0x200]
cmp dword [eax + 0x18], edi
jne 0x10047e92
mov byte [esp + 0x11], 1
xor edi, edi
jmp 0x10047ecb
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x10047ecb
mov eax, dword [ebx + 0x200]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x10047ebf
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x10047ecb
jmp 0x10047ec4
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 0x10047dfd
cmp byte [esp + 0x11], 0
jne 0x10047e44
cmp ecx, 7
je 0x10047ef1
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x10047a8c.1
mov edx, dword [ebx]
test edx, edx
je 0x10047f35
mov eax, dword [edx + 0x200]
cmp dword [eax + 0x18], ebp
je 0x10047f35
mov byte [esp + 0x11], 0
lea ecx, [esp + 0x11]
mov eax, dword [edx + 0x200]
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 0x10047f40
jmp 0x10047dfd
xor edi, edi
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x11], 0
je case.0x10047a8c.1
jmp 0x10047e44
cmp dword [esi + 0x1c4], ebp
je 0x10047ffa
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x10047f6f
mov eax, dword [edi]
test eax, eax
je 0x10047f76
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 0x10047fb6
mov byte [ecx + 0x107], 0
jmp 0x10047fc3
mov eax, dword [edi]
test eax, eax
je 0x10047fc3
mov byte [eax + 0x107], 0
test edx, edx
je 0x10047ff7
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.100569f0
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.100021c0
push 0
push edi
push esi
call fcn.10047450
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x10047a8c.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x6ad], 1
mov edx, dword [esi + 0x18]
jne 0x1004802c
push 0
push edx
call fcn.10057f50
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x1004801e
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x10047a8c.1
mov eax, dword [edx + 0x200]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x1004804e
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 0x1004812e
cmp byte [esp + 0x12], 0
jne 0x100480de
cmp byte [esi + 0xd5a], 0
je 0x100480c6
mov eax, dword [esi + 0xd70]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x1004807b
cmp al, 5
jne 0x100480c6
push 0
push 0
push esi
call fcn.10047450
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 0x100480be
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x100480a6
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x100eec78]
test eax, eax
je 0x100480be
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x10047a8c.1
cmp ecx, 9
je 0x10047e50
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x10047a8c.1
cmp byte [edx + 0x1ed], 0
je 0x100480ff
cmp ecx, 0xa
je 0x10047e50
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x10047a8c.1
cmp ecx, 0xb
je 0x10047e50
push 6
lea eax, [esp + 0x60]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x143], 0
call fcn.100673e0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x10047a8c.1
cmp edi, 0x37
jne 0x100481ec
cmp byte [edx + 0x1e7], 0
je 0x100481ec
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.1005dd40
add esp, 8
test eax, eax
je 0x10048165
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.100021c0
push 0
push edi
push esi
call fcn.10047450
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x100481db
test eax, eax
je 0x1004819a
cmp eax, 0x37
je 0x1004819a
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x1011b0b0]
jmp 0x1004896e
push 2
push ecx
push esi
call fcn.1005cfc0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100481c7
cmp dword [esi + 0x34], 2
je 0x100481c2
push esi
mov dword [esi + 0x34], 2
call fcn.1005d4f0
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x1011b0b0]
jmp 0x1004896e
push ecx
mov byte [esp + 0x14], 1
call dword [0x1011b0b0]
jmp 0x1004896e
push esi
call fcn.100021c0
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x10047e0f
push 0
push edi
push esi
call fcn.10047450
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x10047a8c.1
mov edx, dword [ebx]
test edx, edx
je 0x1004826a
mov eax, dword [edx + 0x200]
cmp dword [eax + 0x1c], ebp
je 0x1004826a
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x200]
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 0x10048275
push esi
call fcn.100021c0
push 0
push edi
push esi
call fcn.10047450
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x10047a8c.1
xor edi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x10047a8c.1
mov dl, byte [edx + 0x1ed]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x10047e50
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x100eec68]
test eax, eax
je 0x10047e50
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x10047a8c.1
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x200]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100482ea
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 0x1004824e
test edx, edx
je case.0x10047a8c.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x10047e50
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x100eec40]
test eax, eax
je 0x10047e50
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x10047a8c.1
mov eax, dword [ebx]
cmp byte [eax + 0x1f7], 0
je 0x10048353
mov ebx, dword [esp + 0x70]
push ebx
call fcn.10049350
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x218], 0xffffffff
jne 0x1004839e
cmp dword [eax + 0x21c], 0xffffffff
jne 0x1004839e
cmp byte [esi + 0xd5a], 0
je 0x10048389
mov eax, dword [eax + 0x200]
test dword [eax + 0x4c], 0x1000
jne 0x10048389
mov eax, dword [esi + 0xd70]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x100483aa
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x10047a8c.1
cmp ecx, 0xc
je 0x100483aa
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x10047a8c.1
push esi
call fcn.100676a0
add esp, 4
test eax, eax
je 0x100483cc
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x100483f0
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.100689c0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x10048426
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x200]
test byte [eax + 0x4c], 2
jne 0x1004840f
cmp ebx, 0x5c
je 0x1004840f
push 2
push ecx
call fcn.10057f50
add esp, 8
push esi
call fcn.100021c0
push 1
push ebx
push esi
call fcn.10047450
add esp, 0x10
jmp case.0x10047a8c.1
mov edx, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x10048489
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 + 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.10067020
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x10048495
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x220]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x224]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x100484f8
mov edx, dword [esp + 0x74]
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.10067020
add esp, 0x38
mov ecx, eax
jmp 0x10048500
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x10048538
mov eax, ecx
or eax, edx
jne 0x10048538
cmp dword [esi + 0x34], 0xc
je 0x1004851b
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.100679f0
add esp, 0x14
jmp case.0x10047a8c.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x10048558
jg 0x10048546
cmp ebx, ecx
jb 0x10048558
push 0xb
push eax
push ebx
push esi
call fcn.10046410
add esp, 0x10
jmp case.0x10047a8c.1
push 0xb
push edx
push ecx
push esi
call fcn.10046410
add esp, 0x10
jmp case.0x10047a8c.1
mov edx, dword [esi + 0x218]
xor al, al
mov ecx, dword [esi + 0x21c]
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 0x100485db
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 + 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.10067020
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x100485e7
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x220]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x224]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x1004864e
mov edx, dword [esp + 0x74]
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.10067020
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x1004865a
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 0x1004886c
mov eax, ecx
or eax, edx
jne 0x1004886c
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x19]
push eax
lea ebx, [esi + 0x18]
push esi
push dword [ebx]
call fcn.1005d960
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x15]
mov dword [esp + 0x18], edi
test al, al
jne 0x100486e7
cmp edi, 0x38
je 0x100486e7
mov edx, edi
cmp edi, 0x5c
je 0x100486b2
mov cl, byte [esp + 0x14]
mov byte [esp + 0x14], cl
test edx, edx
je 0x1004872f
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x200]
test byte [eax + 0x4c], 2
jne 0x100486d0
cmp edi, 0x5c
je 0x100486d0
push 2
push ecx
call fcn.10057f50
add esp, 8
push esi
call fcn.100021c0
push 1
push edi
push esi
call fcn.10047450
add esp, 0x10
jmp case.0x10047a8c.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1005dd40
add esp, 8
mov edx, edi
test eax, eax
jne 0x10048708
cmp dword [esp + 0x1c], ebp
setne cl
mov byte [esp + 0x14], cl
jmp 0x1004871b
test edi, edi
jne 0x10048717
mov edi, eax
lea ebx, [esi + 0x18]
mov dword [esp + 0x18], edi
jmp 0x100486b2
mov cl, byte [esp + 0x14]
test cl, cl
je 0x100487d1
xor edi, edi
mov al, 1
mov dword [esp + 0x18], edi
mov byte [esp + 0x15], al
test al, al
je 0x1004884d
push esi
call fcn.100021c0
add esp, 4
cmp byte [esp + 0x14], 0
jne 0x100487fe
cmp dword [esi + 0x110], ebp
jne 0x100487da
cmp dword [esi + 0x10c], ebp
je 0x100487b0
push dword [esp + 0x1c]
call dword [0x1011b0b0]
mov eax, dword [esi + 0x10c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x10c], ebp
call fcn.1005cfc0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x1011b0b0]
add esp, 0x14
test edi, edi
je 0x100487b8
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.10047450
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x10047a8c.1
cmp dword [esi + 0x34], 0xe
je 0x10047e50
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x10047a8c.1
mov al, byte [esp + 0x15]
jmp 0x100486aa
push dword [esp + 0x1c]
call dword [0x1011b0b0]
mov eax, dword [esi + 0x110]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x110], ebp
jmp 0x10048803
mov edi, 2
push 0
push 0
push esi
call fcn.10047450
push edi
push dword [esp + 0x2c]
push esi
call fcn.1005cfc0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1004883e
cmp dword [esi + 0x34], 2
je 0x1004883b
push esi
mov dword [esi + 0x34], 2
call fcn.1005d4f0
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x1011b0b0]
jmp 0x1004896e
cmp byte [esp + 0x16], 0
je case.0x10047a8c.1
push 8
push 0
push 0
push esi
call fcn.10046410
add esp, 0x10
jmp case.0x10047a8c.1
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.100679f0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x10048891
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x100488b9
jg 0x100488c1
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x100488bd
push 0xb
push eax
push ebx
push esi
call fcn.10046410
add esp, 0x10
jmp case.0x10047a8c.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.10046410
add esp, 0x10
jmp case.0x10047a8c.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x10048907
cmp byte [eax + 0x1f7], 0
je 0x100488f2
mov ebx, dword [esp + 0x70]
push ebx
call fcn.10049350
add esp, 4
push 0
push edi
push esi
call fcn.10047450
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd5a], 0
je 0x1004892b
mov eax, dword [esi + 0xd70]
cmp byte [eax + 0x20], 7
je 0x1004892b
cmp dword [esi + 0x34], 0
je case.0x10047a8c.1
mov dword [esi + 0x34], 0
jmp case.0x10047a8c.1
cmp dword [esi + 0x34], 0xf
je case.0x10047a8c.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x10048961
push esi
push ebx
call fcn.10056150
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x254]
push eax
call fcn.1005ede0
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10046620
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x100489c3
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x70]
sub eax, 2
cmp eax, 5
ja 0x100489c7
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x100489c7
cmp byte [edx + 0x106], 0
lea ebx, [esi + 0x18]
jne 0x100489c7
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.10047800
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x70]
cmp dword [esi + 0x34], 0xf
jge 0x10048aef
test edi, edi
je 0x10048a88
push edx
call fcn.10049350
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x10048a32
cmp byte [esp + 0x10], 0
je 0x10048a41
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.10056150
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x254]
push eax
call fcn.1005ede0
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.1004e9f0
push dword [esp + 0x58]
push ebp
push esi
call fcn.10052190
add esp, 0x2c
lea ebx, [esi + 0x18]
jmp 0x10048a41
cmp dword [esi + 0x34], 2
jne 0x10048a41
push esi
call fcn.100021c0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x10048ae8
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x10048a7a
push esi
push ebp
call fcn.10056150
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x254]
push eax
call fcn.1005ede0
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.10046620
jmp 0x10048ae5
cmp dword [ebx], 0
je 0x10048aeb
push esi
call fcn.100676a0
add esp, 4
test eax, eax
je 0x10048aeb
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.10057f50
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x10048ae8
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x10048acf
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x100eec78]
test eax, eax
je 0x10048ae8
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x10048b18
mov ecx, dword [esp + 0x70]
cmp ebp, 0xffffffff
je 0x10047a10
cmp byte [ecx + 0x106], 0
jne 0x10047a10
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov eax, dword [esi + 0x688]
test eax, eax
je 0x10048b2f
push edi
push esi
call eax
mov ebx, dword [esp + 0x78]
add esp, 8
jmp 0x10048b54
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.1005ed60
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x10048b61
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.1005ed60
push esi
push ebx
call fcn.10049980
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