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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x42c8
call fcn.004516d0
push esi
push edi
push 2
push dword [ebx + 0x10]
mov dword [esp + 0x34], 0x320
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push 9
mov edx, eax
pop ecx
xor eax, eax
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x90]
push eax
push edx
mov dword [esp + 0x98], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x43a8fb
mov eax, dword [esp + 0xa0]
sub eax, dword [esp + 0x98]
sub eax, 0x32
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x2f4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [ebx + 0x10]
mov dword [esp + 0x24], eax
call esi
push 0x3e8
push dword [ebx + 0x10]
mov edi, eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push edi
mov dword [esp + 0x14], eax
call esi
push 0xfffffffffffffff0
push dword [esp + 0x10]
mov dword [esp + 0x30], eax
call esi
push 0xffffffffffffffec
push edi
mov dword [esp + 0x2c], eax
call esi
push 0xffffffffffffffec
push dword [esp + 0x10]
mov dword [esp + 0x74], eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x5c]
push eax
push edi
call esi
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x5c]
push eax
mov eax, ebx
call fcn.0043a846
lea eax, [esp + 0x3c]
push eax
mov eax, ebx
call fcn.0043a846
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
sub edi, dword [esp + 0x5c]
and dword [esp + 0x14], 0
and dword [esp + 0xc], 0
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
sub eax, dword [esp + 0x60]
lea esi, [ebx + 0x48]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x20], edi
mov dword [esp + 0x38], eax
call fcn.00401347
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDC]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x18], eax
je 0x43aa72
mov eax, dword [ebx + 0x44]
cmp dword [eax + 0x2f0], esi
mov dword [esp + 0x10], esi
jle 0x43aa55
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov eax, ecx
lea edx, [eax + 2]
mov dword [esp + 0x20], edx
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x43aa0b
sub eax, dword [esp + 0x20]
lea edx, [esp + 0x4c]
push edx
sar eax, 1
push eax
push ecx
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
test eax, eax
je 0x43aa3d
mov eax, dword [esp + 0x4c]
add eax, 0xa
cmp eax, esi
jle 0x43aa3d
mov esi, eax
inc dword [esp + 0x10]
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 0x10]
add dword [esp + 8], 0x14
cmp ecx, dword [eax + 0x2f0]
jl 0x43a9fc
push dword [esp + 0x18]
sub esi, edi
push dword [ebx + 0x10]
sub dword [esp + 0x38], esi
add dword [esp + 0x44], esi
add edi, esi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebx + 0x44]
and dword [esp + 8], 0
cmp dword [eax + 0x2f0], 0
jle 0x43ac0d
mov ecx, dword [esp + 0x28]
mov eax, 0x10000000
or ecx, eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
or ecx, eax
mov eax, dword [esp + 0x1c]
add eax, 0x10
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
push dword [esp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
push dword [esp + 0x58]
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0x18]
push edi
add eax, esi
push eax
push dword [esp + 0x68]
push dword [esp + 0x38]
push str.STATIC
push dword [esp + 0x84]
push ebx
call fcn.0044e973
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x38]
push eax
push dword [esp + 0x34]
mov eax, dword [esp + 0x48]
add esi, eax
push esi
push dword [esp + 0x48]
push dword [esp + 0x34]
push str.EDIT
push dword [esp + 0x4c]
push ebx
call fcn.0044e973
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push dword [eax]
lea eax, [esp + 0xcc]
push 0x454628
push 0xff
push eax
call sub.msvcrt.dll__snwprintf
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 0x10
lea eax, [esp + 0xc8]
push eax
push dword [esp + 0x1c]
call esi
mov ecx, dword [ebx + 0x40]
mov eax, dword [ecx]
lea edx, [esp + 0x2c8]
push edx
push dword [esp + 0xc]
call dword [eax]
push eax
push dword [esp + 0x20]
call esi
mov eax, dword [ebx + 0x90]
imul eax, dword [esp + 0x38]
add eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x48]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [ecx + 0xc]
test esi, esi
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x54], eax
jl 0x43abdb
cmp esi, 0xffffffff
mov eax, dword [ecx + 8]
jne 0x43abac
push dword [ecx]
call sub.msvcrt.dll_free
jmp 0x43abbc
push eax
push 0xc
lea eax, [ecx + 4]
mov edx, esi
mov edi, ecx
call fcn.00446133
pop ecx
lea eax, [esi + 1]
cmp dword [ebx + 0x54], eax
pop ecx
jge 0x43abc8
mov dword [ebx + 0x54], eax
mov edi, esi
imul edi, edi, 0xc
add edi, dword [ebx + 0x48]
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
add eax, 0xffffff9c
cmp dword [esp + 0x14], eax
jl 0x43abf1
and dword [esp + 0x14], 0
inc dword [esp + 0xc]
inc dword [esp + 8]
mov eax, dword [ebx + 0x44]
mov ecx, dword [esp + 8]
add dword [esp + 0x10], 0x14
cmp ecx, dword [eax + 0x2f0]
jl 0x43aaab
mov eax, dword [esp + 0xc]
and dword [ebx + 0x98], 0
mov edi, ebx
mov dword [ebx + 0x9c], eax
call fcn.0043a7bc
push 1
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x70]
push ecx
push eax
mov dword [esp + 0x3c], eax
call esi
lea eax, [esp + 0x70]
push eax
mov eax, ebx
call fcn.0043a846
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0xb8]
push eax
push dword [ebx + 0x10]
call edi
lea eax, [esp + 0x80]
push eax
push dword [ebx + 0x10]
call esi
mov eax, dword [ebx + 0x9c]
test eax, eax
mov ecx, dword [esp + 0x2c]
jne 0x43ac83
mov ecx, dword [esp + 0x14]
add ecx, 0x46
mov edx, dword [esp + 0x88]
sub edx, dword [esp + 0x80]
mov esi, 0x204
inc edx
test eax, eax
jne 0x43acb9
push 0x206
push ecx
push edx
push eax
push eax
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 4
mov eax, ebx
call fcn.0044eba4
jmp 0x43ad06
xor eax, eax
cmp dword [esp + 0xa0], eax
je 0x43acf3
mov eax, dword [esp + 0x98]
push esi
add eax, 0xa
push ecx
push edx
push eax
mov eax, dword [esp + 0xac]
sub eax, dword [esp + 0xa4]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0xa4]
push eax
push 0
jmp 0x43acfd
push 0x206
push ecx
push edx
push eax
push eax
push eax
push dword [ebx + 0x10]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [esp + 0x80]
push eax
push dword [ebx + 0x10]
call edi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x7c]
sub ecx, eax
sub eax, dword [esp + 0x7c]
push esi
sub eax, dword [esp + 0x88]
inc ecx
push ecx
mov ecx, dword [esp + 0x80]
sub ecx, dword [esp + 0x78]
inc ecx
push ecx
mov ecx, dword [esp + 0x98]
lea eax, [eax + ecx - 6]
push eax
push dword [esp + 0x80]
push 0
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov esp, ebp
pop ebp
ret