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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88c
push ebx
push esi
push edi
mov esi, ecx
xor eax, eax
mov ecx, 0x104
lea edi, [esp + 0x488]
rep stosd dword es:[edi], eax
mov ecx, 0x104
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x6f2c]
mov ecx, dword [esi + 8]
xor edi, edi
push eax
push 1
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.10011280
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
lea ebx, [esp + 0x1c]
push ebx
mov ebx, dword [esi + 0x6f2c]
push edi
push edi
push ebx
push eax
push ecx
mov dword [esp + 0x28], eax
call dword [edx + 0xdc]
mov ebx, eax
cmp ebx, 3
je 0x1000c3fb
test ebx, ebx
jne 0x1000c5ea
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x6f2c]
push ebx
mov dword [esp + edi*4 + 0x490], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
inc edi
push edi
push edx
mov edx, dword [esp + 0x20]
push edx
push eax
call dword [ecx + 0xdc]
mov ebx, eax
cmp ebx, 3
jne 0x1000c3c1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
xor ecx, ecx
test edi, edi
mov dword [eax], edi
jbe 0x1000c449
mov eax, edi
mov dword [esp + 0x18], eax
mov edi, edi
mov edx, dword [esp + 0x18]
xor eax, eax
test edx, edx
jbe 0x1000c432
mov edx, dword [esp + ecx*4 + 0x488]
cmp dword [esp + eax*4 + 0x78], edx
je 0x1000c42e
inc eax
cmp eax, edi
jb 0x1000c421
jmp 0x1000c432
test ecx, ecx
jne 0x1000c441
mov eax, dword [esp + ecx*4 + 0x488]
movzx edx, bx
mov dword [esp + edx*4 + 0x78], eax
inc ebx
inc ecx
cmp ecx, edi
jb 0x1000c410
mov eax, dword [ebp + 0xc]
movzx edi, bx
push edi
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
mov dword [eax], edi
call fcn.1000bad0
mov eax, dword [ebp + 8]
xor ecx, ecx
test eax, eax
je 0x1000c4a2
test edi, edi
jbe 0x1000c4a2
add eax, 4
jmp 0x1000c470
mov edx, dword [esp + ecx*4 + 0x78]
mov dword [eax - 4], edx
mov dword [eax], 0
mov dword [eax + 4], 0
cmp dword [esi + 0x98], edx
jne 0x1000c492
mov dword [eax], 1
mov edx, dword [ebp + 0xc]
mov edi, dword [edx]
inc ecx
add eax, 0xc
cmp ecx, edi
jb 0x1000c470
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x34], 0x24
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ebx
je 0x1000c5d0
mov eax, dword [esi + 8]
mov edi, dword [eax + 0x14]
test edi, edi
je 0x1000c4f7
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
call fcn.10007c60
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1000c511
mov edi, dword [edi + 0x360]
inc ebx
test edi, edi
jne 0x1000c4d8
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000c506
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov edx, 1
shl edx, cl
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], edx
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esi + 0x6f2c]
push edx
push ebx
push eax
call dword [ecx + 0xc0]
mov edi, eax
cmp edi, 3
je 0x1000c5d4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1000c5d4
test edi, edi
jne 0x1000c5ba
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
xor ecx, ecx
test eax, eax
jbe 0x1000c58a
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x14]
cmp dword [eax], edi
jne 0x1000c580
mov dword [eax + 8], 1
mov edi, dword [edx]
inc ecx
add eax, 0xc
cmp ecx, edi
jb 0x1000c571
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esi + 0x6f2c]
inc eax
push edx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0xc0]
mov edi, eax
cmp edi, 3
jne 0x1000c553
jmp 0x1000c5d4
test ebx, ebx
je 0x1000c5c5
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1000c5df
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1000c5f9
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc