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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [0x448584]
push esi
push edi
push eax
push str.VieCalcVDialogsize___p__n
push 3
push ecx
call fcn.004380f8
lea edx, [esp + 0x20]
push edx
push 2
call sub.gnwie.dll_Wquerydlgsize
mov eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [0x448114]
movzx edx, word [eax + 0x12]
lea ecx, [eax + 0x34]
push ecx
push edx
call sub.gnwie.dll_SCRNquerysize
mov eax, dword [0x448114]
movzx edx, word [eax + 0x14]
lea ecx, [eax + 0x3c]
push ecx
push edx
call sub.gnwie.dll_ENFLquerysize
mov eax, dword [0x448114]
movzx edx, word [eax + 0x16]
lea ecx, [eax + 0x44]
push ecx
push edx
call sub.gnwie.dll_SCRNquerysize
mov eax, dword [0x448950]
mov ecx, dword [eax]
mov edx, dword [0x448114]
push ecx
add edx, 0x4c
push 1
push edx
call sub.gnwie.dll_BTNcalcsize
mov eax, dword [0x448114]
movzx edx, word [eax + 0x1a]
lea ecx, [eax + 0x54]
push ecx
push edx
call sub.gnwie.dll_BTNGqsize
mov eax, dword [0x448958]
mov ecx, dword [eax]
mov esi, dword [0x448114]
add esp, 0x44
push ecx
add esi, 0x64
call fcn.0040ad90
movzx edx, ax
mov eax, dword [0x448958]
mov ecx, dword [eax]
push edx
push ecx
push 0
call sub.gnwie.dll_WFcalctextwidth
add eax, dword [esp + 0x20]
mov ecx, dword [0x44815c]
mov dword [esi], eax
mov edx, dword [esp + 0x24]
mov eax, dword [0x448114]
mov esi, dword [esi]
add edx, ecx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], esi
mov edx, dword [esp + 0x24]
lea ecx, [ecx + ecx*2]
lea ecx, [edx + ecx*2]
mov edx, ecx
add edx, dword [eax + 0x68]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x60], edx
movzx edx, word [eax + 0x1e]
lea ecx, [eax + 0x74]
push ecx
push edx
mov dword [eax + 0x5c], esi
call sub.gnwie.dll_BTNGqsize
mov eax, dword [0x448114]
movzx edx, word [eax + 0x20]
lea ecx, [eax + 0x7c]
push ecx
push edx
call sub.gnwie.dll_BTNGqsize
mov eax, dword [0x44895c]
mov ecx, dword [eax]
mov edx, dword [0x448114]
push ecx
add edx, 0x84
push 0
push edx
call sub.gnwie.dll_BTNcalcsize
mov eax, dword [0x44895c]
mov ecx, dword [eax + 4]
mov edx, dword [0x448114]
push ecx
add edx, 0x8c
push 0
push edx
call sub.gnwie.dll_BTNcalcsize
mov eax, dword [0x448114]
movzx edx, word [eax + 0x26]
lea ecx, [eax + 0x94]
push ecx
push edx
call sub.gnwie.dll_BTNGqsize
mov eax, dword [0x448114]
movzx edx, word [eax + 0x28]
add esp, 0x40
lea ecx, [eax + 0x9c]
push ecx
push edx
call sub.gnwie.dll_BTNGqsize
mov ecx, dword [0x448114]
mov eax, dword [ecx + 0x88]
mov edx, dword [ecx + 0x90]
add esp, 8
cmp eax, edx
mov dword [esp + 8], eax
jg 0x432de5
mov dword [esp + 8], edx
mov eax, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [ecx + 0x34]
mov dword [ecx + 0xa8], eax
mov eax, dword [ecx + 0x44]
cmp ebp, eax
jle 0x432dfd
mov eax, ebp
mov edx, dword [ecx + 0x48]
mov dword [ecx + 0xac], eax
mov eax, dword [ecx + 0x38]
cmp eax, edx
jg 0x432e0f
mov eax, edx
mov edx, dword [ecx + 0x40]
cmp eax, edx
mov dword [ecx + 0xb0], eax
jle 0x432e24
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x432e2a
mov ebx, edx
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x54]
cmp eax, edx
mov dword [ecx + 0xb0], ebx
jg 0x432e3c
mov eax, edx
mov edx, dword [ecx + 0x5c]
cmp eax, edx
mov dword [ecx + 0xb4], eax
jg 0x432e4b
mov eax, edx
mov edx, dword [ecx + 0x74]
cmp eax, edx
mov dword [ecx + 0xb4], eax
jg 0x432e5a
mov eax, edx
mov esi, dword [ecx + 0x7c]
cmp eax, esi
mov dword [ecx + 0xb4], eax
jle 0x432e69
mov esi, eax
mov eax, dword [0x448158]
lea edi, [eax + eax*2]
mov eax, dword [ecx + 0x94]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
mov dword [ecx + 0xb4], esi
jg 0x432e8a
mov esi, eax
mov eax, dword [ecx + 0x9c]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
cmp esi, eax
mov dword [ecx + 0xb4], esi
jg 0x432ea3
mov esi, eax
cmp esi, ebp
mov dword [ecx + 0xb4], esi
jg 0x432eaf
mov esi, ebp
mov eax, dword [ecx + 0x44]
cmp esi, eax
mov dword [ecx + 0xb4], esi
jg 0x432ebe
mov esi, eax
mov eax, dword [0x44815c]
mov ebp, dword [esp + 0x10]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x60]
lea eax, [eax + ebx*2]
add eax, dword [ecx + 0x58]
mov ebx, dword [ecx + 0x80]
add eax, dword [ecx + 0x50]
lea ebx, [ebx + ebp*2]
add ebx, dword [ecx + 0x78]
add eax, edx
add ebx, edx
mov edx, dword [esp + 0x14]
add edx, ebx
cmp eax, edx
pop ebp
mov dword [ecx + 0xb4], esi
mov dword [ecx + 0xb8], eax
pop ebx
jg 0x432f00
mov eax, edx
mov dword [ecx + 0xb8], eax
mov eax, dword [esp + 0x1c]
lea edx, [edi + esi*2]
mov dword [eax], edx
mov edx, dword [ecx + 0xa0]
add edx, dword [ecx + 0x98]
pop edi
add edx, dword [ecx + 0xb8]
pop esi
mov dword [eax + 4], edx
add esp, 0x10
ret