Function at 0x41e280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x45b0d0]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x24]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x28]
mov dword [esp + 0x10], esi
xor esi, esi
and dword [esp + 0x24], esi
push edi
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], esi
test edi, edi
je 0x41e2dd
and dword [edi], esi
or dword [ecx], 0xffffffff
mov dword [esp + 0x1c], 0x7ffe0320
mov dword [esp + 0x20], 0x7ffe0328
mov edi, 0x7ffe0324
push dword [esp + 0x14]
test edx, edx
je 0x41e318
push edx
push dword [ebp + 0x20]
push ebx
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntdll.dll_NtCreateKeyTransacted]
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x41e330
push dword [ebp + 0x20]
push ebx
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
push ecx
call dword [sym.imp.ntdll.dll_NtCreateKey]
mov ebx, eax
mov dword [esp + 0x24], eax
cmp ebx, 0xc000003a
je 0x41e344
cmp ebx, 0xc0000034
jne 0x41e47e
mov eax, dword [ebp + 8]
test al, 4
je 0x41e46a
and eax, 0xfffffffb
lea edi, [esp + 0x50]
mov dword [ebp + 8], eax
lea edx, [esp + 0x50]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x68]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x5c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x2c]
mov ecx, dword [edi + 8]
call fcn.004527ef
test eax, eax
js 0x41e561
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x6c]
push eax
push 0x5c
push ecx
push ecx
push 2
lea edx, [esp + 0x68]
pop ecx
call fcn.0045297e
test eax, eax
js 0x41e561
cmp dword [esp + 0x5c], 0
jbe 0x41e44d
lea edx, [esp + 0x94]
lea ecx, [esp + 0x68]
call fcn.00452852
test eax, eax
js 0x41e561
push 6
pop ecx
mov esi, edi
or dword [esp + 0x74], 0xffffffff
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x94]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
xor esi, esi
lea eax, [esp + 0x90]
inc esi
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x80]
mov dword [esp + 0x98], esi
push dword [esp + 0x38]
push dword [ebp + 0x20]
push dword [esp + 0x44]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x94]
push eax
mov eax, dword [ebp + 8]
or eax, 4
push eax
call fcn.0041e280
test eax, eax
jne 0x41e449
cmp dword [esp + 0x90], esi
jne 0x41e449
push dword [esp + 0x74]
call dword [sym.imp.ntdll.dll_NtClose]
mov esi, dword [esp + 0x10]
test ebx, ebx
jns 0x41e552
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
jmp 0x41e2f0
cmp ebx, 0xc0000034
jne 0x41e481
test al, 1
je 0x41e499
push 2
pop eax
jmp 0x41e555
mov eax, dword [ebp + 8]
cmp ebx, 0xc000003a
jne 0x41e491
test al, 2
je 0x41e499
push 3
jmp 0x41e478
test ebx, ebx
jns 0x41e552
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x41e527
mov ecx, dword [esp + 0x28]
mov eax, esi
or eax, ecx
jne 0x41e515
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
mov edx, dword [0x7ffe0004]
mov dword [esp + 0x10], edx
mov edi, dword [eax]
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
cmp ecx, eax
je 0x41e4ed
mov edx, dword [esp + 0x1c]
mov esi, 0x7ffe0324
mov ebx, dword [esp + 0x20]
pause
mov ecx, dword [esi]
mov edi, dword [edx]
mov eax, dword [ebx]
cmp ecx, eax
jne 0x41e4d9
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, edx
mul ecx
mov esi, eax
mov ecx, edx
mov eax, edi
mul dword [esp + 0x10]
shld ecx, esi, 8
shrd eax, edx, 0x18
shl esi, 8
shr edx, 0x18
add esi, eax
mov dword [esp + 0x10], esi
adc ecx, edx
mov dword [esp + 0x28], ecx
push ecx
push ecx
mov ecx, dword [esp + 0x20]
push esi
push ebx
call fcn.0041cf9a
jmp 0x41e44d
and dword [esp + 0x4c], 0
lea ecx, [esp + 0x40]
push ebx
mov dword [esp + 0x44], 0x40451c
mov dword [esp + 0x48], 0x404710
mov dword [esp + 0x4c], 0x413
call fcn.0045365a
mov eax, ebx
jmp 0x41e561
xor eax, eax
inc eax
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x41e55f
mov dword [edi], eax
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045a80a
mov esp, ebp
pop ebp
ret 0x28