Function at 0x40b970
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1db0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x504
push ebx
mov ebx, ecx
mov byte [ebp - 0x14], 0
push esi
push edi
push dword [ebp - 0x14]
mov ecx, dword [ebx + 0x2cc]
mov edi, edx
mov edx, dword [ebx + 0x2d0]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x18], ebx
sar eax, 3
push eax
mov byte [ebp - 0xe], 1
call fcn.00446320
mov eax, dword [ebx + 0x2d0]
add esp, 8
sub eax, dword [ebx + 0x2cc]
sar eax, 3
imul ecx, eax, 0x104
mov eax, dword [edi + 8]
sub eax, dword [edi]
cmp ecx, eax
jbe 0x40b9f1
cmp ecx, 0x7fffffff
ja 0x40bc4b
push ecx
mov ecx, edi
call fcn.00440080
mov esi, dword [ebx + 0x2cc]
cmp esi, dword [ebx + 0x2d0]
je 0x40ba78
nop
cmp dword [esi + 4], 0xffffffff
je 0x40ba6d
mov edx, dword [esi]
test edx, edx
jne 0x40ba10
xor eax, eax
jmp 0x40ba21
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ba15
sub eax, ebx
mov ebx, dword [ebp - 0x18]
push eax
push edx
push dword [edi + 4]
mov ecx, edi
call fcn.004435a0
mov eax, dword [edi + 4]
mov byte [ebp - 0xd], 0xd
cmp eax, dword [edi + 8]
je 0x40ba41
mov byte [eax], 0xd
inc dword [edi + 4]
jmp 0x40ba4d
lea ecx, [ebp - 0xd]
push ecx
push eax
mov ecx, edi
call fcn.00445ab0
mov eax, dword [edi + 4]
mov byte [ebp - 0xd], 0xa
cmp eax, dword [edi + 8]
je 0x40ba61
mov byte [eax], 0xa
inc dword [edi + 4]
jmp 0x40ba6d
lea ecx, [ebp - 0xd]
push ecx
push eax
mov ecx, edi
call fcn.00445ab0
add esi, 8
cmp esi, dword [ebx + 0x2d0]
jne 0x40ba00
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x18]
sub eax, dword [edi]
push ecx
push ecx
push dword [ebx + 0x1c]
mov edx, eax
mov dword [ebp - 0x14], eax
push dword [ebx + 0x18]
mov ecx, str._listfile_
call fcn.0040ed70
add esp, 0x10
test al, al
je 0x40bbd1
mov eax, dword [edi]
mov esi, dword [ebp - 0x18]
cmp eax, dword [edi + 4]
je 0x40bb71
mov ecx, dword [esi]
test ecx, ecx
je 0x40bb08
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x50], 0x14
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x20], eax
movlpd qword [ebp - 0x28], xmm0
cmp dword [ecx + 0x68], 0
je 0x40bb08
mov eax, dword [ecx + 0x68]
lea edx, [ebp - 0x50]
push edx
push dword [ecx + 0x68]
mov eax, dword [eax + 0x14]
call eax
add esp, 8
test al, al
jne 0x40bb71
push 2
call fcn.0047e39b
add esp, 4
push eax
push str._WriteArchiveChanges:_writing_listfile_failed_n
call fcn.0048779c
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2b0], 0x32
push ecx
push str._WriteArchiveChanges:_writing_listfile_failed_n
mov edx, 0x32
mov dword [ebp - 0x2ac], eax
mov ecx, eax
call fcn.0043aa60
add esp, 0x10
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2a8]
cmp eax, ecx
je 0x40bb6d
push eax
call fcn.00472b7c
add esp, 4
xor bl, bl
jmp 0x40bb74
mov bl, byte [ebp - 0xe]
test esi, esi
je 0x40bc38
mov ecx, dword [esi]
test ecx, ecx
je 0x40bb8d
call fcn.00415e20
test eax, eax
jne 0x40bb8d
mov dword [esi], eax
mov dword [esi], 0
test esi, esi
je 0x40bc38
mov dword [ebp - 4], 0
mov ecx, dword [esi]
test ecx, ecx
je 0x40bbb3
call fcn.00415e20
test eax, eax
jne 0x40bbb3
mov dword [esi], eax
push 4
push esi
call fcn.004728b5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
call fcn.0047e39b
add esp, 4
push eax
push str._WriteArchiveChanges:_creating_listfile_failed_n
call fcn.0048779c
lea eax, [ebp - 0x508]
mov dword [ebp - 0x510], 0x33
push ecx
push str._WriteArchiveChanges:_creating_listfile_failed_n
mov edx, 0x33
mov dword [ebp - 0x50c], eax
mov ecx, eax
call fcn.0043aa60
add esp, 0x10
push dword [ebp - 0x50c]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x50c]
lea ecx, [ebp - 0x508]
cmp eax, ecx
je 0x40bc36
push eax
call fcn.00472b7c
add esp, 4
xor bl, bl
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0043fda0
int3