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

Disassembly:
sub esp, 0x70
push ebx
push ebp
push esi
mov esi, dword [esp + 0x88]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov byte [esp + 0x16], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x1005d297
cmp dword [esi], 0xc0dedbad
jne 0x1005d297
mov ecx, dword [esp + 0x84]
cmp byte [ecx + 0x108], 0
je 0x1005c0e0
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.100606a0
push 0
push edi
push esi
call fcn.1005bab0
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x1005c0d8
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x1005c0c8
push esi
push ebx
call fcn.1006b020
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x21c]
push eax
call fcn.10073920
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.1005ac10
add esp, 4
mov ecx, dword [esp + 0x84]
nop
mov al, byte [ecx + 0x106]
xor ebp, ebp
mov byte [esp + 0x12], 0
mov byte [ecx + 0x106], 0
test al, al
je 0x1005c101
push ecx
call fcn.1005dae0
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x1005c120
cmp dword [ebx], ebp
jne 0x1005c124
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
cmp dword [ebx], ebp
je 0x1005c154
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x1005c154
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x94]
push esi
call fcn.1005bed0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x1005d0c8
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x1005c15c
jmp dword [ecx*4 + 0x1005d2a4]
push esi
call fcn.10070de0
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x1005c15c.1
cmp dword [esi + 0x34], 2
je 0x1005c190
push esi
mov dword [esi + 0x34], 2
call fcn.10070d30
add esp, 4
push 1
lea eax, [esp + 0x44]
push esi
push eax
call fcn.1007c050
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x88]
movups xmmword [eax], xmm0
jmp case.0x1005c15c.1
cmp dword [esi + 0x8bc], ebp
jne 0x1005c1e6
mov eax, dword [esi + 0x4a0]
inc eax
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x8bc], eax
test eax, eax
jne 0x1005c1e6
mov edi, 0x1b
mov dword [esp + 0x18], edi
jmp case.0x1005c15c.1
push 2
lea eax, [esp + 0x54]
push esi
push eax
call fcn.1007c050
mov ebx, dword [esp + 0x94]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x1005c21b
push 0xa
push 0
push eax
push esi
call fcn.1005aa00
add esp, 0x10
mov eax, dword [esi + 0x1e4]
test eax, eax
je 0x1005c233
push 2
push 0
push eax
push esi
call fcn.1005aa00
add esp, 0x10
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.10066f70
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x1005c2bd
cmp dword [esi + 0x34], 1
je 0x1005c25e
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x84]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.100738a0
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x1005c288
mov dword [ecx + 0x10], eax
jmp 0x1005c28b
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x1005c2a9
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.0x1005c15c.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.0x1005c15c.1
cmp byte [esi + 0xd80], 0
je 0x1005c2dc
push str.Transfer_was_pending__now_try_another
push esi
call fcn.1006b920
push dword [esi + 0x7c]
call fcn.1005dae0
add esp, 0xc
test edi, edi
jne case.0x1005c15c.1
push 3
lea eax, [esp + 0x64]
push esi
push eax
call fcn.1007c050
add esp, 0xc
cmp byte [esp + 0x17], 0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x34]
je 0x1005c319
cmp eax, 3
je case.0x1005c15c.1
mov dword [esi + 0x34], 3
jmp case.0x1005c15c.1
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x1005c338
cmp eax, 6
je case.0x1005c15c.1
mov dword [esi + 0x34], 6
jmp case.0x1005c15c.1
cmp eax, 4
je case.0x1005c15c.1
mov dword [esi + 0x34], 4
jmp case.0x1005c15c.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x1a8], 0
je 0x1005c361
mov ebx, dword [eax + 0x78]
jmp 0x1005c372
cmp byte [eax + 0x1b1], 0
je 0x1005c36f
mov ebx, dword [eax + 0x48]
jmp 0x1005c372
mov ebx, dword [eax + 0x30]
push dword [eax + 0x420]
push ebx
push esi
call fcn.100740c0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1005c3b4
push ebx
push 0x100b0844
xor edi, edi
mov dword [esi + 0x994], eax
push esi
mov byte [esi + 0x9a8], 1
mov dword [esp + 0x24], edi
call fcn.1006b920
mov eax, dword [esp + 0x28]
add esp, 0xc
test eax, eax
jne 0x1005c3c8
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10074cb0
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x84]
push esi
push ebx
call fcn.1005dd60
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1005d219
cmp dword [esp + 0x1c], eax
je 0x1005c42d
lea eax, [esp + 0x15]
push eax
push esi
call fcn.10074700
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1005c406
mov dword [esi + 0x18], ebp
jmp 0x1005c42d
mov eax, dword [esi + 0x34]
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x1005c421
cmp eax, 6
je 0x1005c42d
mov dword [esi + 0x34], 6
jmp 0x1005c42d
cmp eax, 4
je 0x1005c42d
mov dword [esi + 0x34], 4
test edi, edi
je case.0x1005c15c.1
mov byte [esp + 0x12], 1
jmp case.0x1005c15c.1
lea eax, [esp + 0x13]
push eax
push esi
call fcn.10076390
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x1ac], 0
je 0x1005c48e
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.1005bab0
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x1005c15c.1
push esi
mov dword [esi + 0x34], 2
call fcn.10070d30
jmp 0x1005d070
test edi, edi
jne 0x1005c435
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x1005c15c.1
mov dword [esi + 0x34], 6
jmp case.0x1005c15c.1
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.1006aea0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
je 0x1005c4e7
test edi, edi
jne 0x1005c4ef
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
je case.0x1005c15c.1
mov dword [esi + 0x34], 6
jmp case.0x1005c15c.1
test edi, edi
je case.0x1005c15c.1
push esi
call fcn.100606a0
push 1
push edi
push esi
call fcn.1005bab0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1005c15c.1
cmp byte [esi + 0xd87], 0
je 0x1005c526
push esi
call fcn.1005db90
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 0x1005c4ef
cmp byte [ebx + 0x1af], 0
je 0x1005c54a
cmp ecx, 8
je 0x1005c542
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x1005c15c.1
test edi, edi
jne 0x1005c4ef
lea eax, [ebx + 0x1b6]
mov byte [esp + 0x13], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.1006b3e0
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x1005c588
cmp byte [eax], 0
je 0x1005c591
mov eax, dword [ebx + 0x1c8]
cmp dword [eax + 0x18], edi
jne 0x1005c584
mov byte [esp + 0x13], 1
xor edi, edi
jmp 0x1005c5bd
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x1005c5bd
mov eax, dword [ebx + 0x1c8]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1005c5b1
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005c5bd
jmp 0x1005c5b6
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1005c4ef
cmp byte [esp + 0x13], 0
jne 0x1005c536
cmp ecx, 7
je 0x1005c5e3
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x1005c15c.1
mov edx, dword [ebx]
test edx, edx
je 0x1005c627
mov eax, dword [edx + 0x1c8]
cmp dword [eax + 0x18], ebp
je 0x1005c627
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x1c8]
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 0x1005c632
jmp 0x1005c4ef
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], 0
je case.0x1005c15c.1
jmp 0x1005c536
cmp dword [esi + 0x1bc], ebp
je 0x1005c6ec
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x1005c661
mov eax, dword [edi]
test eax, eax
je 0x1005c668
mov byte [eax + 0x107], 1
push dword [esi + 0xe44]
lea eax, [esi + 0xe14]
push dword [esi + 0xe0c]
push eax
lea eax, [esi + 0xddc]
push eax
push dword [esi + 0x1c0]
mov eax, dword [esi + 0x1bc]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x1005c6a8
mov byte [ecx + 0x107], 0
jmp 0x1005c6b5
mov eax, dword [edi]
test eax, eax
je 0x1005c6b5
mov byte [eax + 0x107], 0
test edx, edx
je 0x1005c6e9
push str.operation_aborted_by_pre_request_callback
push esi
call fcn.1006b850
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.100606a0
push 0
push edi
push esi
call fcn.1005bab0
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x1005c15c.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x6a5], 1
mov edx, dword [esi + 0x18]
jne 0x1005c71e
push 0
push edx
call fcn.1006cd80
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x1005c710
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x1005c15c.1
mov eax, dword [edx + 0x1c8]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x1005c740
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1005c820
cmp byte [esp + 0x14], 0
jne 0x1005c7d0
cmp byte [esi + 0xd7a], 0
je 0x1005c7b8
mov eax, dword [esi + 0xd90]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x1005c76d
cmp al, 5
jne 0x1005c7b8
push 0
push 0
push esi
call fcn.1005bab0
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 0x1005c7b0
mov dword [esi + 0x34], eax
test ecx, ecx
jne 0x1005c798
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
test ecx, ecx
sete al
mov eax, dword [eax*4 + 0x100b0610]
test eax, eax
je 0x1005c7b0
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1005c15c.1
cmp ecx, 9
je 0x1005c542
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x1005c15c.1
cmp byte [edx + 0x1b5], 0
je 0x1005c7f1
cmp ecx, 0xa
je 0x1005c542
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x1005c15c.1
cmp ecx, 0xb
je 0x1005c542
push 7
lea eax, [esp + 0x74]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x142], 0
call fcn.1007c050
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x1005c15c.1
cmp edi, 0x37
jne 0x1005c8de
cmp byte [edx + 0x1af], 0
je 0x1005c8de
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.10071530
add esp, 8
test eax, eax
je 0x1005c857
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call fcn.100606a0
push 0
push edi
push esi
call fcn.1005bab0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x1005c8cd
test eax, eax
je 0x1005c88c
cmp eax, 0x37
je 0x1005c88c
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x100c8004]
jmp 0x1005d070
push 2
push ecx
push esi
call fcn.10070800
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1005c8b9
cmp dword [esi + 0x34], 2
je 0x1005c8b4
push esi
mov dword [esi + 0x34], 2
call fcn.10070d30
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x100c8004]
jmp 0x1005d070
push ecx
mov byte [esp + 0x16], 1
call dword [0x100c8004]
jmp 0x1005d070
push esi
call fcn.100606a0
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x1005c501
push 0
push edi
push esi
call fcn.1005bab0
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x1005c15c.1
mov edx, dword [ebx]
test edx, edx
je 0x1005c95c
mov eax, dword [edx + 0x1c8]
cmp dword [eax + 0x1c], ebp
je 0x1005c95c
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0x1c8]
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 0x1005c967
push esi
call fcn.100606a0
push 0
push edi
push esi
call fcn.1005bab0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1005c15c.1
xor edi, edi
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x14], 0
je case.0x1005c15c.1
mov dl, byte [edx + 0x1b5]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x1005c542
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x100b0600]
test eax, eax
je 0x1005c542
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1005c15c.1
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x30], edx
xor edi, edi
mov eax, dword [eax + 0x1c8]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1005c9dc
lea ecx, [esp + 0x30]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x30]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1005c940
test edx, edx
je case.0x1005c15c.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x1005c542
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x100b05d8]
test eax, eax
je 0x1005c542
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1005c15c.1
mov eax, dword [ebx]
cmp byte [eax + 0x1bf], 0
je 0x1005ca48
mov ebx, dword [esp + 0x84]
push ebx
call fcn.1005dae0
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x1e0], 0xffffffff
jne 0x1005ca93
cmp dword [eax + 0x1e4], 0xffffffff
jne 0x1005ca93
cmp byte [esi + 0xd7a], 0
je 0x1005ca7e
mov eax, dword [eax + 0x1c8]
test dword [eax + 0x4c], 0x1000
jne 0x1005ca7e
mov eax, dword [esi + 0xd90]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x1005ca9f
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x1005c15c.1
cmp ecx, 0xc
je 0x1005ca9f
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x1005c15c.1
push esi
call fcn.1007c380
add esp, 4
test eax, eax
je 0x1005cac1
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x1005cae8
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1007d6d0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x1005cb1e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1c8]
test byte [eax + 0x4c], 2
jne 0x1005cb07
cmp ebx, 0x5c
je 0x1005cb07
push 2
push ecx
call fcn.1006cd80
add esp, 8
push esi
call fcn.100606a0
push 1
push ebx
push esi
call fcn.1005bab0
add esp, 0x10
jmp case.0x1005c15c.1
mov edx, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x34], xmm0
je 0x1005cb84
mov ebx, dword [esp + 0x88]
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 + 0x714]
push dword [esi + 0x710]
call fcn.1007bc90
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x1005cb90
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x218]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x21c]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x1005cbf6
mov edx, dword [esp + 0x88]
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 + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.1007bc90
add esp, 0x38
mov ecx, eax
jmp 0x1005cbfe
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, ebx
or eax, dword [esp + 0x20]
jne 0x1005cc39
mov eax, ecx
or eax, edx
jne 0x1005cc39
cmp dword [esi + 0x34], 0xc
je 0x1005cc19
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1007c700
add esp, 0x14
jmp case.0x1005c15c.1
mov eax, dword [esp + 0x20]
cmp eax, edx
jl 0x1005cc59
jg 0x1005cc47
cmp ebx, ecx
jb 0x1005cc59
push 0xb
push eax
push ebx
push esi
call fcn.1005aa00
add esp, 0x10
jmp case.0x1005c15c.1
push 0xb
push edx
push ecx
push esi
call fcn.1005aa00
add esp, 0x10
jmp case.0x1005c15c.1
mov eax, dword [esi + 0x210]
xor bl, bl
mov ecx, dword [esi + 0x214]
xorps xmm0, xmm0
or eax, ecx
mov dword [esp + 0x1c], ebp
movlpd qword [esp + 0x34], xmm0
je 0x1005ccd9
mov edx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b8]
push ecx
push edx
push dword [esi + 0x7cc]
movups xmmword [eax], xmm0
push dword [esi + 0x7c8]
push dword [esi + 0x714]
push dword [esi + 0x710]
call fcn.1007bc90
add esp, 0x38
mov dword [esp + 0x24], edx
jmp 0x1005cce5
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x21c]
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x218]
or eax, ecx
movlpd qword [esp + 0x28], xmm0
je 0x1005cd53
mov edx, dword [esp + 0x88]
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 + 0x7d0]
push ecx
push edx
push dword [esi + 0x7e4]
movups xmmword [eax], xmm0
push dword [esi + 0x7e0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.1007bc90
add esp, 0x38
mov dword [esp + 0x28], eax
mov ecx, eax
jmp 0x1005cd5f
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 + 0x34], edx
jne 0x1005cf64
mov eax, ecx
or eax, edx
jne 0x1005cf64
lea eax, [esp + 0x16]
push eax
push esi
call fcn.100711a0
mov edi, eax
add esp, 8
mov al, byte [esp + 0x16]
mov dword [esp + 0x18], edi
test al, al
jne 0x1005cdac
cmp edi, 0x38
je 0x1005cdac
mov ecx, edi
cmp edi, 0x5c
jne 0x1005ce92
jmp 0x1005ce9a
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10071530
add esp, 8
mov ecx, edi
test eax, eax
jne 0x1005ce7e
cmp dword [esp + 0x1c], ebp
setne bl
test bl, bl
je 0x1005ce8e
xor edi, edi
mov al, 1
mov dword [esp + 0x18], edi
mov byte [esp + 0x16], al
test al, al
je 0x1005cf43
push esi
call fcn.100606a0
add esp, 4
test bl, bl
jne 0x1005cef4
cmp dword [esi + 0x110], ebp
jne 0x1005ced0
cmp dword [esi + 0x10c], ebp
je 0x1005ce5d
push dword [esp + 0x1c]
call dword [0x100c8004]
mov eax, dword [esi + 0x10c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x10c], ebp
call fcn.10070800
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x100c8004]
add esp, 0x14
test edi, edi
je 0x1005ce65
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.1005bab0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x1005c15c.1
cmp dword [esi + 0x34], 0xe
je 0x1005c542
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x1005c15c.1
test edi, edi
jne 0x1005cdcb
mov edi, eax
mov dword [esp + 0x18], edi
jmp 0x1005ce9a
mov al, byte [esp + 0x16]
test ecx, ecx
je 0x1005cddf
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x1c8]
test byte [eax + 0x4c], 2
jne 0x1005ceb9
cmp edi, 0x5c
je 0x1005ceb9
push 2
push ecx
call fcn.1006cd80
add esp, 8
push esi
call fcn.100606a0
push 1
push edi
push esi
call fcn.1005bab0
add esp, 0x10
jmp case.0x1005c15c.1
push dword [esp + 0x1c]
call dword [0x100c8004]
mov eax, dword [esi + 0x110]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x110], ebp
jmp 0x1005cef9
mov edi, 2
push 0
push 0
push esi
call fcn.1005bab0
push edi
push dword [esp + 0x2c]
push esi
call fcn.10070800
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1005cf34
cmp dword [esi + 0x34], 2
je 0x1005cf31
push esi
mov dword [esi + 0x34], 2
call fcn.10070d30
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x100c8004]
jmp 0x1005d070
cmp byte [esi + 0xd73], 0
je case.0x1005c15c.1
push 8
push 0
push 0
push esi
call fcn.1005aa00
add esp, 0x10
jmp case.0x1005c15c.1
mov ecx, dword [esp + 0x88]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1007c700
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x1005cf8c
mov dword [esi + 0x34], 0xd
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
cmp ecx, ebx
jl 0x1005cfb8
mov eax, dword [esp + 0x20]
jg 0x1005cfc0
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x1005cfbc
push 0xb
push ecx
push eax
push esi
call fcn.1005aa00
add esp, 0x10
jmp case.0x1005c15c.1
mov edx, dword [esp + 0x28]
mov eax, edx
mov ecx, ebx
push 0xb
push ecx
push eax
push esi
call fcn.1005aa00
add esp, 0x10
jmp case.0x1005c15c.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x1005d009
cmp byte [eax + 0x1bf], 0
je 0x1005cff4
mov ebx, dword [esp + 0x84]
push ebx
call fcn.1005dae0
add esp, 4
push 0
push edi
push esi
call fcn.1005bab0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd7a], 0
je 0x1005d02d
mov eax, dword [esi + 0xd90]
cmp byte [eax + 0x20], 7
je 0x1005d02d
cmp dword [esi + 0x34], 0
je case.0x1005c15c.1
mov dword [esi + 0x34], 0
jmp case.0x1005c15c.1
cmp dword [esi + 0x34], 0xf
je case.0x1005c15c.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x1005d063
push esi
push ebx
call fcn.1006b020
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x21c]
push eax
call fcn.10073920
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.1005ac10
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x1005d0c8
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x84]
sub eax, 2
cmp eax, 5
ja 0x1005d0cf
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x1005d0cf
cmp byte [edx + 0x106], 0
lea ebx, [esi + 0x18]
jne 0x1005d0cf
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x94]
push esi
call fcn.1005bed0
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x84]
cmp dword [esi + 0x34], 0xf
jge 0x1005d1f7
test edi, edi
je 0x1005d190
push edx
call fcn.1005dae0
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x1005d13a
cmp byte [esp + 0x12], 0
je 0x1005d149
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x44]
call fcn.1006b020
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x21c]
push eax
call fcn.10073920
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.10063930
push dword [esp + 0x5c]
push ebp
push esi
call fcn.100670c0
add esp, 0x2c
lea ebx, [esi + 0x18]
jmp 0x1005d149
cmp dword [esi + 0x34], 2
jne 0x1005d149
push esi
call fcn.100606a0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x1005d1f0
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov ebp, dword [ebx]
test ebp, ebp
je 0x1005d182
push esi
push ebp
call fcn.1006b020
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x21c]
push eax
call fcn.10073920
add esp, 0x14
push esi
mov dword [ebx], 0
call fcn.1005ac10
jmp 0x1005d1ed
cmp dword [ebx], 0
je 0x1005d1f3
push esi
call fcn.1007c380
add esp, 4
test eax, eax
je 0x1005d1f3
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.1006cd80
mov ecx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ecx, 0xe
setge al
add eax, 0xe
cmp ecx, eax
je 0x1005d1f0
mov dword [esi + 0x34], eax
cmp ecx, 0xe
jl 0x1005d1d7
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
xor eax, eax
cmp ecx, 0xe
setge al
mov eax, dword [eax*4 + 0x100b0610]
test eax, eax
je 0x1005d1f0
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x1005d223
mov ecx, dword [esp + 0x84]
cmp ebp, 0xffffffff
je 0x1005c0e0
cmp byte [ecx + 0x106], 0
jne 0x1005c0e0
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
mov eax, dword [esi + 0x680]
test eax, eax
je 0x1005d23d
push edi
push esi
call eax
mov ebx, dword [esp + 0x8c]
add esp, 8
jmp 0x1005d265
mov ebx, dword [esp + 0x84]
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.100738a0
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x1005d272
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.100738a0
push esi
push ebx
call fcn.1005e140
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x70
ret