Function at 0x4083d0
Capabilities:
Access the windows event log

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x42b4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x437368]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x7c]
mov ebx, ecx
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x78]
push edx
push eax
lea esi, [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call fcn.0040bd90
xor esi, esi
mov dword [ebp - 4], esi
xor edi, edi
cmp dword [0x439804], esi
mov dword [ebp - 0x18], esi
jne 0x408814
lea ecx, [ebp + 0xc]
call fcn.0040cc40
test eax, eax
jne 0x408814
cmp dword [ebx + 0x1c], 1
lea ecx, [ebp + 0xc]
jne 0x408492
push esi
call fcn.0040ce80
test eax, eax
jne 0x4084a2
push 0x201034
push 0x42eec0
push 0x42efe0
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4085d9
push 1
lea ecx, [ebp + 0xc]
call fcn.0040ce80
mov edi, eax
neg edi
sbb edi, edi
add edi, 1
mov dword [ebp - 0x18], edi
jmp 0x4084a2
push 1
call fcn.0040ce80
mov edi, eax
neg edi
sbb edi, edi
add edi, 1
push esi
push 1
mov dword [ebp - 0x20], esi
mov dword [ebp], esi
push edi
lea ebx, [ebp + 8]
lea esi, [ebp + 0xc]
call fcn.0040bf30
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0xb8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004134ab
add esp, 4
push eax
push 0
push edi
mov dword [ebp + 4], eax
call fcn.0040bf30
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x40850b
cmp dword [ebp + 8], edi
jne 0x408509
mov eax, dword [ebp + 4]
push eax
call fcn.00414062
add esp, 4
mov edi, esi
call fcn.0040bef0
mov eax, 1
jmp 0x4085e6
cmp ebx, edi
jle 0x408581
mov edi, dword [ebp + 4]
mov dword [ebp + 8], ebx
push 0x2e
push edi
call fcn.00414011
mov esi, eax
add esp, 8
test esi, esi
je 0x408564
push 0x42fcfc
push esi
call fcn.00414877
add esp, 8
test eax, eax
je 0x40855a
push 0x42fd08
push esi
call fcn.00414877
add esp, 8
test eax, eax
je 0x40855a
push 0x42fd14
push esi
call fcn.00414877
add esp, 8
test eax, eax
jne 0x408564
mov eax, 1
add dword [ebp - 0x20], eax
jmp 0x408569
mov eax, 1
cmp byte [edi + 0xb3], al
jne 0x408574
add dword [ebp], eax
add edi, 0xb8
sub dword [ebp + 8], eax
jne 0x408513
xor edi, edi
cmp dword [ebp - 0x18], edi
jne 0x408605
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
cmp eax, 1
jne 0x408596
cmp dword [ebp - 0x20], edi
jne 0x4085a9
cmp eax, 2
jne 0x40859f
cmp ebx, edi
jne 0x4085a9
cmp eax, 3
jne 0x408605
cmp dword [ebp], edi
je 0x408605
push 0x201034
push 0x42eec0
push 0x42f018
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x408605
mov edx, dword [ebp + 0x48]
push edx
call fcn.0040f120
mov eax, dword [ebp + 4]
push eax
call fcn.00414062
add esp, 4
lea edi, [ebp + 0xc]
call fcn.0040bef0
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.00414002
add ebp, 0x70
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 4]
lea ecx, [ebp]
push ecx
push esi
mov eax, ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040bfa0
push esi
mov dword [ebp - 4], edi
call fcn.00414062
add esp, 4
cmp ebx, edi
je 0x4086d8
push 0x12
push 0x42f048
lea esi, [ebp + 0x50]
mov dword [ebp + 0x68], 7
mov dword [ebp + 0x64], edi
mov word [ebp + 0x54], di
call fcn.00401560
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040ace0
push 0
push eax
or eax, 0xffffffff
mov byte [ebp - 4], 4
call fcn.00409010
mov edi, 8
cmp dword [ebp - 0x24], edi
jb 0x408681
mov eax, dword [ebp - 0x38]
push eax
call fcn.00414041
add esp, 4
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x4086c1
cmp dword [ebp + 0x68], edi
mov eax, dword [ebp + 0x54]
jae 0x408693
lea eax, [ebp + 0x54]
cmp byte [esi], 0
je 0x4086c1
mov edx, dword [esi + 0x210]
push 0
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [esi + 0x20c]
push 0
push 1
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
push eax
push 0
push 0x66
push 4
push ecx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov byte [ebp - 4], 0
cmp dword [ebp + 0x68], edi
jb 0x4086e0
mov edx, dword [ebp + 0x54]
push edx
call fcn.00414041
add esp, 4
jmp 0x4086e0
mov esi, dword [ebp - 0x1c]
mov edi, 8
cmp dword [ebp], 0
jne 0x408718
mov esi, dword [ebp + 0x48]
test esi, esi
mov ebx, esi
je 0x4086fd
call fcn.0040ded0
push ebx
call fcn.00414041
add esp, 4
cmp dword [ebp + 0x44], edi
jb 0x40870e
mov eax, dword [ebp + 0x30]
push eax
call fcn.00414041
add esp, 4
mov eax, 1
jmp 0x4085e6
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x10], 0
jne 0x408744
test esi, esi
je 0x408735
push 0x66
push 4
mov ecx, 0x42eed8
mov eax, esi
call fcn.0040a910
lea edi, [ebp + 0xc]
call fcn.0040bef0
xor eax, eax
jmp 0x4085e6
push 0x201134
push 0x42eec0
push 0x42f070
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4087f0
mov edx, 0x42f0b8
lea eax, [ebp + 0x50]
call fcn.00401520
lea edx, [ebp + 0xc]
mov bl, 5
push edx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.0040ace0
xor edi, edi
push edi
push eax
or eax, 0xffffffff
lea esi, [ebp + 0x50]
mov byte [ebp - 4], 6
call fcn.00409010
mov esi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x24], esi
jb 0x4087ae
mov eax, dword [ebp - 0x38]
push eax
call fcn.00414041
add esp, 4
cmp dword [ebp + 0x68], esi
mov eax, dword [ebp + 0x54]
jae 0x4087b9
lea eax, [ebp + 0x54]
push eax
call fcn.00408a40
add esp, 4
cmp dword [ebp + 0x68], esi
jb 0x4087d3
mov ecx, dword [ebp + 0x54]
push ecx
call fcn.00414041
add esp, 4
mov dword [ebp + 0x64], edi
mov word [ebp + 0x54], di
lea edi, [ebp + 0xc]
mov dword [ebp + 0x68], 7
call fcn.0040bef0
xor eax, eax
jmp 0x4085e6
mov dword [0x439804], 1
jmp 0x4085d9
cmp dword [ebx + 0x10], esi
jne 0x408881
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x40884f
cmp byte [eax], 0
je 0x40884f
mov edx, dword [eax + 0x210]
push esi
lea ecx, [ebp - 0x14]
push ecx
push esi
push 1
mov dword [ebp - 0x14], 0x42eed8
mov ecx, dword [edx]
mov edx, dword [eax + 0x20c]
push ecx
push esi
push 0x66
push 4
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
mov eax, dword [ebp + 0x48]
cmp eax, esi
mov edi, eax
je 0x408868
mov esi, eax
call fcn.0040ded0
push edi
call fcn.00414041
add esp, 4
cmp dword [ebp + 0x44], 8
jb 0x40887a
mov eax, dword [ebp + 0x30]
push eax
call fcn.00414041
add esp, 4
xor eax, eax
jmp 0x4085e6
push 0x201134
push 0x42eec0
push 0x42ef50
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4085d9
push 0x42efa8
call fcn.00408a40
add esp, 4
lea edi, [ebp + 0xc]
call fcn.0040bef0
xor eax, eax
jmp 0x4085e6