Function at 0x414910
Capabilities:
Access the windows event log
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x2c], edx
mov edi, ecx
mov dword [ebp - 0x24], eax
mov esi, 0x601
call fcn.0040d460
mov ebx, eax
call fcn.0040b830
push edi
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.00404330
cmp eax, 2
ja 0x414acb
mov ecx, ebx
call fcn.004166a0
mov ecx, ebx
call fcn.00416b80
push edi
mov ecx, ebx
call fcn.00416880
test al, al
jne 0x414975
push edi
mov ecx, ebx
call fcn.004169e0
mov eax, dword [0x427dac]
test al, 1
jne 0x414998
or eax, 1
mov dword [0x427dac], eax
call fcn.00412410
push 0x41e230
call fcn.0041b6a5
add esp, 4
push 0xffffffffffffffff
push dword [0x427d50]
xor bl, bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [0x427d8c], 0
mov eax, 1
push dword [0x427d50]
movzx ebx, bl
cmovne ebx, eax
mov eax, dword [0x427d90]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
je 0x414ac6
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x414ac6
mov ecx, dword [ebp - 0x28]
push edi
push dword [ebp - 0x24]
call fcn.00403620
mov esi, eax
test esi, esi
jne 0x414acb
push dword [ebp - 0x24]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x2c]
call dword [eax + 0x3c]
mov esi, eax
cmp esi, 0x2306
jne 0x414a31
cmp dword [edi + 0x14], 0x10
jb 0x414a18
mov ecx, dword [edi]
jmp 0x414a1a
mov ecx, edi
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
push dword [ebp - 0x24]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x2c]
call dword [eax + 0x3c]
mov esi, eax
cmp esi, 0x404
jne 0x414a51
call 0x4130f0
test al, al
je 0x414a7d
push dword [ebp - 0x24]
mov eax, dword [ebx]
mov ecx, ebx
push dword [ebp - 0x2c]
call dword [eax + 0x3c]
mov esi, eax
test esi, esi
jne 0x414a7d
mov ecx, dword [ebp - 0x28]
push 1
push edi
call fcn.00403ca0
test al, al
jne 0x414ac2
cmp dword [edi + 0x14], 0x10
mov esi, 0x601
jb 0x414a73
mov ecx, dword [edi]
jmp 0x414a75
mov ecx, edi
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x14]
call fcn.0040b830
push 1
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.00404f70
cmp dword [eax + 0x14], 8
jb 0x414a96
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR120.dll__wremove]
add esp, 4
lea ecx, [ebp - 0x20]
call fcn.00402650
mov ebx, dword [ebp - 0x28]
mov ecx, ebx
push edi
call fcn.00404330
cmp eax, 1
jne 0x414acb
push edi
mov ecx, ebx
call fcn.00403f20
jmp 0x414acb
xor esi, esi
jmp 0x414acb
mov esi, 0x300
mov eax, dword [0x427dac]
test al, 1
jne 0x414aee
or eax, 1
mov dword [0x427dac], eax
call fcn.00412410
push 0x41e230
call fcn.0041b6a5
add esp, 4
cmp byte [0x427d58], 0
je 0x414b16
push esi
push 0x3011
push str.JHISVC
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d____s__FN:__08x_RET:_0x_08x_n
call fcn.00401550
add esp, 0x14
test esi, esi
je 0x414b4e
push 0x421188
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
test edi, edi
je 0x414b4e
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b5b1
mov esp, ebp
pop ebp
ret