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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637c40
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6d3f68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ecx + 0x74]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx + 0x78]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x6c], eax
cmp edx, eax
je 0x46f69c
add ebx, 0x18
lea ecx, [edx + 0x2c]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ecx
cmp dword [ecx - 0x18], 0x10
mov eax, edx
mov edi, dword [ecx - 0x1c]
mov esi, dword [ebx + 0x10]
jb 0x46f1f1
mov eax, dword [edx]
cmp esi, edi
mov edx, edi
mov ecx, ebx
mov ebx, dword [ebx + 0x14]
cmovb edx, esi
cmp ebx, 0x10
jb 0x46f208
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx + 0x18]
push edi
push eax
call fcn.0044f970
add esp, 8
test eax, eax
jne 0x46f41a
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], al
cmp esi, edi
jb 0x46f6bc
mov edx, dword [ebp - 0x60]
sub esi, edi
or eax, 0xffffffff
mov ecx, edx
cmp esi, 0xffffffff
cmovb eax, esi
cmp ebx, 0x10
jb 0x46f24f
mov ecx, dword [edx]
push eax
lea eax, [ecx + edi]
push eax
lea ecx, [ebp - 0x84]
call fcn.0044e760
or dword [ebp - 0x54], 1
lea eax, [ebp - 0x84]
mov dword [ebp - 4], 0
push eax
mov edx, 0x6c6800
lea ecx, [ebp - 0x44]
call fcn.0044f470
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x70]
cmp edx, 0x10
jb 0x46f2bc
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f2b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f688
push edx
push ecx
call fcn.0062ea39
add esp, 8
mov edi, dword [ebp - 0x34]
xor esi, esi
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x50], 0
test edi, edi
je 0x46f2ff
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x10
lea eax, [ebp - 0x44]
cmovae eax, ebx
cmp byte [eax + esi], 0x2f
jne 0x46f43d
inc esi
cmp esi, edi
jb 0x46f2e7
mov al, 1
test al, al
je 0x46f3e0
mov esi, dword [ebp - 0x58]
mov eax, closesocket
mov edx, dword [esi - 4]
sub eax, edx
cmp eax, edi
jb 0x46f6c1
cmp dword [esi], 0x10
lea ecx, [esi - 0x14]
jb 0x46f328
mov ecx, dword [ecx]
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push edi
cmovae eax, ebx
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00451650
or dword [ebp - 0x54], 2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, esi
cmp byte [eax + ecx - 1], 0x2f
jne 0x46f376
push str.index.html
lea ecx, [ebp - 0x2c]
call fcn.0044d3a0
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
cmp edx, 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access_s]
add esp, 8
test eax, eax
je 0x46f504
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x46f3cb
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f3c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f688
push edx
push ecx
call fcn.0062ea39
add esp, 8
mov ebx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x46f41a
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x46f410
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f688
push ecx
push ebx
call fcn.0062ea39
add esp, 8
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add edx, 0x38
add ecx, 0x38
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
cmp edx, dword [ebp - 0x6c]
je 0x46f69c
mov ebx, dword [ebp - 0x60]
jmp 0x46f1e1
cmp esi, edi
jae 0x46f2ff
mov dword [ebp - 0x4c], esi
nop dword [eax + eax]
cmp ecx, 0x10
lea eax, [ebp - 0x44]
cmovae eax, ebx
cmp byte [eax + esi], 0x2f
je 0x46f464
inc esi
cmp esi, edi
jb 0x46f450
mov edx, esi
sub edx, dword [ebp - 0x4c]
cmp edi, dword [ebp - 0x4c]
jb 0x46f6bc
mov eax, edi
sub eax, dword [ebp - 0x4c]
cmp eax, edx
push 1
cmovb edx, eax
lea eax, [ebp - 0x44]
cmp ecx, 0x10
mov ecx, dword [ebp - 0x4c]
push 0x6c3144
cmovae eax, ebx
add ecx, eax
call fcn.0044f970
add esp, 8
test eax, eax
je 0x46f4cf
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
cmovae eax, ebx
push 2
add ecx, eax
push 0x6c6008
call fcn.0044f970
add esp, 8
test eax, eax
jne 0x46f4cc
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x46f4fd
dec edx
mov dword [ebp - 0x50], edx
jmp 0x46f4cf
inc dword [ebp - 0x50]
cmp esi, edi
jae 0x46f2ff
mov ecx, dword [ebp - 0x30]
nop word [eax + eax]
cmp ecx, 0x10
lea eax, [ebp - 0x44]
cmovae eax, ebx
cmp byte [eax + esi], 0x2f
jne 0x46f445
inc esi
cmp esi, edi
jb 0x46f4e0
jmp 0x46f2ff
xor al, al
jmp 0x46f301
mov ebx, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
lea edx, [ebx + 0x3c]
call fcn.00468330
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x2c]
lea edx, [edi + 0x84]
call fcn.00468e80
test eax, eax
je 0x46f534
push eax
push str.Content_Type
mov ecx, ebx
call fcn.0046c740
mov esi, dword [ebp - 0x5c]
mov esi, dword [esi + 0x30]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x46f5e7
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
jb 0x46f552
mov ecx, dword [esi + 0x10]
mov al, byte [ecx]
lea edx, [esi + 0x28]
mov dword [ebp - 0x48], ecx
test al, al
je 0x46f570
nop
cmp al, 0xd
je 0x46f5a1
cmp al, 0xa
je 0x46f5a1
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x46f560
cmp dword [edx + 0x14], 0x10
mov ecx, edx
jb 0x46f57a
mov ecx, dword [edx]
mov al, byte [ecx]
test al, al
je 0x46f590
cmp al, 0xd
je 0x46f5a1
cmp al, 0xa
je 0x46f5a1
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x46f580
push edx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebx + 0x34]
call fcn.00474980
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x46f5c7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x46f5c3
cmp esi, dword [eax + 8]
jne 0x46f5c3
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x46f5b3
mov esi, eax
jmp 0x46f5dd
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x46f5dd
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x46f5d1
cmp byte [esi + 0xd], 0
je 0x46f546
mov esi, dword [ebp - 0x64]
mov edx, str.Range
lea ecx, [esi + 0x30]
call fcn.00469930
test al, al
mov ecx, 0xc8
mov edx, 0xce
cmovne ecx, edx
cmp byte [ebp + 0x10], 0
mov dword [ebx + 0x18], ecx
jne 0x46f620
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x46f620
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 8]
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x46f650
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f646
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46f688
push edx
push ecx
call fcn.0062ea39
add esp, 8
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x46f698
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46f68e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x46f68e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0062ea39
add esp, 8
mov al, 1
jmp 0x46f69e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062e5ad
mov esp, ebp
pop ebp
ret 0xc
call fcn.0044f340
call fcn.0044a470
int3