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

Disassembly:
push 0xffffffffffffffff
push 0x47641c
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.0040fbf0
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 0x420882
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea esi, [esp + 0xb4]
call fcn.00401750
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.00401ce0
mov ecx, esi
push ecx
mov ebx, str..exe
lea esi, [esp + 0x5c]
mov byte [esp + 0xd8], 1
call fcn.004265a0
add esp, 4
push 1
push 0x48386c
lea eax, [esp + 0x44]
mov byte [esp + 0xdc], 2
call fcn.00401660
cmp eax, 0xffffffff
je 0x420907
push 1
mov edi, eax
lea esi, [esp + 0x40]
call fcn.00401440
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.00401750
push ebp
lea edx, [esp + 0x40]
push edx
or eax, 0xffffffff
mov byte [esp + 0xdc], 3
call fcn.00409430
call fcn.00446123
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x420958
push 0x80004005
call fcn.00402750
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 0x420983
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push str._URL:_s_Protocol_
push ecx
call fcn.0040a8d0
add esp, 0xc
push 0x208
call fcn.004383e6
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 0x4209b0
cmp dword [esp + 0x38], esi
mov eax, dword [esp + 0x24]
jae 0x4209cd
lea eax, [esp + 0x24]
push eax
mov ebx, 0x483880
mov esi, SysReAllocString
call fcn.00403040
mov eax, 0x48d970
mov edx, edi
add esp, 4
mov dword [edi], ebp
sub edx, eax
jmp 0x4209f0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bp
jne 0x4209f0
cmp dword [esp + 0x38], 8
mov eax, dword [esp + 0x24]
jae 0x420a0e
lea eax, [esp + 0x24]
push eax
mov ebx, str.URL_Protocol
call fcn.00403040
lea edx, [esp + 0x24]
add esp, 4
push edx
mov ebx, str.DefaultIcon
lea esi, [esp + 0x94]
call fcn.004265a0
add esp, 4
mov byte [esp + 0xd4], 5
mov eax, dword [esp + 0x5c]
mov esi, 8
cmp dword [esp + 0x70], esi
jae 0x420a50
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x1c]
push str.__s_1_
push eax
call fcn.0040a8d0
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 0x420a70
cmp dword [esp + 0xa8], esi
mov eax, dword [esp + 0x94]
jae 0x420a96
lea eax, [esp + 0x94]
push eax
mov ebx, 0x483880
mov esi, SysReAllocString
call fcn.00403040
mov ecx, dword [esp + 0x60]
mov edx, 8
add esp, 4
cmp dword [esp + 0x70], edx
jae 0x420abc
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x388], edx
jb 0x420ad0
mov eax, dword [eax + 0x374]
jmp 0x420ad5
add eax, 0x374
push ecx
push eax
lea ecx, [esp + 0x20]
push str.__sbin_s_____1_
push ecx
call fcn.0040a8d0
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 0x420af3
lea edx, [esp + 0x20]
push edx
mov ebx, str._shellopencommand
lea esi, [esp + 0x78]
call fcn.004265a0
add esp, 4
mov byte [esp + 0xd4], 6
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x420b32
lea eax, [esp + 0x78]
push eax
mov ebx, 0x483880
mov esi, SysReAllocString
call fcn.00403040
add esp, 4
call fcn.00446123
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x420b5f
push 0x80004005
call fcn.00402750
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 0x420b86
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
push str.SoftwareMicrosoftInternet_ExplorerProtocolExecutelauncher__s
push ecx
call fcn.0040a8d0
mov ebx, dword [esp + 0x28]
add esp, 0xc
push ebp
push ebx
mov edi, str.WarnOnOpen
mov esi, SysReAllocString
call fcn.00403140
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 0x420bd5
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 0x420bf0
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004383e1
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 0x420c21
mov edx, dword [esp + 0x94]
push edx
call fcn.004383e1
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 0x420c5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x38], edi
jb 0x420c72
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004383e1
add esp, 4
cmp dword [esp + 0x70], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov word [esp + 0x24], bp
jb 0x420c92
mov edx, dword [esp + 0x5c]
push edx
call fcn.004383e1
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebp
mov word [esp + 0x5c], bp
jb 0x420cb2
mov eax, dword [esp + 0x40]
push eax
call fcn.004383e1
add esp, 4
cmp dword [esp + 0xc4], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov word [esp + 0x40], bp
jb 0x420cd8
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004383e1
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.00454f77
add esp, 0xc4
ret 4