Function at 0x402180
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42de81
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x43f50c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5c
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x28], 0
push 0
push eax
mov dword [ebp - 0xa4], 0x60
call fcn.0041aab0
movaps xmm0, xmmword [0x42f860]
add esp, 0xc
movups xmmword [ebp - 0x44], xmm0
call fcn.00404b2d
mov ecx, eax
test ecx, ecx
je 0x402600
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, str.UninstallString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
test eax, 0xffff0000
jne 0x402215
movzx eax, ax
push eax
call fcn.00401c10
jmp 0x402221
push 0xf
push str.UninstallString
call fcn.00402050
mov dword [ebp - 4], 1
call fcn.00404b2d
mov ecx, eax
test ecx, ecx
je 0x40260a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.SoftwareNaverNaver_Whale
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x402260
movzx eax, ax
push eax
call fcn.00401c10
jmp 0x40226c
push 0x1a
push str.SoftwareNaverNaver_Whale
call fcn.00402050
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00403670
add esp, 0x10
mov edx, dword [ebp - 0x14]
or ebx, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4022aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4022c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x4022e2
push 0x18
push str.installerwhalesetup.exe
call fcn.00402050
jmp 0x4022f1
push str.whalesetup.exe
push str.setup.exe
call fcn.00401dd0
call fcn.00404b2d
mov ecx, eax
test ecx, ecx
je 0x402614
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x85
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00401c10
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 9
mov eax, dword [edi]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x402337
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x40234d
call fcn.00404b2d
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x40261e
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x28], 1
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esi
mov eax, dword [eax - 0xc]
mov dword [ebp + 8], eax
lea edi, [eax + 2]
test edi, edi
js 0x402628
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x402392
push edi
lea ecx, [ebp - 0x24]
call fcn.00401d20
mov esi, dword [ebp - 0x24]
test esi, esi
jne 0x4023a8
call fcn.0041d889
mov dword [eax], 0x16
call fcn.0041d7cc
jmp 0x4023af
mov eax, dword [0x42f780]
mov dword [esi], eax
mov eax, dword [ebp + 8]
add eax, eax
push eax
push dword [ebp - 0x20]
push eax
lea eax, [esi + 4]
push eax
call fcn.004026c0
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x402628
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov eax, esi
mov edi, dword [ebp - 0x1c]
sub eax, edi
mov edx, dword [esi - 0xc]
sar eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [edi - 0xc]
mov dword [ebp + 8], ecx
test edx, edx
js 0x402632
push edx
push esi
call fcn.0041d9c4
mov edx, dword [ebp + 8]
mov ecx, SysReAllocString
sub ecx, eax
mov dword [ebp - 0x20], eax
add esp, 8
cmp ecx, edx
jl 0x40263c
lea ecx, [edx + eax]
test ecx, ecx
js 0x402646
mov eax, 1
sub eax, dword [edi - 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi - 8]
sub eax, ecx
or eax, dword [ebp - 0x2c]
jge 0x402442
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401d20
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
lea ecx, [edi + eax*2]
cmp eax, edx
jbe 0x40244e
mov ecx, esi
mov eax, dword [ebp - 0x20]
add eax, eax
push eax
push ecx
push eax
lea eax, [edi + edx*2]
push eax
call fcn.004026c0
mov eax, dword [ebp + 8]
add esp, 0x10
add eax, dword [ebp - 0x20]
cmp eax, dword [edi - 8]
jg 0x402628
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
add esi, 0xfffffff0
mov byte [ebp - 4], 8
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x402495
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00404ffa
mov eax, dword [eax + 8]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 0x12
call fcn.00404ffa
push 0x145
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x44]
push 0
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x80], 2
push eax
mov dword [ebp - 0x90], 0x87
mov dword [ebp - 0x88], 0x84
mov dword [ebp - 0x84], edi
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
test eax, eax
js 0x4025b2
cmp dword [ebp - 0x34], 0x3e8
jne 0x4025b2
lea eax, [ebp - 0x10]
push eax
call fcn.00402d00
add esp, 4
test eax, eax
je 0x4025a4
call fcn.00404b2d
mov ecx, eax
test ecx, ecx
je 0x402650
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, str.__install_x86
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 8]
test eax, 0xffff0000
jne 0x402560
movzx eax, ax
push eax
call fcn.00401c10
jmp 0x40256c
push 0xd
push str.__install_x86
call fcn.00402050
push 0
push 1
lea eax, [ebp + 8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00402c60
mov edx, dword [ebp + 8]
add esp, 0x10
mov byte [ebp - 4], 8
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4025b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4025b2
push 0
push 0
push 0x42f7a4
call fcn.00408443
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4025cd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4025ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00401310
push 0x80004005
call fcn.00401310
push 0x80004005
call fcn.00401310
push 0x80004005
call fcn.00401310
push 0x80070057
call fcn.00401310
push 0x80070057
call fcn.00401310
push 0x80070057
call fcn.00401310
push 0x80070057
call fcn.00401310
push 0x80004005
call fcn.00401310
int3