Function at 0x423840
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e25f7
push eax
mov dword fs:[0], esp
sub esp, 0x598
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00423040
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00424590
push 1
lea ecx, [esp + 0x28]
call fcn.00406ab0
mov edx, dword [ebx + 4]
mov edi, 0x4e9894
test edx, edx
je 0x42388b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4239b7
test edx, edx
jne 0x4238a4
mov edx, 0x4e9894
push str.file:__
push edx
call fcn.004adb30
add esp, 8
test eax, eax
jne 0x4239b7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4238c6
mov eax, 0x4e9894
push str.about:blank
push eax
call fcn.004adb30
add esp, 8
test eax, eax
jne 0x4239b7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4238e8
mov eax, 0x4e9894
push str.http:__localhost
push eax
call fcn.004adb30
add esp, 8
test eax, eax
jne 0x4239b7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x42390a
mov eax, 0x4e9894
push str.res:__
push eax
call fcn.004adb30
add esp, 8
test eax, eax
jne 0x4239b7
cmp dword [ebx + 8], 0xa
jb 0x4239b7
push 7
lea ecx, [esp + 0x28]
push 0
push ecx
mov ecx, ebx
call fcn.00405d90
mov eax, dword [eax + 4]
mov dword [esp + 0x5b0], 0
test eax, eax
jne 0x423951
mov eax, 0x4e9894
push eax
lea ecx, [esp + 0x18]
call fcn.004d38eb
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x5b4], 2
call fcn.00406ab0
lea ecx, [esp + 0x14]
call fcn.004d3d91
mov edx, dword [esp + 0x14]
push str.http:__
push edx
call fcn.004adbb0
add esp, 8
test eax, eax
je 0x4239d4
mov eax, dword [esp + 0x14]
push str.https:_
push eax
call fcn.004adbb0
add esp, 8
test eax, eax
je 0x4239d4
lea ecx, [esp + 0x14]
mov dword [esp + 0x5b0], 0xffffffff
call fcn.004d387d
xor eax, eax
mov ecx, dword [esp + 0x5a8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5a4
ret 8
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x423b67
mov esi, dword [ebx + 4]
mov edi, 0x4e9894
test esi, esi
je 0x4239ed
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x1a8]
mov edx, ecx
mov ecx, 0x100
cmp edx, 0x3ff
rep stosd dword es:[edi], eax
jle 0x423a14
mov edx, 0x3ff
test esi, esi
mov eax, 0x4e9894
je 0x423a1f
mov eax, esi
push edx
lea ecx, [esp + 0x1ac]
push eax
push ecx
call fcn.004af060
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xb4]
lea edx, [esp + 0x1b4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.http:__
push edx
stosb byte es:[edi], al
call fcn.004adb30
mov esi, eax
add esp, 0x14
test esi, esi
je 0x423a9d
mov edi, str.http:__
or ecx, 0xffffffff
xor eax, eax
push 0x508cb0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004adb30
add esp, 8
test eax, eax
je 0x423af5
cmp eax, esi
jbe 0x423b1b
sub eax, esi
push eax
lea eax, [esp + 0xac]
push esi
push eax
call fcn.004af060
add esp, 0xc
jmp 0x423b1b
lea ecx, [esp + 0x1a8]
push str.https:__
push ecx
call fcn.004adb30
mov esi, eax
add esp, 8
test esi, esi
je 0x423b1b
mov edi, str.https:__
or ecx, 0xffffffff
xor eax, eax
push 0x508cb0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004adb30
add esp, 8
test eax, eax
je 0x423af5
cmp eax, esi
jbe 0x423b1b
sub eax, esi
lea edx, [esp + 0xa8]
push eax
push esi
push edx
call fcn.004af060
add esp, 0xc
jmp 0x423b1b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xa8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xa8]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0x30]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebp
call fcn.00407ec0
test al, al
je 0x423b67
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0xa8]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00407ea0
mov eax, dword [ebx + 8]
cmp eax, 0x1f4
jbe 0x423bee
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x1a8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x423b8d
mov eax, 0x4e9894
push 0x1f4
push eax
lea eax, [esp + 0x1b0]
push eax
call fcn.004af060
lea edi, [esp + 0x1b4]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov byte [esp + 0x39c], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00407ec0
test al, al
je 0x423bee
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x1a8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00407ea0
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x423bfa
mov eax, 0x4e9894
push 0x64
push eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x517348
lea ecx, [esp + 0x1c]
call fcn.004d38eb
push 0x517348
lea ecx, [esp + 0x24]
mov byte [esp + 0x5b4], 3
call fcn.004d38eb
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x20]
push ecx
push str.AE_04X
push edx
mov byte [esp + 0x5bc], 4
call fcn.004d2912
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
jne 0x423e89
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x423e89
mov al, byte [esp + 0x1f]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x20], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00406ab0
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], ecx
push ecx
mov ecx, ebp
call fcn.00407ec0
test al, al
je 0x423cc9
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0x54]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], eax
mov ebp, dword [ebp + 4]
add ebp, eax
mov byte [ebp], 0
lea eax, [esp + 0x44]
mov ecx, ebx
push eax
call fcn.004228e0
mov edi, str._RD:
or ecx, 0xffffffff
xor eax, eax
lea ebp, [ebx + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebp
mov byte [esp + 0x5b8], 5
call fcn.00407ec0
test al, al
je 0x423d28
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 4]
mov ecx, edx
mov esi, str._RD:
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], edx
add eax, edx
mov byte [eax], 0
mov ecx, dword [0x4e9898]
lea edx, [esp + 0x34]
push ecx
push 0
push edx
mov ecx, ebp
call fcn.004063a0
mov edi, str.__RI:
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4e9898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x423d61
call fcn.004bfa61
test esi, esi
jbe 0x423da5
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.00407ec0
test al, al
je 0x423da5
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, str.__RI:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00407ea0
mov edi, str.AE0000
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x4e9898]
sub ecx, edx
cmp ecx, esi
ja 0x423dca
call fcn.004bfa61
test esi, esi
jbe 0x423e0e
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.00407ec0
test al, al
je 0x423e0e
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, str.AE0000
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00407ea0
mov edi, 0x509d94
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4e9898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x423e32
call fcn.004bfa61
test esi, esi
jbe 0x423e76
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.00407ec0
test al, al
je 0x423e76
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, 0x509d94
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00407ea0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x5b4], 4
call fcn.00406ab0
mov eax, dword [ebx + 0x14]
mov edx, 0x4e9894
test eax, eax
je 0x423e97
mov edx, eax
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x423ea3
mov ecx, 0x4e9894
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x423eaf
mov eax, 0x4e9894
lea esi, [esp + 0x44]
push esi
mov esi, dword [ebx + 0x50]
push esi
mov esi, dword [ebx + 0x4c]
push esi
push edx
mov edx, dword [ebx + 0xa4]
push ecx
mov ecx, dword [ebx + 0xa0]
push eax
mov eax, dword [ebx + 0xac]
push ecx
mov ecx, dword [ebx + 0xa8]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push str._S:_08x__E:_08x__T:_d__A:_d__SUBDOMAIN:_s__URL:_s__R:_s__P:_u__W:_s__F:_s_
push edx
call fcn.004d2912
mov edi, dword [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x30
mov esi, edi
mov ebp, dword [esp + 0x5b8]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00407ec0
test al, al
je 0x423f32
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov esi, edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
cmp ebp, 0xfffffffd
jbe 0x423f4e
call fcn.004bfa61
mov ebx, dword [esp + 0x5bc]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x423f7a
mov al, byte [ecx - 1]
test al, al
je 0x423f7a
cmp al, 0xff
je 0x423f7a
test ebp, ebp
jne 0x423f9e
dec al
push ebp
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00406ab0
jmp 0x423fc4
test ebp, ebp
jne 0x423f89
push 1
mov ecx, ebx
call fcn.00406ab0
jmp 0x423fc4
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x423f95
cmp eax, ebp
jae 0x423fa6
push 1
mov ecx, ebx
call fcn.00406ab0
push ebp
mov ecx, ebx
call fcn.00409730
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add eax, ebp
mov byte [eax], 0
mov ebx, dword [ebx + 4]
mov eax, 0x4e9894
test ebx, ebx
je 0x423fd2
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x5b0], 3
call fcn.004d387d
lea ecx, [esp + 0x18]
mov byte [esp + 0x5b0], 2
call fcn.004d387d
lea ecx, [esp + 0x14]
mov dword [esp + 0x5b0], 0xffffffff
call fcn.004d387d
mov eax, 1
jmp 0x4239b9