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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1021c78c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x708
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x9c], ebx
test byte [ebx + 0xe0], 0x20
jne 0x100b6cb6
mov esi, dword [ebp + 8]
lea ecx, [esi + 0xfc]
call fcn.10013d77
mov edi, eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0xa0], edi
test eax, eax
jne 0x100b5b95
mov eax, dword [0x102b7738]
jmp 0x100b5ba8
cmp eax, dword [0x102b7738]
jne 0x100b5ba8
push 0
push ecx
push esi
mov ecx, ebx
call fcn.10079533
and dword [esp + 0x54], 0
lea ecx, [esp + 0x54]
push eax
call fcn.1000fd99
and dword [esp + 0x71c], 0
mov esi, dword [edi]
mov edi, dword [esp + 0x54]
mov ecx, dword [ebp + 8]
push edi
call fcn.1008cc6d
mov ecx, dword [esp + 0xa0]
push eax
call dword [esi + 0xc]
mov ecx, dword [esp + 0xa0]
lea esi, [ebx + 0xa8]
lea edx, [ebx + 0xac]
mov dword [esp + 0x70], esi
push esi
push edx
mov eax, dword [ecx]
mov dword [esp + 0x58], edx
call dword [eax + 0x1c]
cmp dword [edi + 0x24], 0
jbe 0x100b5c65
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov eax, dword [eax]
cmp eax, 0x80000000
cmove eax, ecx
push eax
sub esp, 0x10
lea eax, [edi + 0xc]
mov ecx, esp
push eax
call fcn.10003a43
lea ecx, [edi + 0x24]
call fcn.1008645a
mov ebx, eax
mov edx, SysReAllocStringLen
mov eax, esi
mov esi, dword [eax]
xor eax, eax
cmp esi, edx
cmove esi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
xor eax, eax
cmp ecx, edx
cmove ecx, eax
mov eax, ebx
sub eax, ecx
mov ecx, dword [esp + 0x70]
cdq
sub eax, edx
sar eax, 1
add eax, esi
mov dword [ecx], eax
mov eax, dword [esp + 0x50]
mov dword [eax], ebx
mov ebx, dword [esp + 0x9c]
mov eax, dword [ebx]
mov ecx, ebx
mov esi, dword [ebp + 8]
push esi
call dword [eax + 0x3e4]
xor edx, edx
inc edx
cmp eax, edx
jne 0x100b5c8d
and dword [ebx + 0xb0], 0
and dword [ebx + 0xb8], 0
jmp 0x100b6ca7
lea ecx, [ebx + 0xf0]
mov eax, dword [ecx]
mov dword [esp + 0xbc], ecx
test eax, eax
je 0x100b5ca5
mov eax, dword [eax - 4]
jmp 0x100b5ca7
xor eax, eax
test eax, eax
je 0x100b5cb9
cmp dword [edi + 0x38], 0x80000000
je 0x100b5cd9
cmp dword [edi + 0x38], edx
jne 0x100b5cd9
push 0
call fcn.1004ced2
push ebx
lea eax, [ebx + 0xf0]
mov ecx, ebx
push eax
push esi
call fcn.100b4cec
xor edx, edx
lea ecx, [ebx + 0xf0]
inc edx
mov eax, dword [ecx]
test eax, eax
je 0x100b5ce4
mov eax, dword [eax - 4]
jmp 0x100b5ce6
xor eax, eax
test eax, eax
jne 0x100b5d30
lea ecx, [edi + 8]
call fcn.1002b79a
test al, al
jne 0x100b5d0e
mov eax, dword [ebx + 0xac]
xor ecx, ecx
cmp eax, 0x80000000
cmove eax, ecx
mov dword [ebx + 0xb8], eax
jmp 0x100b5d15
and dword [ebx + 0xb8], 0
mov eax, dword [ebx + 0xb8]
xor ecx, ecx
cmp eax, 0x7fffffff
cmove eax, ecx
mov dword [ebx + 0x8c], eax
jmp 0x100b6ca7
cmp dword [ebx + 0xe4], 0
jne 0x100b5d47
cmp dword [edi + 0x44], 0xff
je 0x100b5d5d
cmp dword [edi + 0x44], edx
jne 0x100b5d5d
mov eax, dword [ecx]
test eax, eax
je 0x100b5d52
mov edx, dword [eax - 4]
jmp 0x100b5d54
xor edx, edx
push ecx
mov ecx, eax
call fcn.100bc33a
pop ecx
lea ecx, [esp + 0x118]
call fcn.1002c95e
xor eax, eax
lea ecx, [esp + 0x118]
inc eax
push eax
push edi
mov byte [esp + 0x724], al
call fcn.1002cae9
mov eax, dword [ebx + 0xa8]
xor ecx, ecx
mov edx, SysReAllocStringLen
cmp eax, edx
cmove eax, ecx
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0xac]
cmp eax, edx
cmove eax, ecx
lea ecx, [ebx + 0xd0]
mov dword [esp + 0x44], eax
call fcn.1001af03
mov eax, dword [ebx + 0x88]
lea ecx, [ebx + 0xf4]
or dword [esp + 0xb8], 0xffffffff
dec eax
push 0
mov dword [esp + 0xb0], eax
call fcn.1004cfc1
mov eax, dword [ebx + 0xf0]
xor esi, esi
mov dword [esp + 0x1c], esi
test eax, eax
je 0x100b5ded
mov eax, dword [eax - 4]
mov dword [esp + 0x60], eax
jmp 0x100b5df1
and dword [esp + 0x60], esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x49c]
mov ecx, dword [ebx + 0xec]
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x100b5e0f
push ecx
call fcn.100c9d51
lea ecx, [edi + 8]
call fcn.100b412e
mov ecx, dword [edi + 0x38]
mov edx, dword [edi + 0x4dc]
mov byte [esp + 0x2f], al
xor eax, eax
cmp ecx, 0x80000000
cmove ecx, eax
inc eax
cmp ecx, eax
mov ecx, dword [esp + 0x60]
sete byte [esp + 0x2e]
lea eax, [ecx - 1]
mov dword [esp + 0xc4], eax
xor eax, eax
cmp edx, 0x80000000
mov dword [esp + 0x24], eax
cmove edx, eax
mov dword [esp + 0x70], edx
test ecx, ecx
jle 0x100b6c72
xor ecx, ecx
xorps xmm0, xmm0
movdqu xmmword [esp + 0x7c], xmm0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
or dword [esp + 0x30], 0xffffffff
mov esi, ebx
mov byte [esp + 0x71c], 2
mov dword [esp + 0x90], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xc], esi
test edx, edx
je 0x100b5ece
mov ecx, dword [esp + 0x28]
push ebx
push edx
push dword [esp + 0x24]
call fcn.100785fc
mov dword [esp + 0x1c], eax
jmp 0x100b5ed2
mov eax, dword [esp + 0x1c]
push ebx
push dword [esp + 0x48]
push eax
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0xf0]
push eax
call fcn.1007851a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], eax
cmp ecx, eax
jle 0x100b5f58
imul ecx, dword [esp + 0x24], 0x1c
push ebx
add ecx, dword [ebx + 0xf0]
movsx eax, word [ecx + 0x12]
movsx edx, word [ecx + 0x14]
add edx, eax
movzx eax, word [ecx + 0xe]
mov ecx, dword [esp + 0x2c]
add edx, eax
mov eax, dword [esp + 0x20]
push edx
push 0
inc eax
push eax
call fcn.100785b2
push ebx
push dword [esp + 0x48]
mov dword [esp + 0x24], eax
push eax
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x118]
push eax
call fcn.1007851a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x100b5f69
cmp eax, dword [esp + 0xac]
je 0x100b5f6d
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100b5fad
push dword [ebp + 8]
lea eax, [esp + 0xdc]
mov ecx, ebx
push eax
call fcn.1007804d
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
add eax, edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
jmp 0x100b5fb2
and dword [esp + 0x6c], 0
cmp eax, dword [esp + 0x60]
jge 0x100b682d
mov edx, dword [ebx + 0xf0]
imul eax, eax, 0x1c
mov dword [esp + 0x20], edx
lea ecx, [edx + 4]
add ecx, eax
mov dword [esp + 0x10], eax
mov edi, dword [ecx]
test edi, edi
mov dword [esp + 0xb0], edi
mov edi, dword [esp + 0x54]
je 0x100b6c93
cmp dword [eax + edx + 8], 0
je 0x100b6c93
call fcn.100bbf7c
xor edx, edx
mov dword [esp + 0xc0], edx
movzx eax, word [eax]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x60]
jge 0x100b6039
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp dword [ecx + eax + 0x24], edx
je 0x100b602a
mov eax, dword [ecx + eax + 0x20]
jmp 0x100b602f
mov eax, 0x102b8f50
movzx eax, word [eax]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xb0]
push 0x20
pop ecx
mov byte [esp + 0x36], dl
cmp word [eax], cx
jne 0x100b6058
lea ecx, [edi + 8]
call fcn.1002b79a
test al, al
jne 0x100b6069
mov eax, dword [esp + 0xa8]
inc eax
mov dword [esp + 0xa8], eax
jmp 0x100b6070
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x100b6083
movzx eax, word [ecx + edx + 0x10]
jmp 0x100b6085
xor eax, eax
mov word [ecx + edx + 0xe], ax
xor eax, eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x37], al
mov eax, dword [ecx + edx]
mov dword [esp + 0x40], eax
cmp eax, ebx
je 0x100b617c
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x100b60b1
mov dword [esp + 0x58], ebx
jmp 0x100b60c3
mov eax, dword [ebx + 0xf0]
mov eax, dword [ecx + eax - 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0xc4]
jne 0x100b60d2
mov dword [esp + 0x3c], ebx
jmp 0x100b60e0
mov eax, dword [ebx + 0xf0]
mov eax, dword [ecx + eax + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + edx]
cmp eax, dword [esp + 0x58]
je 0x100b610c
push dword [ebx + 0x8c]
mov eax, dword [eax]
push dword [ebx + 0x88]
mov ecx, dword [esp + 0x48]
push dword [ebp + 8]
call dword [eax + 0x11c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp + 8]
call fcn.100b4aaf
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
test al, al
je 0x100b617c
mov eax, dword [esp + 0x24]
test eax, eax
je 0x100b6146
cmp eax, dword [esp + 0xc4]
je 0x100b6146
mov eax, dword [esp + 0x58]
cmp eax, dword [ecx + edx]
jne 0x100b6146
mov eax, dword [esp + 0x3c]
cmp eax, dword [ecx + edx]
je 0x100b617c
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x58]
call fcn.100b5a92
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov word [ecx + edx + 0x12], ax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ecx + eax]
call fcn.100b5ace
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov word [ecx + edx + 0x14], ax
mov ax, word [ecx + edx + 0x12]
add ax, word [esp + 0x18]
mov word [ecx + edx + 0xc], ax
cmp dword [ecx + edx], esi
je 0x100b65d2
mov esi, dword [ecx + edx]
mov edx, ebx
mov ecx, dword [ebp + 8]
push esi
mov dword [esp + 0x10], esi
call fcn.100b4b42
pop ecx
mov ecx, dword [esi + 0x2c]
xor edx, edx
mov byte [esp + 0x2f], al
mov eax, dword [ecx + 0x38]
cmp eax, 0x80000000
cmove eax, edx
inc edx
cmp eax, edx
sete byte [esp + 0x2e]
cmp esi, ebx
jne 0x100b61f7
mov eax, dword [ebx + 0xac]
xor ecx, ecx
mov esi, SysReAllocStringLen
cmp eax, esi
cmove eax, ecx
mov ecx, dword [ebx + 0xa8]
mov dword [esp + 0x44], eax
xor eax, eax
cmp ecx, esi
cmove ecx, eax
and dword [esp + 0x50], eax
mov dword [esp + 0x68], ecx
jmp 0x100b65d5
test ecx, ecx
jne 0x100b6203
mov ecx, dword [0x102b7738]
jmp 0x100b621a
cmp ecx, dword [0x102b7738]
jne 0x100b621a
push 0
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.10079533
mov ecx, eax
and dword [esp + 0x3c], 0
push ecx
lea ecx, [esp + 0x40]
call fcn.1000fd99
push 3
pop eax
mov byte [esp + 0x71c], al
xor ecx, ecx
mov esi, dword [esp + 0x3c]
mov edx, SysReAllocStringLen
mov eax, dword [esi + 0x4dc]
cmp eax, edx
cmove eax, ecx
cmp dword [esp + 0x70], eax
je 0x100b6271
mov eax, dword [esi + 0x4dc]
cmp eax, edx
push ebx
cmove eax, ecx
mov ecx, dword [esp + 0x2c]
push eax
push dword [esp + 0x24]
mov dword [esp + 0x7c], eax
call fcn.100785fc
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x130]
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov dword [ecx + 0x88], eax
mov eax, dword [ecx]
call dword [eax + 0x27c]
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x128]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x8c], eax
mov ecx, esi
call fcn.100b5a66
mov ecx, dword [esp + 0xc]
test al, al
je 0x100b62e5
lea eax, [esp + 0xf0]
push eax
call fcn.10096e09
mov ecx, dword [eax + 4]
cmp dword [eax], ecx
jg 0x100b62d6
sub ecx, dword [eax]
inc ecx
jmp 0x100b62d8
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x100b632e
mov eax, dword [ecx]
call dword [eax + 0x1d4]
test eax, eax
jne 0x100b632e
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x160]
push dword [ebp + 8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x15c]
push dword [ebp + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x158]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.100b4aaf
test al, al
jne 0x100b656b
mov eax, dword [esp + 0xc]
mov ecx, eax
push dword [ebx + 0x8c]
push dword [ebx + 0x88]
mov edx, dword [eax]
push dword [ebp + 8]
call dword [edx + 0x11c]
mov ecx, dword [esp + 0xc]
call fcn.1001741e
mov ecx, dword [esp + 0xc]
test al, al
mov eax, dword [ecx]
je 0x100b63d0
push dword [ebp + 8]
call dword [eax + 0x160]
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx]
call dword [eax + 0x31c]
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x71c], 2
mov dword [eax + ecx + 0x12], edx
mov word [eax + ecx + 0xe], dx
test esi, esi
je 0x100b6783
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x100b6783
call dword [eax + 0x1d4]
mov edx, eax
xor eax, eax
inc eax
mov byte [esp + 0x36], al
test edx, edx
je 0x100b649a
test byte [ebx + 0xe0], 0x20
jne 0x100b649a
mov ecx, dword [esp + 0x10]
xor edi, edi
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x78], edi
mov word [ecx + eax + 0xe], di
mov ecx, dword [esp + 0x1c]
mov eax, ecx
mov edi, dword [esp + 0x54]
je 0x100b641d
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x5c]
add eax, ecx
xor ecx, ecx
inc ecx
cmp edx, ecx
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
push dword [ebp + 8]
jne 0x100b6438
call fcn.10078365
jmp 0x100b643d
call fcn.10078437
cmp dword [esp + 0xac], 0
jl 0x100b647e
mov ecx, dword [esp + 0x44]
xor eax, eax
test ecx, ecx
push ebx
cmovg eax, ecx
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x38]
push eax
call fcn.1007851a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0xa4], eax
mov dword [esp + 0x18], ecx
mov byte [esp + 0x71c], 2
test esi, esi
je 0x100b679d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x100b679d
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x40], eax
lea ecx, [eax + 0x98]
call fcn.1006a05c
test eax, eax
je 0x100b64ca
mov ecx, dword [esp + 0x40]
add ecx, 0x98
call fcn.1006a05c
add dword [esp + 0xb4], eax
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0x27c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov ax, word [ecx + 0x64]
add ax, word [ecx + 0x5c]
add ax, word [ecx + 0x54]
add ax, word [ecx + 0x4c]
add ax, word [ecx + 0x44]
add ax, word [ecx + 0x3c]
add ax, word [ecx + 0x88]
mov ecx, dword [esp + 0x10]
mov word [ecx + edx + 0xe], ax
mov word [ecx + edx + 0x10], ax
mov ecx, esi
call fcn.100b5a66
mov ecx, dword [esp + 0xc]
test al, al
push dword [ebp + 8]
mov eax, dword [ecx]
jne 0x100b6541
call dword [eax + 0x160]
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
call dword [eax + 0x15c]
mov dword [esp + 0x68], eax
jmp 0x100b654b
call dword [eax + 0x160]
mov dword [esp + 0x38], eax
inc dword [esp + 0x78]
mov byte [esp + 0x71c], 2
test esi, esi
je 0x100b65fe
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
jmp 0x100b65fe
mov ecx, dword [esp + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx + 0x40]
add eax, dword [ecx + 0x50]
add eax, dword [ecx + 0x60]
mov ebx, dword [ecx + 0x68]
add ebx, dword [ecx + 0x58]
add ebx, dword [ecx + 0x48]
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
call dword [eax + 0x160]
mov ecx, dword [esp + 0xc]
add eax, ebx
add eax, dword [esp + 0x40]
push dword [ebp + 8]
mov dword [esp + 0x48], eax
mov ebx, dword [ecx + 0x40]
mov eax, dword [ecx]
add ebx, dword [ecx + 0x50]
add ebx, dword [ecx + 0x60]
call dword [eax + 0x15c]
add eax, ebx
mov byte [esp + 0x71c], 2
mov dword [esp + 0x68], eax
test esi, esi
je 0x100b65cb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, dword [esp + 0x9c]
xor edx, edx
inc edx
mov eax, dword [esp + 0xb0]
movzx eax, word [eax]
cmp eax, 0xd
jne 0x100b65f2
and dword [esp + 0x58], 0
mov byte [esp + 0x37], dl
jmp 0x100b6706
push 0x20
pop ecx
cmp ax, cx
je 0x100b65fe
inc dword [esp + 0x78]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
movzx eax, word [edx + esi + 0xe]
movsx ecx, word [edx + esi + 0x14]
add ecx, eax
movsx eax, word [edx + esi + 0x12]
mov edx, dword [esp + 0xa4]
add ecx, eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x58], ecx
add eax, ecx
cmp eax, edx
jle 0x100b6706
mov eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x90]
jge 0x100b67f9
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0x24]
je 0x100b6706
cmp dword [esp + 0x64], 0
jne 0x100b6669
cmp edx, dword [esp + 0xac]
je 0x100b6706
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x1c]
push ebx
push ecx
mov ecx, dword [esp + 0x30]
inc eax
push esi
push eax
call fcn.100785b2
mov ecx, dword [esp + 0x24]
push ebx
push esi
push eax
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10c]
push ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x38]
push eax
call fcn.1007851a
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x64], ecx
sub ecx, dword [esp + 0x3c]
add dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x90]
cmp eax, ecx
jge 0x100b6706
mov edi, dword [esp + 0x64]
mov edx, ecx
mov ebx, dword [esp + 0xbc]
imul esi, eax, 0x1c
sub edx, eax
mov ecx, dword [ebx]
lea esi, [esi + 0x1c]
mov eax, edi
sub eax, dword [esp + 0x3c]
add word [esi + ecx - 0x10], ax
dec edx
jne 0x100b66e8
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x68]
sub esi, dword [esp + 0x50]
push 0x20
pop ecx
cmp word [eax], cx
jne 0x100b672d
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.100b4aaf
test al, al
jne 0x100b6764
mov eax, dword [esp + 0x4c]
cmp esi, eax
mov ecx, dword [esp + 0x5c]
cmovg eax, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x68]
add eax, dword [esp + 0x44]
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x38]
cmovl ecx, dword [esp + 0x38]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x84]
add dword [esp + 0x18], eax
add ecx, eax
cmp byte [esp + 0x36], 0
mov dword [esp + 0x84], ecx
jne 0x100b67a4
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x74]
call fcn.100b48bb
test al, al
jne 0x100b679d
cmp byte [esp + 0x2e], al
je 0x100b67db
mov ecx, dword [esp + 0x84]
cmp byte [esp + 0x2f], 0
je 0x100b67db
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xc8], ecx
cmp byte [esp + 0x37], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x24], eax
jne 0x100b682d
cmp eax, dword [esp + 0x60]
jge 0x100b682d
mov esi, dword [esp + 0xc]
jmp 0x100b5fbc
mov ecx, dword [esp + 0xd4]
inc eax
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x1c]
dec eax
mov esi, dword [edi + 0x58]
test esi, esi
push 1
mov dword [esp + 0x90], ecx
mov dword [esp + 0x8c], ecx
pop ecx
cmove esi, ecx
mov dword [esp + 0x18], eax
cmp dword [edi + 0x58], 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x30], esi
jne 0x100b6876
cmp dword [edi + 0x44], 0xff
je 0x100b6876
cmp dword [edi + 0x44], ecx
push 3
pop ecx
cmove esi, ecx
mov dword [esp + 0x30], esi
test esi, esi
je 0x100b68ff
imul eax, eax, 0x1c
add eax, dword [ebx + 0xf0]
mov dword [esp + 0x38], eax
lea ecx, [eax + 4]
call fcn.100bbf7c
push 0x20
pop ecx
cmp word [eax], cx
jne 0x100b68ff
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx]
mov eax, dword [ecx]
call dword [eax + 0x34]
xor ecx, ecx
inc ecx
cmp eax, ecx
jne 0x100b68ff
mov eax, dword [esp + 0xa0]
push dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
call fcn.1006db6c
mov ecx, dword [esp + 0xa0]
push eax
call dword [esi + 0xc]
mov ecx, dword [esp + 0xa0]
lea edx, [esp + 0xe8]
push 1
push 0x1025d7d0
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
mov eax, dword [eax]
sub word [ecx + 0xe], ax
sub dword [esp + 0x84], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x5c]
add ecx, eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x7c], ecx
cmp ecx, eax
jge 0x100b6936
sub eax, ecx
mov ecx, dword [esp + 0x14]
cdq
sub eax, edx
mov dword [esp + 0x7c], ecx
sar eax, 1
add eax, dword [esp + 0x4c]
mov dword [esp + 0x80], eax
push ebx
push ecx
push dword [esp + 0x24]
lea eax, [esp + 0x104]
push ecx
mov ecx, dword [esp + 0x38]
push eax
call fcn.1007851a
xor edx, edx
mov dword [esp + 0x10], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x18], eax
jle 0x100b69c6
mov edx, 0xff
cmp dword [edi + 0x44], edx
jne 0x100b6988
cmp dword [ebx + 0xe4], 0
je 0x100b69c6
push ecx
mov eax, esp
mov dword [eax], edx
jmp 0x100b699f
xor edx, edx
inc edx
cmp dword [edi + 0x44], edx
je 0x100b6981
cmp dword [ebx + 0xe4], 0
je 0x100b69c6
push ecx
mov eax, esp
and dword [eax], 0
lea eax, [esp + 0x80]
mov ecx, ebx
push eax
mov eax, dword [ebp + 8]
add eax, 0x164
push eax
call fcn.100bbc0d
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x38]
cmp ecx, edx
jg 0x100b6b49
cmp dword [esp + 0xb4], 0
je 0x100b6a0a
push edx
push ecx
lea eax, [esp + 0x84]
push eax
push ecx
push dword [ebp + 8]
push ecx
mov ecx, ebx
call fcn.100b7069
mov edx, dword [esp + 0x38]
xor eax, eax
mov ecx, dword [esp + 0x14]
lea esi, [eax + 1]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x18], eax
dec esi
dec esi
je 0x100b6b0f
dec esi
je 0x100b6aff
dec esi
jne 0x100b6ae4
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x24], eax
je 0x100b6aee
mov eax, edx
sub eax, ecx
inc eax
mov esi, eax
sub esi, dword [esp + 0x84]
sub esi, dword [esp + 0x6c]
test esi, esi
jle 0x100b6acf
push 3
cdq
pop ecx
idiv ecx
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], eax
cmp esi, eax
jge 0x100b6abc
mov ecx, dword [esp + 0x90]
mov eax, ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x30], eax
test esi, esi
jle 0x100b6abc
imul ebx, ecx, 0x1c
cmp eax, edi
jge 0x100b6aae
mov eax, dword [esp + 0xbc]
mov eax, dword [eax]
add eax, ebx
mov dword [esp + 0x48], eax
lea ecx, [eax + 4]
call fcn.100bbf7c
push 0x20
pop ecx
cmp word [eax], cx
jne 0x100b6a9e
mov eax, dword [esp + 0x48]
dec esi
inc word [eax + 0xe]
mov eax, dword [esp + 0x30]
add ebx, 0x1c
inc eax
mov dword [esp + 0x30], eax
test esi, esi
jg 0x100b6a72
cmp dword [esp + 0x74], esi
je 0x100b6abc
mov eax, dword [esp + 0x40]
test esi, esi
jg 0x100b6a56
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x9c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0x44], 0xff
je 0x100b6ae4
xor eax, eax
inc eax
cmp dword [edi + 0x44], eax
jne 0x100b6ae4
test esi, esi
jg 0x100b6aff
add ecx, dword [esp + 0x6c]
mov dword [esp + 0x10], ecx
jmp 0x100b6b4d
cmp dword [edi + 0x44], 0xff
je 0x100b6ae4
xor eax, eax
inc eax
cmp dword [edi + 0x44], eax
jne 0x100b6ae4
mov ecx, edx
sub ecx, dword [esp + 0x84]
sub ecx, dword [esp + 0x6c]
inc ecx
jmp 0x100b6ae8
mov esi, dword [esp + 0x84]
mov eax, edx
sub eax, ecx
inc eax
cmp esi, eax
jle 0x100b6b36
cmp dword [edi + 0x44], 0xff
je 0x100b6ae4
xor eax, eax
inc eax
cmp dword [edi + 0x44], eax
jne 0x100b6ae4
mov ecx, edx
sub ecx, esi
jmp 0x100b6b08
sub edx, esi
sub edx, ecx
mov eax, edx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esp + 0x14]
jmp 0x100b6ae8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x90]
cmp esi, eax
jg 0x100b6c2a
imul edx, esi, 0x1c
sub eax, esi
inc eax
mov dword [esp + 0x18], eax
mov edi, eax
mov dword [esp + 0x30], edx
mov esi, dword [ebx + 0xf0]
add esi, edx
mov dword [esp + 0x14], esi
mov ax, word [esi + 0x12]
mov edx, dword [esi]
add ax, cx
mov word [esi + 0xc], ax
test edx, edx
je 0x100b6c14
cmp edx, ebx
je 0x100b6eb3
mov eax, dword [edx]
mov ecx, edx
push dword [ebp + 8]
call dword [eax + 0x3e4]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x100b6eb3
mov esi, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov eax, dword [esi]
call dword [eax + 0x3e4]
test eax, eax
je 0x100b6eaf
mov ecx, esi
call fcn.1001741e
test al, al
je 0x100b6ccd
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x5c]
add edx, dword [esi + 0x4c]
add edx, dword [esi + 0x3c]
movsx eax, word [ecx + 0xc]
mov ecx, esi
push dword [ebp + 8]
add edx, eax
mov eax, dword [esi + 0x60]
add eax, dword [esi + 0x50]
add eax, dword [esi + 0x40]
add eax, dword [esp + 0x20]
mov dword [esi + 0x84], eax
mov eax, dword [esi]
mov dword [esi + 0x80], edx
call dword [eax + 0x46c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
add edx, 0x1c
mov dword [esp + 0x30], edx
dec edi
jne 0x100b6b70
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x7c]
add esi, dword [esp + 0x7c]
lea ecx, [ebx + 0xf4]
push eax
mov dword [esp + 0x20], esi
call fcn.100bc229
xor eax, eax
inc eax
mov byte [esp + 0x71c], al
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x100b6c60
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x70]
cmp eax, dword [esp + 0x60]
jl 0x100b5e60
mov ecx, dword [ebx + 0xec]
test ecx, ecx
je 0x100b6c87
call fcn.100ca53e
inc eax
cmp eax, esi
cmovg esi, eax
mov dword [ebx + 0xb8], esi
mov dword [ebx + 0x8c], esi
lea ecx, [esp + 0x118]
mov byte [esp + 0x71c], 0
call fcn.1002ca07
or dword [esp + 0x71c], 0xffffffff
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
mov ecx, dword [esp + 0x714]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
test byte [esi + 0xe0], 0x10
jne 0x100b6c10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1d4]
test eax, eax
je 0x100b6cf5
mov eax, dword [esi]
push dword [esi + 0x8c]
jmp 0x100b6ea4
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0xc]
add eax, dword [esi + 0x5c]
add eax, dword [esi + 0x4c]
add eax, dword [esi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x100b6d17
mov eax, dword [0x102b7738]
jmp 0x100b6d2c
cmp eax, dword [0x102b7738]
jne 0x100b6d2c
push 0
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.10079533
mov eax, dword [eax + 0x49c]
test eax, eax
push 0x40
pop ecx
push dword [ebp + 8]
cmove eax, ecx
mov ecx, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
call dword [eax + 0x160]
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x44], eax
call dword [edx + 0x15c]
mov edx, dword [esi]
mov ecx, esi
push dword [ebp + 8]
mov dword [esp + 0x78], eax
call dword [edx + 0x158]
mov ecx, dword [esp + 0x48]
mov edx, eax
cmp ecx, 0x10
jne 0x100b6d83
mov eax, dword [esi + 0x60]
add eax, dword [esi + 0x50]
add eax, dword [esi + 0x40]
jmp 0x100b6ded
cmp ecx, 0x30
jne 0x100b6d9d
mov eax, dword [esp + 0x7c]
sub eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x68]
sub eax, dword [esi + 0x58]
sub eax, dword [esi + 0x48]
jmp 0x100b6ded
push 0x20
pop eax
cmp ecx, eax
jne 0x100b6dd7
mov eax, dword [esp + 0x7c]
sub eax, dword [esi + 0x8c]
sub eax, dword [esi + 0x68]
sub eax, dword [esi + 0x58]
sub eax, dword [esi + 0x48]
sub eax, dword [esi + 0x40]
sub eax, dword [esi + 0x50]
sub eax, dword [esi + 0x60]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x88]
add eax, dword [esi + 0x40]
add eax, dword [esi + 0x50]
add eax, dword [esi + 0x60]
jmp 0x100b6df4
mov eax, dword [esi + 0x60]
add eax, dword [esi + 0x50]
add eax, dword [esi + 0x40]
sub eax, dword [esp + 0x74]
add eax, edx
add eax, dword [esp + 0x80]
add eax, dword [esp + 0x88]
cmp dword [esi + 0x88], 0
mov dword [esi + 0x7c], eax
jne 0x100b6e13
mov eax, dword [esi]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x130]
mov dword [esi + 0x88], eax
mov ax, word [esi + 0x64]
add ax, word [esi + 0x54]
add ax, word [esi + 0x44]
add ax, word [esi + 0x88]
add ax, word [esi + 0x5c]
add ax, word [esi + 0x4c]
mov ecx, dword [esp + 0x14]
add ax, word [esi + 0x3c]
mov word [ecx + 0xe], ax
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x100b6e48
mov eax, dword [0x102b7738]
jmp 0x100b6e5d
cmp eax, dword [0x102b7738]
jne 0x100b6e5d
push 0
push ecx
push dword [ebp + 8]
mov ecx, esi
call fcn.10079533
lea ecx, [eax + 0x98]
call fcn.1006a0fc
test eax, eax
mov eax, dword [esi]
je 0x100b6e8d
push dword [esp + 0x88]
xor ecx, ecx
inc ecx
push ecx
push dword [esp + 0x84]
mov ecx, esi
push dword [ebp + 8]
call dword [eax + 0x124]
jmp 0x100b6eaf
mov ecx, dword [esp + 0x40]
sub ecx, dword [esi + 0x68]
sub ecx, dword [esi + 0x60]
sub ecx, dword [esi + 0x58]
sub ecx, dword [esi + 0x50]
sub ecx, dword [esi + 0x48]
sub ecx, dword [esi + 0x40]
push ecx
push dword [ebp + 8]
mov ecx, esi
call dword [eax + 0x1c4]
mov esi, dword [esp + 0x14]
movzx eax, word [esi + 0xe]
movsx ecx, word [esi + 0x14]
add ecx, eax
movsx eax, word [esi + 0x12]
add eax, dword [esp + 0x10]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x100b6c14