Function at 0x422bc0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x457a00]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [esp + 0x82c]
push ebx
mov ebx, dword [esp + 0x82c]
push ebp
push esi
push edi
xor ebp, ebp
push ebx
mov esi, edx
push ebp
push esi
mov edi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x30], eax
mov byte [esp + 0x1e], 1
mov dword [esp + 0x24], ebp
call fcn.00433570
add esp, 0xc
cmp byte [edi + 0x194], 0
je 0x422c19
cmp dword [edi + 0x188], ebp
jmp 0x422c1f
cmp dword [edi + 0x184], ebp
je 0x422c2e
cmp dword [edi + 0x18c], ebp
mov byte [esp + 0x13], 1
jne 0x422c33
mov byte [esp + 0x13], 0
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
mov dword [esp + 0x20], ecx
cmp byte [edi + 0x16], 0
je 0x422c59
lea edx, [esp + 0x18]
push edx
add esi, ebp
mov eax, ebx
sub eax, ebp
push esi
call fcn.00422770
jmp 0x422c7d
sub ebx, ebp
cmp byte [edi + 0x15], 0
lea eax, [esp + 0x18]
je 0x422c71
push ebx
add esi, ebp
push esi
push edi
call fcn.004229f0
jmp 0x422c7d
push eax
push ebx
lea ebx, [esi + ebp]
mov eax, edi
call fcn.00422560
mov esi, dword [esp + 0x18]
and byte [esp + 0x12], al
test esi, esi
jle 0x422c90
push str.iRead___0_r_n
jmp 0x422c95
push str.iRead__0_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x422e15
cmp byte [esp + 0x12], 0
je 0x422e15
add ebp, esi
cmp byte [esp + 0x13], 0
mov dword [esp + 0x1c], ebp
je 0x422e3b
cmp ebp, dword [edi + 0x190]
jle 0x422dfc
cmp byte [edi + 0x194], 0
je 0x422d25
xor esi, esi
cmp dword [edi + 0x18c], esi
jle 0x422dfc
jmp 0x422cf0
mov ecx, dword [edi + 0x188]
mov eax, dword [edi + 0x190]
mov ecx, dword [ecx + esi*4]
add eax, dword [esp + 0x14]
push ecx
push eax
call fcn.00430890
add esp, 8
test eax, eax
jne 0x422e3b
add esi, 1
cmp esi, dword [edi + 0x18c]
jl 0x422cf0
jmp 0x422dfc
mov eax, dword [edi + 0x18c]
mov edx, ebp
sub edx, eax
add edx, 1
xor ebx, ebx
test edx, edx
jle 0x422dfc
lea esp, [esp]
cmp ebx, dword [edi + 0x190]
jl 0x422de6
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x18c]
mov ecx, dword [edi + 0x184]
add edx, ebx
cmp eax, 4
jb 0x422d77
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x422d7b
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x422d63
test eax, eax
je 0x422de0
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x422dca
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x422ddc
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x422dca
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x422ddc
movzx esi, byte [edx]
movzx ebp, byte [ecx]
sub esi, ebp
jne 0x422dca
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x422ddc
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x422ddc
test esi, esi
mov ebp, dword [esp + 0x1c]
mov eax, 1
jg 0x422de2
or eax, 0xffffffff
jmp 0x422de2
mov ebp, dword [esp + 0x1c]
xor eax, eax
test eax, eax
je 0x422e3b
mov ecx, ebp
sub ecx, dword [edi + 0x18c]
add ebx, 1
add ecx, 1
cmp ebx, ecx
jl 0x422d40
cmp ebp, dword [esp + 0x838]
jge 0x422e3b
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x838]
jmp 0x422c40
mov eax, dword [esp + 0x20]
mov edx, eax
sub eax, 1
test edx, edx
mov dword [esp + 0x20], eax
jle 0x422e3b
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x838]
mov byte [esp + 0x12], 1
jmp 0x422c40
cmp byte [esp + 0x12], 0
mov eax, dword [esp + 0x24]
mov dword [eax], ebp
je 0x422e50
test ebp, ebp
je 0x422e50
mov bl, 1
jmp 0x422e66
push edi
xor bl, bl
call fcn.004226b0
test al, al
jne 0x422e66
mov dword [edi + 0x298], 0xffffffff
test ebp, ebp
jle 0x422ec6
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.The_contents_of_ReadBuffer:
call edi
push 0x7ff
lea ecx, [esp + 0x2d]
push 0
push ecx
mov byte [esp + 0x34], 0
call fcn.00433570
add esp, 0xc
xor esi, esi
test ebp, ebp
jle 0x422ebf
mov edx, dword [esp + 0x14]
movsx eax, byte [edx + esi]
push eax
lea ecx, [esp + 0x2c]
push str._02X
push ecx
call fcn.00430b35
add esp, 0xc
lea edx, [esp + 0x28]
push edx
call edi
add esi, 1
cmp esi, ebp
jl 0x422e96
push 0x44dbb0
call edi
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0042fb8f
add esp, 0x824
ret 8