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

Disassembly:
push 0xffffffffffffffff
push 0x100521eb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100638a4]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100638a4]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, ecx
push 0xffffffffffffffff
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x20], eax
add eax, 0x54
push esi
mov word [esp + 0xa4], cx
mov ebx, 7
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], esi
call fcn.10009230
cmp dword [esp + 0xb0], 8
mov edi, dword [esp + 0x9c]
mov dword [esp + 0xc0], esi
jae 0x100303a2
lea edi, [esp + 0x9c]
push 8
push str.PDOWN:__
push edi
mov dword [esp + 0x20], edi
call fcn.1003ba1c
add esp, 0xc
test eax, eax
jne 0x100303c1
add edi, 0x10
mov dword [esp + 0x14], edi
xor edx, edx
mov eax, edi
mov word [esp + 0x2c], dx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x100303d5
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.10009330
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov byte [esp + 0xc0], 1
cmp ecx, 8
jb 0x1003066f
mov edi, edx
mov dword [esp + 0x18], edi
cmp edx, esi
je 0x10030437
mov eax, edx
cmp ecx, 8
jae 0x1003041d
lea eax, [esp + 0x2c]
cmp eax, edi
ja 0x10030437
mov eax, edx
cmp ecx, 8
jae 0x1003042c
lea eax, [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x10030448
call fcn.10039cd0
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
lea ebx, [esp + 0x28]
mov eax, edx
cmp ecx, 8
jae 0x10030457
lea eax, [esp + 0x2c]
lea edi, [eax + ebp*2]
cmp edi, esi
je 0x1003047f
mov eax, edx
cmp ecx, 8
jae 0x10030469
lea eax, [esp + 0x2c]
cmp eax, edi
ja 0x1003047f
mov eax, edx
cmp ecx, 8
jae 0x10030478
lea eax, [esp + 0x2c]
lea eax, [eax + ebp*2]
cmp edi, eax
jbe 0x10030490
call fcn.10039cd0
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1003067c
mov esi, edx
test edx, edx
je 0x100304c0
mov eax, edx
cmp ecx, 8
jae 0x100304aa
lea eax, [esp + 0x2c]
cmp eax, esi
ja 0x100304c0
mov eax, edx
cmp ecx, 8
jae 0x100304b9
lea eax, [esp + 0x2c]
lea ecx, [eax + ebp*2]
cmp esi, ecx
jbe 0x100304c5
call fcn.10039cd0
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
push edx
push eax
push fcn.1003ab3e
push ecx
push ebx
push edi
lea edx, [esp + 0x38]
push esi
push edx
call fcn.100112a0
mov eax, dword [esp + 0x4c]
add esp, 0x20
cmp dword [esp + 0x40], 8
jae 0x100304fd
lea eax, [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], cx
push str.h11
push eax
mov byte [esp + 0xc8], 2
call fcn.1003a009
mov esi, eax
add esp, 8
test esi, esi
je 0x10030748
push 0x10054f54
push esi
call fcn.1003a009
add esp, 8
test eax, eax
je 0x1003054b
xor edx, edx
mov word [eax], dx
add esi, 8
push esi
call fcn.1003b107
mov ebp, eax
add esp, 4
test ebp, ebp
jbe 0x10030748
mov esi, dword [esp + 0x14]
xor eax, eax
mov word [esp + 0x80], ax
mov eax, esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10030590
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x84]
call fcn.10009330
mov esi, dword [esp + 0x80]
mov ebx, 8
mov byte [esp + 0xc0], 3
cmp dword [esp + 0x94], ebx
jae 0x100305d1
lea esi, [esp + 0x80]
push 7
push str.HTTP:__
push esi
call fcn.1003ba1c
add esp, 0xc
test eax, eax
jne 0x10030685
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100305f0
sub eax, edx
sar eax, 1
cmp eax, ebp
jbe 0x10030629
push 1
lea edi, [esi + ebp*2]
push 0x10054f54
push edi
call fcn.1003ba1c
add esp, 0xc
test eax, eax
jne 0x10030629
xor ecx, ecx
mov word [edi], cx
push esi
lea ecx, [esp + 0x48]
call fcn.1000b7a0
mov eax, esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10030630
sub eax, edx
sar eax, 1
cmp eax, ebp
jne 0x1003072f
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10030650
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.10009330
jmp 0x1003072f
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], edi
jmp 0x10030412
lea esi, [esp + 0x2c]
jmp 0x1003049f
push 0x10054f54
push esi
call fcn.1003a009
mov esi, eax
add esp, 8
test esi, esi
je 0x1003072f
lea ecx, [ecx]
push 7
add esi, 2
push str.HTTP:__
push esi
call fcn.1003ba1c
add esp, 0xc
test eax, eax
jne 0x100306f3
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100306c0
sub eax, edx
sar eax, 1
cmp eax, ebp
ja 0x10030709
mov eax, esi
lea edx, [eax + 2]
jmp 0x100306e0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100306e0
sub eax, edx
sar eax, 1
cmp eax, ebp
je 0x10030725
push 0x10054f54
push esi
call fcn.1003a009
mov esi, eax
add esp, 8
test esi, esi
jne 0x100306a0
jmp 0x1003072f
push 1
lea edi, [esi + ebp*2]
push 0x10054f54
push edi
call fcn.1003ba1c
add esp, 0xc
test eax, eax
jne 0x1003072f
xor edx, edx
mov word [edi], dx
push esi
lea ecx, [esp + 0x48]
call fcn.1000b7a0
cmp dword [esp + 0x94], ebx
jb 0x10030748
mov eax, dword [esp + 0x80]
push eax
call fcn.100386ec
add esp, 4
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], cx
mov ebx, dword [esp + 0x14]
mov byte [esp + 0xc0], 4
cmp dword [esp + 0x58], ebp
jbe 0x100307d6
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x10030774
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x68]
call fcn.10009330
mov eax, dword [esp + 0x48]
mov edi, 8
cmp dword [esp + 0x5c], edi
jae 0x100307a1
lea eax, [esp + 0x48]
mov esi, dword [esp + 0x58]
push esi
push ebp
push eax
lea ecx, [esp + 0x6c]
call fcn.100240e0
cmp eax, 0xffffffff
je 0x100307d6
push 0x18
push str.http:__down.360safe.com_
push esi
push eax
lea ecx, [esp + 0x70]
call fcn.10021750
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x78], edi
jae 0x100307d6
lea ebx, [esp + 0x64]
push 0x7c
push ebx
call fcn.100386f7
mov edi, dword [esp + 0x24]
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x10030811
jmp 0x100307f0
lea edx, [esi + 2]
push edx
mov ecx, edi
call fcn.1002fc70
xor eax, eax
push 0x7c
push ebx
mov word [esi], ax
call fcn.100386f7
mov esi, eax
add esp, 8
cmp esi, ebp
jne 0x100307f0
push ebx
mov ecx, edi
call fcn.1002fc70
cmp dword [esp + 0x58], ebp
jbe 0x10030839
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [edi + 0x70]
call fcn.10009230
mov dword [edi + 0x1b8], 1
mov esi, 8
cmp dword [esp + 0x78], esi
jb 0x10030851
mov edx, dword [esp + 0x64]
push edx
call fcn.100386ec
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebp
mov word [esp + 0x64], ax
cmp dword [esp + 0x5c], esi
jb 0x10030878
mov ecx, dword [esp + 0x48]
push ecx
call fcn.100386ec
add esp, 4
xor edx, edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], dx
cmp dword [esp + 0x40], esi
jb 0x1003089a
mov eax, dword [esp + 0x2c]
push eax
call fcn.100386ec
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], cx
cmp dword [esp + 0xb0], esi
jb 0x100308c2
mov edx, dword [esp + 0x9c]
push edx
call fcn.100386ec
add esp, 4
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10038723
add esp, 0xb0
ret