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

Disassembly:
sub esp, 0x278
mov eax, dword [0x1008e168]
xor eax, esp
mov dword [esp + 0x274], eax
mov ecx, dword [esp + 0x28c]
mov eax, dword [esp + 0x284]
push ebx
mov ebx, dword [esp + 0x280]
push ebp
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x14]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2a0]
neg ecx
mov dword [esp + 0x14], ebx
sbb ecx, ecx
and ecx, 0x10000
neg eax
sbb eax, eax
and eax, 0x20000
or ecx, eax
or ecx, 0x40004
mov dword [esp + 0x29c], ecx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1006e00d
jmp 0x1006dce0
mov ebp, dword [ecx + 0xc]
test ebp, ebp
je 0x1006dffe
jmp 0x1006dcf0
test byte [ebp + 0x30], 0x10
mov dword [esp + 0x20], 0
je 0x1006dfef
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea eax, [ebx + 0x68]
push eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
push eax
push dword [ebp + 0x20]
push ebx
call fcn.10061320
mov dword [esp + 0x10], eax
test eax, eax
js 0x1006dfb6
cmp dword [esp + 0x1c], 0
jne 0x1006e0a8
lea ecx, [esp + 0x3c]
mov edx, ebp
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006e0a8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1006dd44
test byte [ebp + 0x30], 1
jne 0x1006df80
lea eax, [esp + 0x38]
push eax
push 0x10
lea eax, [esp + 0x168]
push eax
push 0x1a
push 0
push dword [esp + 0x60]
push dword [esp + 0x30]
call fcn.1003a9e0
mov dword [esp + 0x10], eax
test eax, eax
js 0x1006df80
mov ebx, dword [ebx + 0x24]
test ebx, ebx
je 0x1006ddd0
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x1006ddc9
lea ecx, [ecx]
mov edx, edi
lea eax, [esp + 0x160]
mov esi, 0xc
mov edi, edi
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x1006e02a
add edx, 4
add eax, 4
sub esi, 4
jae 0x1006ddb0
test edi, edi
jne 0x1006ddd8
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x1006dd96
test edi, edi
je 0x1006df7c
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x17c]
push eax
push dword [edi + 0x20]
push ebx
call fcn.10061320
mov dword [esp + 0x10], eax
test eax, eax
js 0x1006df80
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
jne 0x1006e0a8
lea ecx, [esp + 0x170]
mov edx, edi
mov esi, 0xc
jmp 0x1006de30
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1006e0a8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1006de30
cmp dword [esp + 0x290], 0
jne 0x1006e03a
lea eax, [esp + 0x150]
push eax
call fcn.10076870
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
js 0x1006df80
imul ecx, dword [0x1008e068], 0x3e8
mov eax, 0x10624dd3
xor ebx, ebx
mul ecx
shr edx, 5
test edx, edx
je 0x1006df2d
xor eax, eax
cmp dword [esp + 0x2a0], eax
sete al
mov dword [esp + 0x34], eax
lea esp, [esp]
lea ecx, [esp + 0x170]
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x158]
push 0x10003e44
push dword [esp + 0x2a8]
push ecx
push 0
push 1
push eax
push 1
push dword [esp + 0x88]
push dword [esp + 0x7c]
push dword [esp + 0x78]
push dword [esp + 0x48]
call fcn.10059db0
mov esi, eax
mov dword [esp + 0x10], esi
cmp esi, 0xfffffbae
je 0x1006defd
cmp esi, 0xfffffbaf
je 0x1006defd
cmp esi, 0xfffffbb2
jne 0x1006df2d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
imul ecx, dword [0x1008e068], 0x3e8
mov eax, 0x10624dd3
inc ebx
mul ecx
mov eax, dword [esp + 0x34]
shr edx, 5
cmp ebx, edx
jb 0x1006dea0
mov esi, dword [esp + 0x10]
test esi, esi
js 0x1006df7c
mov eax, dword [esp + 0x30]
push 0
push 1
mov dword [eax], 1
xor eax, eax
cmp dword [esp + 0x2a0], eax
sete al
push eax
push 0x10003e44
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x15c]
push 0
push 0
push 0x19
push dword [esp + 0x50]
call fcn.10065880
mov ebx, dword [esp + 0x14]
lea eax, [ebx + 0x68]
push eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x20]
call fcn.1006f560
cmp dword [esp + 0x20], 0
je 0x1006dfae
lea eax, [ebx + 0x68]
push eax
lea eax, [esp + 0x174]
push eax
push dword [esp + 0x20]
call fcn.1006f560
mov eax, dword [esp + 0x10]
test eax, eax
jns 0x1006dfef
push eax
call fcn.10063430
test eax, eax
jne 0x1006e0b5
push dword [esp + 0x10]
call fcn.100635c0
test eax, eax
jne 0x1006dfe8
push dword [esp + 0x10]
call fcn.10063580
test eax, eax
jne 0x1006dfe8
cmp dword [esp + 0x10], 0xffffb19b
jne 0x1006dfef
mov dword [ebx + 0x60], 1
mov ebp, dword [ebp + 0x24]
test ebp, ebp
jne 0x1006dcf0
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x1006dce0
xor eax, eax
mov ecx, dword [esp + 0x284]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1007d8c1
add esp, 0x278
ret 0x18
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x1006dda0
jmp 0x1006ddc9
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x40]
push eax
push 1
push 1
push 1
push 1
push 0
push dword [esp + 0x2b8]
push 0
push dword [esp + 0x1a4]
push dword [esp + 0x74]
push dword [esp + 0x44]
call fcn.10013f00
push 0
push 0
push 0
push 0
push edi
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push dword [edi + 0x20]
push ebp
push dword [ebp + 0x20]
push 0
push eax
push 0x17
lea eax, [ebx + 0x68]
push eax
call fcn.10065880
cmp dword [esp + 0x10], 0
jl 0x1006df80
mov dword [esp + 0x10], eax
jmp 0x1006df80
mov dword [esp + 0x10], 0xffffb19b
jmp 0x1006df80
mov eax, dword [esp + 0x10]
jmp 0x1006e00f