Function at 0x4041f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b500
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0xc
xor eax, eax
mov byte [ebx + 0xc], 1
push str.kernel32.dll
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00402710
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push 0x13
push 0x48e290
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00402850
mov byte [ebp - 4], 2
call fcn.004011f0
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x30]
mov esi, eax
cmovae ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.00406230
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x4042dd
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4042d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4047a6
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 8
jb 0x40432d
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404323
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4047a6
push edx
push ecx
call fcn.0041ee0c
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
push edi
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 3
lea eax, [ebx + 0x10]
mov dword [ebp - 0x14], eax
lea ecx, [ebx + 0x58]
mov dword [eax], ebx
mov dword [eax + 8], ebx
lea ebx, [eax + 0xc]
mov dword [ebp - 0x18], ebx
lea edi, [ebx + 4]
mov dword [eax + 4], ecx
push 0
mov dword [ebx], 0
mov dword [ebp - 0x14], edi
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00408f50
mov dword [edi], eax
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov byte [ebp - 4], 5
lea ecx, [ebx + 0xc]
push 0x10
mov dword [ebx], 0x3f800000
call fcn.00402b70
mov eax, dword [edi]
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x10
call fcn.004029e0
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x1c], 8
lea eax, [edi + 0x3c]
push eax
call esi
mov byte [edi + 0x54], 0
lea ebx, [edi + 0x58]
mov byte [ebp - 4], 6
push edi
mov ecx, ebx
mov dword [ebp - 0x18], ebx
call fcn.00409af0
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [edi + 0xa8], edi
mov dword [edi + 0xac], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
add edi, 0xb8
mov dword [ebp - 0x18], edi
mov dword [edi], ebx
mov eax, dword [ebx + 0x4c]
mov dword [edi + 4], eax
lea eax, [edi + 8]
push eax
call esi
mov byte [ebp - 4], 9
lea esi, [edi + 0x34]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 4
mov byte [edi + 0x30], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040e440
mov dword [esi], eax
mov byte [ebp - 4], 0xa
lea esi, [edi + 0x3c]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040e420
mov dword [esi], eax
mov byte [ebp - 4], 0xb
lea esi, [edi + 0x44]
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040e420
mov dword [esi], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x108], ebx
mov dword [ebx + 0x140], 0
mov dword [ebx + 0x144], 0
mov dword [ebx + 0x148], 0
mov dword [ebx + 0x14c], 0
mov word [ebx + 0x150], 1
mov dword [ebx + 0x154], 0
mov dword [ebx + 0x158], 0
mov dword [ebx + 0x15c], 0
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
mov dword [ebx + 0x168], 0
mov dword [ebx + 0x16c], 0
mov word [ebx + 0x170], 0
push ebx
lea ecx, [ebx + 0x178]
mov byte [ebp - 4], 0xd
call fcn.0040caf0
mov dword [ebx + 0x1f0], ebx
mov dword [ebx + 0x1f8], 0
mov dword [ebx + 0x1fc], 0
mov dword [ebx + 0x200], 0
mov dword [ebx + 0x204], 0
mov word [ebx + 0x208], 1
mov dword [ebx + 0x20c], 0
mov dword [ebx + 0x210], 0
mov dword [ebx + 0x214], 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x21c], 0
mov word [ebx + 0x220], 1
mov dword [ebx + 0x224], 0
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x230], 0
mov dword [ebx + 0x234], 0
mov dword [ebx + 0x238], 0
mov dword [ebx + 0x23c], ebx
mov dword [ebx + 0x240], 0
mov dword [ebx + 0x244], 0
mov dword [ebx + 0x248], 0
mov dword [ebx + 0x24c], 0
mov word [ebx + 0x250], 1
mov dword [ebx + 0x254], 0
mov dword [ebx + 0x258], 0
mov dword [ebx + 0x25c], 0
mov dword [ebx + 0x260], 0
mov dword [ebx + 0x264], 0
mov dword [ebx + 0x268], 0
push ebx
lea ecx, [ebx + 0x270]
mov byte [ebp - 4], 0xf
call fcn.0040e6c0
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
push 0x10
push str.SeDebugPrivilege
lea ecx, [ebp - 0x48]
mov word [ebp - 0x48], ax
call fcn.00402710
lea eax, [ebp - 0x48]
push eax
call fcn.00404bd0
mov edx, dword [ebp - 0x34]
pop edi
cmp edx, 8
jb 0x4046d9
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4046cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4047ab
push edx
push ecx
call fcn.0041ee0c
add esp, 8
push 0x15
xor eax, eax
mov dword [ebp - 0x38], 0
push str.SeLoadDriverPrivilege
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00402710
lea eax, [ebp - 0x48]
push eax
call fcn.00404bd0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x40473b
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4047b0
push edx
push ecx
call fcn.0041ee0c
add esp, 8
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x49aab8]
cmp eax, dword [ecx + 4]
jle 0x40478a
push 0x49aab8
call fcn.0041f34c
add esp, 4
cmp dword [0x49aab8], 0xffffffff
jne 0x40478a
mov byte [ebp - 4], 0x11
call fcn.0040aba0
push 0x43c0e0
call fcn.0041f197
push 0x49aab8
mov byte [ebp - 4], 0x10
call fcn.0041f302
add esp, 8
mov ecx, 0x49aa98
call fcn.0040af60
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00424b90
call fcn.00424b90
call fcn.00424b90
int3