Function at 0x421690
Capabilities:
Initialize iwebbrowser2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42fa9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc70
mov eax, dword [0x441874]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0xc78], eax
call fcn.00401b90
lea ecx, [esp + 0x14]
mov dword [esp + 0xc84], 0
call fcn.00401290
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
push 7
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040d900
mov eax, dword [eax]
push str.http:__
push eax
call fcn.004260d5
mov ecx, dword [0x437074]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
lea edx, [eax - 0xc]
setne bl
cmp edx, ecx
je 0x421740
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421740
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.004258ee
add esp, 4
test bl, bl
lea ecx, [esp + 0x14]
je 0x421779
push str.http:__
call fcn.00401410
test edi, edi
jne 0x421765
xor eax, eax
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403810
jmp 0x42177f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00403810
jmp 0x42177f
push edi
call fcn.00401410
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..naver.com
call fcn.00401b90
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx - 0xc]
test eax, eax
lea esi, [ebx - 0xc]
push ecx
mov byte [esp + 0xc8c], 1
mov dword [esp + 0x2c], esp
mov ecx, esp
jl 0x4217b8
push esi
mov dword [ecx], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4217c5
mov eax, dword [0x437070]
push ebx
mov dword [ecx], eax
call fcn.00401410
mov byte [esp + 0xc8c], 0
call fcn.00421310
add esp, 8
test eax, eax
je 0x421b0d
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x421b0d
cmp byte [eax], 0
je 0x421b0d
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
push ecx
push 0x430b98
push 0x17
push 0
push 0x431b70
mov byte [esp + 0xc98], 2
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x421ae3
mov edx, dword [ebp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004044d0
add esp, 8
mov ecx, dword [0x437070]
mov dword [esp + 0x10], ecx
mov esi, dword [ebp + 0x10]
test esi, esi
mov byte [esp + 0xc84], 4
je 0x4218fd
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4218fd
xor eax, eax
mov ecx, 0x300
lea edi, [esp + 0x70]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x20]
call fcn.00401b50
push 0x431a88
lea ecx, [esp + 0x20]
mov byte [esp + 0xc88], 5
call fcn.004038a0
push esi
lea ecx, [esp + 0x20]
call fcn.004038a0
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x74]
push eax
push ecx
call fcn.00420c90
add esp, 0xc
push str.NAVER_LOGIN_FOR_WIDGET_ecookie
lea ecx, [esp + 0x14]
call fcn.00401410
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.00420aa0
push str.NAVER_LOGIN_FOR_WIDGET_url
lea ecx, [esp + 0x14]
call fcn.004038a0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x14]
call fcn.004038a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xc84], 4
call fcn.00401360
jmp 0x421955
xor eax, eax
mov ecx, 0x300
lea edi, [esp + 0x70]
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x74]
push ecx
push ebx
call fcn.00420c90
add esp, 0xc
push str.NAVER_LOGIN_FOR_WIDGET_ecookie
lea ecx, [esp + 0x14]
call fcn.00401410
mov eax, dword [esp + 0x20]
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403810
push str.NAVER_LOGIN_FOR_WIDGET_url
lea ecx, [esp + 0x14]
call fcn.004038a0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x14]
call fcn.004038a0
push str.http:__widget.naver.com_login.nhn
lea ecx, [esp + 0x30]
call fcn.0040d760
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x50]
push ecx
call esi
lea edx, [esp + 0x30]
push edx
call esi
lea eax, [esp + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
push eax
push 0
push 0x11
mov byte [esp + 0xc90], 9
mov dword [esp + 0x34], eax
call dword [sym.imp.OLEAUT32.dll_SafeArrayCopyData]
mov ebx, eax
test ebx, ebx
je 0x421a97
lea edx, [esp + 0x24]
push edx
push ebx
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
push 0
lea ecx, [esp + 0x14]
call fcn.004014c0
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00401290
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
mov dword [esi - 8], eax
push ebx
mov byte [eax + esi], 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
push str.Content_Type:_application_x_www_form_urlencoded_r_nReferer:_http:__www.naver.com_r_n
lea ecx, [esp + 0x34]
mov word [esp + 0x44], 0x2011
mov dword [esp + 0x4c], ebx
call fcn.00421220
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x44]
mov esi, eax
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00420a80
push eax
push esi
call dword [ebx + 0x2c]
test eax, eax
jl 0x421a5c
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x421a5c
push esi
call edi
test eax, eax
je 0x421a5c
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.00420fe0
add esp, 8
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [edx + 0x94]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x421a97
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x60]
push ecx
call esi
lea edx, [esp + 0x30]
push edx
call esi
lea eax, [esp + 0x50]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x10]
mov byte [esp + 0xc84], 3
call fcn.00401360
lea ecx, [esp + 0x20]
mov byte [esp + 0xc84], 2
call fcn.00401360
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0xc84], 0
je 0x421af5
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0xc84], 0xffffffff
call fcn.00401360
xor eax, eax
jmp 0x421b45
push edi
call fcn.00420f10
mov edi, eax
mov eax, dword [0x437074]
add ebx, 0xfffffff4
add esp, 4
cmp ebx, eax
mov dword [esp + 0xc84], 0xffffffff
je 0x421b43
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x421b43
push esi
call fcn.004258ee
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0xc7c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc74]
call fcn.004251f6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret