Function at 0x459c46
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], edi
call fcn.00431b45
mov esi, dword [ebp + 8]
xor ebx, ebx
mov eax, esi
shr eax, 0x10
test ax, ax
je 0x459e46
cmp word [esi], 0x3c
jne 0x459c9c
push ecx
mov ecx, esp
push esi
call fcn.0043c2b8
lea ecx, [esp + 0x7c]
call fcn.0043a77a
test eax, eax
je 0x459ebd
jmp 0x45a0bb
push dword [0x4ad238]
lea ecx, [esp + 0x3c]
push dword [0x4ad234]
call fcn.0044f480
mov eax, dword [0x4ad248]
test eax, eax
jne 0x459d46
push dword [0x4ad238]
lea ecx, [esp + 0x2c]
push dword [0x4ad234]
call fcn.0044f480
mov ecx, esi
call fcn.0044ccce
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.0044f4e0
push dword [esp + 0x2c]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
push esi
call fcn.0044f480
test esi, esi
je 0x459d03
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x78]
mov ecx, esi
call fcn.004335f7
mov dword [esp + 0x24], eax
test esi, esi
je 0x459d26
push esi
call dword [sym.imp.msvcrt.dll_free]
mov eax, dword [esp + 0x28]
pop ecx
test eax, eax
je 0x459e30
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45a0bb
push eax
call dword [sym.imp.msvcrt.dll_free]
jmp 0x45a0ba
push eax
push dword [0x4ad244]
lea ecx, [esp + 0x40]
call fcn.0044f4e0
cmp byte [0x4ac174], bl
je 0x459d65
mov eax, dword [0x4ad1ac]
jmp 0x459d6e
mov ecx, dword [esp + 0x38]
call fcn.0044adb6
mov dword [esp + 0x20], eax
test eax, eax
je 0x459d2e
lea ecx, [esp + 0xc0]
mov edx, esi
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
mov ecx, eax
call fcn.0044ae48
add esp, 0xc
test eax, eax
jne 0x459d2e
mov esi, dword [esp + 0x2ec]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x459d2e
cmp esi, 0x400000
ja 0x459d2e
push esi
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov edx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
mov ecx, esi
push eax
mov dword [esp + 0x24], eax
call fcn.0044ae7d
add esp, 0xc
test eax, eax
je 0x459df9
cmp eax, 0x600
je 0x459df9
push dword [esp + 0x18]
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
cmp byte [0x4ac174], bl
jne 0x459d2e
mov ecx, esi
call fcn.0044aeb0
jmp 0x459d2e
cmp byte [0x4ac174], bl
jne 0x459e08
mov ecx, esi
call fcn.0044aeb0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0043a7ac
pop ecx
push dword [esp + 0x18]
mov esi, eax
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
test esi, esi
jne 0x459d2e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x459ebd
push eax
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x459ebd
push ebx
push esi
call fcn.0045695d
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x45a0bb
push esi
call fcn.0045695d
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x459e83
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x45a0bb
lea eax, [esp + 0x78]
push eax
push esi
call fcn.0045695d
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [esp + 0x28]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, esi
mov ecx, eax
call fcn.0043a7ac
pop ecx
test eax, eax
jne 0x45a0bb
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [esp + 0x94]
mov dword [esp + 0x74], esi
mov eax, dword [esi]
test eax, eax
jne 0x459ed3
mov eax, 0x4934ec
push str.Window
push eax
mov eax, dword [sym.imp.msvcrt.dll__wcsicmp]
mov dword [esp + 0x1c], eax
call eax
pop ecx
pop ecx
test eax, eax
jne 0x45a0aa
cmp dword [edi + 4], ebx
je 0x45a0aa
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x45a0aa
mov eax, dword [sym.imp.msvcrt.dll_wcstol]
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.msvcrt.dll__wtoi]
mov dword [esp + 0x50], eax
mov eax, dword [sym.imp.USER32.dll_CharNextW]
mov dword [esp + 0x20], eax
mov eax, dword [sym.imp.msvcrt.dll_wcstoul]
mov dword [esp + 0x18], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x4c], eax
mov eax, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x54], eax
mov eax, dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [esp + 0x58], eax
mov eax, dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [esp + 0x5c], eax
mov edi, dword [ecx]
test edi, edi
jne 0x459f59
mov edi, 0x4934ec
mov esi, dword [ecx + 4]
test esi, esi
jne 0x459f65
mov esi, 0x4934ec
push str.size
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a002
push 0xa
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
mov esi, dword [esp + 0x28]
call esi
add esp, 0xc
mov edi, eax
lea eax, [esp + 0xc]
push 0xa
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
imul edi, dword [0x4ac170]
add esp, 0xc
mov esi, eax
xor edx, edx
imul esi, dword [0x4ac170]
push 0x60
mov eax, edi
pop edi
div edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x48], eax
push 0x60
pop ecx
mov dword [edi + 0x84], eax
mov eax, esi
div ecx
mov dword [edi + 0x88], eax
cmp dword [edi + 0x58], ebx
jne 0x45a08c
cmp dword [edi + 4], ebx
je 0x45a08c
push 0x16
push eax
push dword [esp + 0x50]
push ebx
push ebx
push ebx
push dword [edi + 4]
call dword [esp + 0x68]
jmp 0x45a08c
push str.sizebox
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a0e1
push 0xa
pop edi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
mov esi, dword [esp + 0x28]
call esi
add esp, 0xc
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
add esp, 0xc
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
add esp, 0xc
mov dword [esp + 0x30], eax
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
mov edi, dword [esp + 0x1c]
lea esi, [esp + 0x34]
mov dword [esp + 0x40], eax
add esp, 0xc
lea edi, [edi + 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x10], ebx
je 0x45a0a6
mov eax, dword [eax + 0x18]
mov ecx, eax
mov dword [esp + 0x24], eax
test eax, eax
jne 0x459f4e
mov esi, dword [esp + 0x74]
push dword [ebp + 0x14]
xor edx, edx
mov ecx, esi
push edi
call fcn.00458f0e
pop ecx
mov ebx, eax
pop ecx
mov ecx, dword [esp + 0xb8]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [esp + 0xac]
call fcn.0043295e
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.caption
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a16f
push 0xa
pop edi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
mov esi, dword [esp + 0x28]
call esi
add esp, 0xc
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
add esp, 0xc
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
add esp, 0xc
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc]
push edi
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x44]
add ecx, 0xa4
mov dword [esp + 0x50], eax
mov edi, ecx
add esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00458ece
jmp 0x45a088
push str.roundcorner
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a1e1
push 0xa
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
mov esi, dword [esp + 0x28]
call esi
add esp, 0xc
mov edi, eax
lea eax, [esp + 0xc]
push 0xa
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
imul edi, dword [0x4ac170]
add esp, 0xc
mov esi, eax
xor edx, edx
imul esi, dword [0x4ac170]
push 0x60
mov eax, edi
pop edi
div edi
mov edi, dword [esp + 0x10]
xor edx, edx
push 0x60
pop ecx
mov dword [edi + 0x9c], eax
mov eax, esi
div ecx
mov dword [edi + 0xa0], eax
jmp 0x45a08c
push str.mininfo
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a24d
push 0xa
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
mov esi, dword [esp + 0x28]
call esi
add esp, 0xc
mov edi, eax
lea eax, [esp + 0xc]
push 0xa
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
imul edi, dword [0x4ac170]
add esp, 0xc
mov esi, eax
xor edx, edx
imul esi, dword [0x4ac170]
push 0x60
mov eax, edi
pop edi
div edi
mov edi, dword [esp + 0x10]
xor edx, edx
push 0x60
pop ecx
mov dword [edi + 0x74], eax
mov eax, esi
div ecx
mov dword [edi + 0x78], eax
jmp 0x45a08c
push str.maxinfo
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a2bc
push 0xa
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
push esi
mov esi, dword [esp + 0x28]
call esi
add esp, 0xc
mov edi, eax
lea eax, [esp + 0xc]
push 0xa
push eax
mov eax, dword [esp + 0x14]
add eax, 2
push eax
call esi
imul edi, dword [0x4ac170]
add esp, 0xc
mov esi, eax
xor edx, edx
imul esi, dword [0x4ac170]
push 0x60
mov eax, edi
pop edi
div edi
mov edi, dword [esp + 0x10]
xor edx, edx
push 0x60
pop ecx
mov dword [edi + 0x7c], eax
mov eax, esi
div ecx
mov dword [edi + 0x80], eax
jmp 0x45a08c
push str.showdirty
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a2ea
push str.true
push esi
call dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
neg eax
pop ecx
sbb al, al
inc al
pop ecx
mov byte [edi + 0x54], al
jmp 0x45a08c
push str.alpha
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a362
push esi
call dword [esp + 0x54]
mov esi, eax
pop ecx
test esi, esi
jns 0x45a30a
mov eax, ebx
jmp 0x45a315
mov eax, 0xff
cmp esi, eax
jg 0x45a315
mov eax, esi
mov edi, dword [esp + 0x10]
mov dword [edi + 8], eax
cmp dword [edi + 4], ebx
je 0x45a08c
push 0xffffffffffffffec
push dword [edi + 4]
call dword [esp + 0x5c]
mov ecx, eax
cmp esi, 0xff
ja 0x45a33f
or eax, 0x80000
jmp 0x45a344
and eax, 0xfff7ffff
cmp ecx, eax
je 0x45a352
push eax
push 0xffffffffffffffec
push dword [edi + 4]
call dword [esp + 0x64]
push 2
push esi
push ebx
push dword [edi + 4]
call dword [esp + 0x6c]
jmp 0x45a08c
push str.bktrans
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a393
push str.true
push esi
call dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
neg eax
pop ecx
sbb al, al
inc al
pop ecx
mov byte [edi + 0xbc], al
jmp 0x45a08c
push str.disabledfontcolor
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a3d4
push 0x23
pop eax
cmp word [esi], ax
jne 0x45a3b2
push esi
call dword [esp + 0x24]
mov esi, eax
push 0x10
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ebx
push eax
push esi
call dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x12c], eax
jmp 0x45a08c
push str.defaultfontcolor
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a415
push 0x23
pop eax
cmp word [esi], ax
jne 0x45a3f3
push esi
call dword [esp + 0x24]
mov esi, eax
push 0x10
lea eax, [esp + 0x68]
mov dword [esp + 0x68], ebx
push eax
push esi
call dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x130], eax
jmp 0x45a08c
push str.linkfontcolor
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a456
push 0x23
pop eax
cmp word [esi], ax
jne 0x45a434
push esi
call dword [esp + 0x24]
mov esi, eax
push 0x10
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], ebx
push eax
push esi
call dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x134], eax
jmp 0x45a08c
push str.linkhoverfontcolor
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a497
push 0x23
pop eax
cmp word [esi], ax
jne 0x45a475
push esi
call dword [esp + 0x24]
mov esi, eax
push 0x10
lea eax, [esp + 0x70]
mov dword [esp + 0x70], ebx
push eax
push esi
call dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x138], eax
jmp 0x45a08c
push str.selectedcolor
push edi
call dword [esp + 0x1c]
pop ecx
pop ecx
test eax, eax
jne 0x45a088
push 0x23
pop eax
cmp word [esi], ax
jne 0x45a4ba
push esi
call dword [esp + 0x24]
mov esi, eax
push 0x10
lea eax, [esp + 0x74]
mov dword [esp + 0x74], ebx
push eax
push esi
call dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
add esp, 0xc
mov dword [edi + 0x13c], eax
jmp 0x45a08c