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

Disassembly:
push 0xffffffffffffffff
push 0x5b6817
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a0]
xor ebp, ebp
xor ecx, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1a4]
mov word [esp + 0xd8], cx
mov edi, 7
mov ecx, eax
mov dword [esp + 0xec], edi
mov dword [esp + 0xe8], ebp
lea esi, [ecx + 2]
mov ebx, 2
mov dx, word [ecx]
add ecx, ebx
cmp dx, bp
jne 0x41ff86
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xd8]
call fcn.0040e1e0
mov dword [esp + 0x198], ebp
push 0xffffffffffffffff
xor edx, edx
push ebp
mov eax, esi
lea ecx, [esp + 0x98]
mov dword [esp + 0xb0], edi
mov dword [esp + 0xac], ebp
mov word [esp + 0x9c], dx
call fcn.0040d090
sub esp, 0x1c
mov esi, esp
mov byte [esp + 0x1b4], 1
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
mov dword [esp + 0x34], esp
mov word [esi + 4], ax
push ebp
mov eax, 0x6131cc
call fcn.0040e1e0
xor edx, edx
lea esi, [esp + 0xc8]
call fcn.0042c940
push 1
push 0x6185a0
xor edx, edx
lea eax, [esp + 0xdc]
mov byte [esp + 0x1a0], bl
call fcn.0041d210
mov edi, eax
cmp edi, 0xffffffff
je 0x4206d6
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
xor edx, edx
lea esi, [esp + 0x40]
call fcn.00418380
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x98]
mov byte [esp + 0x1a0], 3
call fcn.0040d090
mov byte [esp + 0x198], bl
cmp dword [esp + 0x54], 8
jb 0x420075
mov edx, dword [esp + 0x40]
push edx
call fcn.0044f8b0
add esp, 4
lea eax, [esp + 0xd4]
lea edx, [edi + 1]
push eax
or ecx, 0xffffffff
lea esi, [esp + 0x40]
call fcn.00418380
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1a0], 4
call fcn.0040d090
mov byte [esp + 0x198], bl
cmp dword [esp + 0x54], 8
jb 0x4200be
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0044f8b0
add esp, 4
mov eax, dword [esp + 0xa4]
push str.HKEY_LOCAL_MACHINE
mov edi, 0x12
lea ecx, [esp + 0x94]
call fcn.00410130
test eax, eax
jne 0x42015c
lea edx, [esp + 0xf0]
push edx
call fcn.0041fdd0
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.0042ca60
mov esi, eax
mov byte [esp + 0x198], 5
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [esp + 0xb4], eax
push ebp
lea eax, [esi + 8]
lea ecx, [esp + 0xbc]
call fcn.0040d090
mov cl, byte [esi + 0x24]
mov byte [esp + 0x198], bl
cmp dword [esp + 0x110], 8
mov byte [esp + 0xd0], cl
mov dword [esp + 0xf0], vtable.Win32Reg::RegistryKey.0
jb 0x4201db
mov edx, dword [esp + 0xfc]
push edx
call fcn.0044f8b0
add esp, 4
jmp 0x4201db
mov eax, dword [esp + 0xa4]
push str.HKEY_CURRENT_USER
mov edi, 0x11
lea ecx, [esp + 0x94]
call fcn.00410130
test eax, eax
jne 0x4201db
lea eax, [esp + 0xf0]
push eax
call fcn.0041fe70
lea edx, [esp + 0xd8]
mov ecx, eax
call fcn.0042ca60
mov esi, eax
mov byte [esp + 0x198], 6
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
mov dword [esp + 0xb4], ecx
push ebp
lea eax, [esi + 8]
lea ecx, [esp + 0xbc]
call fcn.0040d090
mov dl, byte [esi + 0x24]
lea ecx, [esp + 0xf0]
mov byte [esp + 0xd0], dl
mov byte [esp + 0x198], bl
call fcn.0042ca20
cmp byte [esp + 0xd0], 0
jne 0x42027b
cmp dword [esp + 0xcc], 8
mov dword [esp + 0xac], vtable.Win32Reg::RegistryKey.0
jb 0x42020e
mov eax, dword [esp + 0xb8]
push eax
call fcn.0044f8b0
add esp, 4
xor ecx, ecx
mov edi, 8
mov esi, 7
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], cx
cmp dword [esp + 0xa8], edi
jb 0x420249
mov edx, dword [esp + 0x94]
push edx
call fcn.0044f8b0
add esp, 4
xor eax, eax
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], ax
cmp dword [esp + 0xec], edi
jb 0x420766
mov ecx, dword [esp + 0xd8]
push ecx
jmp 0x42075e
lea edx, [esp + 0x20]
push edx
call fcn.0040c850
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x19c], 7
call fcn.0042cd80
mov eax, 7
mov dword [esp + 0x14c], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x184], eax
xor ecx, ecx
xor edx, edx
xor eax, eax
mov dword [esp + 0x148], ebp
mov word [esp + 0x138], cx
mov dword [esp + 0x164], ebp
mov word [esp + 0x154], dx
mov dword [esp + 0x180], ebp
mov word [esp + 0x170], ax
mov byte [esp + 0x198], 8
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
jbe 0x420308
call fcn.0058ab72
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
mov edi, esi
mov dword [esp + 0x1c], edi
mov esi, eax
cmp dword [esp + 0x2c], eax
jbe 0x420323
call fcn.0058ab72
xor ebx, ebx
cmp ebp, ebx
je 0x42032f
cmp ebp, dword [esp + 0x20]
je 0x420334
call fcn.0058ab72
cmp edi, esi
je 0x4205f1
cmp ebp, ebx
jne 0x42035c
call fcn.0058ab72
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x420351
call fcn.0058ab72
cmp dword [edi + 0x18], 8
jb 0x420361
mov esi, dword [edi + 4]
jmp 0x420364
mov eax, dword [ebp]
jmp 0x420347
lea esi, [edi + 4]
call fcn.004207a0
test al, al
je 0x4205bb
cmp ebp, ebx
jne 0x4205dc
call fcn.0058ab72
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x42038a
call fcn.0058ab72
lea ecx, [esp + 0xf0]
push ecx
mov edx, edi
lea ecx, [esp + 0xb0]
call fcn.0042ca60
mov byte [esp + 0x198], 9
xor edx, edx
push 0xb
mov eax, str.DisplayName
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], dx
call fcn.0040e1e0
mov edx, esi
lea ecx, [esp + 0x118]
lea ebx, [esp + 0xf0]
mov byte [esp + 0x198], 0xa
call fcn.0042cc70
mov byte [esp + 0x198], 0xc
cmp dword [esp + 0x70], 8
jb 0x420404
mov eax, dword [esp + 0x5c]
push eax
call fcn.0044f8b0
add esp, 4
xor esi, esi
xor ecx, ecx
mov ebx, 7
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], esi
mov word [esp + 0x5c], cx
cmp ebp, esi
jne 0x4205e4
call fcn.0058ab72
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x420433
call fcn.0058ab72
push 0xffffffffffffffff
push esi
mov eax, edi
lea ecx, [esp + 0x13c]
call fcn.0040d090
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x120]
lea ecx, [esp + 0x158]
call fcn.0040d090
mov dword [esp + 0x88], esi
xor edx, edx
push 0xe
mov eax, str.DisplayVersion
lea esi, [esp + 0x78]
mov dword [esp + 0x90], ebx
mov word [esp + 0x7c], dx
call fcn.0040e1e0
mov edx, esi
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0xf0]
mov byte [esp + 0x198], 0xd
call fcn.0042cc70
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x174]
mov byte [esp + 0x1a0], 0xe
call fcn.0040d090
mov ebp, 8
cmp dword [esp + 0x54], ebp
jb 0x4204c9
mov eax, dword [esp + 0x40]
push eax
call fcn.0044f8b0
add esp, 4
xor ecx, ecx
mov byte [esp + 0x198], 0xc
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], 0
mov word [esp + 0x40], cx
cmp dword [esp + 0x8c], ebp
jb 0x4204fe
mov edx, dword [esp + 0x78]
push edx
call fcn.0044f8b0
add esp, 4
mov eax, dword [esp + 0x164]
push 0x6131cc
xor edi, edi
lea ecx, [esp + 0x154]
call fcn.00410130
test eax, eax
je 0x42054c
mov ebx, dword [esp + 0x38]
mov esi, dword [ebx + 0x80]
mov ecx, dword [esi + 4]
add ebx, 0x6c
lea eax, [esp + 0x134]
push eax
push ecx
push esi
call fcn.00420c10
mov ecx, ebx
mov edi, eax
call fcn.00420cb0
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
cmp dword [esp + 0x130], ebp
jb 0x420565
mov edx, dword [esp + 0x11c]
push edx
call fcn.0044f8b0
add esp, 4
xor eax, eax
mov byte [esp + 0x198], 8
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
mov dword [esp + 0xf0], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0x110], ebp
jb 0x4205b1
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.0044f8b0
add esp, 4
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
xor ebx, ebx
cmp ebp, ebx
jne 0x4205ec
call fcn.0058ab72
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4205d0
call fcn.0058ab72
mov eax, dword [esp + 0x30]
add edi, 0x1c
jmp 0x420312
mov eax, dword [ebp]
jmp 0x420380
mov eax, dword [ebp]
jmp 0x420429
mov eax, dword [ebp]
jmp 0x4205c6
lea esi, [esp + 0x134]
call fcn.0041fd00
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x420623
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push edx
call fcn.00410350
mov eax, dword [esp + 0x30]
add esp, 4
push eax
call fcn.0044f8b0
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0044f8b0
mov esi, 8
add esp, 4
mov dword [esp + 0xac], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0xcc], esi
jb 0x420665
mov edx, dword [esp + 0xb8]
push edx
call fcn.0044f8b0
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], ax
cmp dword [esp + 0xa8], esi
jb 0x42069b
mov ecx, dword [esp + 0x94]
push ecx
call fcn.0044f8b0
add esp, 4
xor edx, edx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
cmp dword [esp + 0xec], esi
jb 0x4206cc
mov eax, dword [esp + 0xd8]
push eax
call fcn.0044f8b0
add esp, 4
mov eax, 1
jmp 0x420768
mov esi, 8
mov dword [esp + 0xac], vtable.Win32Reg::RegistryKey.0
cmp dword [esp + 0xcc], esi
jb 0x4206ff
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.0044f8b0
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebp
mov word [esp + 0xb8], dx
cmp dword [esp + 0xa8], esi
jb 0x420735
mov eax, dword [esp + 0x94]
push eax
call fcn.0044f8b0
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], cx
cmp dword [esp + 0xec], esi
jb 0x420766
mov edx, dword [esp + 0xd8]
push edx
call fcn.0044f8b0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.0058844d
add esp, 0x188
ret 8