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

Disassembly:
push 0xffffffffffffffff
push 0x4765ac
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4a0800]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a0800]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x1c], eax
call fcn.0040fd50
add eax, 0xbc0
xor ebp, ebp
mov edi, 7
mov ecx, eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebp
mov word [esp + 0xb0], bp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x420a02
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0xb4]
call fcn.00401720
mov dword [esp + 0xd4], ebp
push 0xffffffffffffffff
push ebp
mov eax, esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebp
mov word [esp + 0x48], bp
call fcn.00401cb0
mov ecx, esi
push ecx
mov ebx, str..exe
lea esi, [esp + 0x5c]
mov byte [esp + 0xd8], 1
call fcn.00426720
add esp, 4
push 1
push 0x48386c
lea eax, [esp + 0x44]
mov byte [esp + 0xdc], 2
call fcn.00401630
cmp eax, 0xffffffff
je 0x420a87
push 1
mov edi, eax
lea esi, [esp + 0x40]
call fcn.00401410
push 9
push str.launcher_
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebp
mov word [esp + 0x2c], bp
call fcn.00401720
push ebp
lea edx, [esp + 0x40]
push edx
or eax, 0xffffffff
mov byte [esp + 0xdc], 3
call fcn.004095a0
call fcn.0044622e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x420ad8
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xd4], 4
mov eax, dword [esp + 0x24]
mov esi, 8
cmp dword [esp + 0x38], esi
jae 0x420b03
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push str._URL:_s_Protocol_
push ecx
call fcn.0040aa30
add esp, 0xc
push 0x208
call fcn.00438511
mov edi, eax
mov eax, dword [esp + 0x1c]
mov edx, edi
add esp, 4
mov dword [edi], ebp
sub edx, eax
nop
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x420b30
cmp dword [esp + 0x38], esi
mov eax, dword [esp + 0x24]
jae 0x420b4d
lea eax, [esp + 0x24]
push eax
mov ebx, 0x483880
mov esi, SysReAllocString
call fcn.00403010
mov eax, 0x48d9a0
mov edx, edi
add esp, 4
mov dword [edi], ebp
sub edx, eax
jmp 0x420b70
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x420b70
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x420b8e
lea eax, [esp + 0x24]
push eax
mov ebx, str.URL_Protocol
call fcn.00403010
lea edx, [esp + 0x24]
add esp, 4
push edx
mov ebx, str.DefaultIcon
lea esi, [esp + 0x94]
call fcn.00426720
add esp, 4
mov byte [esp + 0xd4], 5
mov eax, dword [esp + 0x5c]
mov esi, 8
cmp dword [esp + 0x70], esi
jae 0x420bd0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x1c]
push str.__s_1_
push eax
call fcn.0040aa30
mov eax, dword [esp + 0x24]
mov edx, edi
add esp, 0xc
mov dword [edi], ebp
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x420bf0
cmp dword [esp + 0xa8], esi
mov eax, dword [esp + 0x94]
jae 0x420c16
lea eax, [esp + 0x94]
push eax
mov ebx, 0x483880
mov esi, SysReAllocString
call fcn.00403010
mov ecx, dword [esp + 0x60]
mov edx, 8
add esp, 4
cmp dword [esp + 0x70], edx
jae 0x420c3c
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x388], edx
jb 0x420c50
mov eax, dword [eax + 0x374]
jmp 0x420c55
add eax, 0x374
push ecx
push eax
lea ecx, [esp + 0x20]
push str.__sbin_s_____1_
push ecx
call fcn.0040aa30
mov eax, dword [esp + 0x28]
mov edx, edi
add esp, 0x10
mov dword [edi], ebp
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x420c73
lea edx, [esp + 0x20]
push edx
mov ebx, str._shellopencommand
lea esi, [esp + 0x78]
call fcn.00426720
add esp, 4
mov byte [esp + 0xd4], 6
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x420cb2
lea eax, [esp + 0x78]
push eax
mov ebx, 0x483880
mov esi, SysReAllocString
call fcn.00403010
add esp, 4
call fcn.0044622e
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x420cdf
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0xd4], 7
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x420d06
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push str.SoftwareMicrosoftInternet_ExplorerProtocolExecutelauncher__s
push ecx
call fcn.0040aa30
mov ebx, dword [esp + 0x28]
add esp, 0xc
push ebp
push ebx
mov edi, str.WarnOnOpen
mov esi, SysReAllocString
call fcn.00403110
lea eax, [ebx - 0x10]
add esp, 8
mov byte [esp + 0xd4], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420d55
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
cmp dword [esp + 0x8c], edi
jb 0x420d70
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00438516
add esp, 4
cmp dword [esp + 0xa8], edi
mov esi, 7
mov dword [esp + 0x8c], esi
mov dword [esp + 0x88], ebp
mov word [esp + 0x78], bp
jb 0x420da1
mov edx, dword [esp + 0x94]
push edx
call fcn.00438516
add esp, 4
mov byte [esp + 0xd4], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebp
mov word [esp + 0x94], bp
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420ddf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x38], edi
jb 0x420df2
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00438516
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
jb 0x420e12
mov edx, dword [esp + 0x5c]
push edx
call fcn.00438516
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], bp
jb 0x420e32
mov eax, dword [esp + 0x40]
push eax
call fcn.00438516
add esp, 4
cmp dword [esp + 0xc4], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
jb 0x420e58
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.00438516
add esp, 4
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004550a7
add esp, 0xc4
ret 4