Function at 0x40b9e0
Capabilities:
Print debug messages

Disassembly:
push ebp
sub esp, 0x20
mov ebp, ecx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax + 0xa4]
test eax, eax
jne 0x40be2a
movzx eax, byte [esp + 0x10]
test eax, eax
jne 0x40bcd7
movzx eax, byte [esp + 0x11]
test eax, eax
jne 0x40bb84
movzx eax, byte [esp + 0x12]
test eax, eax
jne 0x40ba31
push 0x41b640
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x20
pop ebp
ret
push 0x41b5e0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 4]
mov byte [esp + 0xc], 1
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0xa0]
test eax, eax
jne 0x40bb7f
movzx eax, byte [esp + 0xc]
cmp eax, 1
je 0x40be42
mov edx, dword [ebp]
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
test edx, edx
jbe 0x40bafc
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp], edi
xor eax, eax
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
xor edi, edi
xor esi, esi
lea edx, [esp + 0x1c]
push edx
push ebx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x80]
test eax, eax
jne 0x40bacb
mov edx, dword [esp + 0x18]
lea ecx, [edx + esi + 0x3fe00]
mov edx, dword [esp + 0x1c]
and ecx, 0xfffffffc
mov dword [ecx + edx - 4], 0
add esi, 0x3fe00
inc edi
cmp edi, 8
jb 0x40ba9c
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 0x1ff000
inc ecx
cmp ecx, 4
jb 0x40ba90
inc ebx
cmp ebx, dword [ebp]
jb 0x40ba8c
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp]
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x84]
test eax, eax
jne 0x40bb7f
mov eax, dword [ebp]
shl eax, 2
test eax, eax
jbe 0x40bb3d
mov dword [esp], edi
xor eax, eax
mov edi, eax
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
call dword [edx + 0x88]
test eax, eax
jne 0x40be3a
mov edx, dword [ebp]
inc edi
shl edx, 2
cmp edi, edx
jb 0x40bb1c
mov edi, dword [esp]
mov dword [esp], edi
xor eax, eax
mov edi, eax
mov ecx, dword [ebp + edi*4 + 0x38]
test ecx, ecx
je 0x40bb51
call fcn.0040a900
inc edi
cmp edi, 4
jl 0x40bb44
mov edi, dword [esp]
xor eax, eax
mov dword [ebp + eax*4 + 0x48], 0
inc eax
cmp eax, 4
jl 0x40bb5c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x9c]
add esp, 0x20
pop ebp
ret
push 0x41b59c
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 4]
mov byte [esp + 0xc], 1
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0xa0]
test eax, eax
jne 0x40bcd2
movzx eax, byte [esp + 0xc]
cmp eax, 1
je 0x40be64
mov edx, dword [ebp]
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
test edx, edx
jbe 0x40bc4f
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp], edi
xor eax, eax
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
xor edi, edi
xor esi, esi
lea edx, [esp + 0x1c]
push edx
push ebx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x80]
test eax, eax
jne 0x40bc1e
mov edx, dword [esp + 0x18]
lea ecx, [edx + esi + 0x3fe00]
mov edx, dword [esp + 0x1c]
and ecx, 0xfffffffc
mov dword [ecx + edx - 4], 0
add esi, 0x3fe00
inc edi
cmp edi, 8
jb 0x40bbef
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 0x1ff000
inc ecx
cmp ecx, 4
jb 0x40bbe3
inc ebx
cmp ebx, dword [ebp]
jb 0x40bbdf
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp]
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x84]
test eax, eax
jne 0x40bcd2
mov eax, dword [ebp]
shl eax, 2
test eax, eax
jbe 0x40bc90
mov dword [esp], edi
xor eax, eax
mov edi, eax
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
call dword [edx + 0x88]
test eax, eax
jne 0x40be5c
mov edx, dword [ebp]
inc edi
shl edx, 2
cmp edi, edx
jb 0x40bc6f
mov edi, dword [esp]
mov dword [esp], edi
xor eax, eax
mov edi, eax
mov ecx, dword [ebp + edi*4 + 0x38]
test ecx, ecx
je 0x40bca4
call fcn.0040a900
inc edi
cmp edi, 4
jl 0x40bc97
mov edi, dword [esp]
xor eax, eax
mov dword [ebp + eax*4 + 0x48], 0
inc eax
cmp eax, 4
jl 0x40bcaf
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x9c]
add esp, 0x20
pop ebp
ret
push 0x41b570
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 4]
mov byte [esp + 0xc], 1
mov eax, dword [ecx]
lea edx, [esp + 0xc]
push edx
call dword [eax + 0xa0]
test eax, eax
jne 0x40be25
movzx eax, byte [esp + 0xc]
cmp eax, 1
je 0x40be83
mov edx, dword [ebp]
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
test edx, edx
jbe 0x40bda2
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp], edi
xor eax, eax
mov ebx, eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
xor edi, edi
xor esi, esi
lea edx, [esp + 0x1c]
push edx
push ebx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x80]
test eax, eax
jne 0x40bd71
mov edx, dword [esp + 0x18]
lea ecx, [edx + esi + 0x3fe00]
mov edx, dword [esp + 0x1c]
and ecx, 0xfffffffc
mov dword [ecx + edx - 4], 0
add esi, 0x3fe00
inc edi
cmp edi, 8
jb 0x40bd42
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add edx, 0x1ff000
inc ecx
cmp ecx, 4
jb 0x40bd36
inc ebx
cmp ebx, dword [ebp]
jb 0x40bd32
mov ebx, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [esp]
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x84]
test eax, eax
jne 0x40be25
mov eax, dword [ebp]
shl eax, 2
test eax, eax
jbe 0x40bde3
mov dword [esp], edi
xor eax, eax
mov edi, eax
mov ecx, dword [ebp + 4]
mov edx, dword [ecx]
call dword [edx + 0x88]
test eax, eax
jne 0x40be7e
mov edx, dword [ebp]
inc edi
shl edx, 2
cmp edi, edx
jb 0x40bdc2
mov edi, dword [esp]
mov dword [esp], edi
xor eax, eax
mov edi, eax
mov ecx, dword [ebp + edi*4 + 0x38]
test ecx, ecx
je 0x40bdf7
call fcn.0040a900
inc edi
cmp edi, 4
jl 0x40bdea
mov edi, dword [esp]
xor eax, eax
mov dword [ebp + eax*4 + 0x48], 0
inc eax
cmp eax, 4
jl 0x40be02
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x9c]
add esp, 0x20
pop ebp
ret
push str.GetTransferInfo___err
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x20
pop ebp
ret
mov edi, dword [esp]
jmp 0x40bb7f
push 0
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x9c]
test eax, eax
jne 0x40bb7f
jmp 0x40ba67
mov edi, dword [esp]
jmp 0x40bcd2
push 0
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x9c]
test eax, eax
jne 0x40bcd2
jmp 0x40bbba
mov edi, dword [esp]
jmp 0x40be25
push 0
mov ecx, dword [ebp + 4]
mov eax, dword [ecx]
call dword [eax + 0x9c]
test eax, eax
jne 0x40be25
jmp 0x40bd0d