Function at 0x40e780
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x432c92
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 0x40eac2
lea eax, [esp + 0x160]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40eabd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x4700cc]
mov eax, dword [esp + 0x178]
cmp ecx, eax
jne 0x40e7f3
mov edx, dword [0x4700c8]
mov eax, dword [esp + 0x174]
cmp edx, eax
je 0x40eac2
call fcn.0040e5c0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.VRVSAFEC:__
call ebx
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2a0]
push 0x43d18c
rep stosd dword es:[edi], eax
push esi
stosb byte es:[edi], al
call fcn.00413497
mov esi, eax
add esp, 8
test esi, esi
je 0x40eac2
push esi
push 1
lea eax, [esp + 0x2a8]
push 0x800
push eax
call fcn.00413113
add esp, 0x10
lea ecx, [esp + 0x2a0]
push ecx
call ebx
push esi
call fcn.00412eb8
mov eax, dword [esp + 0x17c]
mov ecx, 0x4a
mov dword [0x4700cc], 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 [0x4700c8], edx
stosb byte es:[edi], al
lea esi, [esp + 0x2a8]
call fcn.00423d6b
mov ebp, dword [0x45e6fc]
add esp, 8
cmp ebp, 0x64
mov dword [esp + 0x14], ebp
jge 0x40eac2
lea edx, [esp + 0x2a0]
test edx, edx
je 0x40eab5
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
lea ebx, [eax*4 + 0x45bfec]
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.00414640
add esp, 8
mov dword [esp + 0x30], eax
test eax, eax
je 0x40eab5
mov edi, eax
lea ecx, [esp + 0x34]
sub edi, esi
push edi
push esi
push ecx
call fcn.00413b10
lea edx, [esp + 0x40]
push 0x5c
push edx
call fcn.00414270
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x40e91b
inc ebp
jmp 0x40e91f
lea ebp, [esp + 0x34]
mov eax, dword [0x45e6fc]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x40e961
mov ebx, 0x45bfec
push ebp
push ebx
call fcn.0041b060
add esp, 8
test eax, eax
je 0x40eaa1
mov eax, dword [esp + 0x18]
mov ecx, dword [0x45e6fc]
inc eax
add ebx, 0x64
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x40e935
mov ebx, dword [esp + 0x10]
cmp ebx, 0x45e6fc
jge 0x40eaa5
push edi
push esi
push ebx
call fcn.00413b10
push ebx
call fcn.00423d6b
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.004110f0
test al, al
je 0x40e9d6
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 [0x443dbc]
push 0x18
mov edi, dword [esi + 4]
call fcn.00425b19
xor ebp, ebp
add esp, 4
cmp esi, ebp
mov ecx, esi
jne 0x40e9fa
mov ecx, eax
mov dword [eax], ecx
cmp edi, ebp
mov ecx, edi
jne 0x40ea04
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 0x40ea30
lea edx, [esp + 0x20]
push edx
call fcn.00410d80
mov edx, dword [0x443dc0]
mov eax, dword [esp + 0x24]
inc edx
cmp eax, ebp
mov dword [0x443dc0], edx
mov dword [esp + 0xaac], 0xffffffff
je 0x40ea6d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40ea64
cmp al, 0xff
je 0x40ea64
dec al
mov byte [ecx], al
jmp 0x40ea6d
push ecx
call fcn.00425b42
add esp, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
inc ecx
add ebx, 0x64
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 [0x4700d0], 1
lea esi, [eax + 1]
mov ebp, ecx
jmp 0x40e8cf
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
lea esi, [eax + 1]
jmp 0x40e8cf
mov dword [0x45e6fc], ebp
jmp 0x40eac2
call fcn.0040e5c0
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