Function at 0x46c940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f1ffb
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x534068]
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]
test edi, edi
je 0x46ce91
cmp byte [edi + 0x54], 0
jne 0x46ce91
add edi, 0x18
mov dword [ebp - 0x2e8], edi
je 0x46c99b
mov eax, dword [edi]
test eax, eax
je 0x46c99b
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp byte [eax + 0x54], 0
jne 0x46ce68
push 0x20a
mov byte [eax + 0x54], 1
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004bf410
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x46ce68
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.00402800
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004704e0
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [esi]
push eax
add ecx, 0x24
call fcn.00403ca0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 3
call fcn.00402880
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.00402880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2cc]
mov eax, dword [esi]
add eax, 0x24
push eax
call fcn.00405530
push 0x24
push str.A648F790_9820_4172_BAE3_9D01B2FCC055
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x15
call fcn.00403ce0
cmp dword [ebp - 0x2b8], 8
lea eax, [ebp - 0x2cc]
lea ecx, [ebp - 0x254]
cmovae eax, dword [ebp - 0x2cc]
push eax
call fcn.00402800
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x254]
mov ecx, dword [esi]
push eax
add ecx, 0x1c
call fcn.00476f00
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x17
call fcn.00402880
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.004028e0
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x28c], 0
xor eax, eax
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
push str.2345Log.xml
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x1e
call fcn.00402800
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2b4]
push eax
call fcn.004708c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x20
call fcn.00403ca0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x21
call fcn.00402880
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x25
call fcn.00402880
lea eax, [ebp - 0x29c]
mov byte [ebp - 4], 0x1e
push eax
call fcn.0046fab0
add esp, 4
test al, al
je 0x46ce37
sub esp, 0x18
lea eax, [ebp - 0x29c]
mov ecx, esp
mov dword [ebp - 0x2ec], esp
push eax
call fcn.00405530
mov byte [ebp - 4], 0x35
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.0046d1b0
test al, al
je 0x46ce37
mov eax, dword [esi]
cmp byte [eax + 0x5c], 0
je 0x46ce37
cmp dword [eax + 0x58], 0
je 0x46ce37
push 0x50b48c
lea ecx, [ebp - 0x2b4]
call fcn.00402800
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0x42
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.004708c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x43
call fcn.00403ca0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x44
call fcn.00402880
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x48
call fcn.00402880
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.00470190
mov eax, dword [esi]
add eax, 0x24
push eax
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.004708c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x4c
call fcn.00403ca0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x4d
call fcn.00402880
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.00470190
mov byte [ebp - 4], 0x51
xor eax, eax
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
mov byte [ebp - 4], 0x53
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
mov byte [ebp - 4], 0x55
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], 7
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x56
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0046d9f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x2e4]
call fcn.0046e4f0
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x57
call fcn.00403ca0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x58
call fcn.00402880
push 1
push 0x50b494
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x56
call fcn.00403ce0
cmp dword [ebp - 0x258], 8
lea eax, [ebp - 0x26c]
push dword [ebp - 0x25c]
cmovae eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x23c]
push eax
call fcn.00403ce0
push 1
push 0x50b498
lea ecx, [ebp - 0x23c]
call fcn.00403ce0
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
push dword [ebp - 0x274]
cmovae eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x23c]
push eax
call fcn.00403ce0
push 4
push 0x50b49c
lea ecx, [ebp - 0x23c]
call fcn.00403ce0
mov ecx, dword [esi]
lea eax, [ebp - 0x23c]
push eax
call fcn.00403c70
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x5c
call fcn.00402880
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x60
call fcn.00402880
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x64
call fcn.00402880
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x68
call fcn.00402880
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x6c
call fcn.00402880
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x70
call fcn.00402880
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x74
test edi, edi
je 0x46ce8a
mov eax, dword [edi]
test eax, eax
je 0x46ce80
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x2e8], 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.004bc969
mov esp, ebp
pop ebp
ret 4