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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4d0845
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
lea ecx, [eax - 0x200]
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x20], 0
cmp ecx, 0xe
ja 0x43a91b
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
movsx eax, bx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ebx
cmp eax, dword [esi + 0x20]
je 0x43a902
push 0
push 0
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x1c]
push 0x41d
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x40]
push ecx
push 0
push 0x407
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x10]
cmp eax, 0x30
ja 0x43abb5
je 0x43ab70
lea ecx, [eax - 5]
cmp ecx, 0xf
ja case.0x43a93d.6
movzx ecx, byte [ecx + 0x43b200]
jmp dword [ecx*4 + 0x43b1ec]
mov eax, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x14]
push ebx
test ecx, ecx
je 0x43a997
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
push 0
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, esi
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0
jmp 0x43b1cc
lea edx, [esp + 0xc0]
push edx
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [esp + 0xc0]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x5c]
mov ebx, eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xc8]
mov edx, dword [esp + 0xd4]
push 0xcc0020
push eax
push ecx
push ebx
sub edx, eax
push edx
mov edx, dword [esp + 0xe4]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0xdc]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esp + 0xc0]
push ecx
push edi
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esi + 0x5c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x40]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
lea edx, [esp + 0x2c]
push edx
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43aabe
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x40]
push ecx
mov ecx, dword [esi + 8]
sub eax, ebx
cdq
push ecx
push edx
push eax
call fcn.004c2c00
mov ecx, eax
mov eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
sub eax, ebx
cdq
push edx
push eax
mov eax, dword [esp + 0x40]
push eax
push ecx
call fcn.004cb310
add eax, dword [esi]
mov ebx, dword [ebp + 0x18]
adc edx, dword [esi + 4]
mov dword [esi + 0x2c], edx
jmp 0x43aac3
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
call fcn.00439d00
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
sub edx, dword [esp + 0x40]
sub eax, dword [esp + 0x44]
push edx
mov ecx, esi
call fcn.0043a3b0
mov dword [esi + 0x5c], eax
xor eax, eax
mov dword [esp + 0xc8], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov eax, dword [esi + 0x58]
push ecx
push eax
mov dword [esp + 0xc8], 0x30
mov dword [esp + 0xd0], eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc0]
push edx
push 0
push 0x434
jmp 0x43b1bd
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
test bx, bx
setne bl
movzx ecx, bl
push ecx
push eax
push 0x30
push edx
mov dword [esi + 0x60], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test bl, bl
je 0x43ab9c
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x200
ja 0x43b19c
je 0x43b11b
mov ecx, eax
sub ecx, 0x4e
je 0x43abf8
sub ecx, 0x34
jne case.0x43a93d.6
movzx eax, word [0x4fedbc]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_SetPropW]
test esi, esi
je 0x43b1c4
call fcn.0043b210
jmp 0x43b1c4
mov ecx, dword [ebx]
cmp ecx, dword [esi + 0x1c]
jne case.0x43a93d.6
mov ecx, dword [ebx + 8]
cmp ecx, 0xfffffdee
je 0x43ac36
cmp ecx, 0xfffffdf7
jne case.0x43a93d.6
mov eax, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4de1c0
lea ebx, [esp + 0x28]
call fcn.00402bd0
mov dword [esp + 0x13c], 0
mov edx, dword [esi + 0x28]
sub edx, dword [esi]
mov eax, dword [esi + 0x2c]
sbb eax, dword [esi + 4]
lea edi, [esi + 0x28]
push 0x4e0b18
lea ebx, [esp + 0x38]
mov dword [esp + 0x70], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00402bd0
lea ecx, [esp + 0x98]
push ecx
lea eax, [esp + 0x2c]
mov byte [esp + 0x140], 1
call fcn.00443470
mov ebx, eax
xor al, al
mov ecx, edi
lea esi, [esp + 0x78]
mov byte [esp + 0x13c], 2
call fcn.00443450
push eax
lea edx, [esp + 0xa8]
push edx
mov edx, 0x4e0b08
mov byte [esp + 0x144], 3
call fcn.00490810
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xac]
push edx
push eax
mov byte [esp + 0x148], 4
call fcn.004907a0
push ebx
lea ecx, [esp + 0x94]
push ecx
push eax
mov byte [esp + 0x148], 5
call fcn.004907a0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x84]
push ecx
push eax
mov byte [esp + 0x148], 6
call fcn.004907a0
mov byte [esp + 0x13c], 7
call fcn.00490780
lea edx, [esp + 0x3c]
push edx
mov edi, eax
call fcn.00406720
lea eax, [esp + 0x80]
mov byte [esp + 0x13c], 9
call fcn.00401970
lea eax, [esp + 0x90]
mov byte [esp + 0x13c], 0xa
call fcn.00401970
lea eax, [esp + 0xa8]
mov byte [esp + 0x13c], 0xb
call fcn.00401970
mov byte [esp + 0x13c], 0xc
lea eax, [esp + 0xa4]
call fcn.00401970
mov eax, esi
mov byte [esp + 0x13c], 0xd
call fcn.00401970
lea eax, [esp + 0x98]
mov byte [esp + 0x13c], 0xe
call fcn.00401970
lea eax, [esp + 0x34]
mov byte [esp + 0x13c], 0xf
call fcn.00401970
lea eax, [esp + 0x24]
mov byte [esp + 0x13c], 0x10
call fcn.00401970
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x44]
sub ecx, dword [esi + 0x40]
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
lea edi, [edx + eax - 1]
mov dword [esp + 0x38], edi
test edi, edi
jl 0x43b0e7
call fcn.00439ac0
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
push ecx
push eax
call fcn.00439b00
mov dword [esp + 0x28], eax
test eax, eax
je 0x43b0da
call fcn.00439a70
mov dword [esp + 0xa0], eax
mov eax, dword [eax + 4]
test eax, eax
je 0x43ae1e
mov esi, dword [eax]
jmp 0x43ae20
xor esi, esi
push 0x3b
push esi
call fcn.0049e9fa
add esp, 8
mov dword [esp + 0x88], eax
test eax, eax
je 0x43ae64
mov ecx, eax
sub ecx, esi
mov eax, esi
sar ecx, 1
lea esi, [esp + 0xac]
call fcn.00442d80
mov byte [esp + 0x13c], 0x11
mov ebx, dword [esp + 0x20]
or ebx, 1
mov dword [esp + 0x20], ebx
call fcn.00490780
jmp 0x43ae6a
mov ebx, dword [esp + 0x20]
mov eax, esi
lea edx, [esp + 0x68]
push edx
mov edi, eax
call fcn.00406720
mov dword [esp + 0x13c], 0x13
test bl, 1
je 0x43ae99
and ebx, 0xfffffffe
lea eax, [esp + 0xac]
mov dword [esp + 0x20], ebx
call fcn.00401970
mov edi, dword [esp + 0x88]
test edi, edi
je 0x43aea9
add edi, 2
jmp 0x43aeae
mov edi, 0x4d9064
lea eax, [esp + 0x64]
push eax
call fcn.00406720
mov ecx, dword [esp + 0xa0]
mov byte [esp + 0x13c], 0x14
fld qword [ecx + 8]
fldz
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
fucomp st(1)
mov edx, dword [eax + 0xc]
fnstsw ax
test ah, 0x44
jnp 0x43af32
mov dword [esp + 0xb0], ecx
mov eax, edx
mov ecx, edx
and eax, 0x7fffffff
and ecx, 0x80000000
mov dword [esp + 0xb4], eax
fild qword [esp + 0xb0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], 0
fild qword [esp + 0x40]
sub esp, 8
mov eax, 3
fchs
lea ecx, [esp + 0x7c]
faddp st(1)
fdivrp st(1)
fstp qword [esp]
call fcn.00443880
or ebx, 2
jmp 0x43af42
push edx
fstp st(0)
push ecx
lea eax, [esp + 0x78]
call fcn.00443620
or ebx, 4
mov esi, dword [eax]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], esi
test esi, esi
je 0x43af57
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x13c], 0x16
test bl, 4
je 0x43af77
and ebx, 0xfffffffb
lea eax, [esp + 0x70]
mov dword [esp + 0x20], ebx
call fcn.00401970
mov byte [esp + 0x13c], 0x17
test bl, 2
je 0x43af94
and ebx, 0xfffffffd
lea eax, [esp + 0x74]
mov dword [esp + 0x20], ebx
call fcn.00401970
test esi, esi
je 0x43af9f
lea edi, [esi + 8]
test edi, edi
jne 0x43afa4
mov edi, 0x4d9064
lea edx, [esp + 0x34]
push edx
call fcn.00406720
lea eax, [esp + 0x24]
push eax
mov edi, 0x4dd820
mov byte [esp + 0x140], 0x18
call fcn.00406720
lea ecx, [esp + 0x9c]
push ecx
mov edi, 0x4ddf80
mov byte [esp + 0x140], 0x19
call fcn.00406720
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x98]
push ecx
push eax
mov byte [esp + 0x148], 0x1a
call fcn.00406830
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
mov byte [esp + 0x148], 0x1b
call fcn.00406830
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x88]
push ecx
push eax
mov byte [esp + 0x148], 0x1c
call fcn.00406830
lea edx, [esp + 0x64]
push edx
lea ecx, [esp + 0x80]
push ecx
push eax
mov byte [esp + 0x148], 0x1d
call fcn.00406830
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x140], 0x1e
call fcn.004067b0
lea edi, [esp + 0x7c]
call fcn.00401010
lea edi, [esp + 0x84]
call fcn.00401010
lea edi, [esp + 0x8c]
call fcn.00401010
lea edi, [esp + 0x94]
call fcn.00401010
lea edi, [esp + 0x9c]
call fcn.00401010
lea edi, [esp + 0x24]
call fcn.00401010
lea edi, [esp + 0x34]
call fcn.00401010
lea eax, [esp + 0x28]
mov byte [esp + 0x13c], 0x14
call fcn.00401970
lea edi, [esp + 0x64]
call fcn.00401010
lea edi, [esp + 0x68]
mov byte [esp + 0x13c], 0x10
call fcn.00401010
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x38]
sub edi, 1
mov dword [esp + 0x38], edi
jns 0x43ade5
lea edi, [esi + 0x30]
lea esi, [esp + 0x3c]
mov eax, edi
call fcn.004075e0
mov edi, dword [edi]
test edi, edi
je 0x43b0ff
mov edi, dword [edi]
jmp 0x43b101
xor edi, edi
mov edx, dword [ebp + 0x18]
mov dword [edx + 0xc], edi
lea edi, [esp + 0x3c]
call fcn.00401010
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x18]
jmp 0x43b1c4
mov eax, ebx
shr eax, 0x10
lea edx, [esp + 0xb0]
movsx ecx, ax
push edx
push edi
movsx esi, bx
mov dword [esp + 0x4c], ecx
call dword [sym.imp.USER32.dll_GetClientRect]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, edi
jne 0x43b163
mov eax, dword [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0xb8]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x43b182
call dword [sym.imp.USER32.dll_ReleaseCapture]
jmp 0x43b182
mov edx, dword [esp + 0x44]
push edx
push esi
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x43b1c4
push edi
call dword [sym.imp.USER32.dll_SetCapture]
push 0
push 0
push 5
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x43b1c4
cmp eax, 0x201
jne case.0x43a93d.6
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push edi
movzx ecx, ax
push ecx
push 0x111
push edi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14