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

Disassembly:
push 0xffffffffffffffff
push 0x454da8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [esp + 0x7c]
push ebx
push edi
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx]
push eax
call fcn.0041e650
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], edi
je 0x41d1b0
push esi
push 0x457084
lea ecx, [esp + 0x10]
call fcn.00403a80
push 0x457084
lea ecx, [esp + 0x1c]
mov dword [esp + 0x84], ebx
call fcn.00403a80
push 0x457084
lea ecx, [esp + 0x14]
mov byte [esp + 0x84], 1
call fcn.00403a80
push 0x457084
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], 2
call fcn.00403a80
mov ecx, dword [0x46d488]
push str.WnType
mov byte [esp + 0x84], 3
call fcn.0040c720
mov ecx, eax
call fcn.00405f30
mov esi, eax
cmp esi, ebx
jne 0x41cde6
xor eax, eax
jmp 0x41cdef
push esi
call fcn.00432636
add esp, 4
push ebp
push eax
push esi
lea ecx, [esp + 0x24]
call fcn.00403600
mov ebp, dword [edi + 8]
cmp ebp, dword [edi + 0xc]
mov dword [esp + 0x18], ebp
je 0x41d111
jmp 0x41ce10
cmp ebp, 0xffffffe4
je 0x41d0fb
mov esi, dword [ebp + 0x1c]
cmp esi, ebx
je 0x41d0fb
push str.Name
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.00432636
add esp, 4
push eax
push str.Name
lea ecx, [esp + 0x30]
call fcn.00404f80
mov edx, dword [esi]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
mov byte [esp + 0x88], 4
call dword [edx + 0x10]
mov edi, eax
cmp dword [esp + 0x40], 8
mov byte [esp + 0x84], 3
jb 0x41ce83
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044b775
add esp, 4
cmp edi, ebx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
je 0x41d0fb
cmp dword [edi + 0x18], 8
jb 0x41cea7
mov ebp, dword [edi + 4]
jmp 0x41ceaa
lea ebp, [edi + 4]
mov edx, dword [esp + 0x90]
push ebp
push edx
lea eax, [esp + 0x1c]
push 0x45ad3c
push eax
call fcn.00403960
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
mov ecx, dword [0x46d488]
call fcn.0040c710
mov ecx, eax
call fcn.0040b9a0
push str.Path
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.00432636
add esp, 4
push eax
push str.Path
lea ecx, [esp + 0x4c]
call fcn.00404f80
mov edx, dword [esi]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
mov byte [esp + 0x88], 5
call dword [edx + 0x10]
mov edi, eax
cmp dword [esp + 0x5c], 8
mov byte [esp + 0x84], 3
jb 0x41cf3b
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0044b775
add esp, 4
cmp edi, ebx
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
je 0x41d0f7
push 0x457084
lea ecx, [esp + 0x14]
call fcn.00403a40
cmp dword [edi + 0x18], 8
jb 0x41cf6d
mov edi, dword [edi + 4]
jmp 0x41cf70
add edi, 4
push edi
lea edx, [esp + 0x90]
push 0x456f48
push edx
call fcn.00403960
mov eax, dword [0x46d488]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x278]
add esp, 0xc
push eax
push str._InstallPath_
lea ecx, [esp + 0x94]
call fcn.0040d910
mov ecx, dword [esp + 0x8c]
cmp ecx, ebx
jne 0x41cfb5
xor eax, eax
jmp 0x41cfcd
push ecx
call fcn.00432636
add esp, 4
cmp eax, ebx
jl 0x41d1c3
mov ecx, dword [esp + 0x8c]
cmp eax, dword [ecx - 8]
jg 0x41d1c3
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x8c]
mov edi, 7
push str.Parameter
mov word [edx + eax*2], bx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
call fcn.00432636
add esp, 4
push eax
push str.Parameter
lea ecx, [esp + 0x68]
call fcn.00404f80
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x88], 6
call dword [eax + 0x10]
mov esi, eax
cmp dword [esp + 0x78], 8
mov byte [esp + 0x84], 3
jb 0x41d044
mov edx, dword [esp + 0x64]
push edx
call fcn.0044b775
add esp, 4
cmp esi, ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
je 0x41d0b5
cmp dword [esi + 0x18], 8
jb 0x41d060
mov esi, dword [esi + 4]
jmp 0x41d063
add esi, 4
push esi
lea ecx, [esp + 0x14]
call fcn.00403a40
mov eax, dword [esp + 0x1c]
push eax
push str._Type_
lea ecx, [esp + 0x18]
call fcn.0040d910
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
jne 0x41d08c
xor eax, eax
jmp 0x41d0a1
push ecx
call fcn.00432636
add esp, 4
cmp eax, ebx
jl 0x41d1c3
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx - 8]
jg 0x41d1c3
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
mov word [ecx + eax*2], bx
push 0x45accc
push ebp
call fcn.0043298d
mov edx, dword [esp + 0x94]
add esp, 8
cmp eax, ebx
mov eax, dword [esp + 0x14]
je 0x41d0e2
push ebx
push ebx
push 0x657
push 1
push 0x45acb8
jmp 0x41d0ec
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push ebx
push 1
push ebx
mov ecx, dword [esp + 0x34]
push edx
push eax
call fcn.0041cc50
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
add ebp, 0x20
cmp ebp, eax
mov dword [esp + 0x18], ebp
jne 0x41ce10
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
mov byte [esp + 0x84], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d13a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d160
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x84], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d185
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x84], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop ebp
pop esi
mov ecx, dword [esp + 0x74]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8
push 0x80070057
call fcn.004031d0
int3