Function at 0x421660
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4e351c
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.00422540
mov eax, dword [0x4ea898]
xor ebx, ebx
push eax
lea ecx, [esp + 0x170]
push ebx
push ecx
mov ecx, ebp
call fcn.00406bb0
mov edx, dword [0x51347c]
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x180]
mov byte [esp + 0x164], 2
cmp ecx, ebx
jne 0x4216cb
mov ecx, 0x4ea894
mov eax, dword [esp + 0x170]
cmp eax, ebx
jne 0x4216db
mov eax, 0x4ea894
push ecx
push eax
lea eax, [esp + 0x28]
push str.Visite_T_:_s__Ref:_s_r_n
push eax
call fcn.004d3a22
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x10
push ecx
call esi
push 0x509cd8
call esi
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.00407190
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x17c]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.00406bb0
lea edx, [esp + 0x4c]
mov ecx, ebp
push edx
call fcn.00421d20
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x3c]
push eax
push ebx
push ecx
lea ecx, [ebp + 0x30]
mov byte [esp + 0x170], 3
call fcn.00406bb0
mov dl, byte [esp + 0x27]
push ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], dl
call fcn.00407190
mov edi, 0x518908
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x518908
lea ecx, [esp + 0x18]
call fcn.00406db0
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.004aeeec
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.00407190
mov eax, dword [0x4ea898]
push eax
push ebx
lea ecx, [esp + 0x194]
push ecx
mov ecx, esi
call fcn.00406bb0
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
call fcn.00421d20
mov edi, 0x518908
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 0x518908
push eax
push ebx
lea ecx, [esp + 0x38]
call fcn.00407120
cmp eax, ebx
je 0x4218b3
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.00406db0
mov ecx, dword [0x4ea898]
lea edx, [esp + 0x28]
push ecx
push ebx
push edx
lea ecx, [esp + 0x1c]
call fcn.00406a10
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.00406af0
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.00406af0
mov edi, 0x50af90
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x50af90
lea ecx, [esp + 0x18]
call fcn.00406af0
jmp 0x4218f9
mov edi, 0x518908
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.004085a0
test al, al
je 0x4218f7
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
mov esi, 0x518908
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.00408580
xor ebx, ebx
mov eax, dword [0x4ea898]
lea ecx, [esp + 0x10]
push eax
push ebx
push ecx
lea ecx, [ebp + 0x10]
call fcn.00406bb0
mov edx, dword [0x4ea898]
lea eax, [esp + 0x17c]
push edx
push ebx
push eax
lea ecx, [ebp + 0x20]
call fcn.00406bb0
mov edi, dword [esp + 0x174]
cmp edi, ebx
jbe 0x42199b
add edi, 0x80
push edi
call fcn.004d46ce
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 0x421965
mov eax, 0x4ea894
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.004aeeec
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.00415070
push esi
mov dword [ebp + 0x4c], eax
call fcn.004d46f7
add esp, 0x20
lea eax, [esp + 0x4c]
mov ecx, ebp
push eax
call fcn.00423a00
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x4219cc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4219c3
cmp al, 0xff
je 0x4219c3
dec al
mov byte [ecx], al
jmp 0x4219cc
push ecx
call fcn.004d46f7
add esp, 4
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4219f1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4219e8
cmp al, 0xff
je 0x4219e8
dec al
mov byte [ecx], al
jmp 0x4219f1
push ecx
call fcn.004d46f7
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 0x421a22
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x421a19
cmp al, 0xff
je 0x421a19
dec al
mov byte [ecx], al
jmp 0x421a22
push ecx
call fcn.004d46f7
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 0x421a53
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x421a4a
cmp al, 0xff
je 0x421a4a
dec al
mov byte [ecx], al
jmp 0x421a53
push ecx
call fcn.004d46f7
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.004d498d
mov ecx, dword [esp + 0x170]
cmp ecx, ebx
je 0x421a97
mov al, byte [ecx - 1]
test al, al
je 0x421a8d
cmp al, 0xff
je 0x421a8d
dec al
mov byte [ecx - 1], al
jmp 0x421a97
dec ecx
push ecx
call fcn.004d46f7
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 0x421ad3
mov al, byte [ecx - 1]
test al, al
je 0x421ac9
cmp al, 0xff
je 0x421ac9
dec al
mov byte [ecx - 1], al
jmp 0x421ad3
dec ecx
push ecx
call fcn.004d46f7
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