Function at 0x10117c30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016c7f1
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x101bd92c]
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 dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x100], eax
mov esi, dword [eax + 0x24]
mov ecx, dword [eax + 0x28]
sub ecx, esi
mov eax, 0xb21642c9
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xf8], eax
cmp ebx, eax
jge 0x10118046
test ebx, ebx
js 0x10118046
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0xdc], ebx
mov eax, dword [ebp - 0xe8]
imul eax, eax, 0x5c
add eax, esi
mov byte [ebp - 4], 1
cmp dword [eax + 0x34], edi
jne 0x10118014
mov ecx, dword [ebp - 0xd8]
add eax, 4
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.1010eb00
test eax, eax
je 0x10118014
mov eax, dword [ebp - 0xf4]
mov esi, eax
cmp eax, dword [ebp - 0xf0]
je 0x10117fec
jmp 0x10117d40
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push eax
push 0x10199228
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], eax
call fcn.100048b0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x20], 0
push dword [ebp - 0xd4]
lea eax, [ebp - 0xcd]
push eax
push edi
push ebx
mov byte [ebp - 4], 4
call fcn.100bad40
mov dword [ebp - 0xe0], ebx
xor ebx, ebx
add esp, 0x10
cmp dword [ebp - 0xf8], ebx
jle 0x10117eb9
xor eax, eax
mov dword [ebp - 0xd8], eax
jmp 0x10117dc0
mov ecx, dword [ebp - 0x100]
mov edi, dword [ecx + 0x24]
add edi, eax
cmp dword [ebp - 0xe8], ebx
jne 0x10117e91
lea ecx, [ebp - 0xcc]
call fcn.1010ddb0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 5
jb 0x10117df0
mov edx, dword [esi]
jmp 0x10117df2
mov edx, esi
mov dword [ebp - 0xcc], 1
cmp word [edx], 0
jne 0x10117e06
xor eax, eax
jmp 0x10117e24
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0xfc], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10117e11
sub eax, dword [ebp - 0xfc]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xc8]
call fcn.100048b0
cmp dword [ebp - 0xb4], 8
lea eax, [ebp - 0xc8]
cmovae eax, dword [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x74]
call fcn.10118a80
add edi, 4
lea eax, [ebp - 0x94]
mov dword [ebp - 0x7c], 1
cmp eax, edi
je 0x10117e6e
push 0xffffffffffffffff
push 0
push edi
mov ecx, eax
call fcn.10004790
lea eax, [ebp - 0xcc]
push eax
lea ecx, [ebp - 0xe4]
call fcn.100bdd40
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 4
call fcn.100bc0d0
jmp 0x10117e9d
push edi
lea ecx, [ebp - 0xe4]
call fcn.100bdd40
mov eax, dword [ebp - 0xd8]
inc ebx
add eax, 0x5c
mov dword [ebp - 0xd8], eax
cmp ebx, dword [ebp - 0xf8]
jl 0x10117dc0
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100bc980
add esp, 8
mov edi, eax
mov ecx, dword [edi]
mov dword [ebp - 0x40], ecx
lea eax, [edi + 4]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x10117eeb
push 0xffffffffffffffff
push 0
push eax
call fcn.10004790
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100bc250
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10199228
mov byte [ebp - 4], 4
call ebx
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10117f51
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xcd]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.100bad40
push dword [ebp - 0x4c]
call fcn.10091747
add esp, 0x14
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
cmp dword [ebp - 0x58], 8
jb 0x10117f62
push dword [ebp - 0x6c]
call fcn.10091747
add esp, 4
mov ecx, dword [ebp - 0xd4]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x20], 0xa
call fcn.100bddf0
push 0x10199228
mov byte [ebp - 4], 1
call ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10117fc0
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xcd]
push ecx
push dword [ebp - 0x18]
push eax
call fcn.100bad40
push dword [ebp - 0x1c]
call fcn.10091747
add esp, 0x14
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x28], 8
jb 0x10117fd1
push dword [ebp - 0x3c]
call fcn.10091747
add esp, 4
mov ebx, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xe0]
add esi, 0x18
cmp esi, dword [ebp - 0xf0]
jne 0x10117d40
mov esi, 1
test ebx, ebx
je 0x10118016
push dword [ebp - 0xd4]
lea eax, [ebp - 0xcd]
push eax
push edi
push ebx
call fcn.100bad40
push ebx
call fcn.10091747
add esp, 0x14
jmp 0x10118016
xor esi, esi
mov ebx, dword [ebp - 0xf4]
test ebx, ebx
je 0x10118042
push dword [ebp - 0xd4]
lea eax, [ebp - 0xcd]
push eax
push dword [ebp - 0xf0]
push ebx
call fcn.10011670
push ebx
call fcn.10091747
add esp, 0x14
mov eax, esi
jmp 0x10118048
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.1009174c
mov esp, ebp
pop ebp
ret 0xc