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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x100504f0]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xe8]
lea eax, [esp + 0x80]
mov ebx, ecx
mov dword [esp + 8], 0
push esi
xor esi, esi
mov dword [esp + 0x10], 0
push edi
mov edi, dword [esp + 0xec]
lea ecx, [ebx + 0x28]
mov dword [esp + 0x20], edi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 0x20
mov dword [esp + 0x24], 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], esi
call fcn.1002f580
mov dword [ebx + 0x34], esi
mov ecx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [edi]
sub eax, 4
push ebp
mov dword [esp + 0x64], eax
lea eax, [esp + 0x14]
push 2
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.1000d090
test byte [ebp], 8
mov edi, eax
jne 0x1000c6b0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x18]
call fcn.100248d0
cmp dword [esp + 0x68], 0
mov esi, eax
je 0x1000c657
cmp esi, 0xfffffffe
jne 0x1000c64d
lea ecx, [esp + 0x10]
call fcn.10025140
test eax, eax
je 0x1000c64d
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
call fcn.10025140
mov ecx, dword [ebx]
push 0
push ecx
push ebp
mov ecx, dword [ecx + 8]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.10019460
test byte [ebp], 8
je 0x1000c5f2
jmp 0x1000c65f
mov dword [esp + 0x44], 0
jmp 0x1000c65f
mov dword [esp + 0x44], 1
test byte [ebp], 8
jne 0x1000c6b0
lea ecx, [esp + 0x10]
call fcn.1002f4f0
cmp eax, dword [ebx + 0x14]
je 0x1000c6b0
cmp dword [esp + 0x44], 1
je 0x1000c686
cmp esi, 0xfffffffe
je 0x1000c686
cmp dword [esp + 0x1c], 0
je 0x1000c6b0
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push ebp
push 2
push eax
lea eax, [esp + 0xb4]
mov ecx, ebx
push eax
push esi
call fcn.1000d090
test byte [ebp], 8
mov edi, eax
jne 0x1000ca8d
jmp 0x1000c6b4
mov esi, dword [esp + 0x20]
test byte [ebp], 8
jne 0x1000ca7a
test byte [esp + 0x24], 8
jne 0x1000ca81
lea esp, [esp]
mov eax, edi
dec edi
mov dword [esp + 0x6c], edi
test eax, eax
je 0x1000ca7a
lea eax, [esp + 0x24]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10024d50
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov eax, 0x104
cmp word [ecx], ax
jne 0x1000c719
lea ecx, [esp + 0x10]
call fcn.10025140
test eax, eax
jne 0x1000c719
lea ecx, [esp + 0x10]
call fcn.1002f4f0
mov dword [ebx + 0x34], eax
test byte [esp + 0x24], 8
je 0x1000ca8d
lea ecx, [esp + 0x24]
call fcn.1001c120
lea ecx, [esp + 0x10]
mov dword [ebx + 0x34], 0
call fcn.1002f4f0
cmp eax, dword [ebx + 0x14]
jne 0x1000c819
mov eax, dword [ebx]
lea edx, [esp + 0x24]
push edx
lea edi, [ebx + 0x6c]
push edi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x24], 8
mov esi, eax
mov dword [esp + 0x1c], esi
jne 0x1000ca81
push 1
lea eax, [esp + 0x28]
mov ecx, edi
push eax
push esi
call fcn.10032bd0
test byte [esp + 0x24], 8
jne 0x1000ca81
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
push ecx
push eax
push esi
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x44]
push eax
call fcn.10017f00
test byte [esp + 0x24], 8
jne 0x1000ca81
lea ecx, [esp + 0x38]
call fcn.1002f520
mov esi, dword [esp + 0x14]
mov ecx, 0x200
mov edi, dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
push 0
push 0
lea ecx, [esp + 0x18]
call fcn.1001b070
push eax
push 0x103
lea ecx, [esp + 0x20]
call fcn.10024ce0
lea ecx, [esp + 0x38]
call fcn.10024cd0
inc al
lea ecx, [esp + 0x10]
movzx eax, al
push eax
call fcn.100252e0
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push esi
call fcn.100252f0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x14]
call fcn.1002f4a0
mov edi, dword [esp + 0x6c]
inc edi
mov dword [esp + edi*4 + 0xa8], esi
mov eax, dword [ebx]
lea edx, [esp + 0x24]
push edx
lea esi, [ebx + 0x6c]
push esi
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x24], 8
mov dword [esp + 0x1c], eax
jne 0x1000ca81
push 1
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, esi
call fcn.10032bd0
test byte [esp + 0x24], 8
jne 0x1000ca81
mov ecx, dword [ebx]
lea eax, [esp + 0x24]
push ecx
push eax
push dword [esp + 0x24]
mov ecx, dword [ecx + 8]
lea eax, [esp + 0x44]
push eax
call fcn.10017f00
test byte [esp + 0x24], 8
jne 0x1000ca81
lea ecx, [esp + 0x38]
call fcn.1002f520
push dword [esp + 0x70]
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x3c]
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.10025320
lea ecx, [esp + 0x38]
call fcn.10025140
test eax, eax
je 0x1000c91f
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.10025140
mov ecx, dword [ebx]
lea edx, [esp + 0x24]
push 0
push ecx
push edx
mov ecx, dword [ecx + 8]
push eax
lea eax, [esp + 0x64]
push eax
call fcn.10019460
mov eax, dword [esp + 0x24]
test al, 8
jne 0x1000ca71
lea ecx, [esp + 0x54]
call fcn.1002f520
push 4
lea ecx, [esp + 0x58]
call fcn.1002f570
mov eax, dword [esp + 0x24]
test al, 8
jne 0x1000ca71
lea ecx, [esp + 0x38]
call fcn.1002f4f0
push eax
lea ecx, [esp + 0x58]
call fcn.10025310
lea ecx, [esp + 0x54]
call fcn.1002f490
mov eax, dword [esp + 0x3c]
mov ecx, 0x104
cmp word [eax], cx
jne 0x1000c946
lea ecx, [esp + 0x38]
call fcn.10025140
test eax, eax
jne 0x1000c946
lea ecx, [esp + 0x38]
call fcn.1002f4f0
mov dword [ebx + 0x34], eax
mov ecx, dword [ebx]
lea eax, [esp + 0x48]
push 0
push ecx
push ebp
push dword [esp + edi*4 + 0xb0]
mov ecx, dword [ecx + 8]
push eax
call fcn.10019460
test byte [ebp], 8
je 0x1000c96a
xor esi, esi
jmp 0x1000c9ac
lea eax, [esp + 0x74]
push eax
push esi
lea ecx, [esp + 0x50]
call fcn.100248d0
mov esi, eax
cmp esi, 0xfffffffe
jne 0x1000c998
lea ecx, [esp + 0x48]
call fcn.100250d0
test eax, eax
jne 0x1000c998
lea ecx, [esp + 0x48]
call fcn.10025080
mov esi, eax
lea ecx, [esp + 0x48]
call fcn.1002f520
push 4
lea ecx, [esp + 0x4c]
call fcn.1002f570
test byte [ebp], 8
jne 0x1000ca7a
push dword [esp + 0x1c]
lea ecx, [esp + 0x4c]
push esi
call fcn.100252a0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x18]
call fcn.10025080
push eax
lea ecx, [esp + 0x1c]
call fcn.10024bf0
test byte [esp + 0x24], 8
jne 0x1000ca81
mov eax, dword [esp + 0x14]
mov ecx, 0x103
cmp word [eax], cx
jne 0x1000ca2c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.10025080
push eax
lea ecx, [esp + 0x18]
call fcn.100251a0
test byte [esp + 0x24], 8
jne 0x1000ca81
lea ecx, [esp + 0x78]
call fcn.100299a0
push eax
lea ecx, [esp + 0x14]
call fcn.100252f0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
call fcn.1002f4f0
push eax
lea ecx, [esp + 0x80]
call fcn.10028910
test byte [esp + 0x24], 8
jne 0x1000ca81
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x14]
call fcn.1002f4a0
test byte [esp + 0x24], 8
lea esi, [esp + 0x78]
mov dword [esp + 0x20], esi
je 0x1000c6d0
jmp 0x1000ca7a
lea ecx, [esp + 0x54]
call fcn.1002f490
test byte [esp + 0x24], 8
je 0x1000ca8d
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.1001bf90
test dword [esp + 0x24], 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
je 0x1000caa4
lea ecx, [esp + 0x14]
call fcn.1001c060
lea ecx, [esp + 0x68]
call fcn.100288f0
lea ecx, [esp + 0x28]
call fcn.1002f490
lea ecx, [esp + 0x38]
call fcn.1002f490
lea ecx, [esp]
call fcn.1002f490
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x34]
xor ecx, esp
call fcn.10044550
add esp, 0xd8
ret 8