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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x472008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
lea eax, [esp + 0x3c]
mov ebx, ecx
push eax
push 0xf3c
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], eax
sub eax, esi
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
push 0xf3d
push dword [ebx + 4]
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x4c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x20]
push 1
push 0
push dword [ebx + 4]
sub eax, esi
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [edi + edi]
mov esi, 0x320
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
sub edi, eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.USER32.dll_MapDialogRect]
test eax, eax
jne 0x437577
lea eax, [esi + esi*2]
cdq
sub eax, edx
sar eax, 1
jmp 0x43757f
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cmp eax, edi
jle 0x43759c
lea ecx, [esi + esi*8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp esi, 0x28
jg 0x437543
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebx + 0x144], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebx + 0x7c]
sub eax, dword [esp + 0x38]
push 0x67
push dword [ebx + 4]
mov dword [ebp + 0x10], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 1
push eax
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x66
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 1
push eax
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
push 0x64
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
push 1
push eax
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [ebx + 0x78]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
lea eax, [eax + esi*2]
add eax, esi
cmp eax, edi
jle 0x4376fc
lea esp, [esp]
cmp ecx, 5
jl 0x4376e3
dec ecx
sub eax, 2
mov dword [esp + 0x10], ecx
cmp eax, edi
jg 0x4376d0
jmp 0x4376fc
lea eax, [ecx + ecx]
mov ecx, edi
sub ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
mov dword [esp + 0xc], esi
cmp esi, 2
jge 0x43770a
mov esi, 2
mov dword [esp + 0xc], esi
lea eax, [esp + 0x24]
push eax
push 0x65
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 0x7c]
mov dword [esp + 0x14], eax
lea eax, [ecx + ecx*2]
cdq
and edx, 3
add eax, edx
mov edx, edi
sar eax, 2
add eax, ecx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x4377b0
mov ecx, eax
lea eax, [esi + esi]
cmp edx, eax
jle 0x4377b0
sub edx, esi
push 1
push ecx
push edx
push dword [esp + 0x2c]
push dword [esp + 0x44]
push dword [ebx + 0xb4]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x34]
push 2
push dword [ebx + 4]
sub eax, esi
mov esi, dword [ebx + 0x7c]
mov dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push esi
mov esi, dword [esp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x10]
push 0x1be
push dword [ebx + 4]
add eax, esi
mov esi, dword [ebx + 0x7c]
sub dword [ebp + 0xc], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push esi
push dword [esp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [ebx + 0x7c]
push 0x1bc
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
sub edx, dword [esp + 0x10]
push 1
push esi
push ecx
push dword [ebp + 0x10]
sub edx, ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x3c
call dword [sym.imp.USER32.dll_MapDialogRect]
test eax, eax
jne 0x437889
lea esi, [eax + 0x5a]
jmp 0x437891
mov esi, dword [esp + 0x2c]
sub esi, dword [esp + 0x24]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x48
mov dword [esp + 0x38], 0x48
call dword [sym.imp.USER32.dll_MapDialogRect]
test eax, eax
jne 0x4378cd
mov dword [esp + 0x10], 0x6c
jmp 0x4378d9
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], 4
call dword [sym.imp.USER32.dll_MapDialogRect]
test eax, eax
jne 0x437910
lea edx, [eax + 6]
jmp 0x437918
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
lea ecx, [eax + esi]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x14], ecx
cmp ecx, edi
jge 0x437942
mov ecx, edi
mov eax, 0x55555556
sub ecx, dword [esp + 0x14]
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
add esi, eax
jmp 0x437952
lea ecx, [eax + eax]
mov eax, edi
sub eax, ecx
sub eax, edx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov ecx, dword [esp + 0x10]
xor eax, eax
test esi, esi
sets al
dec eax
and eax, esi
add ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
lea eax, [ecx + ecx]
sub edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edi
xor esi, esi
mov dword [esp + 0xc], eax
lea ecx, [ecx]
mov edi, dword [esp + 0x34]
cmp esi, 0xa
jb 0x437995
jne 0x43798f
mov dword [esp + 0xc], eax
add edi, ecx
add edi, dword [esp + 0x3c]
mov eax, dword [esi*4 + 0x465e00]
test eax, eax
je 0x4379c0
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x18]
push edi
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [esi*4 + 0x465e04]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x14]
push 1
push dword [esp + 0x1c]
add ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esp + 0x4c]
add esi, 2
add dword [esp + 0xc], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
cmp esi, 0x14
jb 0x437980
mov ecx, dword [esp + 0x54]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045e090
mov esp, ebp
pop ebp
ret 0xc