Function at 0x44d2bf
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e76c3
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x541770]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
xor esi, esi
cmp edi, ebx
je 0x44d5d9
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], ebx
mov eax, dword [edi]
push 0x10
push 0xd0
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x44d5bc
push 1
push 0xd
push 0x10
push 0x10
push dword [ebp + 0xc]
call fcn.0040b1d2
test eax, eax
je 0x44d5bc
mov dword [esp + 0x18], ebx
mov byte [esp + 0x58], 1
push dword [edi]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x44d5a5
mov esi, dword [ebp + 8]
cmp dword [0x549328], ebx
jne 0x44d379
mov ecx, dword [esi]
mov eax, 0x416d73
cmp ecx, ebx
je 0x44d374
push 0x509318
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549328], eax
call dword [0x549328]
test eax, eax
je 0x44d3e7
cmp dword [0x54932c], ebx
jne 0x44d3a7
mov ecx, dword [esi]
mov eax, 0x416d73
cmp ecx, ebx
je 0x44d3a2
push 0x50ec7c
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x54932c], eax
call dword [0x54932c]
test eax, eax
je 0x44d3e7
cmp dword [0x549320], ebx
jne 0x44d3d5
mov ecx, dword [esi]
mov eax, 0x416d73
cmp ecx, ebx
je 0x44d3d0
push 0x50ec4c
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549320], eax
push 0x50b524
push ebx
call dword [0x549320]
mov dword [esp + 0x14], eax
jmp 0x44d3eb
mov dword [esp + 0x14], ebx
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x10]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x40]
push eax
lea esi, [esp + 0x20]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0xd0
mov dword [esp + 0x50], 0x10
call fcn.0040a293
push dword [edi]
call dword [sym.imp.GDI32.dll_GetLayout]
push 0xf
pop ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
xor ecx, ecx
inc ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp eax, ecx
jne 0x44d45c
push ebx
push 0xc0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
or ecx, 0xffffffff
mov dword [esp + 0x20], ecx
xor esi, esi
shl dword [esp + 0x20], 4
mov dword [esp + 0x24], ebx
mov eax, 0x5060a8
push str.unused
push dword [eax]
call fcn.004c8c25
pop ecx
pop ecx
test eax, eax
je 0x44d533
cmp dword [esp + 0x14], ebx
je 0x44d51c
mov edi, dword [esi + 0x5060ac]
cmp dword [0x549330], ebx
jne 0x44d4bd
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, 0x44d2a8
cmp ecx, ebx
je 0x44d4b8
push 0x5091ec
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549330], eax
push ebx
lea eax, [esp + 0x30]
push eax
push edi
push 3
push dword [esp + 0x28]
push dword [esp + 0x28]
call dword [0x549330]
mov esi, dword [esi + 0x5060ac]
cmp dword [0x549334], ebx
jne 0x44d501
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, 0x44d2a8
cmp ecx, ebx
je 0x44d4fc
push str.DrawThemeEdge
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x549334], eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
push esi
push 3
push dword [esp + 0x30]
push dword [esp + 0x30]
call dword [0x549334]
jmp 0x44d533
push dword [esi + 0x5060b0]
lea eax, [esp + 0x30]
push 4
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov eax, dword [esp + 0x20]
add dword [esp + 0x2c], eax
add dword [esp + 0x34], eax
inc dword [esp + 0x24]
mov esi, dword [esp + 0x24]
imul esi, esi, 0xc
lea eax, [esi + 0x5060a8]
cmp dword [eax], ebx
jne 0x44d470
cmp dword [esp + 0x14], ebx
je 0x44d56e
push dword [esp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.0044d5f0
mov dword [esp + 0x14], ebx
push dword [esp + 0x28]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0xc]
push 0xff00ff
push dword [esp + 0x20]
push dword [eax]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp dword [esp + 0x14], ebx
je 0x44d5a2
push dword [esp + 0x14]
mov ecx, dword [ebp + 8]
call fcn.0044d5f0
xor esi, esi
inc esi
mov byte [esp + 0x58], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x44d5bc
push eax
mov dword [esp + 0x1c], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x1c], ebx
je 0x44d5d9
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x44d5d9
mov dword [esp + 0x1c], ebx
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc