Function at 0x10184010
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 + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x1018543c
cmp dword [esi], 0xc0dedbad
jne 0x1018543c
mov ecx, dword [esp + 0x70]
cmp byte [ecx + 0xe4], 0
je 0x101840c0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.1005f470
push 0
push edi
push esi
call fcn.101839e0
add esp, 0x10
cmp dword [esi + 0x28], 0xf
je 0x101840b8
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x101840a8
push esi
call fcn.101b0120
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2fc]
push eax
call fcn.101aabd0
push ebx
push esi
call fcn.101777d0
add esp, 0x18
push esi
mov dword [esi + 0xc], 0
call fcn.10182c40
add esp, 4
mov ecx, dword [esp + 0x70]
nop dword [eax]
mov al, byte [ecx + 0xe1]
xor ebp, ebp
mov byte [esp + 0x10], 0
mov byte [ecx + 0xe1], 0
test al, al
je 0x10184125
mov eax, dword [ecx + 0x24]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10184125
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x10184103
push ebx
mov dword [ebx + 0x28], 2
call fcn.101ac1a0
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [esp + 0x70]
push 0
push eax
lea eax, [ecx + 0x24]
push eax
call fcn.101aabd0
push 8
push 0
push 0
push ebx
call fcn.10182a30
add esp, 0x1c
mov byte [ebx + 0xd09], 1
mov ecx, dword [esi + 0x28]
lea ebx, [esi + 0xc]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x10184144
cmp dword [ebx], ebp
jne 0x10184148
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp dword [ebx], ebp
je 0x10184178
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x10184178
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.10183ea0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x1018523b
mov ecx, dword [esi + 0x28]
cmp ecx, 0x10
ja case.default.0x10184180
jmp dword [ecx*4 + 0x1018544c]
push esi
call fcn.101ac240
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x10184180.1
cmp dword [esi + 0x28], 2
je 0x101841b4
push esi
mov dword [esi + 0x28], 2
call fcn.101ac1a0
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.1018f140
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
jmp case.0x10184180.1
cmp dword [esi + 0x8dc], ebp
jne 0x10184207
mov eax, dword [esi + 0x4c8]
inc eax
push eax
call dword [0x102823b4]
add esp, 4
mov dword [esi + 0x8dc], eax
test eax, eax
jne 0x10184207
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x10184180.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.1018f140
add esp, 0xc
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x74]
movups xmmword [eax], xmm0
mov eax, dword [esi + 0x1ec]
test eax, eax
je 0x10184239
push 0xa
cdq
push edx
push eax
push esi
call fcn.10182a30
add esp, 0x10
mov eax, dword [esi + 0x1f0]
test eax, eax
je 0x10184251
push 2
cdq
push edx
push eax
push esi
call fcn.10182a30
add esp, 0x10
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x1a]
push eax
push esi
call fcn.1017c530
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x1018429f
cmp dword [esi + 0x28], 1
je 0x1018427c
mov dword [esi + 0x28], 1
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x74]
push esi
push dword [eax + 0x28]
add eax, 0x24
push eax
call fcn.101aab50
add esp, 0x10
xor edi, edi
mov dword [esp + 0x18], edi
jmp case.0x10184180.1
cmp byte [esi + 0xd09], 0
je 0x10184308
push str.Transfer_was_pending__now_try_another
push esi
call fcn.101882e0
mov eax, dword [esi + 0x70]
add esp, 8
add eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10184308
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x101842e6
push ebx
mov dword [ebx + 0x28], 2
call fcn.101ac1a0
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push eax
push dword [esp + 0x2c]
call fcn.101aabd0
push 8
push 0
push 0
push ebx
call fcn.10182a30
add esp, 0x1c
mov byte [ebx + 0xd09], 1
test edi, edi
jne case.0x10184180.1
cmp byte [esp + 0x16], 0
je 0x1018432d
cmp dword [esi + 0x28], 3
je case.0x10184180.1
mov dword [esi + 0x28], 3
jmp case.0x10184180.1
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x10184353
cmp dword [esi + 0x28], 8
je case.0x10184180.1
push esi
mov dword [esi + 0x28], 8
call fcn.101b01a0
jmp 0x101851e6
push dword [esi + 0xc]
call fcn.101b01f0
add esp, 4
test al, al
jne 0x10184579
cmp dword [esi + 0x28], 4
je case.0x10184180.1
mov dword [esi + 0x28], 4
jmp case.0x10184180.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x260], 0
je 0x10184393
mov ebx, dword [eax + 0xac]
jmp 0x101843a4
cmp byte [eax + 0x269], 0
je 0x101843a1
mov ebx, dword [eax + 0x7c]
jmp 0x101843a4
mov ebx, dword [eax + 0x64]
push dword [eax + 0xc4]
push ebx
push esi
call fcn.10191600
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x101843e6
push ebx
push 0x1022b948
xor edi, edi
mov dword [esi + 0x9a4], eax
push esi
mov byte [esi + 0x9b8], 1
mov dword [esp + 0x24], edi
call fcn.101882e0
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x101843fa
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10192190
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x70]
push esi
push eax
call fcn.10185c50
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x10185425
cmp dword [esp + 0x1c], eax
je 0x10184483
lea eax, [esp + 0x11]
push eax
push esi
call fcn.10191cc0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10184435
mov dword [esi + 0xc], ebp
jmp 0x10184483
or ebp, 0xffffffff
cmp byte [esp + 0x11], 0
je 0x10184457
cmp dword [esi + 0x28], 8
je 0x10184483
push esi
mov dword [esi + 0x28], 8
call fcn.101b01a0
add esp, 4
jmp 0x10184483
push dword [esi + 0xc]
call fcn.101b01f0
mov ecx, dword [esi + 0x28]
add esp, 4
test al, al
je 0x10184477
cmp ecx, 5
je 0x10184483
mov dword [esi + 0x28], 5
jmp 0x10184483
cmp ecx, 4
je 0x10184483
mov dword [esi + 0x28], 4
test edi, edi
je case.0x10184180.1
mov byte [esp + 0x10], 1
jmp case.0x10184180.1
lea eax, [esp + 0x11]
push eax
push esi
call fcn.1019d990
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x264], 0
je 0x101844e4
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.101839e0
add esp, 0xc
cmp dword [esi + 0x28], 2
je case.0x10184180.1
push esi
mov dword [esi + 0x28], 2
call fcn.101ac1a0
jmp 0x101851e6
test edi, edi
jne 0x10184a6e
cmp dword [eax + 0xb8], 2
jne 0x10184502
cmp byte [eax + 0x25e], 0
je case.0x10184180.1
push eax
call fcn.101b0100
add esp, 4
test al, al
je case.0x10184180.1
or ebp, 0xffffffff
cmp dword [esi + 0x28], 6
je case.0x10184180.1
mov dword [esi + 0x28], 6
jmp case.0x10184180.1
lea eax, [esp + 0x17]
push eax
push 0
push dword [ebx]
push esi
call fcn.101892b0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x17], 0
mov dword [esp + 0x18], edi
je 0x101845cf
test edi, edi
jne 0x10184739
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb8], 2
jne 0x1018456c
cmp byte [eax + 0x25e], 0
je 0x10184579
push eax
call fcn.101b01f0
add esp, 4
test al, al
je 0x1018458f
cmp dword [esi + 0x28], 5
je case.0x10184180.1
mov dword [esi + 0x28], 5
jmp case.0x10184180.1
mov eax, dword [esi + 0xc]
or ebp, 0xffffffff
mov cl, byte [eax + 0x263]
xor eax, eax
test cl, cl
sete al
add eax, 5
cmp dword [esi + 0x28], eax
je case.0x10184180.1
mov dword [esi + 0x28], eax
xor eax, eax
test cl, cl
sete al
mov eax, dword [eax*4 + 0x1022b7a4]
test eax, eax
je case.0x10184180.1
push esi
call eax
jmp 0x101851e6
test edi, edi
je case.0x10184180.1
jmp 0x10184739
mov ebx, dword [ebx]
xor edi, edi
mov byte [esp + 0x11], 0
cmp byte [ebx + 0x25c], 0
je 0x10184610
cmp byte [ebx + 0x26e], 0
je 0x1018461d
mov eax, dword [ebx + 0x2a8]
cmp dword [eax + 0x18], edi
jne 0x10184681
mov byte [esp + 0x11], 1
mov dword [esp + 0x18], edi
jmp 0x101846c3
cmp byte [ebx + 0x26e], 0
jne 0x101846b5
push 0
push esi
call fcn.101b0270
mov edi, eax
add esp, 8
test edi, edi
je 0x10184650
mov ebx, edi
mov dword [esp + 0x18], edi
push esi
call fcn.1005f470
push 1
push ebx
push esi
call fcn.101839e0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x10184180.1
cmp dword [ebx + 0xb8], 2
jne 0x10184662
cmp byte [ebx + 0x25e], 0
je 0x10184681
cmp byte [ebx + 0x263], 0
je 0x10184689
cmp byte [ebx + 0x260], 0
je 0x10184689
push ebx
call fcn.101b01f0
add esp, 4
test al, al
je 0x10184689
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x101846c3
mov eax, dword [ebx + 0x2a8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x101846a9
lea ecx, [esp + 0x11]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
je 0x101846ae
jmp 0x101846b5
mov byte [esp + 0x11], 1
mov byte [ebx + 0x26e], 1
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
jne 0x10184634
cmp byte [esp + 0x11], 0
jne 0x101846e0
cmp dword [esi + 0x28], 7
je case.0x10184180.1
mov dword [esi + 0x28], 7
jmp case.0x10184180.1
cmp dword [esi + 0x28], 8
je 0x101848de
push esi
mov dword [esi + 0x28], 8
call fcn.101b01a0
add esp, 4
or ebp, 0xffffffff
jmp case.0x10184180.1
mov edx, dword [ebx]
test edx, edx
je 0x1018475b
mov eax, dword [edx + 0x2a8]
cmp dword [eax + 0x18], ebp
je 0x1018475b
mov byte [esp + 0x11], 0
lea ecx, [esp + 0x11]
mov eax, dword [edx + 0x2a8]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x28]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10184755
push esi
call fcn.1005f470
push 1
push edi
push esi
call fcn.101839e0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x10184180.1
mov al, byte [esp + 0x11]
jmp 0x10184767
mov al, 1
xor edi, edi
mov byte [esp + 0x11], al
mov dword [esp + 0x18], edi
test al, al
je case.0x10184180.1
cmp ecx, 8
jmp 0x101846e4
cmp dword [esi + 0x1c8], ebp
je 0x1018481b
mov eax, dword [esi + 0x74]
lea edi, [esi + 0x70]
test eax, eax
jne 0x10184793
mov eax, dword [edi]
test eax, eax
je 0x1018479a
mov byte [eax + 0xe2], 1
push dword [esi + 0xde8]
lea eax, [esi + 0xdb8]
push dword [esi + 0xdb0]
push eax
lea eax, [esi + 0xd80]
push eax
push dword [esi + 0x1cc]
mov eax, dword [esi + 0x1c8]
call eax
mov ecx, dword [esi + 0x74]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x101847d7
mov byte [ecx + 0xe2], 0
jmp 0x101847e4
mov eax, dword [edi]
test eax, eax
je 0x101847e4
mov byte [eax + 0xe2], 0
test edx, edx
je 0x10184818
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.10188210
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.1005f470
push 0
push edi
push esi
call fcn.101839e0
add esp, 0x18
mov byte [esp + 0x10], 1
jmp case.0x10184180.1
mov ecx, dword [esi + 0x28]
cmp byte [esi + 0x700], 0
mov edx, dword [esi + 0xc]
je 0x1018484d
push 0
push edx
call fcn.10188dd0
add esp, 8
cmp dword [esi + 0x28], 0xe
je 0x1018483f
mov dword [esi + 0x28], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x10184180.1
mov eax, dword [edx + 0x2a8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x1018486f
lea ecx, [esp + 0x12]
push ecx
push esi
call eax
mov edx, dword [esi + 0xc]
add esp, 8
mov ecx, dword [esi + 0x28]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10184940
cmp byte [esp + 0x12], 0
jne 0x101848f9
cmp byte [esi + 0xd02], 0
je 0x101848e6
mov eax, dword [esi + 0xd10]
cmp eax, 7
je 0x1018489b
cmp eax, 5
jne 0x101848e6
push 0
push 0
push esi
call fcn.101839e0
mov ecx, dword [esi + 0xc]
add esp, 0xc
mov eax, ecx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x28], eax
je 0x101848de
mov dword [esi + 0x28], eax
test ecx, ecx
jne 0x101848c6
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x1022b7c8]
test eax, eax
je 0x101848de
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x10184180.1
cmp ecx, 9
je 0x101848f2
mov dword [esi + 0x28], 9
xor ebp, ebp
jmp case.0x10184180.1
cmp byte [edx + 0x26d], 0
je 0x10184915
cmp ecx, 0xa
je 0x1018490e
mov dword [esi + 0x28], 0xa
xor ebp, ebp
jmp case.0x10184180.1
cmp ecx, 0xb
je 0x101848de
push 6
lea eax, [esp + 0x60]
mov dword [esi + 0x28], 0xb
push esi
push eax
mov byte [esi + 0x142], 0
call fcn.1018f140
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x10184180.1
cmp edi, 0x37
jne 0x101849fe
cmp byte [edx + 0x267], 0
je 0x101849fe
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.101aca00
add esp, 8
test eax, eax
je 0x10184977
mov edi, eax
mov byte [esp + 0x10], 1
mov dword [esp + 0x18], edi
push esi
call fcn.1005f470
push 0
push edi
push esi
call fcn.101839e0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x101849ed
test eax, eax
je 0x101849ac
cmp eax, 0x37
je 0x101849ac
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x102823b8]
jmp 0x101851e6
push 2
push ecx
push esi
call fcn.101abc90
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x101849d9
cmp dword [esi + 0x28], 2
je 0x101849d4
push esi
mov dword [esi + 0x28], 2
call fcn.101ac1a0
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x102823b8]
jmp 0x101851e6
push ecx
mov byte [esp + 0x14], 1
call dword [0x102823b8]
jmp 0x101851e6
push esi
call fcn.1005f470
add esp, 4
cmp dword [esi + 0xc], ebp
je 0x10184a18
push 0
push edi
push esi
call fcn.101839e0
add esp, 0xc
mov byte [esp + 0x10], 1
jmp case.0x10184180.1
mov edx, dword [ebx]
test edx, edx
je 0x10184a78
mov eax, dword [edx + 0x2a8]
cmp dword [eax + 0x1c], ebp
je 0x10184a78
mov byte [esp + 0x12], 0
lea ecx, [esp + 0x12]
mov eax, dword [edx + 0x2a8]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0xc]
mov edi, eax
mov ecx, dword [esi + 0x28]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x10184a83
push esi
call fcn.1005f470
push 0
push edi
push esi
call fcn.101839e0
add esp, 0x10
mov byte [esp + 0x10], 1
jmp case.0x10184180.1
xor edi, edi
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x12], 0
je case.0x10184180.1
mov dl, byte [edx + 0x26d]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x101848de
mov dword [esi + 0x28], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x1022b7b8]
jmp 0x101848d4
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x2a8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10184ae7
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x28]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x10184a5c
test edx, edx
je 0x10185094
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x101848de
mov dword [esi + 0x28], eax
mov eax, dword [eax*4 + 0x1022b790]
jmp 0x101848d4
mov eax, dword [ebx]
mov edx, ecx
cmp byte [eax + 0x278], 0
je 0x10184b80
mov eax, dword [esp + 0x70]
add eax, 0x24
mov dword [esp + 0x30], eax
mov ebp, dword [eax]
test ebp, ebp
je 0x10184b80
mov ebx, dword [ebp]
cmp dword [ebx + 0x28], 2
je 0x10184b5c
push ebx
mov dword [ebx + 0x28], 2
call fcn.101ac1a0
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push ebp
push eax
call fcn.101aabd0
push 8
push 0
push 0
push ebx
call fcn.10182a30
mov byte [ebx + 0xd09], 1
add esp, 0x1c
mov edx, dword [esi + 0x28]
mov ecx, edx
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x2c0], 0xffffffff
jne 0x10184bcb
cmp dword [eax + 0x2c4], 0xffffffff
jne 0x10184bcb
cmp byte [esi + 0xd02], 0
je 0x10184bb7
mov eax, dword [eax + 0x2a8]
test dword [eax + 0x4c], 0x1000
jne 0x10184bb7
mov dword [esi + 0xd10], 7
cmp ecx, 0xe
je 0x10184bd7
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x10184180.1
cmp edx, 0xc
je 0x10184bd7
mov dword [esi + 0x28], 0xc
or ebp, 0xffffffff
jmp case.0x10184180.1
push esi
call fcn.1018f2a0
add esp, 4
test eax, eax
je 0x10184bf9
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x10184c1d
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.101ae420
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x10184c53
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 0x2a8]
test byte [eax + 0x4c], 2
jne 0x10184c3c
cmp ebx, 0x5c
je 0x10184c3c
push 2
push ecx
call fcn.10188dd0
add esp, 8
push esi
call fcn.1005f470
push 1
push ebx
push esi
call fcn.101839e0
add esp, 0x10
jmp case.0x10184180.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 0x10184cb6
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 + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x74c]
push dword [esi + 0x748]
call fcn.1018ed80
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x10184cc2
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 0x10184d25
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 + 0x800]
push ecx
push edx
push dword [esi + 0x814]
movups xmmword [eax], xmm0
push dword [esi + 0x810]
push dword [esi + 0x744]
push dword [esi + 0x740]
call fcn.1018ed80
add esp, 0x38
mov ecx, eax
jmp 0x10184d2d
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x10184d65
mov eax, ecx
or eax, edx
jne 0x10184d65
cmp dword [esi + 0x28], 0xc
je 0x10184d48
mov dword [esi + 0x28], 0xc
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1018f5f0
add esp, 0x14
jmp case.0x10184180.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x10184d85
jg 0x10184d73
cmp ebx, ecx
jb 0x10184d85
push 0xb
push eax
push ebx
push esi
call fcn.10182a30
add esp, 0x10
jmp case.0x10184180.1
push 0xb
push edx
push ecx
push esi
call fcn.10182a30
add esp, 0x10
jmp case.0x10184180.1
mov edx, dword [esi + 0x218]
xor al, al
mov ecx, dword [esi + 0x21c]
xorps xmm0, xmm0
mov byte [esp + 0x13], al
mov byte [esp + 0x15], al
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
movlpd qword [esp + 0x30], xmm0
je 0x10184e08
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 + 0x7e8]
push ecx
push edx
push dword [esi + 0x7fc]
movups xmmword [eax], xmm0
push dword [esi + 0x7f8]
push dword [esi + 0x74c]
push dword [esi + 0x748]
call fcn.1018ed80
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x10184e14
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 0x10184e7b
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 + 0x800]
push ecx
push edx
push dword [esi + 0x814]
movups xmmword [eax], xmm0
push dword [esi + 0x810]
push dword [esi + 0x744]
push dword [esi + 0x740]
call fcn.1018ed80
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x10184e87
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 0x1018509b
mov eax, ecx
or eax, edx
jne 0x1018509b
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x18]
push eax
lea ebx, [esi + 0xc]
push esi
push dword [ebx]
call fcn.101ac6f0
mov edi, eax
add esp, 0x10
mov al, byte [esp + 0x14]
mov dword [esp + 0x18], edi
test al, al
jne 0x10184f14
cmp edi, 0x38
je 0x10184f14
mov edx, edi
cmp edi, 0x5c
je 0x10184edf
mov cl, byte [esp + 0x13]
mov byte [esp + 0x13], cl
test edx, edx
je 0x10184f5c
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2a8]
test byte [eax + 0x4c], 2
jne 0x10184efd
cmp edi, 0x5c
je 0x10184efd
push 2
push ecx
call fcn.10188dd0
add esp, 8
push esi
call fcn.1005f470
push 1
push edi
push esi
call fcn.101839e0
add esp, 0x10
jmp case.0x10184180.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.101aca00
add esp, 8
mov edx, edi
test eax, eax
jne 0x10184f35
cmp dword [esp + 0x1c], ebp
setne cl
mov byte [esp + 0x13], cl
jmp 0x10184f48
test edi, edi
jne 0x10184f44
mov edi, eax
lea ebx, [esi + 0xc]
mov dword [esp + 0x18], edi
jmp 0x10184edf
mov cl, byte [esp + 0x13]
test cl, cl
je 0x10184ffe
xor edi, edi
mov al, 1
mov dword [esp + 0x18], edi
mov byte [esp + 0x14], al
test al, al
je 0x1018507a
push esi
call fcn.1005f470
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x1018502b
cmp dword [esi + 0x128], ebp
jne 0x10185007
cmp dword [esi + 0x124], ebp
je 0x10184fdd
push dword [esp + 0x1c]
call dword [0x102823b8]
mov eax, dword [esi + 0x124]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x124], ebp
call fcn.101abc90
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x102823b8]
add esp, 0x14
test edi, edi
je 0x10184fe5
push 1
push edi
push esi
mov byte [esp + 0x1c], 1
call fcn.101839e0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x10184180.1
cmp dword [esi + 0x28], 0xe
je 0x101848de
mov dword [esi + 0x28], 0xe
or ebp, 0xffffffff
jmp case.0x10184180.1
mov al, byte [esp + 0x14]
jmp 0x10184ed7
push dword [esp + 0x1c]
call dword [0x102823b8]
mov eax, dword [esi + 0x128]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x128], ebp
jmp 0x10185030
mov edi, 2
push 0
push 0
push esi
call fcn.101839e0
push edi
push dword [esp + 0x2c]
push esi
call fcn.101abc90
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1018506b
cmp dword [esi + 0x28], 2
je 0x10185068
push esi
mov dword [esi + 0x28], 2
call fcn.101ac1a0
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x102823b8]
jmp 0x101851e6
cmp byte [esp + 0x15], 0
je case.0x10184180.1
push 8
push 0
push 0
push esi
call fcn.10182a30
add esp, 0x10
xor ebp, ebp
jmp case.0x10184180.1
mov ecx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1018f5f0
add esp, 0x14
cmp dword [esi + 0x28], 0xd
je 0x101850c0
mov dword [esi + 0x28], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x101850e8
jg 0x101850f0
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x101850ec
push 0xb
push eax
push ebx
push esi
call fcn.10182a30
add esp, 0x10
jmp case.0x10184180.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.10182a30
add esp, 0x10
jmp case.0x10184180.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x1018517c
cmp byte [eax + 0x278], 0
je 0x10185167
mov eax, dword [esp + 0x70]
add eax, 0x24
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x10185167
mov ebx, dword [eax]
cmp dword [ebx + 0x28], 2
je 0x10185145
push ebx
mov dword [ebx + 0x28], 2
call fcn.101ac1a0
mov eax, dword [esp + 0x34]
add esp, 4
push 0
push eax
push dword [esp + 0x2c]
call fcn.101aabd0
push 8
push 0
push 0
push ebx
call fcn.10182a30
add esp, 0x1c
mov byte [ebx + 0xd09], 1
push 0
push edi
push esi
call fcn.101839e0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd02], 0
je 0x1018519d
cmp dword [esi + 0xd10], 7
je 0x1018519d
cmp dword [esi + 0x28], 0
je case.0x10184180.1
mov dword [esi + 0x28], 0
jmp case.0x10184180.1
cmp dword [esi + 0x28], 0xf
je case.0x10184180.1
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x101851d9
push esi
call fcn.101b0120
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2fc]
push eax
call fcn.101aabd0
push ebx
push esi
call fcn.101777d0
add esp, 0x18
push esi
mov dword [esi + 0xc], 0
call fcn.10182c40
add esp, 4
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
je 0x1018523b
mov eax, dword [esi + 0x28]
lea ebx, [esi + 0xc]
mov ecx, dword [esp + 0x70]
sub eax, 2
cmp eax, 5
ja 0x1018523f
lea ebx, [esi + 0xc]
cmp ebp, 0xffffffff
je 0x1018523f
cmp byte [ecx + 0xe1], 0
lea ebx, [esi + 0xc]
jne 0x1018523f
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x80]
push esi
call fcn.10183ea0
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0xc]
add esp, 0x14
mov ecx, dword [esp + 0x70]
mov eax, dword [esi + 0x28]
cmp eax, 0xf
jge 0x101853bb
test edi, edi
je 0x10185358
mov ebp, dword [ecx + 0x24]
add ecx, 0x24
mov dword [esp + 0x30], ecx
test ebp, ebp
je 0x101852a0
mov ebx, dword [ebp]
cmp dword [ebx + 0x28], 2
je 0x1018527e
push ebx
mov dword [ebx + 0x28], 2
call fcn.101ac1a0
mov ecx, dword [esp + 0x34]
add esp, 4
push 0
push ebp
push ecx
call fcn.101aabd0
push 8
push 0
push 0
push ebx
call fcn.10182a30
mov byte [ebx + 0xd09], 1
add esp, 0x1c
mov eax, dword [esi + 0x28]
mov ebp, dword [esi + 0xc]
test ebp, ebp
je 0x101852f5
cmp byte [esp + 0x10], 0
je 0x10185306
cmp edi, 0x1c
push esi
sete byte [esp + 0x3c]
call fcn.101b0120
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp + 0x2fc]
push eax
call fcn.101aabd0
push ebp
push esi
call fcn.101777d0
push 1
push ebp
push esi
mov dword [esi + 0xc], 0
call fcn.101871b0
push dword [esp + 0x5c]
push ebp
push esi
call fcn.1017c740
add esp, 0x30
jmp 0x10185306
lea ebp, [esi + 0xc]
cmp eax, 2
jne 0x10185309
push esi
call fcn.1005f470
add esp, 4
lea ebp, [esi + 0xc]
cmp dword [esi + 0x28], 0xf
je 0x101853b8
mov eax, dword [esi + 0x70]
mov dword [esi + 0x28], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x10185349
push esi
call fcn.101b0120
push 0
lea eax, [esi + 0x1c]
push eax
lea eax, [ebx + 0x2fc]
push eax
call fcn.101aabd0
push ebx
push esi
call fcn.101777d0
add esp, 0x18
push esi
mov dword [ebp], 0
call fcn.10182c40
jmp 0x101853b5
cmp dword [ebx], 0
je 0x101853bb
push esi
call fcn.1018f2a0
add esp, 4
test eax, eax
je 0x101853bb
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.10188dd0
mov ecx, dword [esi + 0x28]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x101853b8
mov dword [esi + 0x28], eax
cmp ecx, 0xe
jl 0x1018539f
mov eax, dword [esi + 0x70]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x1022b7c8]
test eax, eax
je 0x101853b8
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x28], 0xf
jne 0x10185408
mov eax, dword [esi + 0x6c0]
test eax, eax
je 0x101853d4
push edi
push esi
call eax
add esp, 8
jmp 0x101853fb
lea eax, [esi + 0x30]
mov dword [eax + 0xc], 1
push eax
push eax
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x78]
push dword [eax + 0x18]
add eax, 0x14
push eax
call fcn.101aab50
add esp, 0x10
xor ebp, ebp
cmp dword [esi + 0x28], 0x10
je 0x10185408
mov dword [esi + 0x28], 0x10
mov ecx, dword [esp + 0x70]
cmp ebp, 0xffffffff
je 0x101840c0
cmp byte [ecx + 0xe1], 0
jne 0x101840c0
mov dword [esi + 0x2c], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov dword [esi + 0x2c], edi
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