Function at 0x42c0f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x7c]
push ebx
push ebp
mov ebx, 1
push esi
cmp eax, 3
push edi
mov esi, ecx
mov dword [esp + 0x10], ebx
ja case.default.0x42c10f
jmp dword [eax*4 + 0x42c8d8]
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
cmp eax, ebx
jne 0x42c1f3
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebp
push edi
push ebx
mov dword [esp + 0x20], ebx
call fcn.0042ee70
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x80], ebx
jne 0x42c161
mov edx, dword [esp + 0x88]
or ebx, eax
mov dword [edx], ebx
jmp 0x42c72d
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x108], eax
je 0x42c1e5
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DrawThemeBackground
push eax
call ebx
test eax, eax
mov dword [esi + 0x110], eax
je 0x42c1b3
mov ecx, dword [esi + 0x108]
push str.OpenThemeData
push ecx
call ebx
test eax, eax
je 0x42c1ca
mov edx, dword [esi + 4]
push str.Window
push edx
call eax
mov dword [esi + 0x10c], eax
jmp 0x42c1ca
mov eax, dword [esi + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x108], 0
mov ecx, dword [esi + 0x108]
push str.DrawThemeParentBackground
push ecx
call ebx
mov ebx, dword [esp + 0x80]
mov dword [esi + 0x114], eax
mov edx, dword [esp + 0x88]
mov dword [edx], ebx
jmp 0x42c72d
cmp eax, 2
jne 0x42c26a
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebp
push edi
push 2
mov dword [esp + 0x20], ebx
call fcn.0042f140
mov ebx, eax
mov eax, dword [esi + 0x108]
test eax, eax
je 0x42c25c
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x42c245
push str.CloseThemeData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c245
mov ecx, dword [esi + 0x10c]
push ecx
call eax
mov dword [esi + 0x10c], 0
mov edx, dword [esi + 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x108], 0
mov eax, dword [esp + 0x88]
mov dword [eax], ebx
jmp 0x42c72d
cmp eax, 0x31a
jne 0x42c2c5
mov eax, dword [esi + 0x108]
mov dword [esp + 0x10], ebx
test eax, eax
je 0x42c2b3
mov ecx, dword [esi + 0x10c]
test ecx, ecx
je 0x42c2ac
push str.CloseThemeData
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c2ac
mov ecx, dword [esi + 0x10c]
push ecx
call eax
mov dword [esi + 0x10c], 0
mov ecx, esi
call fcn.00431be0
mov edx, dword [esp + 0x88]
mov dword [edx], 0
jmp 0x42c72d
cmp eax, 5
jne 0x42c303
mov ecx, dword [esi + 0x3c]
push ebp
push edi
push eax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], 1
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edx, ebp
mov ebx, eax
shr edx, 0x10
movsx eax, dx
push eax
mov ecx, esi
call fcn.0042c930
mov ecx, dword [esp + 0x88]
mov dword [ecx], ebx
jmp 0x42c72d
cmp eax, 0x83
jne 0x42c380
mov edx, dword [esi + 4]
push ebp
push edi
push eax
mov eax, dword [esi + 0x3c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov cl, byte [esi + 0xd8]
test cl, cl
je 0x42c724
test edi, edi
je 0x42c724
test byte [esi + 0x81], 0x40
je 0x42c35f
mov ecx, dword [esi + 0x104]
mov edx, dword [ebp]
add edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp], edx
mov edx, dword [esi + 0x100]
sub ecx, edx
mov dword [ebp + 8], ecx
jmp 0x42c724
mov ecx, dword [esi + 0x100]
mov edx, dword [ebp]
add edx, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp], edx
mov edx, dword [esi + 0x104]
sub ecx, edx
mov dword [ebp + 8], ecx
jmp 0x42c724
cmp eax, 0x85
jne 0x42c5d1
push ebp
push edi
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.00431680
mov dword [esp + 0x8c], eax
mov al, byte [esi + 0xd8]
test al, al
je 0x42c5bc
mov edx, dword [esi + 4]
lea ecx, [esp + 0x14]
push edx
call fcn.00428b10
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esi + 0x100]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
sub ebx, eax
push ebx
push edx
push 0
lea eax, [esp + 0x30]
sub edi, ecx
push 0
push eax
mov dword [esp + 0x98], edi
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x42c42b
mov eax, dword [esi + 0x114]
test eax, eax
je 0x42c422
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 4]
push edx
push ecx
call eax
jmp 0x42c44a
lea edx, [esp + 0x24]
push 5
push edx
jmp 0x42c441
test byte [esi + 0x54], 1
je 0x42c43a
lea eax, [esp + 0x24]
push 0xf
push eax
jmp 0x42c441
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
call fcn.004315c0
xor edx, edx
lea eax, [esp + 0x34]
mov dword [esp + 0x38], edx
mov ecx, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x34], 0
push edx
push eax
push ebx
push edi
mov dword [esp + 0x50], edx
call fcn.00431b50
mov ecx, dword [esi + 0xf4]
mov edx, dword [esi + 0xf0]
mov eax, dword [esi + 0xe0]
push 3
push 0
push 0
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.004315e0
mov eax, dword [esi + 0x104]
push ebx
push edi
sub edi, eax
push 0
lea eax, [esp + 0x30]
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x10c]
test eax, eax
je 0x42c562
mov eax, dword [esi + 0x114]
xor edi, edi
cmp eax, edi
je 0x42c559
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_GetViewportOrgEx]
mov ecx, dword [esi + 0x100]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edi
add ecx, edx
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0042c9a0
mov edx, dword [esi + 0x100]
push edi
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
lea eax, [esp + 0x28]
neg edx
push edx
push eax
call edi
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push edx
push eax
call dword [esi + 0x114]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.0042c9a0
mov eax, dword [esi + 0x100]
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
call edi
jmp 0x42c581
lea edx, [esp + 0x24]
push 0xf
push edx
jmp 0x42c578
test byte [esi + 0x54], 1
je 0x42c571
lea eax, [esp + 0x24]
push 0xf
push eax
jmp 0x42c578
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
call fcn.004315c0
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x48]
mov dword [esp + 0x44], 0
lea edx, [esp + 0x44]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x88]
push edx
push ebx
push eax
mov ecx, esi
call fcn.0042c8f0
lea ecx, [esp + 0x14]
call fcn.00428b30
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
mov dword [ecx], edx
jmp 0x42c72d
cmp eax, 0x84
jne 0x42c689
push ebp
push edi
push eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.00431680
mov ebx, eax
mov al, byte [esi + 0xd8]
test al, al
je 0x42c67b
mov edx, dword [esi + 4]
xor eax, eax
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x2c], eax
push ecx
push edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
mov dl, byte [esi + 0x81]
movsx eax, bp
sub eax, ecx
test dl, 0x40
je 0x42c65e
cmp eax, dword [esi + 0x104]
jl 0x42c676
mov edx, dword [esp + 0x2c]
sub edx, dword [esi + 0x100]
sub edx, ecx
cmp eax, edx
jle 0x42c67b
mov eax, dword [esp + 0x88]
mov ebx, 0x12
mov dword [eax], ebx
jmp 0x42c72d
cmp eax, dword [esi + 0x100]
jl 0x42c676
mov edx, dword [esp + 0x2c]
sub edx, dword [esi + 0x104]
sub edx, ecx
cmp eax, edx
jle 0x42c67b
mov ebx, 0x12
mov eax, dword [esp + 0x88]
mov dword [eax], ebx
jmp 0x42c72d
cmp eax, 0xa1
jne 0x42c6ae
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push ebp
push edi
push eax
mov ecx, esi
call fcn.0042e3f0
mov edx, dword [esp + 0x88]
mov dword [edx], eax
jmp 0x42c72d
cmp eax, 0x200
jne 0x42c6ce
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push ebp
push edi
push 0x200
mov dword [esp + 0x20], ebx
call fcn.0042e730
jmp 0x42c724
cmp eax, 0x202
jne 0x42c6ea
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push ebp
push edi
push eax
mov dword [esp + 0x20], ebx
call fcn.0042e8b0
jmp 0x42c724
cmp eax, 0xa3
jne 0x42c706
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push ebp
push edi
push eax
mov dword [esp + 0x20], ebx
call fcn.0042ea40
jmp 0x42c724
cmp eax, 0x215
jne 0x42c744
lea edx, [esp + 0x10]
mov ecx, esi
push edx
push ebp
push edi
push eax
mov dword [esp + 0x20], 1
call fcn.0042ebc0
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42c744
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 0x18
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push 0
push edx
push ebp
push edi
push eax
push ecx
mov ecx, esi
call fcn.0042cbe0
test eax, eax
je case.default.0x42c10f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 0x18
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x80]
cmp eax, 6
jne 0x42c7c7
mov al, byte [esi + 0x80]
push 0x501
test bp, bp
setne dl
shl dl, 7
and al, 0x7f
push 0
or dl, al
push 0
lea ecx, [esi + 4]
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x80], dl
call fcn.004152c0
mov dword [esp + 0x10], 0
mov dword [edi], ebx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
push ebx
push edi
push ecx
push ebp
push edx
push eax
mov ecx, esi
call fcn.0042cbe0
test eax, eax
je case.default.0x42c10f
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x64
ret 0x18
cmp dword [esp + 0x7c], 0x230
jne case.default.0x42c10f
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebx
push ecx
push edx
push eax
push 0x230
mov ecx, esi
call fcn.0042c9c0
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
test eax, eax
je case.default.0x42c10f
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x64
ret 0x18
mov edi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x88]
mov ebx, dword [esp + 0x84]
cmp edi, 0xffff
ja 0x42c89d
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x10]
push edx
push ebx
push eax
push edi
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.0042ec50
mov dword [ebp], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42c89d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 0x18
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
push 3
push ebp
push ebx
push ecx
push edi
push edx
mov ecx, esi
call fcn.0042cbe0
test eax, eax
je case.default.0x42c10f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x64
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret 0x18