Function at 0x480220
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515f54
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x573be0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x573be0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
mov dword [esp + 0x4c], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str._iMarginY
mov dword [esp + 0xa0], 0
test eax, 0xffff0000
jne 0x4802cf
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4802dd
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x4802dd
push str._iMarginY
lea ecx, [esp + 0x20]
call fcn.00420650
mov dword [esp + 0xa0], 1
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, str._iMarginX
mov byte [esp + 0xa0], 2
test eax, 0xffff0000
jne 0x48032b
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x480339
push edi
push eax
lea ecx, [esp + 0x30]
call fcn.00420bb0
jmp 0x480339
push str._iMarginX
lea ecx, [esp + 0x2c]
call fcn.00420650
mov byte [esp + 0xa0], 3
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov eax, str._strBgImagePath
mov byte [esp + 0xa0], 4
test eax, 0xffff0000
jne 0x480384
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x480392
push edi
push eax
lea ecx, [esp + 0x3c]
call fcn.00420bb0
jmp 0x480392
push str._strBgImagePath
lea ecx, [esp + 0x38]
call fcn.00420650
mov byte [esp + 0xa0], 5
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str._iHeight
mov byte [esp + 0xa0], 6
test eax, 0xffff0000
jne 0x4803dd
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4803eb
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x4803eb
push str._iHeight
lea ecx, [esp + 0x1c]
call fcn.00420650
mov byte [esp + 0xa0], 7
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.iWidth
mov byte [esp + 0xa0], 8
test eax, 0xffff0000
jne 0x480436
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x480444
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x480444
push str.iWidth
lea ecx, [esp + 0x18]
call fcn.00420650
push str.resizeNotification
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 9
call fcn.004204a0
mov byte [esp + 0xa0], 0xa
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 0xb
call fcn.00421890
add esp, 4
push dword [esp + 0x24]
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 0xc
call fcn.00421800
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xa4], 0xd
call fcn.00421890
add esp, 4
mov edi, dword [esp + 0x40]
push edi
mov edx, eax
lea ecx, [esp + 0x80]
mov byte [esp + 0xa4], 0xe
call fcn.00421800
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov edx, eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xa4], 0xf
call fcn.00421890
add esp, 4
push dword [esp + 0x44]
mov edx, eax
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 0x10
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x28]
push ecx
mov edx, eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0xa4], 0x11
call fcn.00421890
add esp, 4
push ebx
mov edx, eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xa4], 0x12
call fcn.00421800
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xa4], 0x13
call fcn.00421890
add esp, 4
push dword [esp + 0x38]
mov edx, eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa4], 0x14
call fcn.00421800
add esp, 4
mov byte [esp + 0xa0], 0x15
cmp dword [esi + 0x24], 0
je 0x4805a1
push 0
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004219a0
mov byte [esp + 0xa0], 0x14
mov edx, dword [esp + 0x68]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4805c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x13
mov edx, dword [esp + 0x60]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4805ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x12
mov edx, dword [esp + 0x70]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480613
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x11
mov edx, dword [esp + 0x78]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480638
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x10
mov edx, dword [esp + 0x74]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48065d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xf
mov edx, dword [esp + 0x6c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480682
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xe
mov edx, dword [esp + 0x7c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4806a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xd
mov edx, dword [esp + 0x64]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4806cc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xc
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4806f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xb
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480716
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0xa
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48073b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 9
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480760
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 7
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 5
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4807aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 3
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4807cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 1
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4807f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xa0], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48081c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x28], 0
je 0x480d29
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0xb4], eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
mov dword [esi + 0xb8], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
call fcn.00496450
mov eax, dword [esp + 0x28]
add esp, 4
cmp dword [esp + 0x18], eax
jle 0x48086f
cmp dword [esp + 0x14], edi
jg 0x4809c7
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.error_width_of_control_and_image_problem
mov dword [esp + 0xa0], 0x16
test eax, 0xffff0000
jne 0x4808b5
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x4808c3
push edi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x4808c3
push str.error_width_of_control_and_image_problem
lea ecx, [esp + 0x20]
call fcn.00420650
push str.resizeNotification
lea ecx, [esp + 0x24]
mov dword [esp + 0xa4], 0x17
call fcn.004204a0
mov byte [esp + 0xa0], 0x18
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x3c], edi
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa4], 0x19
call fcn.00421890
add esp, 4
mov byte [esp + 0xa0], 0x1a
cmp dword [esi + 0x24], 0
je 0x480934
push 2
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esi + 0x20]
push eax
call fcn.004219a0
mov byte [esp + 0xa0], 0x19
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480959
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [esp + 0xa0], 0x18
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48097a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x17
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x48099f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0xa0], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4809c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [esp + 0x84]
push eax
push 0
push 0x30
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
mov dword [esp + 0xa0], 0x1b
mov ecx, dword [esp + 0x80]
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
movq qword [esp + 0x54], xmm0
mov dword [esp + 0x5c], 0
test ecx, ecx
je 0x480a74
cmp dword [esp + 0x84], 0
jne 0x480a74
mov edi, dword [esp + 0x8c]
sub edi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
sub edi, eax
add ebx, ecx
mov ecx, dword [esp + 0x18]
jmp 0x480b20
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov ebx, eax
call edi
mov edx, dword [esp + 0x88]
mov ecx, edx
sub ecx, dword [esp + 0x80]
cmp ecx, ebx
jne 0x480aa3
mov edi, dword [esp + 0x8c]
cmp edi, eax
jb 0x480afc
lea ecx, [esp + 0x80]
call fcn.00484780
test eax, eax
jne 0x480aee
cmp dword [esp + 0x80], eax
jne 0x480ade
mov eax, dword [esp + 0x84]
test eax, eax
je 0x480ade
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x88]
add edi, eax
sub ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
jmp 0x480b1a
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
jmp 0x480b28
mov edi, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
sub edi, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
sub edi, dword [esp + 0x84]
mov ebx, edx
sub ebx, dword [esp + 0x4c]
sub edi, eax
sub ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
sub ebx, ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
add ecx, ebx
mov dword [esp + 0x58], ecx
lea ecx, [edi + eax]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
cdq
sub eax, edx
sar eax, 1
push 0
lea ecx, [eax + ebx]
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, edi
mov edi, dword [esp + 0x44]
push edi
push dword [esp + 0x2c]
add ebx, 0x30
push eax
push ecx
push 0
push dword [edx - 0x58]
mov dword [ebx], ecx
mov dword [edx + 0x34], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x34]
add eax, edi
mov edi, dword [esp + 0x24]
add edi, dword [ebx]
mov dword [ecx + 0x3c], eax
mov eax, dword [ecx + 0x28]
mov dword [ecx + 0x38], edi
sub edi, dword [ebx]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x68]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x28]
sub eax, dword [edi + 0x34]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x70]
push dword [esp + 0x44]
mov ecx, dword [edi + 0x6c]
push ebx
lea eax, [esp + 0x58]
push eax
call fcn.0044f770
test al, al
jne 0x480ce0
push str.installer_runs_close_this_one
lea ecx, [esp + 0x20]
call fcn.00420550
push str.init
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 0x1c
call fcn.004204a0
mov byte [esp + 0xa0], 0x1d
mov eax, dword [0x574ba4]
mov ecx, 0x574ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa4], 0x1e
call fcn.00421890
add esp, 4
mov byte [esp + 0xa0], 0x1f
cmp dword [edi + 0x24], 0
je 0x480c47
push 1
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.004219a0
mov byte [esp + 0xa0], 0x1e
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480c6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x1d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480c94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x1c
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480cb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xa0], 0x1b
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x480ce3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x480ce3
or ebx, 0xffffffff
mov edi, dword [edi + 0x6c]
push 0
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x1c]
sub eax, ecx
push eax
mov eax, dword [edi + 0x24]
sub eax, edx
push eax
push ecx
push edx
push 0
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
add esi, 0xfffffff0
mov dword [esp + 0xa0], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x480d29
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004e8f3a
mov esp, ebp
pop ebp
ret 0x18