Function at 0x41e634
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 [0x45e040]
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 0x41e691
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 0x41e6cc
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 0x41e6e4
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 0x41e6f8
cmp ebx, 0xc0000034
jne 0x41e842
mov eax, dword [ebp + 8]
test al, 4
je 0x41e81e
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.00454dbc
test eax, eax
js 0x41e912
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.00454f57
test eax, eax
js 0x41e912
cmp dword [esp + 0x5c], 0
jbe 0x41e801
lea edx, [esp + 0x94]
lea ecx, [esp + 0x68]
call fcn.00454e25
test eax, eax
js 0x41e912
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.0041e634
test eax, eax
jne 0x41e7fd
cmp dword [esp + 0x90], esi
jne 0x41e7fd
push dword [esp + 0x74]
call dword [sym.imp.ntdll.dll_NtClose]
mov esi, dword [esp + 0x10]
test ebx, ebx
jns 0x41e903
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
jmp 0x41e6a4
cmp ebx, 0xc0000034
jne 0x41e832
test al, 1
je 0x41e84a
push 2
pop eax
jmp 0x41e906
cmp ebx, 0xc000003a
jne 0x41e842
test al, 2
je 0x41e84a
push 3
jmp 0x41e82c
test ebx, ebx
jns 0x41e903
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
je 0x41e8d8
mov ecx, dword [esp + 0x28]
mov eax, esi
or eax, ecx
jne 0x41e8c6
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 0x41e89e
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 0x41e88a
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.0041d2f3
jmp 0x41e801
and dword [esp + 0x4c], 0
lea ecx, [esp + 0x40]
push ebx
mov dword [esp + 0x44], 0x4044f4
mov dword [esp + 0x48], 0x4046e8
mov dword [esp + 0x4c], 0x413
call fcn.00455c22
mov eax, ebx
jmp 0x41e912
xor eax, eax
inc eax
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x41e910
mov dword [edi], eax
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045d1ae
mov esp, ebp
pop ebp
ret 0x28