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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, dword [esp + 0x78]
mov eax, dword [esi + 0x1c]
xor ebx, ebx
add eax, 0xfffffffe
cmp eax, 3
push edi
mov dword [esp + 0x10], ebx
ja case.default.0x47bb50
jmp dword [eax*4 + 0x47c008]
cmp dword [esi + 8], ebx
je 0x47bbc3
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi]
call fcn.004b6be0
mov edi, eax
cmp edi, ebx
je 0x47bbc3
push 0x3a
push edi
call fcn.0043a5d0
add esp, 8
test eax, eax
jne 0x47bb9d
push edi
push str.http:__
call fcn.0043a4c0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x47bb9d
push edi
call fcn.0043f0a0
add esp, 4
mov edi, ebp
mov eax, dword [esi]
mov edx, dword [eax + 0x694]
push edx
push edi
lea ecx, [eax + 0x4a8]
call fcn.004b0ab0
push edi
call fcn.0043f0a0
add esp, 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esi + 0x14]
call fcn.0046c360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esi]
mov eax, dword [ecx + 0x690]
cmp eax, ebx
je case.default.0x47be6d
mov edx, dword [eax + 0xa0]
cmp dword [edx + 0x48], ebx
je case.default.0x47be6d
cmp dword [esi + 8], 1
jl case.default.0x47be6d
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push edx
call fcn.00405c50
mov ecx, dword [esi]
push 1
mov edi, eax
call fcn.004a7740
cmp dword [esi + 8], 2
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jl 0x47bc79
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esi]
call fcn.004b6be0
mov ebp, eax
push ebp
lea ecx, [esp + 0x28]
call fcn.00439fc0
push ebp
call fcn.0043f0a0
add esp, 4
push 0x5d9870
lea ecx, [esp + 0x28]
call fcn.00439f20
test al, al
jne 0x47bc70
push str.undefined
lea ecx, [esp + 0x28]
call fcn.00439f20
test al, al
je 0x47bc79
lea ecx, [esp + 0x24]
call fcn.00402640
cmp edi, ebx
mov ecx, dword [esi]
mov edx, dword [ecx]
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
push 1
je 0x47bc9e
push edi
lea eax, [esp + 0x90]
push eax
call dword [edx + 0x60]
mov ecx, dword [eax]
mov dword [esp + 0x7c], ebx
jmp 0x47bcad
push ebx
lea eax, [esp + 0x2c]
push eax
call dword [edx + 0x64]
mov ecx, dword [eax]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], ecx
mov ecx, dword [esi]
push ebx
call fcn.004a7740
lea ecx, [esp + 0x24]
call fcn.00402640
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ecx, dword [esi]
mov eax, dword [ecx + 0x690]
cmp eax, ebx
je case.default.0x47bb50
mov edx, dword [eax + 0xa0]
cmp dword [edx + 0x48], ebx
je case.default.0x47bb50
cmp dword [esi + 8], ebx
je case.default.0x47bb50
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
push edx
call fcn.004b6be0
mov ebp, eax
push str.http:
push ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.0043a190
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x47bd2e
push str.http:
lea ecx, [esp + 0x28]
call fcn.00439c10
jmp 0x47bd59
push str.https:
push ebp
call fcn.0043a190
mov edi, eax
add esp, 8
cmp edi, ebx
lea ecx, [esp + 0x24]
je 0x47bd52
push str.https:
call fcn.00439c10
jmp 0x47bd59
call fcn.00402640
mov edi, ebp
push edi
lea ecx, [esp + 0x34]
call fcn.0043a810
push 1
lea ecx, [esp + 0x34]
call fcn.0043aa60
mov edi, eax
cmp edi, ebx
je 0x47bd7e
push edi
lea ecx, [esp + 0x28]
call fcn.0043a0e0
mov ecx, dword [esi]
call fcn.004a7100
mov ecx, dword [esi]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
lea ecx, [esi + 0x14]
call fcn.0046c380
push ebp
call fcn.0043f0a0
push edi
call fcn.0043f0a0
add esp, 8
lea ecx, [esp + 0x30]
call fcn.00402640
lea ecx, [esp + 0x24]
call fcn.00402640
mov eax, dword [esi + 0x1c]
sub eax, ebx
je 0x47bed8
dec eax
jne case.default.0x47be6d
mov byte [esp + 0x7c], 1
mov edx, dword [esi]
mov ebp, dword [edx + 0x694]
cmp ebp, ebx
mov dword [esp + 0x18], ebp
je 0x47bff3
mov eax, dword [ebp + 0xa0]
cmp eax, ebx
mov ecx, dword [ebp + 0xa4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x47bff3
cmp dword [esi + 8], ebx
mov dword [esp + 0x14], ebx
jle 0x47bff3
jmp 0x47be10
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
push ecx
mov ecx, dword [esi]
call fcn.004b6be0
mov edi, eax
cmp edi, ebx
je 0x47bfdf
cmp byte [edi], 0x2a
jne 0x47bf0b
cmp byte [edi + 1], bl
jne 0x47bf0b
mov edx, dword [esp + 0x7c]
push edx
mov ecx, ebp
call fcn.0047acb0
jmp 0x47bfce
mov edi, dword [esi]
mov ecx, dword [edi + 0x690]
cmp ecx, ebx
je case.default.0x47bb50
call fcn.0047b2b0
cmp eax, 3
ja case.default.0x47be6d
jmp dword [eax*4 + 0x47c018]
push 6
mov eax, 0x5db6d0
push eax
push edi
lea ecx, [esi + 0x14]
call fcn.0046c3c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 6
mov eax, str.localWithFile
push eax
push edi
lea ecx, [esi + 0x14]
call fcn.0046c3c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 6
mov eax, str.localWithNetwork
push eax
push edi
lea ecx, [esi + 0x14]
call fcn.0046c3c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 6
mov eax, str.localTrusted
push eax
push edi
lea ecx, [esi + 0x14]
call fcn.0046c3c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov edx, dword [esi]
mov eax, dword [edx + 0x694]
cmp eax, ebx
je 0x47bdc9
mov ecx, dword [eax + 0xa0]
cmp dword [ecx + 0x48], ebx
jne 0x47bf02
cmp dword [eax + 0x4c], 7
setge al
cmp al, bl
je 0x47bdc9
mov byte [esp + 0x7c], bl
jmp 0x47bdce
push 0x3a
push edi
call fcn.0043a5d0
add esp, 8
test eax, eax
jne 0x47bf3d
push edi
push str.http:__
call fcn.0043a4c0
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x47bf39
push edi
call fcn.0043f0a0
add esp, 4
mov edi, ebp
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
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
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.004c7370
push ebx
push ebx
push edi
lea ecx, [esp + 0x48]
call fcn.004c8580
cmp dword [ebp + 0x4c], 8
jl 0x47bf9b
mov eax, dword [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebp
call fcn.0047ac60
jmp 0x47bfc5
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0047ad60
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x47bfc5
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0047ad60
lea ecx, [esp + 0x3c]
call fcn.00434920
push edi
call fcn.0043f0a0
add esp, 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x47be10
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046c360
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret