Function at 0x43f044
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57deed
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5d64b0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x5d64b0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 0x1c9], 0
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], edi
je 0x43f0f1
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebx + 0x20]
jne 0x43f0f1
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x43f0f1
push dword [esp + 0x4c]
mov esi, dword [ebx + 0x20]
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
push 0
push 0
push 0xf2
push esi
cmp eax, esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x43f0e5
call esi
test al, 4
jne 0x43f0f1
push 0
push 1
push 0xf3
push dword [ebx + 0x20]
call esi
jmp 0x43f6ff
call esi
test al, 4
je 0x43f0f1
push 0
push 0
jmp 0x43f0d6
call fcn.0044069a
push eax
lea ecx, [esp + 0x2c]
call fcn.00401054
and dword [esp + 0x80], 0
push dword [edi + 0x18]
call fcn.00443d3f
lea esi, [edi + 0x1c]
lea edi, [esp + 0x50]
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 + 0x58]
mov esi, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x50]
mov ecx, edi
sub ecx, eax
mov dword [esp + 0x40], ecx
mov ecx, esi
sub ecx, edx
mov dword [esp + 0x38], ecx
movsx ecx, word [ebx + 0x25c]
sub edi, ecx
add eax, 2
add eax, ecx
sub edi, 2
lea ecx, [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
call fcn.004432b9
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x80], 1
test esi, esi
jne 0x43f17d
xor eax, eax
jmp 0x43f180
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call fcn.00443b00
and dword [esp + 0x34], 0
mov dword [esp + 0x30], vtable.CBitmap.0
push dword [esp + 0x38]
mov byte [esp + 0x84], 2
push dword [esp + 0x44]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x34]
call fcn.00443b36
push dword [esp + 0x34]
push dword [esp + 0x1c]
call fcn.0044415a
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.004468d6
push 1
lea ecx, [esp + 0x18]
call fcn.004442a5
and dword [esp + 0x3c], 0
cmp dword [ebx + 0x78], 0
je 0x43f209
lea eax, [ebx + 0x74]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call dword [eax + 0x28]
mov dword [esp + 0x3c], eax
jmp 0x43f21b
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [esp + 0x18]
call fcn.0043e9de
xor edx, edx
cmp dword [ebx + 0x26c], edx
je 0x43f27e
mov eax, dword [ebx + 0x290]
cmp eax, 0x100
je 0x43f26e
cmp eax, 0x200
je 0x43f25c
cmp eax, 0x300
jne 0x43f27e
mov eax, dword [ebx + 0x288]
add dword [esp + 0x64], eax
movsx eax, word [ebx + 0x25c]
or ecx, 0xffffffff
sub ecx, eax
add dword [esp + 0x6c], ecx
jmp 0x43f27e
mov eax, dword [ebx + 0x27c]
sub eax, dword [ebx + 0x284]
add dword [esp + 0x68], eax
jmp 0x43f27e
mov eax, dword [ebx + 0x284]
sub eax, dword [ebx + 0x27c]
add dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
test byte [eax + 0x10], 4
je 0x43f37b
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [ebx + 0xf8]
cmp dword [ecx], edx
je 0x43f2a9
push edx
push edx
push dword [esp + 0x20]
call fcn.0043eb8a
jmp 0x43f2bc
push 0xf
call edi
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00451f69
mov ecx, dword [ebx + 0x288]
mov eax, dword [ebx + 0x284]
mov edx, dword [ebx + 0x278]
sub ecx, dword [ebx + 0x280]
sub eax, dword [ebx + 0x27c]
push 0
test edx, edx
jne 0x43f2ea
push 0x20
push dword [ebx + 0x26c]
jmp 0x43f2ed
push 0
push edx
push ecx
push eax
push dword [ebx + 0x280]
lea ecx, [esp + 0x2c]
push dword [ebx + 0x27c]
call fcn.0043e9fb
cmp dword [ebx + 0x268], 0
je 0x43f329
cmp byte [ebx + 0x294], 0
jne 0x43f329
push 0xf
push 5
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawEdge]
mov esi, dword [esp + 0x14]
push 0x14
call edi
push eax
lea ecx, [esp + 0x18]
call dword [esi + 0x30]
push dword [ebx + 0x28c]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x64]
push ecx
push dword [eax - 0xc]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x24]
call dword [eax + 0x68]
mov esi, dword [esp + 0x14]
push 0x11
call edi
push eax
lea ecx, [esp + 0x18]
call dword [esi + 0x30]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
jmp 0x43f660
test byte [eax + 0x10], 1
jne 0x43f4c9
cmp byte [ebx + 0x88], dl
jne 0x43f4c9
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
lea eax, [ebx + 0x90]
cmp dword [eax], edx
je 0x43f3c2
cmp byte [ebx + 0x1c8], dl
je 0x43f3b3
lea ecx, [ebx + 0x12c]
cmp dword [ecx], edx
jne 0x43f3b5
mov ecx, eax
push edx
push edx
push dword [esp + 0x20]
call fcn.0043eb8a
jmp 0x43f3d5
push 0xf
call esi
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00451f69
mov edx, dword [ebx + 0x274]
test edx, edx
je 0x43f3e8
cmp byte [ebx + 0x1c8], 0
jne 0x43f3f2
mov edx, dword [ebx + 0x26c]
test edx, edx
je 0x43f426
mov ecx, dword [ebx + 0x288]
sub ecx, dword [ebx + 0x280]
mov eax, dword [ebx + 0x284]
sub eax, dword [ebx + 0x27c]
push 0
push 0
push edx
push ecx
push eax
push dword [ebx + 0x280]
lea ecx, [esp + 0x2c]
push dword [ebx + 0x27c]
call fcn.0043e9fb
cmp dword [ebx + 0x268], 0
je 0x43f5b8
cmp byte [ebx + 0x1c8], 0
jne 0x43f449
cmp byte [ebx + 0x294], 0
jne 0x43f5b8
mov edi, dword [esp + 0x24]
test byte [edi + 0x10], 0x20
je 0x43f48b
mov esi, dword [sym.imp.USER32.dll_DrawEdge]
push 0xf
push 0xa
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call esi
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0xf
push 5
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call esi
jmp 0x43f5bc
cmp byte [ebx + 0x294], 0
je 0x43f4b1
push 0x10
call esi
push eax
push 0x14
call esi
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.00451c1d
jmp 0x43f5bc
push 0xf
push 5
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x43f5bc
lea ecx, [ebx + 0xc4]
cmp dword [ecx], edx
je 0x43f4e6
mov eax, dword [ebx + 0x268]
push eax
push eax
push dword [esp + 0x20]
call fcn.0043eb8a
jmp 0x43f4fd
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00451f69
cmp dword [ebx + 0x270], 0
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
je 0x43f55d
cmp byte [ebx + 0x89], 0
je 0x43f522
push 1
lea eax, [ebx + 0x27c]
push 1
push eax
call edi
lea esi, [ebx + 0x27c]
push 0
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, dword [esi]
push 0
push dword [ebx + 0x270]
push ecx
push eax
push dword [esi + 4]
lea ecx, [esp + 0x2c]
push dword [esi]
call fcn.0043e9fb
cmp byte [ebx + 0x89], 0
je 0x43f571
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
call edi
cmp byte [ebx + 0x89], 0
je 0x43f571
push 1
push 1
lea eax, [esp + 0x68]
push eax
call edi
cmp dword [ebx + 0x268], 0
je 0x43f5b8
cmp byte [ebx + 0x294], 0
je 0x43f5a5
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x20]
call fcn.00451c1d
jmp 0x43f5b8
push 0xf
push 0xa
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x24]
call dword [sym.imp.USER32.dll_DrawEdge]
mov edi, dword [esp + 0x24]
test byte [edi + 0x10], 0x10
je 0x43f63e
movzx eax, word [ebx + 0x25c]
test ax, ax
jle 0x43f63e
cwde
neg eax
push eax
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x50]
push dword [esp + 0x54]
inc eax
push eax
push dword [esp + 0x20]
lea esi, [ebx + 0x160]
mov ecx, esi
call fcn.0043eb8a
mov eax, dword [esp + 0x50]
push dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x20]
mov ecx, esi
call fcn.0043eb8a
mov eax, dword [esp + 0x54]
inc eax
push eax
push dword [esp + 0x54]
lea esi, [ebx + 0x194]
push dword [esp + 0x20]
mov ecx, esi
call fcn.0043eb8a
mov eax, dword [esp + 0x54]
inc eax
push eax
push dword [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x20]
call fcn.0043eb8a
cmp byte [ebx + 0x1c8], 0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
je 0x43f657
push dword [ebx + 0x264]
jmp 0x43f65d
push dword [ebx + 0x260]
call dword [eax + 0x30]
push dword [ebx + 0x28c]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x64]
push ecx
push dword [eax - 0xc]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x24]
call dword [eax + 0x68]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x43f692
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
call dword [eax + 0x28]
mov eax, dword [esp + 0x2c]
push 0xcc0020
xor ebx, ebx
push ebx
push ebx
push dword [esp + 0x24]
push dword [esp + 0x48]
push dword [esp + 0x54]
push ebx
push ebx
push dword [eax + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x43f6ca
push dword [eax + 4]
push dword [esp + 0x1c]
call fcn.0044415a
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.CBitmap.0
call fcn.0040278c
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], bl
call fcn.004433f9
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.0040101a
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00554591
mov esp, ebp
pop ebp
ret 4