Function at 0x404530
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x426a42
push eax
mov dword fs:[0], esp
sub esp, 0xa94
push ebx
push ebp
push esi
mov esi, dword [esp + 0xab0]
test esi, esi
push edi
je 0x404872
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40486d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x45883c]
mov eax, dword [esp + 0x178]
cmp ecx, eax
jne 0x4045a3
mov edx, dword [0x458838]
mov eax, dword [esp + 0x174]
cmp edx, eax
je 0x404872
call fcn.00404370
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.VRVSAFEC:__
call ebx
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2a0]
push 0x430570
rep stosd dword es:[edi], eax
push esi
stosb byte es:[edi], al
call fcn.00407f6d
mov esi, eax
add esp, 8
test esi, esi
je 0x404872
push esi
push 1
lea eax, [esp + 0x2a8]
push 0x800
push eax
call fcn.00408367
add esp, 0x10
lea ecx, [esp + 0x2a0]
push ecx
call ebx
push esi
call fcn.00407ebf
mov eax, dword [esp + 0x17c]
mov ecx, 0x4a
mov dword [0x45883c], eax
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x178]
lea ecx, [esp + 0x2a4]
stosw word es:[edi], ax
push ecx
mov dword [0x458838], edx
stosb byte es:[edi], al
lea esi, [esp + 0x2a8]
call fcn.004184eb
mov ebp, dword [0x44cc44]
add esp, 8
cmp ebp, 0x64
mov dword [esp + 0x14], ebp
jge 0x404872
lea edx, [esp + 0x2a0]
test edx, edx
je 0x404865
lea eax, [ebp + ebp*2]
lea eax, [eax + eax*4]
lea ebx, [eax*4 + 0x44b4d4]
mov dword [esp + 0x10], ebx
mov ecx, 0x4b
xor eax, eax
lea edi, [esp + 0x34]
push 0x3b
rep stosd dword es:[edi], eax
push esi
call fcn.00407dd0
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x404865
mov edi, eax
lea ecx, [esp + 0x34]
sub edi, esi
push edi
push esi
push ecx
call fcn.00408130
lea edx, [esp + 0x40]
push 0x5c
push edx
call fcn.00407b70
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x4046cb
inc ebp
jmp 0x4046cf
lea ebp, [esp + 0x34]
mov eax, dword [0x44cc44]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x404711
mov ebx, 0x44b4d4
push ebp
push ebx
call fcn.0040e510
add esp, 8
test eax, eax
je 0x404851
mov eax, dword [esp + 0x18]
mov ecx, dword [0x44cc44]
inc eax
add ebx, 0x3c
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4046e5
mov ebx, dword [esp + 0x10]
cmp ebx, 0x44cc44
jge 0x404855
push edi
push esi
push ebx
call fcn.00408130
push ebx
call fcn.004184eb
mov al, byte [esp + 0x2f]
mov edi, ebx
mov byte [esp + 0x30], al
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x24]
push ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
call fcn.00406090
test al, al
je 0x404786
mov edi, dword [esp + 0x24]
mov ecx, ebp
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
xor esi, esi
mov byte [eax + ebp], 0
mov dword [esp + 0xaac], esi
mov esi, dword [0x434b94]
push 0x18
mov edi, dword [esi + 4]
call fcn.0041a299
xor ebp, ebp
add esp, 4
cmp esi, ebp
mov ecx, esi
jne 0x4047aa
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebp
mov ecx, edi
jne 0x4047b4
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
lea ecx, [eax + 8]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
cmp ecx, ebp
mov byte [esp + 0xaac], 1
je 0x4047e0
lea edx, [esp + 0x20]
push edx
call fcn.00405eb0
mov edx, dword [0x434b98]
mov eax, dword [esp + 0x24]
inc edx
cmp eax, ebp
mov dword [0x434b98], edx
mov dword [esp + 0xaac], 0xffffffff
je 0x40481d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x404814
cmp al, 0xff
je 0x404814
dec al
mov byte [ecx], al
jmp 0x40481d
push ecx
call fcn.0041a2c2
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc ecx
add ebx, 0x3c
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [0x458840], 1
lea esi, [eax + 1]
mov ebp, ecx
jmp 0x40467f
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
lea esi, [eax + 1]
jmp 0x40467f
mov dword [0x44cc44], ebp
jmp 0x404872
call fcn.00404370
mov ecx, dword [esp + 0xaa4]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0xaa0
ret