Function at 0x422d30
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3527
push eax
mov dword fs:[0], esp
sub esp, 0x734
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00422520
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.00423aa0
push 1
lea ecx, [esp + 0x28]
call fcn.00407180
mov edx, dword [ebx + 4]
mov edi, 0x4ea894
test edx, edx
je 0x422d7b
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x422ea7
test edx, edx
jne 0x422d94
mov edx, 0x4ea894
push str.file:__
push edx
call fcn.004aeb50
add esp, 8
test eax, eax
jne 0x422ea7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422db6
mov eax, 0x4ea894
push str.about:blank
push eax
call fcn.004aeb50
add esp, 8
test eax, eax
jne 0x422ea7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422dd8
mov eax, 0x4ea894
push str.http:__localhost
push eax
call fcn.004aeb50
add esp, 8
test eax, eax
jne 0x422ea7
mov eax, dword [ebx + 4]
test eax, eax
jne 0x422dfa
mov eax, 0x4ea894
push str.res:__
push eax
call fcn.004aeb50
add esp, 8
test eax, eax
jne 0x422ea7
cmp dword [ebx + 8], 0xa
jb 0x422ea7
push 7
lea ecx, [esp + 0x28]
push 0
push ecx
mov ecx, ebx
call fcn.004063f0
mov eax, dword [eax + 4]
mov dword [esp + 0x74c], 0
test eax, eax
jne 0x422e41
mov eax, 0x4ea894
push eax
lea ecx, [esp + 0x18]
call fcn.004d489b
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x750], 2
call fcn.00407180
lea ecx, [esp + 0x14]
call fcn.004d4d41
mov edx, dword [esp + 0x14]
push str.http:__
push edx
call fcn.004aea96
add esp, 8
test eax, eax
je 0x422ec4
mov eax, dword [esp + 0x14]
push str.https:_
push eax
call fcn.004aea96
add esp, 8
test eax, eax
je 0x422ec4
lea ecx, [esp + 0x14]
mov dword [esp + 0x74c], 0xffffffff
call fcn.004d482d
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 0x423045
mov esi, dword [ebx + 4]
mov edi, 0x4ea894
test esi, esi
je 0x422edd
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 0x422f04
mov edx, 0x3ff
test esi, esi
mov eax, 0x4ea894
je 0x422f0f
mov eax, esi
push edx
lea ecx, [esp + 0x348]
push eax
push ecx
call fcn.004b01f0
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.004aeb50
mov esi, eax
add esp, 0x14
test esi, esi
je 0x422f87
mov edi, str.http:__
or ecx, 0xffffffff
xor eax, eax
push 0x509df0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004aeb50
add esp, 8
test eax, eax
je 0x422fdc
cmp eax, esi
jbe 0x422fff
sub eax, esi
push eax
lea eax, [esp + 0x48]
push esi
push eax
call fcn.004b01f0
add esp, 0xc
jmp 0x422fff
lea ecx, [esp + 0x344]
push str.https:__
push ecx
call fcn.004aeb50
mov esi, eax
add esp, 8
test esi, esi
je 0x422fff
mov edi, str.https:__
or ecx, 0xffffffff
xor eax, eax
push 0x509df0
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
push esi
call fcn.004aeb50
add esp, 8
test eax, eax
je 0x422fdc
cmp eax, esi
jbe 0x422fff
sub eax, esi
lea edx, [esp + 0x44]
push eax
push esi
push edx
call fcn.004b01f0
add esp, 0xc
jmp 0x422fff
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.00408590
test al, al
je 0x423045
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.00408570
mov eax, dword [ebx + 8]
cmp eax, 0x1f4
jbe 0x4230cc
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 0x42306b
mov eax, 0x4ea894
push 0x1f4
push eax
lea eax, [esp + 0x34c]
push eax
call fcn.004b01f0
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.00408590
test al, al
je 0x4230cc
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.00408570
mov eax, dword [ebx + 0x24]
test eax, eax
jne 0x4230d8
mov eax, 0x4ea894
push 0x200
push eax
lea eax, [esp + 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x5188e8
lea ecx, [esp + 0x1c]
call fcn.004d489b
push 0x5188e8
lea ecx, [esp + 0x24]
mov byte [esp + 0x750], 3
call fcn.004d489b
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x20]
push ecx
push str.AE_04X
push edx
mov byte [esp + 0x758], 4
call fcn.004d38c2
mov eax, dword [ebx + 0x18]
add esp, 0xc
test eax, eax
jne 0x423376
lea edi, [esp + 0x144]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x423376
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.00407180
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.00408590
test al, al
je 0x4231b6
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.00421dc0
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.00408590
test al, al
je 0x423215
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.00406a00
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 0x42324e
call fcn.004c09c1
test esi, esi
jbe 0x423292
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.00408590
test al, al
je 0x423292
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.00408570
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 0x4232b7
call fcn.004c09c1
test esi, esi
jbe 0x4232fb
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.00408590
test al, al
je 0x4232fb
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.00408570
mov edi, 0x50afbc
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 0x42331f
call fcn.004c09c1
test esi, esi
jbe 0x423363
mov eax, dword [ebp + 8]
push 0
add eax, esi
mov ecx, ebp
push eax
mov dword [esp + 0x18], eax
call fcn.00408590
test al, al
je 0x423363
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, 0x50afbc
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.00408570
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x750], 4
call fcn.00407180
mov eax, dword [ebx + 0x14]
mov edx, 0x4ea894
test eax, eax
je 0x423384
mov edx, eax
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x423390
mov ecx, 0x4ea894
mov eax, dword [ebx + 0x34]
test eax, eax
jne 0x42339c
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.004d38c2
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.00408590
test al, al
je 0x423422
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.0040a070
cmp eax, ebx
jae 0x42344b
call fcn.004c09c1
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x423470
mov al, byte [ecx - 1]
test al, al
je 0x423470
cmp al, 0xff
je 0x423470
test ebx, ebx
jne 0x423494
dec al
push ebx
mov byte [ecx - 1], al
mov ecx, ebp
call fcn.00407180
jmp 0x4234ba
test ebx, ebx
jne 0x42347f
push 1
mov ecx, ebp
call fcn.00407180
jmp 0x4234ba
mov eax, dword [ebp + 0xc]
cmp eax, 0x1f
ja 0x42348b
cmp eax, ebx
jae 0x42349c
push 1
mov ecx, ebp
call fcn.00407180
push ebx
mov ecx, ebp
call fcn.0040a080
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 0x4234c6
mov eax, 0x4ea894
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call esi
push 0x509cc8
call esi
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x4234e2
mov ebp, 0x4ea894
mov ecx, dword [0x518b74]
push str.DEBUG
push ebp
call fcn.0042c390
lea ecx, [esp + 0x20]
mov byte [esp + 0x74c], 3
call fcn.004d482d
lea ecx, [esp + 0x18]
mov byte [esp + 0x74c], 2
call fcn.004d482d
lea ecx, [esp + 0x14]
mov dword [esp + 0x74c], 0xffffffff
call fcn.004d482d
mov eax, 1
jmp 0x422ea9