Function at 0x433ac0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a3a87
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor edi, edi
cmp esi, ebx
je 0x433d90
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], ebx
mov eax, dword [esi]
push 0x10
push 0xd0
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x433d73
push 1
push 0xd
push 0x10
push 0x10
push dword [ebp + 0xc]
call fcn.0041d2f1
test eax, eax
je 0x433d73
mov dword [esp + 0x14], ebx
mov byte [esp + 0x40], 1
push dword [esi]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x433d5c
mov edi, dword [ebp + 8]
cmp dword [0x4ec6d8], ebx
jne 0x433b7a
mov ecx, dword [edi]
mov eax, 0x4110bd
cmp ecx, ebx
je 0x433b75
push 0x4bd5f8
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ec6d8], eax
call dword [0x4ec6d8]
test eax, eax
je 0x433be8
cmp dword [0x4ec6dc], ebx
jne 0x433ba8
mov ecx, dword [edi]
mov eax, 0x4110bd
cmp ecx, ebx
je 0x433ba3
push 0x4c24c8
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ec6dc], eax
call dword [0x4ec6dc]
test eax, eax
je 0x433be8
cmp dword [0x4ec6d0], ebx
jne 0x433bd6
mov ecx, dword [edi]
mov eax, 0x4110bd
cmp ecx, ebx
je 0x433bd1
push 0x4c24a8
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ec6d0], eax
push 0x4bf20c
push ebx
call dword [0x4ec6d0]
mov dword [esp + 0x10], eax
jmp 0x433bec
mov dword [esp + 0x10], ebx
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 0x10]
lea esi, [esp + 0x18]
mov dword [esp + 0x24], eax
call fcn.00433dce
push 0xf
pop eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
mov eax, 0x4bb870
xor esi, esi
push str.unused
push dword [eax]
call fcn.0048c07a
pop ecx
pop ecx
test eax, eax
je 0x433cee
cmp dword [esp + 0x10], ebx
je 0x433cd7
mov edi, dword [esi + 0x4bb874]
cmp dword [0x4ec6e0], ebx
jne 0x433c75
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, 0x433aa9
cmp ecx, ebx
je 0x433c70
push 0x4bd5d4
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ec6e0], eax
push ebx
lea eax, [esp + 0x28]
push eax
push edi
push 3
push dword [esp + 0x24]
push dword [esp + 0x24]
call dword [0x4ec6e0]
mov esi, dword [esi + 0x4bb874]
cmp dword [0x4ec6e4], ebx
jne 0x433cb9
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov eax, 0x433aa9
cmp ecx, ebx
je 0x433cb4
push str.DrawThemeEdge
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ec6e4], eax
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push esi
push 3
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call dword [0x4ec6e4]
mov edi, dword [ebp + 8]
jmp 0x433cee
push dword [esi + 0x4bb878]
lea eax, [esp + 0x28]
push 4
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawFrameControl]
add dword [esp + 0x24], 0x10
add dword [esp + 0x2c], 0x10
inc dword [esp + 0x1c]
mov esi, dword [esp + 0x1c]
imul esi, esi, 0xc
lea eax, [esi + 0x4bb870]
cmp dword [eax], ebx
jne 0x433c28
cmp dword [esp + 0x10], ebx
je 0x433d26
push dword [esp + 0x10]
mov ecx, edi
call fcn.00433da7
mov dword [esp + 0x10], ebx
push dword [esp + 0x20]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp + 0xc]
push 0xff00ff
push dword [esp + 0x1c]
push dword [eax]
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
cmp dword [esp + 0x10], ebx
je 0x433d59
push dword [esp + 0x10]
mov ecx, edi
call fcn.00433da7
xor edi, edi
inc edi
mov byte [esp + 0x40], bl
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x433d73
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
or dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x18], ebx
je 0x433d90
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x433d90
mov dword [esp + 0x18], ebx
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc