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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ecx, 0x20
mov eax, dword [edi + 4]
cmp eax, ecx
mov dword [edi + 0x78], 0
cmova eax, ecx
mov dword [edi + 0x7c], 0
mov dword [edi + 0x54], eax
mov eax, dword [edi]
mov dword [edi + 0x30], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x58], 0
cmp eax, dword [edi + 0x20]
je 0x100123a2
mov eax, ecx
lea ebx, [edi + 0xd0]
mov dword [ebp - 4], eax
mov edx, dword [ebx]
test edx, edx
je 0x1001237a
mov dword [ebx], 0
mov eax, dword [ebx - 8]
mov esi, dword [edx]
mov eax, dword [eax + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov edx, esi
test esi, esi
jne 0x10012362
mov eax, dword [ebp - 4]
add ebx, 0x28
sub eax, 1
mov dword [ebp - 4], eax
jne 0x10012356
mov edx, dword [edi + 0x5c]
test edx, edx
je 0x1001239d
mov eax, dword [edi + 0x14]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov dword [edi + 0x5c], 0
mov eax, dword [edi]
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xac], 0
mov ecx, dword [edi + 0x58]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
lea eax, [ecx + 1]
mov dword [ebp - 4], esi
mov dword [edi + 0x58], eax
lea ecx, [esi + 0x20]
cmp dword [esi + 0x20], 0
je 0x10012410
call fcn.10019b1a
jmp 0x10012415
call fcn.10019ad0
mov ebx, eax
add esi, 0x1c
test ebx, ebx
jne 0x100124ce
mov ecx, esi
cmp dword [esi], eax
je 0x1001242f
call fcn.10019b1a
jmp 0x10012434
call fcn.10019ad0
mov ebx, eax
test ebx, ebx
jne 0x100124ce
mov ecx, dword [ebp - 4]
lea ecx, [ecx + 0x20]
call fcn.10019b2e
mov ebx, eax
test ebx, ebx
jne 0x100124ce
mov ecx, esi
call fcn.10019b2e
mov ebx, eax
test ebx, ebx
jne 0x100124ce
push dword [ebp - 4]
call fcn.100135d0
mov ebx, eax
test ebx, ebx
je 0x100124e0
mov dword [edi + 0x44], 0
lea esi, [edi + 0xe0]
mov dword [ebp - 0xc], 0x20
nop
cmp dword [esi], 0
lea eax, [esi + 4]
lea ecx, [esi + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
je 0x100124b1
call fcn.10019b2e
mov ecx, dword [ebp - 4]
call fcn.10019b2e
mov ecx, dword [esi]
call fcn.10019b74
mov ecx, esi
call fcn.10019b53
mov eax, dword [ebp - 4]
jmp 0x100124b4
mov dword [ebp - 8], ecx
mov ecx, eax
call fcn.10019b53
mov ecx, dword [ebp - 8]
call fcn.10019b53
add esi, 0x28
sub dword [ebp - 0xc], 1
jne 0x10012480
test ebx, ebx
jle 0x100124d9
movzx ebx, bx
or ebx, 0x80070000
test ebx, ebx
je 0x100124e0
mov dword [edi + 0x40], ebx
cmp dword [edi + 0x38], 0
jne 0x100124f9
cmp dword [edi + 0x40], 0
jne 0x100124f9
cmp dword [edi + 0x3c], 0
jne 0x100124f9
mov dword [edi + 0x44], 0
xor eax, eax
cmp dword [edi + 0x44], eax
pop edi
cmovne ebx, eax
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret