Function at 0x10049300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fbaf1
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x10126008]
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]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2e8], eax
test edi, edi
je 0x100498c8
cmp byte [edi + 0x54], 0
jne 0x100498c8
add edi, 0x18
mov dword [ebp - 0x2ec], edi
je 0x10049364
mov eax, dword [edi]
test eax, eax
je 0x10049364
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp byte [eax + 0x54], 0
jne 0x1004989f
push 0x20a
mov byte [eax + 0x54], 1
lea eax, [ebp - 0x224]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1004989f
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.100067c0
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.1003c140
mov byte [ebp - 4], 2
mov ecx, dword [esi]
push eax
add ecx, 0x24
call fcn.10011f50
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 3
call fcn.10006980
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.10006980
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2e8]
test eax, eax
je 0x10049482
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1004989f
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.100067c0
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b4]
call fcn.1003c140
mov byte [ebp - 4], 0xc
mov ecx, dword [esi]
push eax
add ecx, 0x3c
call fcn.10011f50
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0xd
call fcn.10006980
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x11
call fcn.10006980
mov byte [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x2cc]
add eax, 0x24
push eax
call fcn.10006830
push 0x24
push str.A648F790_9820_4172_BAE3_9D01B2FCC055
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x15
call fcn.10011f90
cmp dword [ebp - 0x2b8], 8
lea eax, [ebp - 0x2cc]
lea ecx, [ebp - 0x254]
cmovae eax, dword [ebp - 0x2cc]
push eax
call fcn.100067c0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x254]
mov ecx, dword [esi]
push eax
add ecx, 0x1c
call fcn.10047150
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x17
call fcn.10006980
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.10006a10
mov byte [ebp - 4], 0x1d
xor eax, eax
mov dword [ebp - 0x28c], 0
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.100067c0
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x1f
push eax
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2b4]
call fcn.1003ca10
add esp, 4
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x20
call fcn.10011f50
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x21
call fcn.10006980
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x254]
call fcn.10006980
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x1e
call fcn.1003bb10
test al, al
je 0x1004986e
sub esp, 0x18
lea eax, [ebp - 0x29c]
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
call fcn.10006830
mov byte [ebp - 4], 0x35
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.10049b60
test al, al
je 0x1004986e
mov eax, dword [esi]
cmp byte [eax + 0x5c], 0
je 0x1004986e
cmp dword [eax + 0x58], 0
je 0x1004986e
push 0x10107720
lea ecx, [ebp - 0x2b4]
call fcn.100067c0
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0x42
push eax
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2e4]
call fcn.1003ca10
add esp, 4
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x43
call fcn.10011f50
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x44
call fcn.10006980
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x48
call fcn.10006980
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.1003be10
mov eax, dword [esi]
lea edx, [ebp - 0x23c]
add eax, 0x24
lea ecx, [ebp - 0x2e4]
push eax
call fcn.1003ca10
add esp, 4
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x4c
call fcn.10011f50
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x4d
call fcn.10006980
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.1003be10
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
mov byte [ebp - 4], 0x56
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.1004a270
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x2e4]
call fcn.1003b460
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x57
call fcn.10011f50
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x58
call fcn.10006980
push 1
push 0x101061c8
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x56
call fcn.10011f90
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.10011f90
push 1
push 0x10106bcc
lea ecx, [ebp - 0x23c]
call fcn.10011f90
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.10011f90
push 4
push str..log
lea ecx, [ebp - 0x23c]
call fcn.10011f90
mov ecx, dword [esi]
lea eax, [ebp - 0x23c]
push eax
call fcn.10006780
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x5c
call fcn.10006980
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x60
call fcn.10006980
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x64
call fcn.10006980
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x68
call fcn.10006980
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x6c
call fcn.10006980
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x70
call fcn.10006980
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x74
test edi, edi
je 0x100498c1
mov eax, dword [edi]
test eax, eax
je 0x100498b7
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x2ec], 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.100f11c3
mov esp, ebp
pop ebp
ret 4