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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075e90
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100926a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], eax
mov ebx, edx
mov eax, 0xf
xor edi, edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x2c]
sub edx, ecx
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x50], edi
je 0x10018347
xor ebx, ebx
nop
mov esi, dword [ecx + ebx + 0x20]
mov eax, dword [ecx + ebx + 0x24]
mov edx, esi
or edx, eax
je 0x10018278
mov edx, dword [ebp - 0x4c]
mov edi, dword [edx + 0x10]
xor edx, edx
cmp edx, eax
jg 0x10018314
jl 0x10018278
cmp edi, esi
ja 0x10018314
mov esi, dword [ecx + ebx + 8]
sub esi, dword [ecx + ebx + 4]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c], 0
je 0x10018314
xor eax, eax
mov dword [ebp - 0x54], eax
jmp 0x100182a6
mov eax, dword [ebp - 0x54]
mov ecx, dword [ecx + ebx + 4]
mov esi, dword [ebp - 0x58]
add ecx, eax
cmp dword [esi + 0x24], 0
je 0x100182c3
mov edi, dword [ebp - 0x4c]
push ecx
call fcn.1000a170
add esp, 4
jmp 0x100182db
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
jb 0x100182ce
mov ecx, dword [ecx]
push eax
push ecx
mov ecx, dword [ebp - 0x4c]
push ecx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
jne 0x10018403
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx + 0x28]
mov esi, dword [ecx + ebx + 8]
sub esi, dword [ecx + ebx + 4]
mov edi, dword [ebp - 0x5c]
add dword [ebp - 0x54], 0x1c
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [ebp - 0x5c], edi
cmp edi, eax
jb 0x100182a3
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x2c]
mov esi, dword [ebp - 0x50]
sub edx, ecx
mov eax, 0x38e38e39
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebx, 0x48
mov dword [ebp - 0x50], esi
cmp esi, eax
jb 0x10018250
mov ebx, dword [ebp - 0x58]
xor edi, edi
mov esi, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x5c]
sub ebx, esi
mov eax, 0x38e38e39
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x5c], esi
je 0x1001855a
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov edx, dword [esi + ebx + 0x20]
mov eax, dword [esi + ebx + 0x24]
mov ecx, edx
or ecx, eax
je 0x100183a3
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x84], ecx
xor ecx, ecx
cmp ecx, eax
jg 0x10018526
jl 0x100183a3
cmp dword [ebp - 0x84], edx
ja 0x10018526
mov ecx, dword [esi + ebx + 8]
lea edi, [esi + ebx + 4]
mov ebx, dword [edi]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x6c], edi
je 0x100184c6
xor esi, esi
jmp 0x100183e0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x24], 0
je 0x10018474
mov edi, dword [ebp - 0x4c]
add ebx, esi
push ebx
call fcn.1000a170
mov edi, dword [ebp - 0x6c]
add esp, 4
jmp 0x10018491
mov edi, dword [ebp - 0x50]
mov ecx, dword [esi + 0x28]
mov ebx, dword [ebp - 0x70]
lea edi, [edi + edi*8]
add edi, edi
add edi, edi
push 0xffffffffffffffff
add edi, edi
mov edx, dword [ecx + edi + 4]
push 0
push edx
lea ecx, [ebx + 0x14]
call fcn.10002690
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + edi + 0x14]
mov dword [ebx + 4], ecx
mov edx, dword [esi + 0x28]
push 0xffffffffffffffff
push 0
lea eax, [edx + edi + 0x2c]
push eax
lea ecx, [ebx + 0x30]
call fcn.10002690
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + edi + 0x1c]
mov dword [ebx + 8], edx
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + edi + 0x28]
mov dword [ebx + 0xc], ecx
jb 0x1001846a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1005ccdb
add esp, 4
mov eax, 1
jmp 0x10018df1
cmp dword [ebx + esi + 0x14], 0x10
mov ecx, dword [ebx + esi + 0x10]
lea eax, [ebx + esi]
jb 0x10018484
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
push ecx
push eax
push edx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x10018523
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
inc dword [ebp - 0x54]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, 0x1c
cmp dword [ebp - 0x54], eax
jb 0x100183e0
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x60]
mov edx, dword [esi + edi + 4]
mov ebx, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [ebx + 0x14]
call fcn.10002690
mov eax, dword [esi + edi + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [esi + edi + 0x2c]
push ecx
lea ecx, [ebx + 0x30]
mov dword [ebx + 4], eax
call fcn.10002690
mov edx, dword [esi + edi + 0x1c]
mov dword [ebx + 8], edx
mov eax, dword [esi + edi + 0x28]
mov dword [ebx + 0xc], eax
cmp dword [ebp - 0x18], 0x10
jb 0x1001846a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1005ccdb
add esp, 4
mov eax, 1
jmp 0x10018df1
mov ebx, dword [ebp - 0x60]
mov edi, dword [ebp - 0x58]
mov esi, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
inc dword [ebp - 0x50]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ebx, 0x48
add ecx, edx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], esi
cmp dword [ebp - 0x50], ecx
jae 0x1001855d
xor edi, edi
jmp 0x10018371
mov edi, dword [ebp - 0x58]
mov ebx, dword [edi + 0x78]
mov edi, dword [edi + 0x7c]
sub edi, ebx
mov eax, 0x2e8ba2e9
imul edi
sar edx, 4
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x64], ebx
je 0x1001875a
mov dword [ebp - 0x60], esi
jmp 0x10018590
mov edx, dword [ebx + esi + 0x30]
mov eax, dword [ebx + esi + 0x34]
mov ecx, edx
or ecx, eax
je 0x100185b8
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ecx + 0x10]
xor ecx, ecx
cmp ecx, eax
jg 0x10018724
jl 0x100185b8
cmp edi, edx
ja 0x10018724
mov ecx, dword [ebx + esi + 0x18]
lea edi, [ebx + esi + 0x14]
mov ebx, dword [edi]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x80], edi
je 0x1001864c
xor esi, esi
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x24], 0
je 0x10018601
mov edi, dword [ebp - 0x4c]
add ebx, esi
push ebx
call fcn.1000a170
mov edi, dword [ebp - 0x80]
add esp, 4
jmp 0x1001861e
cmp dword [ebx + esi + 0x14], 0x10
mov ecx, dword [ebx + esi + 0x10]
lea eax, [ebx + esi]
jb 0x10018611
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
push ecx
push eax
push edx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
jne 0x10018724
mov ebx, dword [edi]
mov ecx, dword [edi + 4]
inc dword [ebp - 0x54]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, 0x1c
cmp dword [ebp - 0x54], eax
jb 0x100185e5
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x60]
mov ebx, dword [ecx + edx + 4]
lea eax, [ecx + edx + 4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x80], eax
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
xor esi, esi
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c], esi
je 0x100186e2
lea esp, [esp]
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x24], 0
lea eax, [ebx + esi]
je 0x1001869a
mov edi, dword [ebp - 0x4c]
push eax
call fcn.1000a170
add esp, 4
jmp 0x100186b2
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x100186a5
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
push ecx
push eax
push edx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x10018724
mov eax, dword [ebp - 0x80]
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov edi, dword [ebp - 0x5c]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add esi, 0x1c
mov dword [ebp - 0x5c], edi
cmp edi, eax
jb 0x10018680
mov edi, dword [ebp - 0x64]
mov esi, dword [ebp - 0x60]
mov edx, dword [edi + esi + 4]
mov ebx, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [ebx + 0x14]
call fcn.10002690
mov eax, dword [edi + esi + 0x24]
push 0xffffffffffffffff
push 0
lea ecx, [edi + esi + 0x3c]
push ecx
lea ecx, [ebx + 0x30]
mov dword [ebx + 4], eax
call fcn.10002690
mov edx, dword [edi + esi + 0x2c]
mov dword [ebx + 8], edx
mov eax, dword [edi + esi + 0x38]
jmp 0x10018500
mov edi, dword [ebp - 0x58]
mov ebx, dword [edi + 0x78]
mov ecx, dword [edi + 0x7c]
mov esi, dword [ebp - 0x60]
inc dword [ebp - 0x50]
sub ecx, ebx
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add esi, 0x58
add ecx, edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], ebx
cmp dword [ebp - 0x50], ecx
jb 0x10018590
jmp 0x1001875d
mov edi, dword [ebp - 0x58]
mov esi, dword [edi + 0x68]
mov edi, dword [edi + 0x6c]
sub edi, esi
mov eax, 0x38e38e39
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], esi
je 0x10018874
xor ebx, ebx
mov dword [ebp - 0x50], ebx
jmp 0x10018790
mov edx, dword [esi + ebx + 0x20]
mov eax, dword [esi + ebx + 0x24]
mov ecx, edx
or ecx, eax
je 0x100187b8
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ecx + 0x10]
xor ecx, ecx
cmp ecx, eax
jg 0x1001883d
jl 0x100187b8
cmp edi, edx
ja 0x1001883d
mov ecx, dword [esi + ebx + 8]
xor eax, eax
lea edi, [esi + ebx + 4]
mov esi, dword [edi]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], eax
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x6c], edi
je 0x100189da
xor ebx, ebx
mov eax, 1
cmp dword [ebp - 0x68], eax
je 0x1001896f
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x24], 0
mov dword [ebp - 0x68], eax
je 0x10018817
mov edi, dword [ebp - 0x4c]
add esi, ebx
push esi
call fcn.1000a170
mov edi, dword [ebp - 0x6c]
add esp, 4
jmp 0x10018834
cmp dword [esi + ebx + 0x14], 0x10
mov ecx, dword [esi + ebx + 0x10]
lea eax, [esi + ebx]
jb 0x10018827
mov eax, dword [eax]
mov edx, dword [ebp - 0x4c]
push ecx
push eax
push edx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
jne 0x100189b1
mov eax, dword [ebp - 0x58]
mov esi, dword [eax + 0x68]
mov ecx, dword [eax + 0x6c]
mov edi, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x50]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc edi
add ebx, 0x48
add ecx, edx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], esi
cmp edi, ecx
jb 0x10018790
mov edi, dword [ebp - 0x58]
mov esi, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov ebx, dword [ebp - 0x4c]
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x54], esi
je 0x10018bb9
xor eax, eax
mov dword [ebp - 0x64], eax
jmp 0x100188b0
mov edx, dword [esi + eax + 0x20]
mov eax, dword [esi + eax + 0x24]
mov ecx, edx
or ecx, eax
je 0x100188d5
mov esi, dword [ebx + 0x10]
xor ecx, ecx
cmp ecx, eax
jg 0x10018b23
jl 0x100188d5
cmp esi, edx
ja 0x10018b23
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
mov esi, dword [ecx + eax + 4]
lea edx, [ecx + eax + 4]
lea eax, [ecx + eax + 8]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x60], eax
cmp esi, dword [eax]
je 0x10018b59
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002690
add esi, 0x1c
cmp dword [edi + 0x24], 0
mov dword [ebp - 0x50], esi
je 0x10018a92
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x10018b20
mov esi, dword [ebp - 0x4c]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1001893d
lea eax, [ebp - 0x2c]
push edi
push eax
push ebx
mov eax, esi
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x10018b20
mov edi, dword [ebp - 0x1c]
lea esi, [eax + edi]
test eax, eax
je 0x10018a4f
cmp dword [ebx + 0x14], 0x10
jb 0x10018a1c
mov ecx, dword [ebx]
jmp 0x10018a1e
mov eax, dword [ebp - 0x58]
cmp dword [eax + 0x24], 0
je 0x1001898b
mov edi, dword [ebp - 0x4c]
add esi, ebx
push esi
call fcn.1000a170
mov edi, dword [ebp - 0x6c]
add esp, 4
jmp 0x100189a8
cmp dword [esi + ebx + 0x14], 0x10
mov ecx, dword [esi + ebx + 0x10]
lea eax, [esi + ebx]
jb 0x1001899b
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 0x4c]
push eax
push ecx
xor eax, eax
call fcn.1000cf70
cmp eax, 0xffffffff
jne 0x1001883d
mov esi, dword [edi]
mov ecx, dword [edi + 4]
inc dword [ebp - 0x54]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
add ebx, 0x1c
cmp dword [ebp - 0x54], eax
jb 0x100187ea
mov edi, dword [ebp - 0x60]
mov esi, dword [ebp - 0x50]
mov edx, dword [edi + esi + 4]
mov ebx, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [ebx + 0x14]
call fcn.10002690
mov eax, dword [edi + esi + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [edi + esi + 0x2c]
push ecx
lea ecx, [ebx + 0x30]
mov dword [ebx + 4], eax
call fcn.10002690
mov edx, dword [edi + esi + 0x1c]
mov dword [ebx + 8], edx
mov eax, dword [edi + esi + 0x28]
jmp 0x10018500
mov ecx, ebx
mov cl, byte [eax + ecx - 1]
lea edx, [ecx - 0x30]
cmp dl, 9
jbe 0x10018931
lea edx, [ecx - 0x61]
cmp dl, 0x19
jbe 0x10018931
lea edx, [ecx - 0x41]
cmp dl, 0x19
jbe 0x10018931
cmp cl, 0x5f
je 0x10018931
cmp dword [ebx + 0x10], esi
jbe 0x10018aaf
cmp dword [ebx + 0x14], 0x10
jb 0x10018a5e
mov ecx, dword [ebx]
jmp 0x10018a60
mov ecx, ebx
mov cl, byte [esi + ecx]
lea edx, [ecx - 0x30]
cmp dl, 9
jbe 0x10018931
lea edx, [ecx - 0x61]
cmp dl, 0x19
jbe 0x10018931
lea edx, [ecx - 0x41]
cmp dl, 0x19
jbe 0x10018931
cmp cl, 0x5f
je 0x10018931
jmp 0x10018aaf
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10018a9e
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
mov eax, dword [ebp - 0x4c]
push ebx
call fcn.1000cf70
mov edi, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x10018b20
mov edx, dword [ebp - 0x68]
test edx, edx
jne 0x10018ac6
lea ecx, [edi + eax]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x4c], ecx
jmp 0x10018ac9
mov ecx, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x78]
jae 0x10018ae6
test edx, edx
je 0x10018ae6
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x68], 0
jmp 0x10018b0c
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
cmp ecx, dword [edx]
je 0x10018b59
cmp dword [ebp - 0x68], 0
je 0x10018aff
mov ecx, dword [ebp - 0x74]
lea edx, [eax + ecx]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edi
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
cmp ecx, dword [eax]
je 0x10018b59
mov edi, dword [ebp - 0x58]
mov esi, ecx
jmp 0x10018906
mov edi, dword [ebp - 0x58]
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 0x4c]
mov esi, dword [ebp - 0x7c]
add dword [ebp - 0x64], 0x48
sub ecx, eax
mov dword [ebp - 0x54], eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
mov dword [ebp - 0x7c], esi
cmp esi, eax
jae 0x10018bb9
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x64]
jmp 0x100188b0
mov ebx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x64]
mov ecx, dword [ebx + edi + 4]
mov esi, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [esi + 0x14]
call fcn.10002690
mov edx, dword [ebx + edi + 0x14]
push 0xffffffffffffffff
push 0
lea eax, [ebx + edi + 0x2c]
push eax
lea ecx, [esi + 0x30]
mov dword [esi + 4], edx
call fcn.10002690
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebx + edi + 0x1c]
mov dword [esi + 8], ecx
mov edx, dword [ebx + edi + 0x28]
mov dword [esi + 0xc], edx
jb 0x1001846a
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1005ccdb
add esp, 4
mov eax, 1
jmp 0x10018df1
xor esi, esi
mov dword [ebp - 0x7c], 0xa
cmp dword [edi + 0x24], esi
je 0x10018bce
mov dword [ebp - 0x7c], 0x14
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
sub ecx, eax
mov dword [ebp - 0x4c], eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x80], esi
je 0x10018ddd
mov dword [ebp - 0x64], esi
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x64]
mov edx, dword [ecx + eax + 0x20]
mov eax, dword [ecx + eax + 0x24]
mov ecx, edx
or ecx, eax
je 0x10018c21
mov esi, dword [ebx + 0x10]
xor ecx, ecx
cmp ecx, eax
jg 0x10018dae
jl 0x10018c21
cmp esi, edx
ja 0x10018dae
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x54], eax
lea eax, [edx + ecx + 4]
mov dword [ebp - 0x6c], eax
mov eax, dword [eax]
lea ecx, [edx + ecx + 8]
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x60], ecx
cmp eax, dword [ecx]
je 0x10018e0f
mov esi, dword [ebp - 0x50]
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x2c]
call fcn.10002690
mov edx, dword [ebp - 0x58]
add esi, 0x1c
cmp dword [edx + 0x24], 0
mov dword [ebp - 0x50], esi
je 0x10018d23
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x10018dab
mov edi, dword [ebp - 0x54]
jmp 0x10018c90
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10018c9c
lea eax, [ebp - 0x2c]
push esi
push eax
push ebx
mov eax, edi
call fcn.1000cf70
cmp eax, 0xffffffff
je 0x10018dab
mov esi, dword [ebp - 0x1c]
lea edi, [esi + eax]
test eax, eax
je 0x10018ce6
cmp dword [ebx + 0x14], 0x10
jb 0x10018cc3
mov ecx, dword [ebx]
jmp 0x10018cc5
mov ecx, ebx
mov cl, byte [ecx + eax - 1]
lea edx, [ecx - 0x30]
cmp dl, 9
jbe 0x10018c90
lea edx, [ecx - 0x61]
cmp dl, 0x19
jbe 0x10018c90
lea edx, [ecx - 0x41]
cmp dl, 0x19
jbe 0x10018c90
cmp cl, 0x5f
je 0x10018c90
cmp dword [ebx + 0x10], edi
jbe 0x10018d40
cmp dword [ebx + 0x14], 0x10
jb 0x10018cf5
mov ecx, dword [ebx]
jmp 0x10018cf7
mov ecx, ebx
add ecx, esi
mov cl, byte [ecx + eax]
lea edx, [ecx - 0x30]
cmp dl, 9
jbe 0x10018c90
lea edx, [ecx - 0x61]
cmp dl, 0x19
jbe 0x10018c90
lea edx, [ecx - 0x41]
cmp dl, 0x19
jbe 0x10018c90
cmp cl, 0x5f
je 0x10018c90
jmp 0x10018d40
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10018d2f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push ecx
push eax
mov eax, dword [ebp - 0x54]
push ebx
call fcn.1000cf70
mov esi, dword [ebp - 0x1c]
cmp eax, 0xffffffff
je 0x10018dab
mov ecx, dword [ebp - 0x68]
test ecx, ecx
jne 0x10018d59
lea edx, [esi + eax]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x5c], 1
mov edx, dword [ebp - 0x7c]
mov edi, eax
sub edi, dword [ebp - 0x74]
sub edi, dword [ebp - 0x78]
cmp edi, edx
jbe 0x10018d83
xor edi, edi
cmp ecx, edi
je 0x10018d83
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx]
sub eax, edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x5c], edi
jmp 0x10018d9a
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x60]
cmp ecx, dword [edx]
je 0x10018da5
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], esi
mov eax, dword [ebp - 0x60]
cmp ecx, dword [eax]
jne 0x10018c57
cmp dword [ebp - 0x5c], 0
jne 0x10018e0f
mov edi, dword [ebp - 0x58]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov esi, dword [ebp - 0x80]
add dword [ebp - 0x64], 0x48
sub ecx, eax
mov dword [ebp - 0x4c], eax
mov eax, 0x38e38e39
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
inc esi
add ecx, edx
mov dword [ebp - 0x80], esi
cmp esi, ecx
jb 0x10018bf6
cmp dword [ebp - 0x18], 0x10
jb 0x10018def
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1005ccdb
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cccc
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x64]
mov edx, dword [ebx + edi + 4]
mov esi, dword [ebp - 0x70]
push 0xffffffffffffffff
push 0
push edx
lea ecx, [esi + 0x14]
call fcn.10002690
mov eax, dword [ebx + edi + 0x14]
push 0xffffffffffffffff
push 0
lea ecx, [ebx + edi + 0x2c]
push ecx
lea ecx, [esi + 0x30]
mov dword [esi + 4], eax
call fcn.10002690
mov edx, dword [ebx + edi + 0x1c]
mov dword [esi + 8], edx
mov eax, dword [ebx + edi + 0x28]
mov dword [esi + 0xc], eax
jmp 0x10018503