Function at 0x41aa30
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x164
mov eax, dword [0x470be4]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov ebx, dword [esp + 0x16c]
push ebp
mov ebp, dword [esp + 0x174]
push esi
push edi
push str.VFS:_add_file_start_n
mov esi, ecx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add dword [0x472af0], 1
mov ecx, esi
call fcn.00419650
test ebp, ebp
jne 0x41aa7b
mov ebp, ebx
lea eax, [esi + 0x90]
push 1
push eax
push ebx
call fcn.0041adb0
mov edi, eax
mov eax, dword [esi + 0x78]
add esp, 0xc
test eax, eax
je 0x41aaa7
cmp dword [esi + 0x1b0], 0
jne 0x41aaa7
push eax
mov ecx, esi
call fcn.00419c80
test edi, edi
je 0x41ab0c
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0041af50
add esp, 8
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x14]
lea edi, [esi + 0x19c]
push edx
mov ecx, edi
call fcn.004185a0
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41aae3
cmp eax, edi
je 0x41aae8
call fcn.004383bb
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x14], ecx
je 0x41ab16
push ebx
mov ecx, esi
call fcn.00419db0
push ebp
push ebx
mov ecx, esi
mov edi, eax
call fcn.0041aa30
or eax, edi
jmp 0x41ad8b
mov eax, 2
jmp 0x41ad8b
push 0x45df50
push ebp
call fcn.0043b1e8
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41ab32
or eax, 0xffffffff
jmp 0x41ad8b
push 2
push 0
push 0
push ebx
call fcn.0043ca8a
push ebx
call fcn.0043c72f
push 0x50
lea edx, [esp + 0x54]
push 0
push edx
mov edi, eax
call fcn.00438ee0
mov eax, dword [esi + 0x84]
xor ebp, ebp
add esp, 0x20
test eax, eax
mov dword [esp + 0x10], ebp
je 0x41ab7b
lea ecx, [esp + 0x3c]
push ecx
push edi
push eax
mov ecx, esi
call fcn.00417a60
mov ebp, eax
mov dword [esp + 0x10], eax
push 0x45df48
mov ecx, esi
call fcn.00418430
push 0xe4
lea edx, [esp + 0x90]
push 0
push edx
call fcn.00438ee0
push 0
lea eax, [esi + 0x90]
push eax
mov eax, dword [esp + 0x2c]
push eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edi
call fcn.0041adb0
add esp, 0x18
lea edx, [esp + 0xb0]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x41abc6
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00417ac0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x5c]
add esp, 8
test ebp, ebp
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
jne 0x41ac87
push 2
push ebp
push ebp
push edx
call fcn.0043ca8a
mov eax, dword [esi + 0x5c]
push eax
call fcn.0043c72f
add esp, 0x14
push 0x45df9c
mov ecx, esi
mov ebp, eax
call fcn.00418430
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0x94]
push 0xe4
push edx
call fcn.00417820
mov ecx, dword [esi + 0x5c]
mov eax, dword [esp + 0x9c]
push ecx
push 1
lea edx, [esp + 0x54]
push 0x50
push edx
mov dword [esp + 0x60], eax
call fcn.00417820
push ebx
call fcn.0043c4b6
mov eax, dword [esi + 0x5c]
push eax
push edi
push ebx
call fcn.004179e0
add esp, 0x30
push 0x45df48
mov ecx, esi
call fcn.00418430
push str.___append_the_file___n
jmp 0x41acf7
push 0
lea ecx, [ebp + 0x134]
push 0
push ecx
push edx
call fcn.0043ca8a
push ebx
call fcn.0043c4b6
mov eax, dword [esi + 0x5c]
push eax
push edi
push ebx
call fcn.004179e0
mov ecx, dword [esp + 0x30]
add esp, 0x20
push ecx
push edi
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.00417c70
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x5c]
push 0
push 0
push eax
push ecx
call fcn.0043ca8a
mov edx, dword [esi + 0x5c]
push edx
push 1
lea eax, [esp + 0xa4]
push 0xe4
push eax
mov dword [esp + 0xb0], edi
call fcn.00417820
add esp, 0x20
push str.___over_write_the_file___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
call fcn.0041a6d0
cmp eax, 0xffffffff
jne 0x41ad19
mov eax, 5
jmp 0x41ad8b
push ebp
lea edx, [esp + 0x90]
push edx
mov ecx, esi
call fcn.00418190
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0x19c]
call fcn.004196f0
push 0
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x5c]
push 0
push ecx
call fcn.0043ca8a
mov edi, dword [esi + 0x5c]
push edi
push 1
push 0xf0
add esi, 0x60
push esi
call fcn.00439a5a
push edi
call fcn.004397e6
push ebx
call fcn.00439d13
sub dword [0x472af0], 1
push str.VFS:_add_file_finished_n
call fcn.0043cbdd
add esp, 0x2c
push str.VFS:_add_file_finished_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov ecx, dword [esp + 0x170]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00438282
add esp, 0x164
ret 8