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

Disassembly:
sub esp, 0x48
push ebp
mov ebp, dword [esp + 0x6c]
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 0x850]
test ecx, ecx
je 0x3010953e
test ebp, ebp
je 0x30109504
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x1c]
jmp 0x30109506
xor eax, eax
mov edx, dword [esi]
push 0
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
push ecx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0xdc]
cmp dword [esp + 0x48], 2
lea ecx, [esp + 0x14]
jne 0x30109539
call fcn.300047f0
pop esi
xor eax, eax
pop ebp
add esp, 0x48
ret 0x2c
call fcn.300047f0
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x30109559
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x30109563
and ecx, 0x1f
mov eax, ecx
cmp eax, 4
push edi
je 0x30109572
cmp eax, 5
jne 0x30109628
mov ecx, dword [edx]
push ecx
mov ecx, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.30108d10
mov edi, eax
test edi, edi
je 0x301095ad
push edi
lea ecx, [esp + 0x10]
call fcn.30074d90
push edi
call fcn.30208320
add esp, 4
mov edx, dword [ebp]
mov ecx, dword [edx + 0x1c]
test ecx, ecx
mov eax, ecx
jne 0x301095bf
mov eax, dword [esi + 0x80c]
test eax, eax
jne 0x301095de
mov eax, dword [esi + 0xbfc]
test eax, eax
je 0x301095e8
mov eax, dword [eax + 0xc0]
test eax, eax
je 0x301095e8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x301095e8
mov eax, dword [eax + 0xa8]
test eax, eax
jne 0x301095f1
mov eax, dword [esi + 0x570]
mov eax, dword [eax + 0x54]
push ecx
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov ecx, esi
call fcn.30105920
test eax, eax
jne 0x3010961b
mov edx, dword [esp + 0xc]
push edx
call fcn.30208320
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x48
ret 0x2c
mov eax, dword [esp + 0xc]
push eax
call fcn.30208320
add esp, 4
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + 4]
push esi
call fcn.30036060
mov ecx, dword [0x303f9cd4]
push 0xf4
call fcn.300033c0
mov edi, eax
test edi, edi
je 0x3010966c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
push eax
mov ecx, edi
call fcn.3000bf00
mov edi, eax
test edi, edi
je 0x30109724
test ebp, ebp
je 0x30109679
mov eax, dword [ebp]
jmp 0x3010967b
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x48
ret 0x2c
xor eax, eax
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
mov edx, dword [edi]
push ecx
mov ecx, dword [esp + 0x68]
push eax
movzx eax, word [esp + 0x78]
push 0
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x80]
push ecx
push eax
mov ecx, edi
call dword [edx + 4]
test ebp, ebp
je 0x301096db
mov dword [ebp], 0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test al, al
jne 0x30109724
mov eax, dword [esi + 0x794]
test eax, eax
jne 0x3010970d
mov eax, dword [esp + 0x58]
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.30006840
mov byte [edi + 0x21], 1
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x48
ret 0x2c
mov edx, dword [esp + 0x58]
mov eax, dword [edx]
push eax
push 0
push 4
lea ecx, [esi + 0x28]
call fcn.30099fa0
mov byte [edi + 0x21], 1
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x48
ret 0x2c