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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1017d632
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x198]
mov dword [esp + 0x118], eax
add eax, 4
xor esi, esi
push eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x118], 0x10199608
mov dword [esp + 0x54], eax
call dword [0x10199070]
mov eax, dword [ebx + 0x258]
cmp eax, esi
mov dword [esp + 0x160], esi
je 0x10015453
mov ecx, dword [ebx + 0x25c]
sub ecx, eax
sar ecx, 2
je 0x10015453
push 2
mov ecx, ebx
call fcn.10005200
mov esi, dword [ebx + 0x268]
cmp esi, dword [ebx + 0x26c]
lea edi, [ebx + 0x264]
mov dword [esp + 0x2c], eax
jbe 0x10014a0e
call fcn.10158fad
mov dword [esp + 0x38], edi
mov eax, dword [ebx + 0x26c]
cmp dword [ebx + 0x268], eax
lea edi, [ebx + 0x264]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], eax
jbe 0x10014a33
call fcn.10158fad
cmp edi, edi
je 0x10014a3c
call fcn.10158fad
cmp esi, dword [esp + 0x30]
je 0x10014f2e
cmp dword [esp + 0x2c], 0
je 0x10014f0f
mov edi, dword [esp + 0x10]
cmp esi, dword [edi + 0x26c]
jb 0x10014a62
call fcn.10158fad
mov eax, dword [esi + 0x18]
cmp eax, dword [edi + 0xec]
mov ecx, dword [esi + 0x14]
jl 0x10014f0f
jg 0x10014a84
mov edx, edi
cmp ecx, dword [edx + 0xe8]
jb 0x10014f0f
mov eax, dword [esp + 0x28]
mov ecx, edi
cmp eax, dword [ecx + 0x208]
jae 0x10014f0f
add edi, 0x264
cmp esi, dword [edi + 8]
jb 0x10014aba
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x10014aba
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x10014aba
call fcn.10158fad
mov edx, dword [esi]
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov cl, byte [esi + 0x1c]
add dword [esp + 0x28], 1
mov dword [esp + 0x120], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x124], edx
mov edx, dword [esi + 8]
mov dword [esp + 0x128], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x12c], edx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x130], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x144], eax
mov byte [esp + 0x13c], cl
mov dword [esp + 0x148], edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x138], edx
mov edx, dword [esi + 0x18]
add edi, 0x178
push ecx
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x124], ebx
mov dword [esp + 0x140], edx
call fcn.10005340
cmp dword [esp + 0x20], ebx
mov edx, dword [edi + 4]
mov dword [esp + 0x90], edx
je 0x10014b5c
cmp dword [esp + 0x20], edi
je 0x10014b61
call fcn.10158fad
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x90]
je 0x10014d17
cmp dword [esp + 0x20], ebx
jne 0x10014b7d
call fcn.10158fad
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ecx, dword [edx + 4]
jne 0x10014b8f
call fcn.10158fad
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x18]
cmp dword [edi + 0x14], eax
lea ebx, [edi + 0x10]
mov dword [esp + 0x30], eax
jbe 0x10014ba7
call fcn.10158fad
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 4]
jne 0x10014bb5
call fcn.10158fad
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x10014bc2
call fcn.10158fad
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x11c]
push ecx
push edx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edi
call fcn.10001f70
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, eax
add esp, 0xc
cmp ecx, dword [edx + 4]
mov eax, ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edi
jne 0x10014c04
call fcn.10158fad
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10014c15
call fcn.10158fad
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10014c21
cmp eax, ebx
je 0x10014c26
call fcn.10158fad
cmp edi, dword [esp + 0x30]
jne 0x10014c52
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
cmp eax, dword [ecx + 4]
jne 0x10014c3e
call fcn.10158fad
lea edx, [esp + 0x11c]
push edx
mov ecx, ebx
call fcn.1000bd10
jmp 0x10014e7e
cmp dword [esp + 0x14], 0
jne 0x10014c5e
call fcn.10158fad
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 8]
jb 0x10014c6c
call fcn.10158fad
mov eax, dword [esp + 0x10]
add eax, 0x264
cmp esi, dword [eax + 8]
jb 0x10014c7f
call fcn.10158fad
mov cl, byte [edi + 0x20]
cmp cl, byte [esi + 0x1c]
jne 0x10014cb2
lea ecx, [esp + 0x94]
call fcn.10032980
lea ecx, [esp + 0x38]
lea ebx, [eax + 0x28]
call fcn.10032980
mov edx, dword [ebx]
cmp edx, dword [eax + 0x20]
jne 0x10014cb2
mov ecx, dword [ebx + 4]
cmp ecx, dword [eax + 0x24]
je 0x10014e7e
mov ebx, dword [esp + 0x10]
add ebx, 0x264
cmp esi, dword [ebx + 8]
jb 0x10014cc6
call fcn.10158fad
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 8]
jb 0x10014cd4
call fcn.10158fad
mov al, byte [esi + 0x1c]
mov byte [edi + 0x20], al
cmp esi, dword [ebx + 8]
jb 0x10014ce4
call fcn.10158fad
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 8]
jb 0x10014cf2
call fcn.10158fad
mov edx, dword [esi + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x28], edx
mov eax, dword [esi + 0x24]
mov dword [edi + 0x2c], eax
cmp edi, dword [ecx + 8]
jb 0x10014d0c
call fcn.10158fad
mov dword [edi], 0
jmp 0x10014e7e
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
lea edx, [esp + 0x11c]
push edx
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x168], 1
call fcn.1000b420
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x188], 2
call fcn.1000bdb0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0xf0]
push ecx
call fcn.1000c1b0
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 3
mov dword [esp + 0x68], edx
call fcn.1000b6e0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x168], 4
call fcn.10014260
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10014dbb
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x10014dde
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0xe4]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x10014dfe
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0xd4]
cmp eax, ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
je 0x10014e27
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
je 0x10014e4d
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x160], 0
je 0x10014e72
push eax
call fcn.10158c57
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x10]
add edi, 0x264
cmp esi, dword [edi + 8]
jb 0x10014eb0
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x10014eb0
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x10014eb0
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x10014eb0
call fcn.10158fad
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xf4], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xf8], eax
mov eax, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xf8]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], eax
call fcn.10012110
cmp dword [esp + 0xe4], 0x10
jb 0x10014f0f
mov edx, dword [esp + 0xd0]
push edx
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0x264
cmp esi, dword [eax + 8]
jb 0x10014f22
call fcn.10158fad
mov ebx, dword [esp + 0x10]
add esi, 0x28
jmp 0x10014a12
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10014f3f
call fcn.10158fad
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10014f4c
call fcn.10158fad
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x10014f65
mov ecx, dword [edi + 8]
push esi
push ecx
push eax
call fcn.10004700
add esp, 0xc
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x278]
cmp esi, dword [ebx + 0x27c]
jbe 0x10014f78
call fcn.10158fad
mov eax, dword [ebx + 0x27c]
cmp dword [ebx + 0x278], eax
mov dword [esp + 0x30], eax
jbe 0x10014f90
call fcn.10158fad
nop
lea edi, [ebx + 0x274]
test edi, edi
je 0x10014f9e
cmp edi, edi
je 0x10014fa3
call fcn.10158fad
cmp esi, dword [esp + 0x30]
je 0x10015408
cmp dword [esp + 0x2c], 0
je 0x100153df
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
add edi, 0x178
push eax
mov ecx, edi
call fcn.10005340
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x90], ecx
je 0x10014fe9
cmp ebx, edi
je 0x10014fee
call fcn.10158fad
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add eax, 0x274
cmp edx, dword [esp + 0x90]
je 0x100151fd
test eax, eax
jne 0x10015011
call fcn.10158fad
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x10015024
call fcn.10158fad
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x120], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x124], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x128], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x138], eax
or eax, 0xffffffff
test ebx, ebx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], edx
mov byte [esp + 0x13c], 0x64
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
jne 0x10015096
call fcn.10158fad
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x100150a4
call fcn.10158fad
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x100150bc
call fcn.10158fad
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x100150ca
call fcn.10158fad
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jbe 0x100150db
call fcn.10158fad
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x11c]
push ecx
push edx
push eax
mov dword [esp + 0x48], eax
call fcn.10001f70
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, dword [ebx + 4]
jne 0x1001510b
call fcn.10158fad
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x1001511c
call fcn.10158fad
mov eax, edi
test eax, eax
je 0x10015126
cmp eax, edi
je 0x1001512b
call fcn.10158fad
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x3c], ecx
je 0x1001515a
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x10015143
call fcn.10158fad
mov eax, dword [esp + 0x3c]
push eax
mov eax, edi
push eax
lea ecx, [esp + 0x9c]
push ecx
mov ecx, edi
call fcn.10005fe0
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x1001516d
call fcn.10158fad
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x124], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x130], eax
or eax, 0xffffffff
mov dword [esp + 0x120], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
mov dword [esp + 0x128], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x12c], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x11c], 0
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], edx
mov byte [esp + 0x13c], 0x64
jne 0x100151e4
call fcn.10158fad
lea ecx, [esp + 0x11c]
push ecx
mov ecx, dword [esp + 0x1c]
add ecx, 0x20
call fcn.1000bd10
jmp 0x100153df
test eax, eax
jne 0x10015206
call fcn.10158fad
mov eax, dword [esp + 0x10]
add eax, 0x274
cmp esi, dword [eax + 8]
jb 0x10015219
call fcn.10158fad
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov dword [esp + 0x124], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x130], eax
or eax, 0xffffffff
mov dword [esp + 0x120], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x128], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
lea eax, [esp + 0x11c]
mov dword [esp + 0x12c], edx
mov edx, dword [esi + 0x18]
push eax
mov dword [esp + 0x138], ecx
xor ebx, ebx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0x124], ebx
mov dword [esp + 0x140], edx
mov byte [esp + 0x144], 0x64
call fcn.1000b420
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x3c], esp
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x188], 6
call fcn.1000bdb0
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0xf0]
push edx
call fcn.1000c1b0
add esp, 0x28
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 7
call fcn.1000b6e0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x168], 8
call fcn.10014260
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x1001531c
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x1001533f
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0xe4]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x1001535f
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0xd4]
cmp eax, ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
je 0x10015388
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
je 0x100153ae
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x160], 0
je 0x100153d3
push eax
call fcn.10158c57
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov edi, dword [esp + 0x10]
add edi, 0x274
test edi, edi
jne 0x100153f2
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x100153fc
call fcn.10158fad
mov ebx, dword [esp + 0x10]
add esi, 0x1c
jmp 0x10014f90
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x1c], eax
jbe 0x10015419
call fcn.10158fad
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10015426
call fcn.10158fad
mov ecx, dword [esp + 0x1c]
cmp esi, ecx
je 0x10015453
mov eax, dword [edi + 8]
mov byte [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x58]
push edx
push esi
push eax
push ecx
call fcn.10003410
add esp, 0x18
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x1c4]
cmp esi, dword [ebx + 0x1c8]
lea edi, [ebx + 0x1c0]
jbe 0x1001546c
call fcn.10158fad
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov eax, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ecx
jbe 0x10015487
call fcn.10158fad
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1001548f
cmp eax, edi
je 0x10015498
call fcn.10158fad
mov eax, dword [esp + 0x30]
cmp esi, dword [esp + 0x1c]
je 0x100159cb
test eax, eax
jne 0x100154af
call fcn.10158fad
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 8]
jb 0x100154b9
call fcn.10158fad
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf4], eax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0xf4]
mov dword [esp + 0x104], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x104], eax
call fcn.10005080
test eax, eax
mov dword [esp + 0x2c], eax
je 0x100159a9
mov eax, dword [esp + 0x30]
cmp esi, dword [eax + 8]
jb 0x10015513
call fcn.10158fad
mov eax, dword [esi + 0x18]
cmp eax, dword [ebx + 0xec]
mov ecx, dword [esi + 0x14]
jl 0x100159a9
jg 0x10015533
cmp ecx, dword [ebx + 0xe8]
jb 0x100159a9
mov ecx, dword [esp + 0x28]
cmp ecx, dword [ebx + 0x208]
jae 0x100159a9
add dword [esp + 0x28], 1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
lea edi, [ebx + 0x178]
push eax
mov ecx, edi
call fcn.10005340
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov ecx, dword [edi + 4]
mov dword [esp + 0x90], ecx
je 0x10015575
cmp ebx, edi
je 0x1001557a
call fcn.10158fad
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x90]
je 0x10015749
mov edi, dword [esp + 0x30]
cmp esi, dword [edi + 8]
jb 0x100155a3
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x100155a3
call fcn.10158fad
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x120], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x124], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x12c], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0x128], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x130], ecx
mov cl, byte [esi + 0x1c]
mov dword [esp + 0x138], eax
or eax, 0xffffffff
test ebx, ebx
mov dword [esp + 0x11c], 0
mov dword [esp + 0x134], edx
mov byte [esp + 0x13c], cl
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
jne 0x10015617
call fcn.10158fad
mov edx, dword [esp + 0x18]
cmp edx, dword [ebx + 4]
jne 0x10015625
call fcn.10158fad
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1001563d
call fcn.10158fad
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x1001564b
call fcn.10158fad
mov ebx, dword [edi + 4]
cmp ebx, dword [edi + 8]
jbe 0x10015658
call fcn.10158fad
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x11c]
push ecx
push edx
push ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
call fcn.10001f70
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, dword [ecx + 4]
jne 0x1001568a
call fcn.10158fad
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x1001569b
call fcn.10158fad
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100156a7
cmp eax, edi
je 0x100156ac
call fcn.10158fad
cmp ebx, dword [esp + 0x20]
jne 0x100156d8
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 4]
jne 0x100156c4
call fcn.10158fad
lea ecx, [esp + 0x11c]
push ecx
mov ecx, edi
call fcn.1000bd10
jmp 0x10015935
cmp dword [esp + 0x38], 0
jne 0x100156e4
call fcn.10158fad
mov edx, dword [esp + 0x38]
cmp ebx, dword [edx + 8]
jb 0x100156f2
call fcn.10158fad
mov edi, dword [esp + 0x10]
add edi, 0x1c0
cmp esi, dword [edi + 8]
jb 0x10015706
call fcn.10158fad
mov al, byte [ebx + 0x20]
cmp al, byte [esi + 0x1c]
je 0x10015935
cmp esi, dword [edi + 8]
jb 0x1001571c
call fcn.10158fad
mov ecx, dword [esp + 0x38]
cmp ebx, dword [ecx + 8]
jb 0x1001572a
call fcn.10158fad
mov dl, byte [esi + 0x1c]
mov eax, dword [esp + 0x38]
mov byte [ebx + 0x20], dl
cmp ebx, dword [eax + 8]
jb 0x1001573e
call fcn.10158fad
mov dword [ebx], 0
jmp 0x10015935
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov ecx, dword [esp + 0x30]
cmp esi, dword [ecx + 8]
mov byte [esp + 0x160], 9
jb 0x1001576d
call fcn.10158fad
mov edx, dword [esp + 0x30]
cmp esi, dword [edx + 8]
jb 0x1001577b
call fcn.10158fad
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov al, byte [esi + 0x1c]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0x18]
mov dword [esp + 0xb4], edx
lea edx, [esp + 0x9c]
mov byte [esp + 0xbc], al
or eax, 0xffffffff
push edx
mov dword [esp + 0xbc], ecx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.1000b420
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x188], 0xa
call fcn.1000bdb0
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x140]
push ecx
call fcn.1000c1b0
add esp, 0x28
mov edx, dword [eax]
add eax, 4
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 0xb
mov dword [esp + 0x68], edx
call fcn.1000b6e0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x10c]
push ecx
mov ecx, edi
mov byte [esp + 0x168], 0xc
call fcn.10014260
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10015872
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x10015895
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x134]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x100158b5
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x124]
cmp eax, ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
je 0x100158de
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
je 0x10015904
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov byte [esp + 0x160], 0
je 0x10015929
push eax
call fcn.10158c57
add esp, 4
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x10]
add edi, 0x1c0
cmp esi, dword [edi + 8]
jb 0x10015953
call fcn.10158fad
cmp esi, dword [edi + 8]
jb 0x10015953
call fcn.10158fad
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0xd4], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0xcc], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xd0], eax
mov eax, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xd0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], eax
call fcn.10012110
cmp dword [esp + 0x7c], 0x10
jb 0x100159a9
mov edx, dword [esp + 0x68]
push edx
call fcn.10158c57
add esp, 4
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0x1c0]
mov eax, edi
cmp esi, dword [eax + 8]
mov dword [esp + 0x30], eax
jb 0x100159c3
call fcn.10158fad
add esi, 0x28
jmp 0x10015483
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x28], eax
jbe 0x100159dc
call fcn.10158fad
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
mov dword [esp + 0x1c], esi
jbe 0x100159ed
call fcn.10158fad
cmp esi, dword [esp + 0x28]
je 0x10015a4a
mov esi, dword [edi + 8]
mov ecx, esi
sub ecx, dword [esp + 0x28]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
lea edx, [eax + ecx*8]
mov dword [esp + 0x30], edx
mov byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x54]
mov byte [esp + 0x24], 0
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x30]
push ecx
push eax
push esi
push edx
call fcn.10002100
mov eax, dword [esp + 0x48]
add esp, 0x18
mov dword [edi + 8], eax
mov esi, dword [ebx + 0x1d4]
cmp esi, dword [ebx + 0x1d8]
lea edi, [ebx + 0x1d0]
jbe 0x10015a63
call fcn.10158fad
mov ecx, dword [edi + 8]
cmp dword [edi + 4], ecx
mov eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
jbe 0x10015a80
call fcn.10158fad
mov eax, dword [esp + 0x38]
mov edi, edi
test eax, eax
je 0x10015a88
cmp eax, edi
je 0x10015a91
call fcn.10158fad
mov eax, dword [esp + 0x38]
cmp esi, dword [esp + 0x1c]
je 0x10015f78
test eax, eax
jne 0x10015aa8
call fcn.10158fad
mov eax, dword [esp + 0x38]
cmp esi, dword [eax + 8]
jb 0x10015ab2
call fcn.10158fad
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov edx, dword [esi + 4]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd0], edx
mov edx, dword [esi + 0x10]
lea eax, [esp + 0xcc]
mov dword [esp + 0xd8], ecx
push eax
mov ecx, ebx
mov dword [esp + 0xe0], edx
call fcn.10005080
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10015f56
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
add edi, 0x178
push edx
mov ecx, edi
call fcn.10005340
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x90], eax
je 0x10015b2f
cmp ebx, edi
je 0x10015b34
call fcn.10158fad
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x1d0
cmp ecx, dword [esp + 0x90]
je 0x10015d53
cmp esi, dword [eax + 8]
jb 0x10015b58
call fcn.10158fad
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0xa0], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0xa4], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0x18]
mov dword [esp + 0xb0], eax
or eax, 0xffffffff
test ebx, ebx
mov dword [esp + 0x9c], 0
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], edx
mov byte [esp + 0xbc], 0x64
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
jne 0x10015bca
call fcn.10158fad
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 4]
jne 0x10015bd8
call fcn.10158fad
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add edi, 0x10
cmp dword [edi + 4], eax
mov dword [esp + 0x30], eax
jbe 0x10015bf0
call fcn.10158fad
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10015bfe
call fcn.10158fad
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jbe 0x10015c0f
call fcn.10158fad
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x9c]
push edx
push ecx
push eax
mov dword [esp + 0xa4], eax
call fcn.10001f70
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp edx, dword [ebx + 4]
mov dword [esp + 0x98], eax
jne 0x10015c45
call fcn.10158fad
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x20], eax
jbe 0x10015c56
call fcn.10158fad
mov eax, edi
test eax, eax
je 0x10015c60
cmp eax, edi
je 0x10015c65
call fcn.10158fad
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x98], eax
je 0x10015cb0
mov ecx, dword [esp + 0x18]
cmp ecx, dword [ebx + 4]
jne 0x10015c80
call fcn.10158fad
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x28], 0
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [edi + 8]
push eax
mov eax, dword [esp + 0xa0]
push ecx
push eax
push edx
add eax, 0x30
push eax
call fcn.100033b0
add esp, 0x18
add dword [edi + 8], 0xffffffd0
mov eax, dword [esp + 0x10]
add eax, 0x1d0
cmp esi, dword [eax + 8]
jb 0x10015cc3
call fcn.10158fad
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xa8], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0xb8], eax
or eax, 0xffffffff
cmp ecx, dword [ebx + 4]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xb4], edx
mov byte [esp + 0xbc], 0x64
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
jne 0x10015d3a
call fcn.10158fad
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x9c]
push edx
add ecx, 0x20
call fcn.1000bd10
jmp 0x10015f23
cmp esi, dword [eax + 8]
jb 0x10015d5d
call fcn.10158fad
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0xac], eax
mov eax, dword [esi + 0x18]
mov dword [esp + 0xb0], ecx
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0xac], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0xbc], eax
or eax, 0xffffffff
xor ebx, ebx
push 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xbc], edx
mov byte [esp + 0xc4], 0x64
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
call fcn.1000b420
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
sub esp, 0x20
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x188], 0xe
call fcn.1000bdb0
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x140]
push edx
call fcn.1000c1b0
add esp, 0x28
mov ecx, dword [eax]
add eax, 4
mov dword [esp + 0x64], ecx
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0x164], 0xf
call fcn.1000b6e0
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x10c]
push eax
mov ecx, edi
mov byte [esp + 0x168], 0x10
call fcn.10014260
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x10015e60
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x6c]
cmp eax, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
je 0x10015e83
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x134]
cmp eax, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
je 0x10015ea3
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x124]
cmp eax, ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
je 0x10015ecc
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
je 0x10015ef2
push eax
call fcn.10158c57
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x160], 0
je 0x10015f17
push eax
call fcn.10158c57
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov eax, dword [esp + 0x10]
add eax, 0x1d0
cmp esi, dword [eax + 8]
jb 0x10015f36
call fcn.10158fad
lea ecx, [esp + 0x64]
push ecx
mov ecx, esi
call fcn.10012110
cmp dword [esp + 0x7c], 0x10
jb 0x10015f56
mov edx, dword [esp + 0x68]
push edx
call fcn.10158c57
add esp, 4
mov ebx, dword [esp + 0x10]
lea edi, [ebx + 0x1d0]
mov eax, edi
cmp esi, dword [eax + 8]
mov dword [esp + 0x38], eax
jb 0x10015f70
call fcn.10158fad
add esi, 0x1c
jmp 0x10015a7a
mov ebx, dword [edi + 8]
cmp dword [edi + 4], ebx
jbe 0x10015f85
call fcn.10158fad
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x10015f92
call fcn.10158fad
push ebx
push edi
push esi
push edi
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
call fcn.10006090
mov ecx, dword [esp + 0x50]
push ecx
call dword [0x10199074]
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.101593ee
mov esp, ebp
pop ebp
ret