Function at 0x42bd20
Capabilities:
Compare security identifiers
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c781d
push eax
mov eax, 0x1884
mov dword fs:[0], esp
call fcn.0051f3e0
mov eax, dword [esp + 0x1894]
push ebx
push esi
push eax
xor ebx, ebx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 8], esi
mov dword [esp + 0x1894], ebx
cmp esi, ebx
jne 0x42bd8c
mov dword [esp + 0x1894], 0xffffffff
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1884]
mov dword fs:[0], ecx
add esp, 0x1890
ret
lea ecx, [esp + 0x34]
push ecx
push 4
lea edx, [esp + 0x34]
push edx
push esi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x42bdd9
mov dword [esp + 0x1894], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov dword [esp + 4], ebx
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1884]
mov dword fs:[0], ecx
add esp, 0x1890
ret
mov ecx, dword [esp + 0x2c]
push 0x3ff
lea eax, [esp + 0x90]
push eax
push ecx
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x42bdaa
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42be00
sub eax, edx
sar eax, 1
push ebp
mov ebp, eax
lea eax, [esp + 0x90]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42be20
sub eax, edx
sar eax, 1
cmp eax, 0xb
jae 0x42be4f
mov dword [esp + 0x1898], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], ebx
jmp 0x42c158
lea edx, [esp + ebp*2 + 0x7c]
push 0x5dc79c
push edx
call fcn.0052062e
add esp, 8
test eax, eax
je 0x42be7e
mov dword [esp + 0x1898], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041dd40
jmp 0x42c158
lea eax, [esp + 0x14]
push eax
push 8
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x42bebe
mov dword [esp + 0x1898], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0041dd40
pop ebp
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1884]
mov dword fs:[0], ecx
add esp, 0x1890
ret
mov edx, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea ecx, [esp + 0x14]
push ecx
push ebx
push ebx
push 1
push edx
mov dword [esp + 0x28], ebx
call edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
jbe 0x42c138
push eax
call fcn.004d933f
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
mov byte [esp + 0x189c], 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ecx
push esi
push 1
push edx
call edi
test eax, eax
je 0x42c128
mov eax, dword [esp + 0x18a8]
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x42c128
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov eax, dword [esi]
push edx
push eax
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
je 0x42c128
add ebp, 0xfffffff5
push ebp
lea ecx, [esp + 0x98]
push ecx
mov esi, 0x3ff
lea edx, [esp + 0x89c]
push esi
push edx
call fcn.00520969
add esp, 0x10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x189c], 2
push 0x20019
push str.SoftwareMail.RuAgent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x30]
call fcn.0041d800
test eax, eax
jne 0x42bfe9
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1098]
push ecx
push str.InstallPath
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.0041d860
test eax, eax
jne 0x42bfe9
lea edx, [esp + 0x894]
push edx
lea eax, [esp + 0x1098]
push eax
call fcn.0052062e
add esp, 8
test eax, eax
jne 0x42bfe9
mov ecx, dword [esp + 0x18ac]
mov dword [ecx], 1
jmp 0x42c10c
xor edx, edx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], dx
mov byte [esp + 0x189c], 3
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x60]
call fcn.00415320
mov byte [esp + 0x189c], 4
push str.SoftwareMail.RuAgent
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0041fa10
add esp, 0xc
mov byte [esp + 0x189c], 5
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.004150c0
mov byte [esp + 0x189c], 4
lea ecx, [esp + 0x78]
call fcn.0040d5d0
mov byte [esp + 0x189c], 3
lea ecx, [esp + 0x5c]
call fcn.0040d5d0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x189c], 6
cmp dword [esp + 0x58], 8
mov eax, dword [esp + 0x44]
jae 0x42c086
lea eax, [esp + 0x44]
push 0x20019
push eax
push reloc.WS2_32.dll_closesocket
lea ecx, [esp + 0x38]
call fcn.0041d800
test eax, eax
jne 0x42c0ea
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1098]
push eax
push str.InstallPath
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], esi
call fcn.0041d860
test eax, eax
jne 0x42c0ea
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x1098]
push edx
call fcn.0052062e
add esp, 8
test eax, eax
jne 0x42c0ea
mov eax, dword [esp + 0x18ac]
mov dword [eax], 1
mov byte [esp + 0x189c], 3
lea ecx, [esp + 0x2c]
call fcn.0041dd60
mov byte [esp + 0x189c], 2
lea ecx, [esp + 0x40]
call fcn.0040d5d0
mov byte [esp + 0x189c], 1
lea ecx, [esp + 0x24]
call fcn.0041dd60
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [esp + 0x189c], bl
lea ecx, [esp + 0x38]
call fcn.00425c30
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x189c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041dd40
pop edi
mov ecx, dword [esp + 0x1890]
pop ebp
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1890
ret