Function at 0x10049960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc0d1
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 0x10049f28
cmp byte [edi + 0x54], 0
jne 0x10049f28
add edi, 0x18
mov dword [ebp - 0x2ec], edi
je 0x100499c4
mov eax, dword [edi]
test eax, eax
je 0x100499c4
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov eax, dword [esi]
cmp byte [eax + 0x54], 0
jne 0x10049eff
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 0x10049eff
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.10006740
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b4]
call fcn.1003c7b0
mov byte [ebp - 4], 2
mov ecx, dword [esi]
push eax
add ecx, 0x24
call fcn.10011ec0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 3
call fcn.10006900
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 7
call fcn.10006900
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2e8]
test eax, eax
je 0x10049ae2
push 0x104
lea ecx, [ebp - 0x224]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10049eff
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x254]
call fcn.10006740
lea edx, [ebp - 0x254]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2b4]
call fcn.1003c7b0
mov byte [ebp - 4], 0xc
mov ecx, dword [esi]
push eax
add ecx, 0x3c
call fcn.10011ec0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0xd
call fcn.10006900
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x11
call fcn.10006900
mov byte [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x2cc]
add eax, 0x24
push eax
call fcn.100067b0
push 0x24
push str.A648F790_9820_4172_BAE3_9D01B2FCC055
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x15
call fcn.10011f00
cmp dword [ebp - 0x2b8], 8
lea eax, [ebp - 0x2cc]
lea ecx, [ebp - 0x254]
cmovae eax, dword [ebp - 0x2cc]
push eax
call fcn.10006740
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x254]
mov ecx, dword [esi]
push eax
add ecx, 0x1c
call fcn.100477b0
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x17
call fcn.10006900
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.10006990
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.10006740
lea eax, [ebp - 0x254]
mov byte [ebp - 4], 0x1f
push eax
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2b4]
call fcn.1003d080
add esp, 4
push eax
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x20
call fcn.10011ec0
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x21
call fcn.10006900
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x254]
call fcn.10006900
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x1e
call fcn.1003c180
test al, al
je 0x10049ece
sub esp, 0x18
lea eax, [ebp - 0x29c]
mov ecx, esp
mov dword [ebp - 0x2e8], esp
push eax
call fcn.100067b0
mov byte [ebp - 4], 0x35
mov ecx, esi
mov byte [ebp - 4], 0x1e
call fcn.1004a1c0
test al, al
je 0x10049ece
mov eax, dword [esi]
cmp byte [eax + 0x5c], 0
je 0x10049ece
cmp dword [eax + 0x58], 0
je 0x10049ece
push 0x10107654
lea ecx, [ebp - 0x2b4]
call fcn.10006740
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0x42
push eax
lea edx, [ebp - 0x23c]
lea ecx, [ebp - 0x2e4]
call fcn.1003d080
add esp, 4
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x43
call fcn.10011ec0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x44
call fcn.10006900
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 0x48
call fcn.10006900
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.1003c480
mov eax, dword [esi]
lea edx, [ebp - 0x23c]
add eax, 0x24
lea ecx, [ebp - 0x2e4]
push eax
call fcn.1003d080
add esp, 4
push eax
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x4c
call fcn.10011ec0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x4d
call fcn.10006900
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x1e
call fcn.1003c480
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.1004a8d0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea ecx, [ebp - 0x2e4]
call fcn.1003bb00
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x57
call fcn.10011ec0
lea ecx, [ebp - 0x2e4]
mov byte [ebp - 4], 0x58
call fcn.10006900
push 1
push 0x101061c8
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x56
call fcn.10011f00
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.10011f00
push 1
push 0x10106b7c
lea ecx, [ebp - 0x23c]
call fcn.10011f00
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.10011f00
push 4
push str..log
lea ecx, [ebp - 0x23c]
call fcn.10011f00
mov ecx, dword [esi]
lea eax, [ebp - 0x23c]
push eax
call fcn.1000b060
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0x5c
call fcn.10006900
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 0x60
call fcn.10006900
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x64
call fcn.10006900
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 0x68
call fcn.10006900
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x6c
call fcn.10006900
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0x70
call fcn.10006900
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0x74
test edi, edi
je 0x10049f21
mov eax, dword [edi]
test eax, eax
je 0x10049f17
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.100f1763
mov esp, ebp
pop ebp
ret 4