Function at 0x41d080
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x164
mov eax, dword [0x472cf0]
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 [0x474c58], 1
mov ecx, esi
call fcn.0041bad0
test ebp, ebp
jne 0x41d0cb
mov ebp, ebx
lea eax, [esi + 0x90]
push 1
push eax
push ebx
call fcn.0041d400
mov edi, eax
mov eax, dword [esi + 0x78]
add esp, 0xc
test eax, eax
je 0x41d0f7
cmp dword [esi + 0x1b0], 0
jne 0x41d0f7
push eax
mov ecx, esi
call fcn.0041c2d0
test edi, edi
je 0x41d15c
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0041d5a0
add esp, 8
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x14]
lea edi, [esi + 0x19c]
push edx
mov ecx, edi
call fcn.0041ad80
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41d133
cmp eax, edi
je 0x41d138
call fcn.0043a87e
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x14], ecx
je 0x41d166
push ebx
mov ecx, esi
call fcn.0041c400
push ebp
push ebx
mov ecx, esi
mov edi, eax
call fcn.0041d080
or eax, edi
jmp 0x41d3db
mov eax, 2
jmp 0x41d3db
push 0x460484
push ebp
call fcn.0043df8b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x41d182
or eax, 0xffffffff
jmp 0x41d3db
push 2
push 0
push 0
push ebx
call fcn.0043f42f
push ebx
call fcn.0043f095
push 0x50
lea edx, [esp + 0x54]
push 0
push edx
mov edi, eax
call fcn.0043a0d0
mov eax, dword [esi + 0x84]
xor ebp, ebp
add esp, 0x20
test eax, eax
mov dword [esp + 0x10], ebp
je 0x41d1cb
lea ecx, [esp + 0x3c]
push ecx
push edi
push eax
mov ecx, esi
call fcn.0041a2d0
mov ebp, eax
mov dword [esp + 0x10], eax
push 0x46047c
mov ecx, esi
call fcn.0041ac10
push 0xe4
lea edx, [esp + 0x90]
push 0
push edx
call fcn.0043a0d0
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.0041d400
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 0x41d216
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.0041a330
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 0x41d2d7
push 2
push ebp
push ebp
push edx
call fcn.0043f42f
mov eax, dword [esi + 0x5c]
push eax
call fcn.0043f095
add esp, 0x14
push 0x4604c8
mov ecx, esi
mov ebp, eax
call fcn.0041ac10
mov ecx, dword [esi + 0x5c]
push ecx
push 1
lea edx, [esp + 0x94]
push 0xe4
push edx
call fcn.0041a090
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.0041a090
push ebx
call fcn.0043ecf6
mov eax, dword [esi + 0x5c]
push eax
push edi
push ebx
call fcn.0041a250
add esp, 0x30
push 0x46047c
mov ecx, esi
call fcn.0041ac10
push str.___append_the_file___n
jmp 0x41d347
push 0
lea ecx, [ebp + 0x134]
push 0
push ecx
push edx
call fcn.0043f42f
push ebx
call fcn.0043ecf6
mov eax, dword [esi + 0x5c]
push eax
push edi
push ebx
call fcn.0041a250
mov ecx, dword [esp + 0x30]
add esp, 0x20
push ecx
push edi
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call fcn.0041a4e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x5c]
push 0
push 0
push eax
push ecx
call fcn.0043f42f
mov edx, dword [esi + 0x5c]
push edx
push 1
lea eax, [esp + 0xa4]
push 0xe4
push eax
mov dword [esp + 0xb0], edi
call fcn.0041a090
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.0041cd20
cmp eax, 0xffffffff
jne 0x41d369
mov eax, 5
jmp 0x41d3db
push ebp
lea edx, [esp + 0x90]
push edx
mov ecx, esi
call fcn.0041a970
lea eax, [esp + 0x2c]
push eax
lea ecx, [esi + 0x19c]
call fcn.0041bb70
push 0
push 0
mov dword [eax], ebp
mov ecx, dword [esi + 0x5c]
push 0
push ecx
call fcn.0043f42f
mov edi, dword [esi + 0x5c]
push edi
push 1
push pe_nt_image_headers32
add esi, 0x60
push esi
call fcn.0043c4b8
push edi
call fcn.0043c1ff
push ebx
call fcn.0043c765
sub dword [0x474c58], 1
push str.VFS:_add_file_finished_n
call fcn.0043f57d
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.0043a2e3
add esp, 0x164
ret 8