Function at 0x422220
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4e248c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x164], 1
call fcn.004230f0
mov eax, dword [0x4e9898]
xor ebx, ebx
push eax
lea ecx, [esp + 0x170]
push ebx
push ecx
mov ecx, ebp
call fcn.00406540
mov edx, dword [0x511ed0]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x180]
mov byte [esp + 0x164], 2
cmp ecx, ebx
jne 0x42228b
mov ecx, 0x4e9894
mov eax, dword [esp + 0x170]
cmp eax, ebx
jne 0x42229b
mov eax, 0x4e9894
push ecx
push eax
lea eax, [esp + 0x28]
push str.Visite_T_:_s__Ref:_s_r_n
push eax
call fcn.004d2912
mov ecx, dword [esp + 0x30]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [esp + 0x16c]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x48], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00406ab0
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x17c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00406540
lea edx, [esp + 0x4c]
mov ecx, ebp
push edx
call fcn.004228e0
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x3c]
push eax
push ebx
push ecx
lea ecx, [ebp + 0x30]
mov byte [esp + 0x170], 3
call fcn.00406540
mov dl, byte [esp + 0x27]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
call fcn.00406ab0
mov edi, 0x517348
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x517348
lea ecx, [esp + 0x18]
call fcn.00406740
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x5c]
mov byte [esp + 0x164], 4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x5c]
push eax
push str.AE_04X
push ecx
call fcn.004add1e
mov dl, byte [esp + 0x188]
push ecx
mov esi, esp
mov dword [esp + 0x48], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00406ab0
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x18c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00406540
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
call fcn.004228e0
mov edi, 0x517348
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x164], 5
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x30]
not ecx
dec ecx
push ecx
push 0x517348
push eax
push ebx
lea ecx, [esp + 0x38]
call fcn.0040a3f0
cmp eax, ebx
je 0x42246a
mov edi, str._RD:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._RD:
lea ecx, [esp + 0x18]
call fcn.00406740
mov ecx, dword [0x4e9898]
lea edx, [esp + 0x28]
push ecx
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.004063a0
mov edi, str.__RI:
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.__RI:
lea ecx, [esp + 0x18]
call fcn.00406480
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x5c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00406480
mov edi, 0x509d94
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x509d94
lea ecx, [esp + 0x18]
call fcn.00406480
jmp 0x4224b0
mov edi, 0x517348
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x14]
push ebx
call fcn.00407ec0
test al, al
je 0x4224ae
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
mov esi, 0x517348
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.00407ea0
xor ebx, ebx
mov eax, dword [0x4e9898]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [ebp + 0x10]
call fcn.00406540
mov edx, dword [0x4e9898]
lea eax, [esp + 0x17c]
push edx
push ebx
push eax
lea ecx, [ebp + 0x20]
call fcn.00406540
mov edi, dword [esp + 0x174]
cmp edi, ebx
jbe 0x422552
add edi, 0x80
push edi
call fcn.004d35be
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x170]
cmp eax, ebx
jne 0x42251c
mov eax, 0x4e9894
mov ecx, dword [ebp + 0xa8]
mov edx, dword [ebp + 0x40]
push ecx
push edx
push eax
push str._s_d_d
push esi
call fcn.004add1e
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.00415cf0
push esi
mov dword [ebp + 0x4c], eax
call fcn.004d35e7
add esp, 0x20
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
call fcn.00424590
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x422583
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42257a
cmp al, 0xff
je 0x42257a
dec al
mov byte [ecx], al
jmp 0x422583
push ecx
call fcn.004d35e7
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4225a8
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x42259f
cmp al, 0xff
je 0x42259f
dec al
mov byte [ecx], al
jmp 0x4225a8
push ecx
call fcn.004d35e7
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
cmp eax, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
je 0x4225d9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4225d0
cmp al, 0xff
je 0x4225d0
dec al
mov byte [ecx], al
jmp 0x4225d9
push ecx
call fcn.004d35e7
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x42260a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x422601
cmp al, 0xff
je 0x422601
dec al
mov byte [ecx], al
jmp 0x42260a
push ecx
call fcn.004d35e7
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x164], 1
call fcn.004d387d
mov ecx, dword [esp + 0x170]
cmp ecx, ebx
je 0x42264e
mov al, byte [ecx - 1]
test al, al
je 0x422644
cmp al, 0xff
je 0x422644
dec al
mov byte [ecx - 1], al
jmp 0x42264e
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x180]
mov dword [esp + 0x170], ebx
cmp ecx, ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x178], ebx
je 0x42268a
mov al, byte [ecx - 1]
test al, al
je 0x422680
cmp al, 0xff
je 0x422680
dec al
mov byte [ecx - 1], al
jmp 0x42268a
dec ecx
push ecx
call fcn.004d35e7
add esp, 4
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret 0x20