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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x301e491c]
mov eax, dword [eax + 0xb0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
movsx edx, word [esi]
mov ecx, dword [esi + 0xa]
mov edx, dword [edx*4 + 0x300a7700]
push edi
xor edi, edi
cmp dword [0x301e3f5c], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
jne 0x3014c16f
mov edx, dword [eax]
push 2
push 6
lea ebx, [ebp - 0x60]
push ebx
push ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
push eax
mov dword [ebp - 0x60], 0x2bc
mov dword [ebp - 0x5c], edi
mov word [ebp - 0x58], 0x23e
mov dword [ebp - 0x54], edi
mov word [ebp - 0x50], 0x200
mov dword [ebp - 0x4c], edi
mov word [ebp - 0x48], 0x1bb
mov dword [ebp - 0x44], edi
mov word [ebp - 0x40], 0x180
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x38], 4
mov dword [ebp - 0x34], edi
call dword [edx + 0x78]
test eax, eax
je 0x3014c16f
cmp dword [ebp - 0x5c], edi
jne 0x3014c165
cmp dword [ebp - 0x54], edi
je 0x3014c14a
cmp dword [ebp - 0x4c], edi
jne 0x3014c165
cmp dword [ebp - 0x44], edi
je 0x3014c15a
cmp dword [ebp - 0x3c], edi
je 0x3014c15a
cmp dword [ebp - 0x3c], 1
jne 0x3014c165
cmp dword [ebp - 0x34], edi
mov dword [0x301e3f5c], edi
je 0x3014c16f
mov dword [0x301e3f5c], 1
mov ebx, dword [ebp + 8]
push 0x1c
xor eax, eax
pop ecx
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [esi]
mov word [ebx + 4], ax
mov ax, word [esi + 2]
push esi
mov word [ebx + 6], ax
call fcn.3013da2f
cmp eax, 0x10000
jge 0x3014c19d
mov word [ebx + 6], ax
mov cx, word [esi]
cmp cx, 7
mov edx, 0x101
jne 0x3014c1ae
mov dword [ebp - 4], edx
mov eax, dword [esi + 6]
test eax, eax
je 0x3014c1d7
mov edi, dword [0x301ddc24]
movsx ecx, cx
imul ecx, ecx, 0x14
test byte [ecx + edi + 0x10], 0x20
jne 0x3014c1d7
cmp dword [eax + 0xc], 0
je 0x3014c1d7
mov word [ebx + 4], 6
mov dword [ebp - 4], edx
mov al, byte [esi + 4]
shl al, 4
xor al, byte [ebx + 0xc]
push esi
and eax, 0x10
xor word [ebx + 0xc], ax
mov cl, byte [esi + 4]
mov ax, word [ebx + 0xc]
shl cl, 4
xor cl, al
and ecx, 0x20
xor ecx, eax
mov word [ebx + 0xc], cx
call fcn.3013d9dc
and al, 1
or al, 2
xor ecx, ecx
mov ch, al
mov ax, word [ebx + 0xc]
push esi
and eax, 0xfeff
or ecx, eax
mov word [ebx + 0xc], cx
mov ax, word [esi + 4]
shl ax, 6
xor eax, ecx
and eax, 0x400
xor eax, ecx
mov word [ebx + 0xc], ax
mov cx, word [esi + 4]
shl cx, 6
xor ecx, eax
and ecx, 0x800
xor ecx, eax
mov word [ebx + 0xc], cx
mov ax, word [esi + 4]
shl ax, 6
xor eax, ecx
and eax, 0x1000
xor eax, ecx
mov word [ebx + 0xc], ax
mov cx, word [esi + 4]
shl cx, 6
xor ecx, eax
and ecx, 0x2000
xor ecx, eax
mov word [ebx + 0xc], cx
mov ax, word [esi + 4]
shl ax, 7
xor eax, ecx
mov cx, word [esi + 4]
and ah, 0x7f
shl cx, 7
xor eax, ecx
mov word [ebx + 0xc], ax
call fcn.3014112f
add eax, eax
xor al, byte [ebx + 0xc]
push esi
and eax, 2
xor word [ebx + 0xc], ax
call fcn.3014110a
shl eax, 2
xor al, byte [ebx + 0xc]
push esi
and eax, 4
xor word [ebx + 0xc], ax
call fcn.3013cf31
mov cx, word [ebx + 0xc]
mov edi, dword [ebp - 0xc]
and cx, 0xbf36
and eax, 1
shl eax, 7
push 4
push dword [ebp - 8]
push edi
or eax, ecx
mov word [ebx + 0xc], ax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x1e], eax
mov eax, dword [edi]
call dword [eax + 0x20]
push dword [ebp - 8]
test eax, eax
mov eax, dword [edi]
je 0x3014c311
lea ecx, [ebp - 0x1c]
push ecx
push edi
call dword [eax + 0x104]
test eax, eax
je 0x3014c698
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.301510c1
or byte [ebx + 0xc], 0x80
or byte [ebp - 0x20], 3
jmp 0x3014c32e
lea ecx, [ebp + 8]
push ecx
push edi
call dword [eax + 0xf8]
mov esi, dword [ebp + 8]
push 5
pop ecx
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
and byte [ebx + 0xc], 0x7f
mov esi, dword [ebp + 0xc]
cmp word [esi], 8
jne 0x3014c354
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.301510ac
dec dword [ebp - 0x14]
dec dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.301510c1
cmp dword [0x301e4520], 2
lea edi, [ebx + 0xe]
jne 0x3014c388
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp - 0x30]
mov word [ebx + 0x10], ax
mov ax, word [ebp - 0x2c]
mov word [ebx + 0x14], ax
mov ax, word [ebp - 0x28]
mov word [ebx + 0x18], ax
mov ax, word [ebp - 0x24]
mov word [ebx + 0x1c], ax
jmp 0x3014c392
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
push esi
call fcn.30144ec1
mov cl, byte [ebx + 0xc]
xor cl, al
and ecx, 1
xor word [ebx + 0xc], cx
test byte [ebp - 3], 0x14
je 0x3014c3d9
mov edi, dword [esi + 6]
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x30], eax
mov ax, word [edi + 0x10]
mov word [ebx + 0x34], ax
mov eax, dword [edi + 0x12]
push edi
mov dword [ebx + 0x36], eax
call fcn.3013dabf
mov word [ebx + 0x3c], ax
mov ax, word [edi + 0x1a]
mov word [ebx + 0x3e], ax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x40], eax
mov edx, dword [ebp - 4]
test dh, 0x10
je 0x3014c3ec
mov eax, dword [esi + 6]
mov ax, word [eax + 0x16]
mov word [ebx + 0x3a], ax
test dh, 4
je 0x3014c43d
mov eax, dword [esi + 6]
mov ax, word [eax + 0x16]
xor ax, word [ebx + 0x3a]
mov ecx, dword [esi + 6]
and ah, 0x7f
xor ax, word [ecx + 0x16]
mov word [ebx + 0x3a], ax
mov al, byte [ebx + 0x44]
xor al, byte [esi + 0x12]
and eax, 7
xor word [ebx + 0x44], ax
mov cx, word [ebx + 0x44]
mov al, byte [esi + 0x12]
xor al, cl
and eax, 8
xor eax, ecx
mov word [ebx + 0x44], ax
mov cl, byte [esi + 0x12]
xor cl, al
and ecx, 0x10
xor ecx, eax
mov word [ebx + 0x44], cx
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x46], eax
test dl, 0x20
je 0x3014c468
mov ax, word [esi + 0x1c]
mov word [ebx + 0x4e], ax
mov ax, word [esi + 0x12]
mov word [ebx + 0x44], ax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x46], eax
mov ax, word [esi + 0x18]
mov word [ebx + 0x4a], ax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x4c], ax
test dh, 0x20
je 0x3014c47b
push 6
add esi, 0x26
lea edi, [ebx + 0x44]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
test dl, 0x40
je 0x3014c493
mov eax, dword [esi + 0x1e]
mov dword [ebx + 0x50], eax
mov al, byte [esi + 0x22]
xor al, byte [ebx + 0x54]
and eax, 1
xor word [ebx + 0x54], ax
test dl, dl
jns 0x3014c4a5
push 5
add esi, 0x12
lea edi, [ebx + 0x30]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
test edx, 0x10000
je 0x3014c4c5
mov ax, word [esi + 0x1e]
mov word [ebx + 0x50], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x52], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x54], ax
mov ax, word [ebx + 4]
cmp ax, 0x14
jne 0x3014c4df
add esi, 0x3e
push 5
lea edi, [ebx + 0x5c]
pop ecx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0xc]
cmp ax, 5
jne 0x3014c505
mov ax, word [esi + 0x12]
mov word [ebx + 0x30], ax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x32], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x36], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x3a], eax
mov eax, dword [esi + 0x20]
mov dword [ebx + 0x3e], eax
test dl, 1
je 0x3014c528
push esi
lea eax, [ebx + 0x26]
push eax
call fcn.3014bdc5
push esi
lea eax, [ebx + 0x2a]
push eax
call fcn.3014be55
push esi
lea eax, [ebx + 0x2e]
push eax
call fcn.3014a11b
test byte [ebp - 4], 2
je 0x3014c563
push esi
lea eax, [ebx + 0x26]
push eax
call fcn.3014be55
push esi
lea edi, [ebx + 0x2c]
push edi
call fcn.3014a2fc
push esi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebx + 0x2a]
push eax
call fcn.3014a1cc
cmp dword [ebp + 0xc], 0
je 0x3014c563
movzx eax, byte [edi]
inc eax
inc eax
push 4
cdq
pop ecx
idiv ecx
mov byte [edi], dl
test byte [ebp - 4], 4
je 0x3014c587
push esi
lea eax, [ebx + 0x26]
push eax
call fcn.3014bdc5
push esi
lea eax, [ebx + 0x2a]
push eax
call fcn.3014be55
push esi
lea eax, [ebx + 0x2e]
push eax
call fcn.3014a2fc
test byte [ebp - 4], 0x10
je 0x3014c5b1
lea edi, [ebx + 0x26]
push edi
push dword [ebp - 8]
call dword [sym.imp.MSO.DLL_Ordinal_728]
test eax, eax
jne 0x3014c5a6
and dword [edi], eax
and word [ebx + 0x2a], ax
jmp 0x3014c5b1
push dword [edi]
call fcn.3013da2f
mov word [ebx + 0x2a], ax
test byte [ebp - 4], 8
je 0x3014c65e
push esi
call fcn.3013d26f
push esi
mov word [ebx + 0x30], ax
call fcn.301414ca
push esi
mov dword [ebx + 0x32], eax
call fcn.3013d265
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x32]
test eax, eax
je 0x3014c5ec
movsx ecx, word [ebx + 0x30]
push ecx
push eax
call fcn.300c0ab9
mov dword [ebx + 0x32], eax
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x3014c601
movsx ecx, word [ebx + 0x30]
push ecx
push eax
call fcn.300c0ab9
mov dword [ebx + 0x3c], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x36], eax
mov al, byte [ebx + 0x3a]
xor al, byte [esi + 0x16]
and eax, 1
xor word [ebx + 0x3a], ax
mov cx, word [ebx + 0x3a]
mov al, byte [esi + 0x16]
xor al, cl
and eax, 2
xor eax, ecx
mov word [ebx + 0x3a], ax
mov cl, byte [esi + 0x16]
xor cl, al
and ecx, 4
xor ecx, eax
mov word [ebx + 0x3a], cx
mov al, byte [esi + 0x16]
xor al, cl
and eax, 8
xor eax, ecx
mov word [ebx + 0x3a], ax
mov cl, byte [esi + 0x16]
xor cl, al
and ecx, 0x10
xor ecx, eax
mov word [ebx + 0x3a], cx
mov al, byte [esi + 0x16]
xor al, cl
and eax, 0x20
xor eax, ecx
mov word [ebx + 0x3a], ax
test byte [ebp - 3], 1
je 0x3014c66d
push ebx
push dword [esi + 6]
call fcn.3014a35a
mov ax, word [ebx + 4]
cmp ax, 0x1e
je 0x3014c67d
cmp ax, 9
jne 0x3014c69c
cmp ax, 9
je 0x3014c68d
mov dword [0x301e3f5c], 1
push esi
push ebx
call fcn.3014bec5
test eax, eax
jne 0x3014c69c
xor eax, eax
jmp 0x3014c69f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8