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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x58c
mov eax, dword [esp + 0x5b0]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5ac]
mov dword [esp], eax
call fcn.004cbd10
mov eax, dword [esp + 0x5ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x431f95
cmp byte [eax], 0
jne 0x431ecb
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 4]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 8]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x5ac]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4322ed
mov dword [esp + 0x30], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x5ac]
mov esi, dword [esp + 0x30]
mov eax, dword [eax + 0x18]
mov ebp, dword [eax + esi*4]
mov eax, dword [ebp]
cmp eax, 6
mov dword [esp + 0x2c], eax
je 0x431b45
cmp dword [esp + 0x2c], 9
movzx esi, byte [ebp + 8]
je 0x431a70
mov eax, dword [ebp + 0xc]
movzx edi, ax
shr eax, 0x10
add eax, 1
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
lea eax, [edi + edi*8]
shl eax, 2
lea edx, [esp + eax + 0x100]
mov ecx, dword [esp + eax + 0x100]
mov ebx, dword [edx + 0x14]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0xb0], ebx
mov ebx, dword [edx + 0x18]
mov dword [esp + 0xa0], ecx
mov ecx, dword [edx + 8]
mov dword [esp + 0xb4], ebx
mov ebx, dword [edx + 0x1c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x20]
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xbc], edx
add ebx, edi
lea edi, [ebx + ebx*8 - 9]
shl edi, 2
mov edx, dword [esp + edi + 0x114]
sub edx, dword [esp + eax + 0x114]
add edx, dword [esp + edi + 0x110]
cmp ebx, dword [esp + 0x40]
mov dword [esp + 0xac], edx
jle 0x43110e
lea edx, [ebx + ebx*8]
lea eax, [esp + eax + 0x10c]
xor edi, edi
lea ebx, [esp + edx*4 + 0x10c]
lea esi, [esi]
mov edx, dword [eax]
cmp edx, ecx
jle 0x4310fd
mov ecx, edx
mov edi, 1
add eax, 0x24
cmp ebx, eax
jne 0x4310f0
mov eax, edi
test al, al
jne 0x43231b
mov eax, esi
test al, al
je 0x4311ab
cmp dword [esp + 0x4c], 0xf
jg 0x431cb3
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x9c], 0
lea edx, [edi + edi*8]
mov dword [esp + edi*4 + 0xc0], ebp
add edi, 1
mov dword [esp + 0x4c], edi
shl edx, 2
lea eax, [esp + edx + 0x340]
mov dword [esp + edx + 0x340], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xa8]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0xac]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0xb0]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0xb4]
mov dword [eax + 0x18], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0xbc]
mov dword [eax + 0x20], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
cmp eax, 8
ja case.0x4311e4.6
jmp dword [eax*4 + 0x4ec4c4]
movsx edx, byte [ebp + 0x24]
mov eax, dword [ebp + 4]
lea ebx, [esp + 0x9c]
call fcn.0042e9e0
mov edi, dword [esp + 0x38]
mov esi, eax
movzx eax, byte [ebp + 0x24]
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], edi
mov byte [esp + 0x8c], al
call fcn.0042f940
lea eax, [edi + 2]
mov dword [esp], ebx
mov dword [esp + 0xc], 0x4ec482
mov dword [esp + 4], 0x4ec35b
mov dword [esp + 0x10], eax
lea eax, [edi + 1]
mov dword [esp + 8], eax
call fcn.0042fa20
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x4ec35b
call fcn.004d3f50
mov dword [esp], esi
mov ebx, eax
mov esi, edi
call fcn.004cd6d0
mov dword [esp + 0x2c], 2
mov dword [esp + 0x34], 3
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x431673
mov dword [esp + 8], 0
mov dword [esp + 4], 0x24
mov dword [esp], 1
call fcn.004cd640
mov edi, eax
mov dword [eax], ebp
mov dword [eax + 4], esi
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5a4]
mov dword [edi + 0x20], ebx
add eax, esi
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x8c]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x90]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x98]
mov dword [edi + 0x1c], eax
mov dword [esp], ecx
mov dword [esp + 4], edi
call fcn.00430d50
mov dword [esp + 4], edi
mov edi, dword [esp + 0x5a0]
mov dword [esp], edi
call fcn.00430c20
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 0x20]
add eax, ecx
cmp esi, ecx
cmovne eax, ecx
test edx, edx
mov dword [esp + 0x38], eax
je 0x43152e
mov ebx, ebp
lea eax, [esp + 0x7c]
mov dword [esp + 0x34], ebp
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [esp + 0x5a4]
xor esi, esi
mov dword [esp + 0x2c], eax
mov dword [esp + 8], 0x42e830
mov dword [esp + 4], ebx
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.004d1860
test eax, eax
je 0x431a40
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 8
test eax, eax
je 0x431a11
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call edi
sub esp, 8
test eax, eax
je 0x4313c8
mov eax, dword [esp + 0x88]
add eax, dword [esp + 0x80]
cmp esi, eax
cmovl esi, eax
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x431360
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x48], esi
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x5a4]
mov dword [esp + 8], 0x42e830
mov dword [esp + 4], ebp
mov eax, dword [eax]
mov dword [esp], eax
call fcn.004d1860
test eax, eax
mov ebx, eax
je 0x4319f0
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 8
test eax, eax
je 0x4319c0
lea esi, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], esi
call edi
sub esp, 8
test eax, eax
je 0x431523
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x78]
sub eax, dword [esp + 0x70]
mov edx, eax
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 0x3c], eax
je 0x431523
mov eax, dword [ebx + 8]
test eax, eax
jle 0x431523
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x54], ebp
add eax, esi
mov ebp, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 4], esi
mov dword [esp], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edi
sub esp, 8
test eax, eax
je 0x431512
mov eax, dword [esp + 0x7c]
mov dword [esp], ebp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x80]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
sub esp, 8
test eax, eax
je 0x431512
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], 0x15
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
sub esp, 0x1c
add esi, 1
cmp dword [esp + 0x34], esi
jne 0x431481
mov ebp, dword [esp + 0x54]
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x4313e0
mov eax, dword [esp + 0x40]
cmp eax, 0xffffffff
je 0x431569
mov edx, dword [esp + 0x44]
add edx, eax
cmp eax, edx
jge 0x431569
lea eax, [eax + eax*8]
lea edx, [edx + edx*8]
mov ecx, dword [esp + 0xa8]
lea eax, [esp + eax*4 + 0x10c]
lea edx, [esp + edx*4 + 0x10c]
lea esi, [esi]
mov dword [eax], ecx
add eax, 0x24
cmp edx, eax
jne 0x431560
mov esi, dword [esp + 0x5ac]
add dword [esp + 0x30], 1
mov eax, dword [esp + 0x30]
cmp dword [esi + 0x10], eax
ja 0x431003
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x4315b9
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x5a8]
xor eax, eax
mov esi, esi
lea edi, [edi]
lea edx, [eax + eax*8]
mov edx, dword [esp + edx*4 + 0x10c]
cmp dword [ecx + 0xc], edx
jge 0x4315b2
mov dword [ecx + 0xc], edx
add eax, 1
cmp ebx, eax
jg 0x4315a0
mov eax, dword [esp + 0x5b0]
mov esi, dword [esp + 0x38]
mov dword [eax], esi
mov eax, dword [esp + 0x5ac]
mov eax, dword [eax + 4]
test eax, eax
je 0x4315dd
cmp byte [eax], 0
jne 0x431eb1
add esp, 0x58c
pop ebx
pop esi
pop edi
pop ebp
ret
movsx edx, byte [ebp + 0x24]
mov eax, dword [ebp + 4]
call fcn.0042e9e0
cmp byte [ebp + 0x34], 0
mov ebx, eax
movzx eax, byte [ebp + 0x24]
mov esi, dword [esp + 0x38]
mov byte [esp + 0x8c], al
lea eax, [esi + 2]
jne 0x431df0
mov dword [esp + 0x14], eax
mov eax, esi
lea esi, [esi + 1]
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], 0x4ec478
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00430230
mov dword [esp], ebx
xor ebx, ebx
call fcn.004cd6d0
mov ecx, dword [esp + 0x9c]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x34], 3
test ecx, ecx
jne 0x4312a1
mov dword [esp], ebx
call fcn.004cd6d0
jmp 0x43152e
movsx edx, byte [ebp + 0x24]
mov eax, dword [ebp + 4]
call fcn.0042e9e0
mov dword [esp + 0x48], eax
movzx eax, byte [ebp + 0x24]
mov byte [esp + 0x8c], al
mov eax, dword [esp + 0x38]
add eax, 1
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x3c], eax
jne 0x432070
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x4321f0
mov eax, dword [ebp + 0x34]
cmp eax, 0x64
je 0x4322a4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042fce0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], 2
mov eax, dword [ebp + 0x38]
test eax, eax
jne 0x4320f6
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004cd6d0
mov esi, dword [esp + 0x38]
jmp 0x431292
movsx edx, byte [ebp + 0x24]
mov eax, dword [ebp + 4]
mov esi, 2
call fcn.0042e9e0
mov ebx, eax
movzx eax, byte [ebp + 0x24]
cmp byte [ebp + 0x26], 0
cmove esi, dword [esp + 0x38]
mov byte [esp + 0x8c], al
movzx eax, byte [ebp + 0x25]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042faf0
mov dword [esp], ebx
xor ebx, ebx
call fcn.004cd6d0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 1
jmp 0x431292
movsx edx, byte [ebp + 0x24]
mov eax, dword [ebp + 4]
call fcn.0042e9e0
mov ebx, eax
movzx eax, byte [ebp + 0x24]
mov esi, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov byte [esp + 0x8c], al
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042f640
jmp 0x43176a
mov eax, dword [ebp + 0x2c]
movsx edx, byte [ebp + 0x24]
mov dword [esp + 0x2c], eax
add eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
call fcn.0042e9e0
mov dword [esp + 0x48], eax
movzx eax, byte [ebp + 0x24]
mov dword [esp + 8], 0
mov dword [esp + 4], 8
mov byte [esp + 0x8c], al
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
call fcn.004cd640
mov edx, dword [ebp + 0x2c]
mov esi, eax
test edx, edx
jle 0x431c30
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov edi, 1
add eax, 1
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x34]
jmp 0x43185c
movzx edx, byte [eax + ebx]
mov byte [esp + edi + 0x8c], dl
add edi, 1
mov edx, dword [ebp + 0x2c]
add ebx, 1
cmp edx, ebx
jle 0x431c30
xor edx, edx
test eax, eax
je 0x431866
movsx edx, byte [eax + ebx]
mov eax, dword [ebp + 0x30]
mov eax, dword [eax + ebx*4]
call fcn.0042e9e0
mov dword [esi + ebx*8], eax
mov eax, dword [esp + 0x3c]
add eax, ebx
mov dword [esi + ebx*8 + 4], eax
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x43184e
cmp edi, 0xf
jle 0x431840
mov dword [esp + 8], 0x638
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.nshortcuts___MAX_SHORTCUTS_PER_CTRL
call fcn.004d8b40
mov eax, dword [ebp + 0x34]
jmp 0x431840
movsx edx, byte [ebp + 0x24]
mov eax, dword [ebp + 4]
call fcn.0042e9e0
mov ebx, eax
movzx eax, byte [ebp + 0x24]
mov esi, dword [esp + 0x38]
add esi, 1
mov byte [esp + 0x8c], al
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x3c], esi
cmp eax, 0x64
je 0x432040
cmp byte [ebp + 0x2d], 0
jne 0x432240
cmp byte [ebp + 0x2c], 0
mov dword [esp + 0x10], eax
mov ecx, 0x42f0c0
mov eax, dword [esp + 0x3c]
mov edx, 0x42f0f0
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
cmove edx, ecx
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call edx
mov dword [esp], ebx
xor ebx, ebx
call fcn.004cd6d0
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], 2
jmp 0x431292
cmp byte [ebp + 0x24], 0
je 0x431e14
lea eax, [esp + 0x7c]
lea esi, [esp + 0x9c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042f6b0
xor edx, edx
mov ebx, eax
call fcn.0042e9e0
mov edi, eax
mov eax, dword [esp + 0x38]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.0042f940
mov dword [esp], edi
call fcn.004cd6d0
mov dword [esp], ebx
xor ebx, ebx
call fcn.004cd6d0
mov esi, dword [esp + 0x38]
mov dword [esp + 0x34], 1
jmp 0x431292
mov dword [esp + 8], 0x6da
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], 0x4ec4c0
mov dword [esp + 0x34], eax
call fcn.004d8b40
mov eax, dword [esp + 0x34]
jmp 0x431429
mov dword [esp + 8], 0x6d7
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.thisc
call fcn.004d8b40
jmp 0x431407
mov dword [esp + 8], 0x6cb
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], 0x4ec4c0
mov dword [esp + 0x3c], eax
call fcn.004d8b40
mov eax, dword [esp + 0x3c]
jmp 0x4313a1
mov dword [esp + 8], 0x6c8
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.thisc
mov dword [esp + 0x3c], eax
call fcn.004d8b40
mov eax, dword [esp + 0x3c]
jmp 0x43137f
mov eax, esi
test al, al
jne 0x431c92
mov eax, dword [esp + 0x4c]
xor ebx, ebx
mov ebp, dword [ebp + 0x24]
test eax, eax
je 0x431aa2
cmp ebp, dword [esp + 0xc0]
jne 0x431a9b
jmp 0x431abe
cmp dword [esp + ebx*4 + 0xc0], ebp
je 0x431abe
add ebx, 1
cmp ebx, eax
jne 0x431a92
mov dword [esp + 8], 0x5c0
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.i___ntabdelays
call fcn.004d8b40
lea edx, [ebx + ebx*8]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xffffffff
shl edx, 2
lea eax, [esp + edx + 0x340]
mov edx, dword [esp + edx + 0x340]
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0xa0], edx
mov edx, dword [eax + 8]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0xac], edx
mov edx, dword [eax + 0x14]
mov dword [esp + 0xb0], edx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov eax, dword [ebp]
mov dword [esp + 0x2c], eax
jmp 0x4311ab
cmp dword [ebp + 0x24], 1
sete dl
cmp dword [esp + 0x50], 1
sete al
cmp dl, al
je 0x431e90
cmp dword [esp + 0x50], 1
je 0x431ce0
mov edx, dword [esp + 0x10c]
jle 0x431b93
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x130]
lea ecx, [esi + esi*8]
lea ebx, [esp + ecx*4 + 0x10c]
mov ecx, dword [eax]
cmp edx, ecx
cmovl edx, ecx
add eax, 0x24
cmp ebx, eax
jne 0x431b85
mov eax, dword [esp + 0x5a8]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x50], 1
mov eax, dword [eax]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 4]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 8]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x120], eax
jmp 0x431569
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov eax, dword [ebp + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x48]
mov dword [esp], eax
lea eax, [esp + 0x9c]
call fcn.0042edc0
mov edi, dword [ebp + 0x2c]
test edi, edi
jle 0x431c73
xor ebx, ebx
nop
lea esi, [esi]
mov eax, dword [esi + ebx*8]
add ebx, 1
mov dword [esp], eax
call fcn.004cd6d0
cmp dword [ebp + 0x2c], ebx
jg 0x431c60
mov dword [esp], esi
xor ebx, ebx
call fcn.004cd6d0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004cd6d0
mov esi, dword [esp + 0x38]
jmp 0x431292
mov dword [esp + 8], 0x5ba
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str._ctrl__delay_taborder
call fcn.004d8b40
jmp 0x431a7a
mov dword [esp + 8], 0x5df
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.ntabdelays___lenof_tabdelays_
call fcn.004d8b40
mov eax, dword [ebp]
mov dword [esp + 0x2c], eax
jmp 0x431123
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
mov dword [esp + 0x50], eax
ja 0x4321ae
cmp dword [esp + 0x50], 1
jle 0x4321d5
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x124]
lea edx, [esi + esi*8]
lea ecx, [esp + edx*4 + 0x100]
mov edx, dword [esp + 0x100]
add eax, 0x24
mov dword [eax - 0x24], edx
mov edx, dword [esp + 0x104]
mov dword [eax - 0x20], edx
mov edx, dword [esp + 0x108]
mov dword [eax - 0x1c], edx
mov edx, dword [esp + 0x10c]
mov dword [eax - 0x18], edx
mov edx, dword [esp + 0x110]
mov dword [eax - 0x14], edx
mov edx, dword [esp + 0x114]
mov dword [eax - 0x10], edx
mov edx, dword [esp + 0x118]
mov dword [eax - 0xc], edx
mov edx, dword [esp + 0x11c]
mov dword [eax - 8], edx
mov edx, dword [esp + 0x120]
mov dword [eax - 4], edx
cmp ecx, eax
jne 0x431d10
mov eax, dword [esp + 0x50]
lea esi, [esp + 0x110]
mov ebp, dword [ebp + 0x28]
xor ebx, ebx
lea eax, [eax + eax*8]
lea eax, [esi + eax*4]
mov dword [esp + 0x34], eax
nop
lea esi, [esi]
mov ecx, dword [esi]
mov eax, dword [ebp]
add esi, 0x24
mov edi, dword [esi - 0x20]
add ebp, 4
add ecx, 3
add eax, ebx
imul ebx, ecx
mov dword [esp + 0x2c], eax
mov eax, 0x51eb851f
imul ecx, dword [esp + 0x2c]
imul ebx
sar ebx, 0x1f
mov eax, 0x51eb851f
sar edx, 5
sub edx, ebx
lea ebx, [edx + edi]
imul ecx
sar ecx, 0x1f
sub edi, ebx
mov dword [esi - 0x20], ebx
mov ebx, dword [esp + 0x2c]
sar edx, 5
sub edx, ecx
lea eax, [edi + edx - 3]
mov dword [esi - 0x24], eax
cmp dword [esp + 0x34], esi
jne 0x431d90
jmp 0x431569
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0042faf0
jmp 0x431646
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x9c]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
xor ebx, ebx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 0x14], esi
call fcn.0042f250
mov eax, dword [ebp + 4]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
sub esp, 0xc
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.004d4500
mov dword [esp + 0x34], 1
jmp 0x431292
mov dword [esp + 8], 0x590
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str._ctrl__columns.ncols__1____ncols__1_
call fcn.004d8b40
jmp 0x431b5c
mov eax, dword [esp + 0x5a8]
mov dword [esp], eax
call fcn.0042f1d0
add esp, 0x58c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 0x24
mov dword [esp], 1
call fcn.004cd640
mov esi, dword [esp + 0x38]
mov dword [eax], 0
mov dword [eax + 8], 1
mov dword [eax + 0x20], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0xc], esi
mov dword [eax + 4], esi
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5a4]
mov dword [esp], eax
call fcn.00430d50
mov eax, dword [esp + 0x5ac]
mov edi, dword [esp + 0x5a8]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x5a8]
mov eax, dword [eax + 0xc]
test edx, edx
mov dword [edi + 0x18], eax
je 0x4322e2
add eax, 8
mov edi, dword [esp + 0x5a8]
add eax, 4
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
sub dword [edi + 0x10], 0xe
add dword [edi + 0x14], 7
mov dword [edi + 0x20], edx
mov dword [edi + 0x1c], eax
add eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x5ac]
mov eax, dword [eax + 4]
test eax, eax
jne 0x430f41
mov eax, dword [esp + 0x5ac]
mov eax, dword [eax + 8]
test eax, eax
je 0x430f41
mov dword [esp + 8], 0
mov dword [esp + 4], 0x24
mov dword [esp], 1
call fcn.004cd640
mov esi, dword [esp + 0x38]
mov ebx, eax
mov dword [eax + 8], 1
mov dword [eax], 0
mov dword [eax + 0xc], esi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x5ac]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.004cc0c0
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x5a4]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.00430d50
mov eax, dword [esp + 0x5a8]
mov dword [esp + 4], esi
add esi, 1
mov dword [esp], eax
call fcn.0042f9b0
mov dword [esp + 0x38], esi
jmp 0x430f41
cmp byte [ebp + 0x2d], 0
je 0x43226c
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042f340
jmp 0x43191f
mov dword [esp + 8], 0
mov dword [esp + 4], 0x18
mov dword [esp], 1
call fcn.004cd640
mov esi, dword [esp + 0x38]
mov ebx, eax
lea eax, [esi + 3]
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
lea eax, [esi + 2]
mov esi, 0x6475
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp + 4], eax
call fcn.00430360
mov eax, dword [ebp + 0x38]
mov word [esp + 0x8d], si
mov dword [esp + 0x2c], 3
mov dword [esp + 0x34], 4
test eax, eax
je 0x43170f
mov edi, dword [esp + 0x5a8]
sub eax, 1
mov edx, dword [edi + 0x10]
imul edx, dword [ebp + 0x34]
mov dword [esp + 8], 0
mov dword [esp + 4], 4
mov dword [esp], eax
mov dword [esp + 0x54], edx
call fcn.004cd640
mov esi, eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x38]
sub eax, 1
test eax, eax
jle 0x432170
xor edi, edi
xor ecx, ecx
mov dword [esp + 0x5c], ebx
nop
lea esi, [esi]
mov eax, dword [ebp + 0x3c]
mov ebx, dword [esp + 0x54]
add edi, dword [eax + ecx*4]
mov eax, 0x68db8bad
imul ebx, edi
imul ebx
sar ebx, 0x1f
sar edx, 0xc
sub edx, ebx
mov dword [esi + ecx*4], edx
mov eax, dword [ebp + 0x38]
add ecx, 1
sub eax, 1
cmp eax, ecx
jg 0x432140
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x58]
mov dword [esp + 8], 0x192
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5a8]
mov dword [esp + 0x10], esi
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
sub esp, 0x14
mov dword [esp], esi
call fcn.004cd6d0
jmp 0x43170f
mov dword [esp + 8], 0x599
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.ncols___lenof_columns_
call fcn.004d8b40
cmp dword [esp + 0x50], 1
jg 0x431cfb
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x431569
jmp 0x431d71
mov ebx, dword [ebp + 0x30]
mov dword [esp + 0x10], eax
xor edx, edx
mov eax, dword [esp + 0x3c]
test ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
setne dl
mov dword [esp + 0x14], edx
xor ebx, ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.00430030
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], 2
jmp 0x431704
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042fdc0
jmp 0x43191f
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
movzx eax, byte [ebp + 0x2c]
mov dword [esp + 4], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042f250
jmp 0x43191f
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x9c]
mov dword [esp], eax
call fcn.0042fea0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x34], 2
jmp 0x431704
lea ecx, [eax - 4]
mov dword [edi + 0x18], ecx
jmp 0x431f5d
mov dword [esp + 0x50], 1
jmp 0x43158a
mov dword [esp + 8], 0x6a3
mov dword [esp + 4], str._MoTTY_windows_controls.c
mov dword [esp], str.false___bad_control_type_in_winctrl_layout_
call fcn.004d8b40
call sub.msvcrt.dll_abort
mov dword [esp + 0xa8], ecx
jmp 0x43110e