Function at 0x102101b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x10351d9
call fcn.01027f98
sub esp, 0x1f0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
push 0x1008d18
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x7c], esp
push 0
mov esi, 0x200
push esi
push 0x2ae
mov ebx, 0x100860c
push ebx
mov edi, 0x1008580
push edi
call fcn.01011ab4
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.01011b28
mov dword [ebp - 4], 1
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10210ef
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x10210ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x10210a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10210b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 0x14]
push dword [ecx + 0xc]
push 0x1008cf8
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0
push esi
push 0x2b8
push ebx
push edi
call fcn.01011ab4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01029013
add esp, 0x50
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
test eax, eax
jg 0x1021134
push 0x1008cd4
push 0x8000ffff
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x94], esp
push 0
push esi
push 0x2c0
push ebx
push edi
call fcn.01011ab4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01011cf6
add esp, 0x4c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x5c], eax
shl eax, 2
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x1021188
push 0x100647c
push 0x8007000e
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
push esi
push 0x2c6
push ebx
push edi
call fcn.01011ab4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01011cf6
add esp, 0x4c
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x20], edx
jge 0x10211cf
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x6c], eax
mov dl, byte [eax + 0x14]
mov byte [ebp - 0x22], dl
test dl, dl
je 0x10211ca
mov eax, dword [eax + 8]
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
inc ecx
mov dword [ebp - 0x28], ecx
inc dword [ebp - 0x20]
jmp 0x1021190
test ecx, ecx
je 0x102124a
push 0x2710
push 1
push dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x1021247
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x10211fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x102120b
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x80070000
push 0x2710
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push 0x1008c70
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0
push esi
push 0x2e0
push ebx
push edi
call fcn.01011ab4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01029013
add esp, 0x58
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x18], 0
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp - 0x18], ecx
jge 0x102144c
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [eax + ecx*4]
mov dword [ebp - 0x4c], esi
mov al, byte [esi + 0x40]
mov byte [ebp - 0x21], al
test al, al
je 0x1021441
mov al, byte [esi + 0x41]
mov byte [ebp - 0x23], al
test al, al
jne 0x1021441
mov edx, dword [esi + 0x44]
mov dword [ebp - 0x2c], edx
mov eax, 0x8007000e
cmp edx, eax
je 0x10212b1
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0xb4], ecx
cmp ecx, eax
je 0x10212b1
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x84], ecx
cmp ecx, eax
jne 0x1021301
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0xac], ecx
push ecx
mov ecx, dword [esi + 0x48]
mov dword [ebp - 0x8c], ecx
push ecx
mov dword [ebp - 0xbc], edx
push edx
push 0x1008c08
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0
push 0x200
push 0x2f6
push ebx
push edi
call fcn.01011ab4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01011cf6
add esp, 0x58
push 1
push 0
push 0x200
push 0x2fa
push ebx
push edi
lea ecx, [ebp - 0x1fc]
call fcn.01011ab4
mov byte [ebp - 4], 8
mov edx, dword [esi + 0x24]
mov dword [ebp - 0x58], edx
push edx
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.010122cb
mov byte [ebp - 4], 9
push dword [ebp - 0x18]
lea ecx, [ebp - 0x13c]
push ecx
mov ecx, eax
call fcn.01013e8d
mov byte [ebp - 4], 0xa
mov edx, dword [esi + 0x44]
mov dword [ebp - 0x60], edx
push edx
lea ecx, [ebp - 0x1bc]
push ecx
mov ecx, eax
call fcn.010127ba
mov byte [ebp - 4], 0xb
mov edx, dword [esi + 0x48]
mov dword [ebp - 0x68], edx
push edx
lea ecx, [ebp - 0xfc]
push ecx
mov ecx, eax
call fcn.010127ba
mov byte [ebp - 4], 0xc
mov edx, dword [esi + 0x4c]
mov dword [ebp - 0x70], edx
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x78], esp
push edx
push ecx
mov ecx, eax
call fcn.010127ba
mov byte [ebp - 4], 0xd
push 0x300a
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0xc
call fcn.0101236e
add esp, 0x4c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xfc]
call fcn.01011afc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1bc]
call fcn.01011afc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x13c]
call fcn.01011afc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x17c]
call fcn.01011afc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1fc]
call fcn.01011afc
mov esi, dword [esi + 0x24]
mov dword [ebp - 0x80], esi
push esi
push dword [ebp - 0x18]
push 0x1008ba0
push 0x80042314
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x88], esp
push 0
push 0x200
push 0x2fc
push ebx
push edi
call fcn.01011ab4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.01011cf6
add esp, 0x54
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
jmp 0x102124e
mov dword [eax + 0x10], 3
mov dword [ebp - 4], 1
push dword [ebp - 0x1c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov esi, dword [ebp - 0x48]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.01011bd1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret