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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443156
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1a8
mov eax, dword [0x450040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov eax, dword [ebx + 0xc]
mov edx, dword [ecx + 0x74]
mov esi, dword [ebx + 8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx + 0x78]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xf4], eax
cmp edx, eax
je 0x422129
lea eax, [esi + 0x18]
lea ecx, [edx + 0x2c]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd4], ecx
nop
cmp dword [ecx - 0x18], 0xf
mov esi, dword [eax + 0x10]
mov eax, edx
mov edi, dword [ecx - 0x1c]
jbe 0x421870
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe4]
cmp esi, edi
mov edx, edi
cmovb edx, esi
mov dword [ebp - 0xcc], edx
mov edx, dword [ebp - 0xec]
cmp dword [edx + 0x2c], 0xf
mov edx, dword [ebp - 0xcc]
jbe 0x421897
mov ecx, dword [ecx]
push edi
push eax
call fcn.0040d920
add esp, 8
test eax, eax
jne 0x421c04
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
movups xmmword [ebp - 0x48], xmm0
cmp esi, edi
jb 0x42214b
mov edx, dword [ebp - 0xe4]
sub esi, edi
or eax, 0xffffffff
mov ecx, edx
cmp esi, 0xffffffff
cmovb eax, esi
cmp dword [edx + 0x14], 0xf
jbe 0x4218d9
mov ecx, dword [edx]
push eax
lea eax, [ecx + edi]
push eax
lea ecx, [ebp - 0x48]
call fcn.004022f0
or dword [ebp - 0xe0], 1
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push eax
mov edx, 0x446f20
lea ecx, [ebp - 0x60]
call fcn.0040d290
add esp, 4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x421940
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421936
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42207b
push ecx
push edx
call fcn.00440679
add esp, 8
mov edi, dword [ebp - 0x50]
xor esi, esi
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xcc], ecx
test edi, edi
je 0x421a98
cmp edx, 0xf
lea eax, [ebp - 0x60]
cmova eax, ecx
cmp byte [eax + esi], 0x2f
jne 0x42198e
inc esi
cmp esi, edi
jb 0x421975
jmp 0x421a98
cmp esi, edi
jae 0x421a98
nop word [eax + eax]
mov dword [ebp - 0xd0], esi
cmp edx, 0xf
lea eax, [ebp - 0x60]
cmova eax, ecx
cmp byte [eax + esi], 0x2f
je 0x4219ba
inc esi
cmp esi, edi
jb 0x4219a6
mov eax, esi
sub eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
cmp edi, dword [ebp - 0xd0]
jb 0x42214b
mov eax, edi
mov edi, dword [ebp - 0xd8]
sub eax, dword [ebp - 0xd0]
cmp eax, edi
push 1
cmovb edi, eax
lea eax, [ebp - 0x60]
cmp edx, 0xf
mov dword [ebp - 0xd8], edi
push 0x445680
cmova eax, ecx
seta byte [ebp - 0xc1]
mov ecx, dword [ebp - 0xd0]
mov edx, edi
add ecx, eax
call fcn.0040d920
mov edi, dword [ebp - 0x50]
add esp, 8
test eax, eax
je 0x421a6c
cmp byte [ebp - 0xc1], 0
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 0xd0]
cmovne eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xd8]
add ecx, eax
push 2
push 0x447c80
call fcn.0040d920
add esp, 8
test eax, eax
jne 0x421a66
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x421bc4
dec eax
mov dword [ebp - 0xdc], eax
jmp 0x421a6c
inc dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x4c]
cmp esi, edi
jae 0x421a98
nop dword [eax]
cmp edx, 0xf
lea eax, [ebp - 0x60]
cmova eax, ecx
cmp byte [eax + esi], 0x2f
jne 0x4219a0
inc esi
cmp esi, edi
jb 0x421a80
mov esi, dword [ebp - 0xd4]
mov eax, accept
sub eax, dword [esi - 4]
cmp eax, edi
jb 0x422150
mov eax, esi
cmp dword [eax], 0xf
lea esi, [eax - 0x14]
jbe 0x421aba
mov esi, dword [esi]
push edi
cmp edx, 0xf
lea eax, [ebp - 0x60]
cmova eax, ecx
push eax
mov eax, dword [ebp - 0xd4]
push dword [eax - 4]
push esi
push ecx
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x2c]
call fcn.0040eb50
or dword [ebp - 0xe0], 2
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
cmova eax, edx
seta byte [ebp - 0xc1]
cmp byte [eax + esi - 1], 0x2f
jne 0x421b58
sub ecx, esi
push 0xa
push str.index.html
cmp ecx, 0xa
jb 0x421b3b
cmp byte [ebp - 0xc1], 0
lea eax, [esi + 0xa]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovne eax, edx
add esi, eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x421b52
mov byte [ebp - 0x100], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x100]
push 0xa
call fcn.0040daf0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, edx
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access_s]
add esp, 8
test eax, eax
je 0x421c39
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x421bad
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421ba3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422115
push ecx
push edx
call fcn.00440679
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x421bca
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
cmp eax, 0xf
jbe 0x421c04
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x421bfa
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42207b
push edx
push ecx
call fcn.00440679
add esp, 8
mov edx, dword [ebp - 0xe8]
mov ecx, dword [ebp - 0xd4]
add edx, 0x38
add ecx, 0x38
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xd4], ecx
cmp edx, dword [ebp - 0xf4]
je 0x422129
mov eax, dword [ebp - 0xe4]
jmp 0x421860
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1b8]
cmova eax, dword [ebp - 0x2c]
sub esp, 8
lea esi, [edi + 0x3c]
push 0x20
push eax
call fcn.0040c6d0
mov eax, dword [ebp - 0x1b8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1bc], eax
push 2
push 0
push 0
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int_]
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____thiscall_std::basic_istream_char__struct_std::char_traits_char__::tellg_void_]
sub esp, 0x18
lea ecx, [ebp - 0x1b8]
mov eax, esp
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movq qword [eax + 0x10], xmm0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::seekg_class_std::fpos_struct__Mbstatet__]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
adc eax, dword [ebp - 0x44]
push ecx
push ecx
mov ecx, esi
mov dword [ebp - 0xf4], eax
call fcn.0042ad70
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
adc ecx, dword [ebp - 0x44]
cmp dword [esi + 0x14], 0xf
jbe 0x421d0e
mov esi, dword [esi]
push ecx
push eax
push esi
lea ecx, [ebp - 0x1b8]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::read_char___long_long___int64__]
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 3
call fcn.00404700
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0x2c]
lea edx, [edx + 0x84]
call fcn.0041a4c0
mov edx, eax
test edx, edx
je 0x421e82
mov ecx, edx
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x78], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421d64
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.004022f0
mov eax, dword [0x446e0c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x90], xmm0
mov edx, 0xf
mov dword [ebp - 0x80], 0xc
movq xmm0, qword [str.Content_Type]
mov dword [ebp - 0x7c], edx
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
mov al, 0x43
nop
cmp al, 0xd
je 0x421e10
cmp al, 0xa
je 0x421e10
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x421dc0
mov esi, dword [ebp - 0x64]
lea ecx, [ebp - 0x78]
cmp esi, 0xf
cmova ecx, dword [ebp - 0x78]
mov al, byte [ecx]
test al, al
je 0x421df3
cmp al, 0xd
je 0x421e13
cmp al, 0xa
je 0x421e13
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x421de3
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0xf4]
push eax
lea ecx, [edi + 0x34]
call fcn.0042cb00
mov edx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x64]
mov byte [ebp - 4], 5
cmp edx, 0xf
jbe 0x421e4d
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x90]
mov eax, edx
cmp ecx, 0x1000
jb 0x421e43
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422115
push ecx
push edx
call fcn.00440679
add esp, 8
mov byte [ebp - 4], 3
cmp esi, 0xf
jbe 0x421e82
mov ecx, dword [ebp - 0x78]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x421e78
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422115
push esi
push ecx
call fcn.00440679
add esp, 8
mov esi, dword [ebp - 0xe8]
mov esi, dword [esi + 0x30]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x421feb
cmp dword [esi + 0x24], 0xf
lea edi, [esi + 0x10]
mov edx, edi
jbe 0x421ea4
mov edx, dword [edi]
mov ecx, edx
mov dword [ebp - 0x98], 0
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xa8], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xf4], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421ed0
sub ecx, dword [ebp - 0xf4]
push ecx
push edx
lea ecx, [ebp - 0xa8]
call fcn.004022f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0xa8]
add edi, 0x18
cmp dword [ebp - 0x94], 0xf
cmova ecx, edx
mov al, byte [ecx]
test al, al
je 0x421f20
nop dword [eax]
cmp al, 0xd
je 0x421f65
cmp al, 0xa
je 0x421f65
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x421f10
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x421f2a
mov ecx, dword [edi]
mov al, byte [ecx]
test al, al
je 0x421f40
cmp al, 0xd
je 0x421f65
cmp al, 0xa
je 0x421f65
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x421f30
push edi
mov edi, dword [ebp - 0xc8]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x100]
push eax
lea ecx, [edi + 0x34]
call fcn.0042cb00
mov edx, dword [ebp - 0xa8]
jmp 0x421f6b
mov edi, dword [ebp - 0xc8]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x94]
cmp eax, 0xf
jbe 0x421fa5
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x421f9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422115
push ecx
push edx
call fcn.00440679
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x421fcb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x421fc7
cmp esi, dword [eax + 8]
jne 0x421fc7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x421fb7
mov esi, eax
jmp 0x421fe1
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x421fe1
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x421fd5
cmp byte [esi + 0xd], 0
je 0x421e97
mov eax, dword [str.Range]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0xec]
movups xmmword [ebp - 0xc0], xmm0
mov dword [ebp - 0xc0], eax
add ecx, 0x30
mov al, byte [0x446f4c]
mov byte [ebp - 0xbc], al
lea eax, [ebp - 0xc0]
push eax
mov esi, dword [ecx]
mov dword [ebp - 0xb0], 5
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xbb], 0
call fcn.0042e110
cmp eax, esi
mov ecx, 0xc8
mov edx, 0xce
cmovne ecx, edx
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0xac]
cmp ecx, 0xf
jbe 0x42208b
mov edx, dword [ebp - 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x422081
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x422081
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00440679
add esp, 8
cmp byte [ebx + 0x10], 0
jne 0x4220ad
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4220ad
mov eax, dword [ecx]
push edi
push dword [ebp - 0xec]
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x4220dd
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4220d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422115
push ecx
push edx
call fcn.00440679
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x422125
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42211b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42211b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00440679
add esp, 8
mov al, 1
jmp 0x42212b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004403ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0040d160
call fcn.004020a0
int3