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

Disassembly:
sub esp, 0x88
push ebx
push ebp
push esi
mov esi, dword [esp + 0x98]
mov eax, dword [esi + 0x1c]
xor ebx, ebx
add eax, 0xfffffffe
cmp eax, 3
push edi
mov dword [esp + 0x24], ebx
ja case.default.0x300c3d96
jmp dword [eax*4 + 0x300c4244]
cmp dword [esi + 8], ebx
je 0x300c3dfc
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi]
call fcn.30108d10
mov edi, eax
cmp edi, ebx
je 0x300c3dfc
push edi
lea ecx, [esp + 0x14]
call fcn.30075610
lea edx, [esp + 0x10]
push edx
call fcn.300744e0
push edi
call fcn.30208320
mov eax, dword [esi]
mov ecx, dword [eax + 0x80c]
mov edx, dword [esp + 0x18]
add esp, 8
push ecx
push edx
lea ecx, [eax + 0x5cc]
call fcn.300c8f00
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 1
call fcn.30025af0
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0x14]
call fcn.300b9fe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov ecx, dword [esi]
mov eax, dword [ecx + 0x808]
cmp eax, ebx
je 0x300c4237
mov edx, dword [eax + 0x9c]
cmp dword [edx + 0x48], ebx
je 0x300c4237
cmp dword [esi + 8], 1
jl 0x300c4237
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push edx
call fcn.30005bf0
mov ecx, dword [esi]
mov edi, eax
call fcn.300f9120
cmp dword [esi + 8], 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jl 0x300c3eb3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi]
call fcn.30108d10
mov ebp, eax
push ebp
lea ecx, [esp + 0x14]
call fcn.30074d90
push ebp
call fcn.30208320
add esp, 4
push 0x30298a28
lea ecx, [esp + 0x14]
call fcn.30074cf0
test al, al
jne 0x300c3eaa
push str.undefined
lea ecx, [esp + 0x14]
call fcn.30074cf0
test al, al
je 0x300c3eb3
lea ecx, [esp + 0x10]
call fcn.30025af0
cmp edi, ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push 1
je 0x300c3ed5
push edi
lea eax, [esp + 0x34]
push eax
call dword [edx + 0x70]
mov ecx, dword [eax]
mov dword [esp + 0x20], ebx
jmp 0x300c3ee4
push ebx
lea eax, [esp + 0x30]
push eax
call dword [edx + 0x74]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi]
call fcn.300f9150
lea ecx, [esp + 0x10]
call fcn.30025af0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov ecx, dword [esi]
mov eax, dword [ecx + 0x808]
cmp eax, ebx
je case.default.0x300c3d96
mov edx, dword [eax + 0x9c]
cmp dword [edx + 0x48], ebx
je case.default.0x300c3d96
cmp dword [esi + 8], ebx
je case.default.0x300c3d96
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push edx
call fcn.30108d10
mov ebp, eax
push str.http:
push ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.30074f60
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x300c3f67
push str.http:
lea ecx, [esp + 0x14]
call fcn.300749e0
jmp 0x300c3f92
push str.https:
push ebp
call fcn.30074f60
mov edi, eax
add esp, 8
cmp edi, ebx
lea ecx, [esp + 0x10]
je 0x300c3f8b
push str.https:
call fcn.300749e0
jmp 0x300c3f92
call fcn.30025af0
mov edi, ebp
lea ecx, [esp + 0x78]
call fcn.30073ae0
push 1
push edi
lea ecx, [esp + 0x80]
call fcn.30073e60
test al, al
je 0x300c3fde
cmp dword [esp + 0x88], 2
jne 0x300c3fde
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x7c]
call fcn.30074190
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x14]
call fcn.30074eb0
lea ecx, [esp + 0x8c]
jmp 0x300c4010
push edi
lea ecx, [esp + 0x70]
call fcn.30075610
push 1
lea ecx, [esp + 0x70]
call fcn.30075860
mov edi, eax
cmp edi, ebx
je 0x300c400c
push edi
lea ecx, [esp + 0x14]
call fcn.30074eb0
push edi
call fcn.30208320
add esp, 4
lea ecx, [esp + 0x6c]
call fcn.30025af0
mov ecx, dword [esi]
call fcn.300f88b0
push eax
mov eax, dword [esi]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esi + 0x14]
call fcn.300ba000
push ebp
call fcn.30208320
add esp, 4
lea ecx, [esp + 0x10]
call fcn.30025af0
mov eax, dword [esi + 0x1c]
sub eax, ebx
je 0x300c40f3
dec eax
jne 0x300c4237
mov byte [esp + 0x1c], 1
mov eax, dword [esi]
mov ebp, dword [eax + 0x80c]
cmp ebp, ebx
je 0x300c422a
mov eax, dword [ebp + 0x9c]
cmp eax, ebx
mov ecx, dword [ebp + 0xa0]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
je 0x300c422a
cmp dword [esi + 8], ebx
mov dword [esp + 0x20], ebx
jle 0x300c422a
nop
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
push ecx
mov ecx, dword [esi]
call fcn.30108d10
mov edi, eax
cmp edi, ebx
je 0x300c4216
cmp byte [edi], 0x2a
jne 0x300c4126
cmp byte [edi + 1], bl
jne 0x300c4126
mov edx, dword [esp + 0x1c]
push edx
mov ecx, ebp
call fcn.300c2bc0
jmp 0x300c4205
mov edi, dword [esi]
mov ecx, dword [edi + 0x808]
cmp ecx, ebx
je case.default.0x300c3d96
push 6
call fcn.300c3460
push eax
push edi
lea ecx, [esi + 0x14]
call fcn.300ba040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret
mov ecx, dword [esi]
mov eax, dword [ecx + 0x80c]
cmp eax, ebx
je 0x300c4051
mov edx, dword [eax + 0x9c]
cmp dword [edx + 0x48], ebx
jne 0x300c411d
cmp dword [eax + 0x4c], 7
setge al
cmp al, bl
je 0x300c4051
mov byte [esp + 0x1c], bl
jmp 0x300c4056
push edi
lea ecx, [esp + 0x14]
call fcn.30075610
lea eax, [esp + 0x10]
push eax
call fcn.300744e0
push edi
call fcn.30208320
mov eax, dword [esp + 0x18]
add esp, 8
cmp eax, ebx
jne 0x300c4150
mov eax, 0x30293680
push eax
call fcn.30075310
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
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
call fcn.3011a530
push ebx
push ebx
push edi
lea ecx, [esp + 0x3c]
call fcn.3011b7b0
cmp dword [ebp + 0x4c], 8
jl 0x300c41b9
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.300c2b70
jmp 0x300c41e3
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.300c2e90
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x300c41e3
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.300c2e90
lea ecx, [esp + 0x30]
call fcn.300047f0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.30208320
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push edi
call fcn.30208320
add esp, 4
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x300c4090
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esi + 0x14]
call fcn.300b9fe0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret