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

Disassembly:
push ebx
push ebp
push esi
push edi
push ecx
mov esi, ecx
call fcn.1001c0a0
mov dword [esi + 0x58], 0
mov ecx, 1
mov dword [esi + 0x54], 0
mov dword [esi + 0x50], 0
mov eax, dword [esi + 4]
mov dword [esi], 0x10055d54
mov eax, dword [eax + 8]
mov dword [eax + esi + 4], 0x10055d50
mov eax, dword [0x1005be08]
mov dword [esi + 0x8c], 0x1005bdb0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov word [esi + 0x98], 0x100
mov dword [esi + 0x9c], 0x1005bdb0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov word [esi + 0xa8], 0x100
mov dword [esi + 0xac], 0x1005bdb0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov word [esi + 0xb8], 0x100
lock xadd dword [eax + 0x1cb8], ecx
inc ecx
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x10], ecx
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov byte [eax + esi + 0x3c], 1
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x40], ebp
mov eax, dword [esi + 4]
mov dword [esi + 0x5c], 0
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x14], ecx
mov dword [eax + esi + 0x18], edx
mov eax, dword [esi + 4]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
mov dword [ecx + esi + 0x1c], eax
movzx eax, byte [edi]
mov byte [esi + 0x60], al
movzx eax, byte [edi + 1]
mov byte [esi + 0x61], al
movzx eax, byte [edi + 0xc]
mov byte [esi + 0x70], al
mov eax, dword [edi + 4]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 4]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x20], ecx
mov dword [eax + esi + 0x24], edx
movzx eax, byte [esi + 0x74]
and al, 1
mov byte [esi + 0x81], 0
mov byte [esi + 0x80], al
mov eax, dword [esi + 0x74]
shr eax, 1
and al, 1
mov word [esi + 0x83], 0
mov byte [esi + 0x82], al
test ebp, ebp
jne 0x1001c372
cmp byte [esp + 0x1c], 0
jne 0x1001c372
xor cl, cl
jmp 0x1001c374
mov cl, 1
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov byte [eax + esi + 0x3e], cl
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov byte [eax + esi + 0x3d], cl
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x64], 0
mov ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x68], 0xafc8
mov ecx, dword [ecx + 8]
test ebp, ebp
je 0x1001c433
mov eax, dword [ebp + 0x3a0]
mov dword [esi + ecx + 0x28], eax
mov eax, dword [esi + 4]
mov edi, dword [eax + 8]
mov eax, dword [ebp + 0x3a4]
add edi, esi
mov ebp, dword [ebp + 0x3a8]
mov dword [esp + 0x1c], eax
test ebp, ebp
jle 0x1001c422
lea ebx, [ebp*2]
lea eax, [ebx + 2]
cmp dword [edi + 0x34], eax
jae 0x1001c406
push eax
lea ecx, [edi + 0x2c]
call fcn.100049c0
test eax, eax
je 0x1001c422
mov eax, dword [edi + 0x2c]
xor ecx, ecx
push ebx
push dword [esp + 0x20]
mov dword [edi + 0x30], ebp
push eax
mov word [ebx + eax], cx
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1001c43a
mov eax, dword [edi + 0x2c]
xor ecx, ecx
mov dword [edi + 0x30], 0
mov word [eax], cx
jmp 0x1001c43a
mov eax, dword [edi + 0x20]
mov dword [esi + ecx + 0x28], eax
movzx eax, byte [esi + 0x70]
dec eax
cmp eax, 3
ja case.default.0x1001c444
jmp dword [eax*4 + 0x1001c504]
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x98], 8
jmp case.default.0x1001c444
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x98], 0x10
jmp case.default.0x1001c444
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x98], 0x804
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov byte [eax + esi + 0x3e], 0
jmp case.default.0x1001c444
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x98], 0x104
mov byte [esi + 0x81], 1
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
cmp byte [eax + esi + 0x3d], 0
je 0x1001c4bf
or dword [eax + esi + 0x98], 0x100000
mov eax, dword [esi + 0x74]
test eax, 0x100
je 0x1001c4e3
mov eax, dword [esi + 4]
pop edi
mov eax, dword [eax + 8]
or dword [eax + esi + 0x98], 0x2000000
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x10
test eax, 0x208
je 0x1001c4fb
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
or dword [eax + esi + 0x98], 0x400000
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0x10