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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005b5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10076658]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x10076658]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov edi, dword [esi]
mov dword [esp + 0x18], ebx
call fcn.1002e3c0
cmp dword [edi + 0x54], 0
jne 0x10031007
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call edx
jmp 0x1003131e
mov edi, dword [esi]
call fcn.1002e3c0
lea ecx, [edi + 0x44]
lea eax, [esp + 0x28]
call fcn.10008c30
mov ecx, dword [eax]
test ecx, ecx
je 0x10031022
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x1003102e
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 8]
mov edi, dword [esi]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x24], edx
call fcn.1002e3c0
lea ecx, [edi + 0x44]
lea eax, [esp + 0x28]
call fcn.10008c30
mov ecx, dword [eax]
xor edi, edi
cmp ecx, edi
jne 0x10031068
xor ecx, ecx
jmp 0x1003106a
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x10031076
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
mov ecx, 0xf
cmp dword [eax + 4], ecx
jne 0x100310f1
push edi
mov dword [esp + 0x68], ecx
push 0x10069f2c
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
call fcn.10006530
push edi
lea eax, [esp + 0x54]
mov dword [esp + 0x9c], edi
mov edx, dword [ebx]
mov edx, dword [edx + 0x20]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x64], 0x10
jb 0x100310dc
mov eax, dword [esp + 0x50]
push eax
call fcn.1004076b
add esp, 4
mov eax, ebx
call fcn.10031a80
mov edx, dword [ebx]
mov eax, dword [edx + 0x24]
mov ecx, ebx
call eax
jmp 0x1003131e
mov edi, dword [esi]
call fcn.1002e3c0
lea ecx, [edi + 0x44]
lea eax, [esp + 0x28]
call fcn.10008c30
mov ecx, dword [eax]
test ecx, ecx
je 0x1003110c
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x10031118
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 4], 0x11
jne 0x1003116a
mov eax, dword [esi]
mov edi, dword [ebx]
call fcn.1002e370
lea edx, [eax + 0x14]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.10032740
mov edx, dword [edi + 0x10]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
mov esi, dword [esi]
mov edi, esi
call fcn.1002e3c0
cmp dword [esi + 0x54], 0
je 0x1003131e
add esi, 0x44
push esi
call fcn.1002f360
jmp 0x1003131e
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x38]
mov dword [esp + 0x9c], 1
call fcn.10032380
mov eax, dword [esi]
call fcn.1002e370
cmp dword [esp + 0x44], 0
mov edi, eax
jne 0x100311d4
cmp dword [edi + 4], 0x14
mov edx, 0x1006b270
je 0x100311b8
mov edx, 0x1006b274
mov eax, edx
lea ebx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100311c0
sub eax, ebx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.10006530
mov eax, dword [edi + 4]
add eax, 0xfffffffd
cmp eax, 0x11
ja case.0x100311ea.5
movzx ecx, byte [eax + 0x10031358]
jmp dword [ecx*4 + 0x10031344]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
add edi, 0x14
push edi
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call edx
mov eax, dword [esi]
call fcn.1002e350
lea ecx, [esp + 0x34]
call fcn.10004280
jmp 0x1003131e
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call edx
call fcn.10031370
mov eax, dword [ebx]
mov edx, dword [eax + 0x1c]
mov ecx, ebx
call edx
lea ecx, [esp + 0x34]
call fcn.10004280
jmp 0x1003131e
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call edx
mov eax, edi
call fcn.10031a80
mov eax, dword [edi]
mov edx, dword [eax + 0x24]
mov ecx, edi
call edx
lea ecx, [esp + 0x34]
call fcn.10004280
jmp 0x1003131e
mov edx, dword [esi + 8]
call fcn.10030bb0
cmp eax, 4
je case.0x100311ea.4
mov ecx, 0x1006b274
lea edi, [esp + 0x34]
call fcn.10018550
test al, al
je 0x100312cc
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
lea edx, [esp + 0x20]
push edx
call eax
jmp 0x1003130a
push 0x10069f2c
lea ecx, [esp + 0x70]
call fcn.100064f0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x98], 2
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call edx
lea ecx, [esp + 0x6c]
call fcn.10004280
cmp dword [esp + 0x48], 0x10
jb 0x1003131e
mov eax, dword [esp + 0x34]
push eax
call fcn.1004076b
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.10040061
mov esp, ebp
pop ebp
ret 4