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

Disassembly:
sub esp, 0x7c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov cl, byte [eax + 0x974]
xor ebx, ebx
cmp cl, bl
mov dword [esp + 0xc], esi
jne 0x300c9dc2
mov edx, dword [esp + 0x88]
push ebp
push edi
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.3011bde0
lea eax, [esp + 0x34]
push eax
call fcn.30074370
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0xa4], edi
call fcn.3011bde0
lea eax, [esp + 0x30]
push eax
call fcn.30074370
mov esi, dword [esi + 4]
mov ebp, dword [esp + 0x34]
add esp, 0x18
cmp esi, ebx
je 0x300c99e3
mov eax, dword [esi + 0x34]
push eax
push edi
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c99f7
mov esi, dword [esi + 0x138]
cmp esi, ebx
jne 0x300c99c8
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.30208320
mov edx, dword [esp + 0x30]
push edx
jmp 0x300c9dac
mov al, byte [esi + 0x58]
mov byte [esp + 0x19], al
cmp byte [esp + 0x98], bl
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], bl
je 0x300c9dca
lea edi, [esi + 0x28]
push edi
lea ecx, [esp + 0x84]
call fcn.300759d0
lea ecx, [esi + 0x40]
push ebp
call fcn.30074d90
push ebp
mov ecx, esi
call fcn.300c7390
mov edi, dword [edi]
mov ecx, dword [esp + 0x80]
push edi
push ecx
call fcn.300757e0
add esp, 8
lea ecx, [esp + 0x44]
mov byte [esp + 0x1b], al
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.3011a530
mov edx, dword [esp + 0x90]
push ebx
push ebx
push edx
lea ecx, [esp + 0x50]
call fcn.3011b7b0
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [eax + 0xc]
push ebp
call fcn.300fb230
mov edi, dword [edi + 4]
test eax, eax
setne byte [esp + 0x1a]
cmp edi, ebx
je 0x300c9b30
mov edi, edi
cmp edi, esi
je 0x300c9b1f
cmp dword [edi + 0x110], 4
je 0x300c9b1f
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x90]
push eax
push edx
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c9b2b
mov eax, dword [edi + 0x40]
push eax
mov eax, dword [esp + 0x94]
push eax
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c9b2b
mov eax, dword [edi + 0x34]
push eax
push ebp
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c9b2b
mov eax, dword [edi + 0x40]
push eax
push ebp
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c9b2b
mov edi, dword [edi + 0x138]
cmp edi, ebx
jne 0x300c9ac0
jmp 0x300c9b30
mov byte [esp + 0x12], 1
cmp byte [esi + 0x5a], bl
jne 0x300c9b74
cmp dword [esi + 0x44], ebx
je 0x300c9b3f
mov edi, dword [esi + 0x40]
jmp 0x300c9b42
mov edi, dword [esi + 0x34]
push str.http:
push edi
call fcn.30074f60
add esp, 8
test eax, eax
jne 0x300c9b8f
push str.https:
push edi
call fcn.30074f60
add esp, 8
test eax, eax
jne 0x300c9b74
push str.ftp:
push edi
call fcn.30074f60
add esp, 8
mov ecx, esi
call fcn.300c5be0
cmp eax, 2
je 0x300c9b8f
mov byte [esp + 0x11], 1
mov byte [esp + 0x10], 1
jmp 0x300c9c88
mov ecx, dword [esp + 0xa0]
cmp ecx, ebx
jne 0x300c9ba8
mov byte [esp + 0x11], bl
mov byte [esp + 0x10], 1
jmp 0x300c9c88
lea edi, [esi + 0x4c]
push edi
push str.Content_Type
mov byte [esp + 0x19], 1
call fcn.3011d1d0
cmp al, bl
mov byte [esp + 0x10], al
jne 0x300c9bcc
mov byte [esi + 0x114], 1
jmp 0x300c9c2d
mov eax, dword [edi]
push 0x3b
push eax
mov dword [esp + 0x30], eax
call fcn.300753a0
add esp, 8
cmp eax, ebx
je 0x300c9bed
sub eax, dword [esp + 0x28]
push eax
mov ecx, edi
call fcn.30074b70
mov eax, dword [edi]
push 0x3029b2c0
push eax
call fcn.30074f60
add esp, 8
test eax, eax
jne 0x300c9c2d
mov eax, dword [edi]
push str.application_xml
push eax
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c9c2d
mov edi, dword [edi]
push str.application_xhtmlxml
push edi
call fcn.300757e0
add esp, 8
test al, al
jne 0x300c9c2d
mov byte [esp + 0x10], bl
mov edi, dword [esp + 0xa0]
lea ecx, [esp + 0x38]
push ecx
push str.X_Permitted_Cross_Domain_Policies
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.3011d1d0
test al, al
jne 0x300c9c6a
lea edx, [esp + 0x38]
push edx
push str.Permitted_Cross_Domain_Policies
mov ecx, edi
call fcn.3011d1d0
test al, al
je 0x300c9c7b
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x13]
push eax
push ecx
mov ecx, esi
call fcn.300c6900
mov edx, dword [esp + 0x38]
push edx
call fcn.30208320
add esp, 4
mov eax, dword [esp + 0x68]
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x80], bl
call fcn.30208320
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.30208320
mov edx, dword [esp + 0x58]
push edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.30208320
mov eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.30208320
mov ecx, dword [esp + 0x90]
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.30208320
mov al, byte [esp + 0x25]
mov edi, dword [esp + 0x28]
add esp, 0x14
cmp al, bl
jne 0x300c9d35
cmp byte [edi + 0x10], bl
jne 0x300c9d24
push 0xb6
push 2
push edi
call fcn.300c6160
add esp, 0xc
mov byte [edi + 0x10], 1
mov edx, dword [esi + 0x24]
mov eax, 1
mov dword [edx + 0x74], eax
mov ecx, dword [esi + 0x24]
mov dword [ecx + 0x78], eax
cmp byte [esp + 0x1a], bl
je 0x300c9e04
cmp byte [esp + 0x1b], bl
jne 0x300c9d5e
mov edx, dword [esp + 0x90]
push ebp
push edx
push 0xb7
push 2
push edi
call fcn.300c6160
add esp, 0x14
cmp byte [esp + 0x12], bl
je 0x300c9e2c
mov dword [esi + 0x110], 4
cmp byte [esi + 0x114], bl
je 0x300c9d93
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.300c7440
mov dword [esi + 0x110], 3
mov ecx, dword [esp + 0x14]
push esi
call fcn.300c91b0
mov edx, dword [esp + 0x1c]
push edx
call fcn.30208320
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.30208320
add esp, 8
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x7c
ret 0x14
cmp dword [esi + 0x118], ebx
je 0x300c9df5
cmp byte [esi + 0x59], bl
push edi
push 0xae
je 0x300c9de6
mov eax, dword [esp + 0x1c]
push 3
push eax
jmp 0x300c9ded
mov ecx, dword [esp + 0x1c]
push 2
push ecx
call fcn.300c6160
add esp, 0x10
mov dword [esi + 0x110], 2
jmp 0x300c9d72
mov edx, dword [esp + 0x90]
push ebp
push edx
push 0xb8
push 3
push edi
call fcn.300c6160
add esp, 0x14
mov dword [esi + 0x110], 3
jmp 0x300c9d72
cmp byte [esp + 0x13], bl
je 0x300c9e3a
push ebp
push 0xbe
jmp 0x300c9e6f
cmp byte [esp + 0x10], bl
jne 0x300c9e89
cmp dword [esi + 0x50], ebx
jle 0x300c9e69
mov eax, dword [esi + 0x4c]
push eax
push ebp
push 0xb4
push 3
push edi
call fcn.300c6160
add esp, 0x14
mov dword [esi + 0x110], 3
jmp 0x300c9d72
push ebp
push 0xb5
push 3
push edi
call fcn.300c6160
add esp, 0x10
mov dword [esi + 0x110], 3
jmp 0x300c9d72
mov ecx, dword [esp + 0x9c]
push ecx
mov ecx, esi
call fcn.300c7440
mov dl, al
neg dl
sbb edx, edx
and edx, 3
add edx, 3
cmp al, bl
mov dword [esi + 0x110], edx
jne 0x300c9ec7
mov eax, dword [esi + 0x40]
push eax
push 0xaf
push 3
push edi
call fcn.300c6160
add esp, 0x10
jmp 0x300c9d93
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x78], ebx
jne 0x300c9d93
cmp byte [esi + 0x58], bl
jne 0x300c9d93
cmp byte [esp + 0x19], bl
jne 0x300c9d93
mov edi, dword [eax + 0x118]
cmp edi, ebx
jne 0x300c9f64
push ebx
push ebp
call fcn.300c6f80
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx]
add esp, 8
mov ebp, eax
push ebp
add ecx, 0x810
call fcn.300c4de0
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x300c9f53
mov ecx, dword [0x303f9cd4]
push 0x140
call fcn.300033c0
cmp eax, ebx
je 0x300c9f41
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
push ebx
push ebp
push ecx
push edx
mov ecx, eax
call fcn.300c7eb0
mov edi, eax
jmp 0x300c9f43
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov dword [edi + 0x138], ecx
mov dword [eax + 4], edi
push ebp
call fcn.30208320
add esp, 4
cmp edi, ebx
je 0x300c9d93
mov eax, dword [edi + 0x110]
cmp eax, ebx
je 0x300c9f7c
cmp eax, 1
je 0x300c9f7c
cmp eax, 5
jne 0x300c9d93
push esi
mov ecx, edi
mov dword [esi + 0x110], 1
call fcn.300c5510
jmp 0x300c9d9d