Function at 0x404d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e566b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x538074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 4]
test edi, edi
je 0x4052c3
cmp byte [edi + 0x54], 0
jne 0x4052c3
add edi, 0x18
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x240], edi
je 0x404dc6
mov eax, dword [edi]
test eax, eax
je 0x404dc6
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp byte [eax + 0x54], 0
jne 0x40529a
push 0x20a
mov byte [eax + 0x54], 1
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004c0fa0
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40529a
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x258]
call fcn.00403010
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0047c6e0
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [esi + 4]
push eax
add ecx, 0x24
call fcn.00404670
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 3
call fcn.00403200
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 7
call fcn.00403200
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2b8]
mov eax, dword [esi + 4]
add eax, 0x24
push eax
call fcn.00403080
push 0x24
push str.A648F790_9820_4172_BAE3_9D01B2FCC055
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x15
call fcn.004046b0
cmp dword [ebp - 0x2a4], 8
lea eax, [ebp - 0x2b8]
lea ecx, [ebp - 0x258]
cmovae eax, dword [ebp - 0x2b8]
push eax
call fcn.00403010
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x258]
mov ecx, dword [esi + 4]
push eax
add ecx, 0x1c
call fcn.0047e120
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x17
call fcn.00403200
mov byte [ebp - 4], 0x1b
xor eax, eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 7
mov word [ebp - 0x23c], ax
push 0xe
push str.c:2345AvScan_
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1c
call fcn.00403270
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x290], 0
xor eax, eax
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
push str.2345Log.xml
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x1e
call fcn.00403010
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.0047cac0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x20
call fcn.00404670
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x21
call fcn.00403200
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x25
call fcn.00403200
lea eax, [ebp - 0x2a0]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0047bcb0
add esp, 4
test al, al
je 0x405269
sub esp, 0x18
lea eax, [ebp - 0x2a0]
mov ecx, esp
mov dword [ebp - 0x2d4], esp
push eax
call fcn.00403080
mov byte [ebp - 4], 0x35
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.004055e0
test al, al
je 0x405269
mov eax, dword [esi + 4]
cmp byte [eax + 0x5c], 0
je 0x405269
cmp dword [eax + 0x58], 0
je 0x405269
push 0x50d0dc
lea ecx, [ebp - 0x2d0]
call fcn.00403010
lea eax, [ebp - 0x2d0]
mov byte [ebp - 4], 0x42
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.0047cac0
add esp, 0xc
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x43
call fcn.00404670
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 0x44
call fcn.00403200
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 0x48
call fcn.00403200
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.0047c390
mov eax, dword [esi + 4]
add eax, 0x24
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.0047cac0
add esp, 0xc
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x4c
call fcn.00404670
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 0x4d
call fcn.00403200
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.0047c390
mov byte [ebp - 4], 0x51
xor eax, eax
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
mov byte [ebp - 4], 0x53
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 7
mov word [ebp - 0x258], ax
mov byte [ebp - 4], 0x55
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 7
mov word [ebp - 0x270], ax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00405e40
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x2ec]
call fcn.004750f0
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x57
call fcn.00404670
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 0x58
call fcn.00403200
push 1
push 0x50d0e4
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x56
call fcn.004046b0
cmp dword [ebp - 0x25c], 8
lea eax, [ebp - 0x270]
push dword [ebp - 0x260]
cmovae eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x23c]
push eax
call fcn.004046b0
push 1
push 0x50d0e8
lea ecx, [ebp - 0x23c]
call fcn.004046b0
cmp dword [ebp - 0x274], 8
lea eax, [ebp - 0x288]
push dword [ebp - 0x278]
cmovae eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x23c]
push eax
call fcn.004046b0
push 4
push 0x50d0ec
lea ecx, [ebp - 0x23c]
call fcn.004046b0
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x23c]
push eax
call fcn.00402f90
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0x5c
call fcn.00403200
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 0x60
call fcn.00403200
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x64
call fcn.00403200
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 0x68
call fcn.00403200
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x6c
call fcn.00403200
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0x70
call fcn.00403200
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x74
test edi, edi
je 0x4052bc
mov eax, dword [edi]
test eax, eax
je 0x4052b2
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004be500
mov esp, ebp
pop ebp
ret 4