Function at 0x422c90
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3687
push eax
mov dword fs:[0], esp
sub esp, 0x734
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00422480
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00423a00
push 1
lea ecx, [esp + 0x28]
call fcn.00407190
mov edx, dword [ebx + 4]
mov edi, 0x4ea894
test edx, edx
je 0x422cdb
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x422e07
test edx, edx
jne 0x422cf4
mov edx, 0x4ea894
push str.file:__
push edx
call fcn.004aecb0
add esp, 8
test eax, eax
jne 0x422e07
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422d16
mov eax, 0x4ea894
push str.about:blank
push eax
call fcn.004aecb0
add esp, 8
test eax, eax
jne 0x422e07
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422d38
mov eax, 0x4ea894
push str.http:__localhost
push eax
call fcn.004aecb0
add esp, 8
test eax, eax
jne 0x422e07
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422d5a
mov eax, 0x4ea894
push str.res:__
push eax
call fcn.004aecb0
add esp, 8
test eax, eax
jne 0x422e07
cmp dword [ebx + 8], 0xa
jb 0x422e07
push 7
lea ecx, [esp + 0x28]
push 0
push ecx
mov ecx, ebx
call fcn.00406400
mov eax, dword [eax + 4]
mov dword [esp + 0x74c], 0
test eax, eax
jne 0x422da1
mov eax, 0x4ea894
push eax
lea ecx, [esp + 0x18]
call fcn.004d49fb
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x750], 2
call fcn.00407190
lea ecx, [esp + 0x14]
call fcn.004d4ea1
mov edx, dword [esp + 0x14]
push str.http:__
push edx
call fcn.004aebf6
add esp, 8
test eax, eax
je 0x422e24
mov eax, dword [esp + 0x14]
push str.https:_
push eax
call fcn.004aebf6
add esp, 8
test eax, eax
je 0x422e24
lea ecx, [esp + 0x14]
mov dword [esp + 0x74c], 0xffffffff
call fcn.004d498d
xor eax, eax
mov ecx, dword [esp + 0x744]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x740
ret 8
mov eax, dword [ebx + 0x38]
test eax, eax
jne 0x422fa5
mov esi, dword [ebx + 4]
mov edi, 0x4ea894
test esi, esi
je 0x422e3d
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x344]
mov edx, ecx
mov ecx, 0x100
cmp edx, 0x3ff
rep stosd dword es:[edi], eax
jle 0x422e64
mov edx, 0x3ff
test esi, esi
mov eax, 0x4ea894
je 0x422e6f
mov eax, esi
push edx
lea ecx, [esp + 0x348]
push eax
push ecx
call fcn.004b0350
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x350]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.http:__
push edx
stosb byte es:[edi], al
call fcn.004aecb0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x422ee7
mov edi, str.http:__
or ecx, 0xffffffff
xor eax, eax
push 0x509e00
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004aecb0
add esp, 8
test eax, eax
je 0x422f3c
cmp eax, esi
jbe 0x422f5f
sub eax, esi
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004b0350
add esp, 0xc
jmp 0x422f5f
lea ecx, [esp + 0x344]
push str.https:__
push ecx
call fcn.004aecb0
mov esi, eax
add esp, 8
test esi, esi
je 0x422f5f
mov edi, str.https:__
or ecx, 0xffffffff
xor eax, eax
push 0x509e00
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004aecb0
add esp, 8
test eax, eax
je 0x422f3c
cmp eax, esi
jbe 0x422f5f
sub eax, esi
lea edx, [esp + 0x44]
push eax
push esi
push edx
call fcn.004b0350
add esp, 0xc
jmp 0x422f5f
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x44]
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 + 0x44]
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.004085a0
test al, al
je 0x422fa5
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0x44]
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.00408580
mov eax, dword [ebx + 8]
cmp eax, 0x1f4
jbe 0x42302c
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x344]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422fcb
mov eax, 0x4ea894
push 0x1f4
push eax
lea eax, [esp + 0x34c]
push eax
call fcn.004b0350
lea edi, [esp + 0x350]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov byte [esp + 0x538], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004085a0
test al, al
je 0x42302c
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x344]
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.00408580
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x423038
mov eax, 0x4ea894
push 0x200
push eax
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x518908
lea ecx, [esp + 0x1c]
call fcn.004d49fb
push 0x518908
lea ecx, [esp + 0x24]
mov byte [esp + 0x750], 3
call fcn.004d49fb
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x20]
push ecx
push str.AE_04X
push edx
mov byte [esp + 0x758], 4
call fcn.004d3a22
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
jne 0x4232d6
lea edi, [esp + 0x144]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4232d6
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.00407190
lea edi, [esp + 0x154]
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.004085a0
test al, al
je 0x423116
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 4]
mov ecx, eax
lea esi, [esp + 0x154]
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.00421d20
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 + 0x754], 5
call fcn.004085a0
test al, al
je 0x423175
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 [0x4ea898]
lea edx, [esp + 0x34]
push ecx
push 0
push edx
mov ecx, ebp
call fcn.00406a10
mov edi, str.__RI:
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4231ae
call fcn.004c0b21
test esi, esi
jbe 0x4231f2
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.004085a0
test al, al
je 0x4231f2
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.00408580
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 [0x4ea898]
sub ecx, edx
cmp ecx, esi
ja 0x423217
call fcn.004c0b21
test esi, esi
jbe 0x42325b
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.004085a0
test al, al
je 0x42325b
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.00408580
mov edi, 0x50af90
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4ea898]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x42327f
call fcn.004c0b21
test esi, esi
jbe 0x4232c3
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.004085a0
test al, al
je 0x4232c3
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, 0x50af90
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.00408580
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x750], 4
call fcn.00407190
mov eax, dword [ebx + 0x14]
mov edx, 0x4ea894
test eax, eax
je 0x4232e4
mov edx, eax
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x4232f0
mov ecx, 0x4ea894
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x4232fc
mov eax, 0x4ea894
lea esi, [esp + 0x144]
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.004d3a22
mov edi, dword [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x30
mov esi, edi
mov ebp, dword [esp + 0x754]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004085a0
test al, al
je 0x423382
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]
mov ebp, dword [esp + 0x758]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
call fcn.0040a0a0
cmp eax, ebx
jae 0x4233ab
call fcn.004c0b21
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x4233d0
mov al, byte [ecx - 1]
test al, al
je 0x4233d0
cmp al, 0xff
je 0x4233d0
test ebx, ebx
jne 0x4233f4
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00407190
jmp 0x42341a
test ebx, ebx
jne 0x4233df
push 1
mov ecx, ebp
call fcn.00407190
jmp 0x42341a
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x4233eb
cmp eax, ebx
jae 0x4233fc
push 1
mov ecx, ebp
call fcn.00407190
push ebx
mov ecx, ebp
call fcn.0040a0b0
mov edi, dword [ebp + 4]
mov ecx, ebx
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 [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [ebp + 4]
test eax, eax
jne 0x423426
mov eax, 0x4ea894
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call esi
push 0x509cd8
call esi
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x423442
mov ebp, 0x4ea894
mov ecx, dword [0x518b94]
push str.DEBUG
push ebp
call fcn.0042c2b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x74c], 3
call fcn.004d498d
lea ecx, [esp + 0x18]
mov byte [esp + 0x74c], 2
call fcn.004d498d
lea ecx, [esp + 0x14]
mov dword [esp + 0x74c], 0xffffffff
call fcn.004d498d
mov eax, 1
jmp 0x422e09