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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54c
mov ecx, dword [esp + 0x570]
mov edi, dword [esp + 0x56c]
mov eax, dword [0x50302c]
xor eax, esp
mov dword [esp + 0x548], eax
mov ebp, dword [ecx]
push edi
call fcn.00447590
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x420a33
cmp byte [eax], 0
je 0x420b22
push 0
push 0x24
push 1
call fcn.00436250
add esp, 0xc
mov esi, eax
mov dword [eax], 0
mov dword [eax + 0xc], ebp
mov ebx, ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], 1
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
push eax
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.00437490
add esp, 8
cmp eax, esi
je 0x4209eb
push 0x510
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ret__c
call fcn.004ad8b3
add esp, 0xc
mov eax, dword [edi + 8]
mov edi, dword [esp + 0x568]
mov ecx, dword [edi + 0xc]
lea edx, [ecx - 4]
lea esi, [ecx + 8]
test eax, eax
cmovne edx, ecx
mov dword [edi + 0x18], edx
cmove esi, ecx
add esi, 4
mov dword [edi + 0xc], esi
add dword [edi + 0x10], 0xfffffff2
add dword [edi + 0x14], 7
mov ebp, ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], eax
mov edi, dword [esp + 0x56c]
add ebp, 1
cmp dword [edi + 4], 0
jne 0x420b22
cmp dword [edi + 8], 0
je 0x420b22
push 0
push 0x24
push 1
call fcn.00436250
add esp, 0xc
mov esi, eax
mov dword [eax], 0
mov dword [eax + 0xc], ebp
mov ebx, ebp
mov dword [eax + 4], ebp
mov dword [eax + 8], 1
push dword [edi + 8]
call fcn.0043bc00
add esp, 4
mov dword [esi + 0x20], eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
cmp dword [esi], 0
je 0x420abe
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.00437490
add esp, 8
cmp eax, esi
je 0x420abe
push 0x50d
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ret__c
call fcn.004ad8b3
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.00437490
add esp, 8
cmp eax, esi
je 0x420aec
push 0x510
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ret__c
call fcn.004ad8b3
add esp, 0xc
mov esi, dword [esp + 0x568]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
lea edx, [eax + 0xf]
mov dword [esi + 0xc], edx
mov ebp, ebx
push ebx
push 0
push 0
push 0x5000000d
push str.STATIC
push 0xc
push ecx
push eax
push 3
push esi
call fcn.0041fa50
add esp, 0x28
add ebp, 1
lea edi, [esp + 0x308]
mov ecx, 9
mov esi, dword [esp + 0x568]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x56c]
cmp dword [edx + 0x10], 0
je 0x421d9e
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
xor esi, esi
jmp 0x420b93
mov ecx, 9
mov esi, dword [esp + 0x568]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x314], eax
mov dword [esp + 0x14], 1
mov edx, dword [esp + 0x56c]
mov ebp, dword [esp]
mov esi, dword [esp + 0x1c]
add esi, 1
cmp esi, dword [edx + 0x10]
jae 0x421d91
mov dword [esp], ebp
mov eax, dword [edx + 0x18]
mov edi, dword [eax + esi*4]
mov eax, dword [edi]
cmp eax, 9
mov dword [esp + 0x1c], esi
je 0x420d80
cmp eax, 6
lea ebp, [esp + 0x3c]
mov dword [esp + 4], edi
jne 0x420df0
cmp dword [edi + 0x24], 1
sete al
mov edx, dword [esp + 0x14]
cmp edx, 1
sete cl
xor cl, al
jne 0x420bec
push 0x587
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str._ctrl__columns.ncols__1____ncols__1_
call fcn.004ad8b3
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, 1
lea edi, [esp + 0x308]
jne 0x420ee1
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x24]
cmp eax, 0x11
mov dword [esp + 0x14], eax
jb 0x420c27
push 0x590
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ncols___lenof_columns_
call fcn.004ad8b3
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 2
jl 0x420cf3
mov ebp, edi
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
add eax, 0xfffffffe
mov edx, ecx
and ecx, 3
mov dword [esp + 0x10], ecx
mov ebx, 1
cmp eax, 3
jb 0x420cb7
and edx, 0xfffffffc
neg edx
mov dword [esp + 8], edx
mov ebx, 1
lea eax, [esp + 0x398]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [eax - 0x6c]
mov ecx, 9
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
lea edi, [eax - 0x48]
lea edx, [eax - 0x24]
mov ecx, 9
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov edi, edx
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
mov edi, eax
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
add eax, 0x90
mov ecx, dword [esp + 8]
add ecx, ebx
add ecx, 4
add ebx, 4
cmp ecx, 1
jne 0x420c70
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x420cf3
lea eax, [ebx + ebx*8]
lea eax, [esp + eax*4]
add eax, 0x308
shl ecx, 2
lea edx, [ecx + ecx*8]
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edi, [eax + ebx]
mov ecx, 9
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
add ebx, 0x24
cmp edx, ebx
jne 0x420ce0
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x420b79
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x28]
mov dword [esp + 8], eax
xor ebx, ebx
lea ebp, [esp + 0x31c]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 8]
mov edi, dword [ecx + ebx*4]
add edi, eax
mov esi, dword [ebp - 4]
add esi, 3
imul eax, esi
mov ecx, 0x51eb851f
imul ecx
mov ecx, edx
mov eax, edx
shr eax, 0x1f
sar ecx, 5
add ecx, eax
imul esi, edi
mov eax, esi
mov edx, 0x51eb851f
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 5
add edx, eax
mov eax, dword [ebp]
add ecx, eax
add edx, eax
mov dword [ebp], ecx
sub edx, ecx
add edx, 0xfffffffd
mov dword [ebp - 4], edx
add ebx, 1
add ebp, 0x24
mov eax, edi
cmp dword [esp + 0x14], ebx
jne 0x420d20
jmp 0x420b79
cmp byte [edi + 8], 0
lea ebp, [esp + 0x3c]
je 0x420da1
push 0x5b1
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str._ctrl__delay_taborder
call fcn.004ad8b3
add esp, 0xc
mov edi, dword [edi + 0x24]
mov edx, dword [esp + 0x18]
xor esi, esi
test edx, edx
jle 0x420dc6
nop
nop
cmp dword [esp + esi*4 + 0x88], edi
je 0x420f4e
add esi, 1
cmp edx, esi
jne 0x420db0
mov esi, edx
mov ebx, edi
push 0x5b7
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.i___ntabdelays
call fcn.004ad8b3
add esp, 0xc
mov edx, dword [esp + 0x18]
jmp 0x420f50
mov edx, dword [edi + 0xc]
movzx ebx, dx
shr edx, 0x10
lea eax, [edx + 1]
mov dword [esp + 0x20], eax
lea eax, [ebx*4]
lea eax, [eax + eax*8]
lea esi, [esp + eax + 0x308]
mov ecx, 9
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + ebx]
add ecx, 1
add edx, ebx
lea edx, [edx + edx*8]
mov esi, dword [esp + edx*4 + 0x31c]
add esi, dword [esp + edx*4 + 0x318]
sub esi, dword [esp + eax + 0x31c]
mov dword [esp + 0x4c], esi
mov edx, dword [esp + 0x48]
lea esi, [esp + 0x314]
add eax, esi
mov dword [esp + 0x24], ebx
jmp 0x420e6a
add ebx, 1
add eax, 0x24
cmp ebx, ecx
jae 0x420e80
mov edi, dword [eax]
cmp edx, edi
jge 0x420e60
mov dword [esp + 0x48], edi
mov edx, edi
jmp 0x420e60
mov edi, dword [esp + 4]
cmp byte [edi + 8], 0
je 0x420f44
mov edx, dword [esp + 0x18]
cmp edx, 0x10
jb 0x420eb2
push 0x5d6
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ntabdelays___lenof_tabdelays_
call fcn.004ad8b3
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [edx + edx*8]
lea edi, [esp + eax*4]
add edi, 0xc8
mov ecx, 9
lea esi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 4]
mov dword [esp + edx*4 + 0x88], edi
add edx, 1
mov dword [esp + 0x3c], 0
jmp 0x420f48
mov eax, dword [esp + 0x314]
jle 0x420b5c
lea esi, [edx - 1]
add edx, 0xfffffffe
mov ecx, esi
and ecx, 3
mov edi, edx
mov edx, 1
cmp edi, 3
jae 0x421495
test ecx, ecx
lea edi, [esp + 0x308]
je 0x420b5c
lea edx, [edx + edx*8]
lea esi, [esp + 0x314]
lea edx, [esi + edx*4]
shl ecx, 2
lea ecx, [ecx + ecx*8]
xor esi, esi
nop
nop
nop
mov ebx, dword [edx + esi]
cmp eax, ebx
cmovl eax, ebx
add esi, 0x24
cmp ecx, esi
jne 0x420f30
jmp 0x420b5c
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
jmp 0x420f74
mov ebx, edi
lea eax, [esi + esi*8]
lea esi, [esp + eax*4]
add esi, 0xc8
mov ecx, 9
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ebp, 0xffffffff
mov dword [esp + 0x24], 0xffffffff
mov edi, ebx
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov eax, dword [edi]
cmp eax, 8
ja case.0x420fb1.6
mov dword [esp + 4], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ebp
jmp dword [eax*4 + 0x4ce998]
cmp byte [edi + 0x24], 0
je 0x42158f
lea eax, [esp + 0x68]
push eax
push dword [edi + 4]
mov eax, dword [esp + 0x570]
push dword [eax]
lea ebp, [esp + 0x48]
push ebp
call fcn.0041fcb0
add esp, 0x10
mov dword [esp + 8], eax
mov ecx, eax
xor edx, edx
call fcn.00421ed0
mov esi, eax
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea ebx, [eax + edx*8]
add ebx, 3
shl edx, 3
mov dword [esp + 0x48], ebx
mov ebx, ebp
mov ebp, dword [esp]
push ebp
push esi
push 0
push 0x5000000c
push str.STATIC
push edx
push ecx
push eax
push 3
push ebx
call fcn.0041fa50
add esp, 0x28
push esi
xor esi, esi
call fcn.004362e0
add esp, 4
push dword [esp + 8]
call fcn.004362e0
add esp, 4
mov dword [esp + 0xc], 1
jmp 0x421a30
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421ed0
mov esi, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
mov ecx, dword [edi + 0x28]
mov al, byte [edi + 0x2d]
cmp ecx, 0x64
jne 0x4214ec
mov ecx, dword [esp]
lea edi, [ecx + 1]
test al, al
je 0x42178b
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
test esi, esi
lea ebp, [esp + 0x3c]
je 0x4210b9
push dword [esp]
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push ebx
push eax
push 3
push ebp
call fcn.0041fa50
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
push edi
push 0x4f31a8
push 0x200
push 0x50210202
push str.COMBOBOX
push pe_nt_image_headers32
push ebx
jmp 0x4217f4
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
movsx edx, byte [edi + 0x24]
call fcn.00421ed0
mov dword [esp + 0x28], eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
push 0
push 8
push dword [edi + 0x2c]
call fcn.00436250
add esp, 0xc
mov dword [esp + 8], eax
mov edi, dword [edi + 0x2c]
test edi, edi
jle 0x42142d
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x34]
mov ecx, dword [esp]
add ecx, 1
mov dword [esp + 0x10], ecx
xor ebp, ebp
mov esi, 1
jmp 0x42114d
movzx ecx, byte [eax + ebp]
mov byte [esp + esi + 0x78], cl
add esi, 1
mov ebx, eax
add ebp, 1
mov edi, dword [edi + 0x2c]
mov eax, ebx
cmp ebp, edi
jge 0x42142d
xor ebx, ebx
test eax, eax
je 0x421160
movzx eax, byte [eax + ebp]
jmp 0x421162
xor eax, eax
mov edi, dword [esp + 4]
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + ebp*4]
movsx edx, al
call fcn.00421ed0
mov ecx, dword [esp + 8]
mov dword [ecx + ebp*8], eax
mov eax, dword [esp + 0x10]
add eax, ebp
mov dword [ecx + ebp*8 + 4], eax
mov eax, dword [edi + 0x34]
test eax, eax
je 0x42113d
cmp esi, 0x10
jl 0x421130
push 0x62f
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.nshortcuts___MAX_SHORTCUTS_PER_CTRL
call fcn.004ad8b3
add esp, 0xc
mov eax, dword [edi + 0x34]
jmp 0x421130
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421ed0
mov esi, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [eax + 0xb]
mov dword [esp + 0x48], edx
mov ebp, dword [esp]
push ebp
push esi
push 0
push 0x50014003
push str.BUTTON
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
push esi
call fcn.004362e0
add esp, 4
jmp 0x4215e0
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421ed0
mov cl, byte [edi + 0x24]
mov byte [esp + 0x78], cl
cmp byte [edi + 0x26], 0
mov esi, eax
mov ebx, 2
cmove ebx, dword [esp]
movzx edi, byte [edi + 0x25]
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
test edi, edi
je 0x421254
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x421254
push 0
push ebx
push 0x401
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 8]
or edi, 0x50014000
push ebx
push esi
push 0
push edi
push str.BUTTON
push 0xe
push ebp
push ecx
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.004362e0
add esp, 4
mov dword [esp + 0xc], 1
xor esi, esi
mov ebp, dword [esp]
jmp 0x42176e
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421ed0
mov ebx, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
cmp byte [edi + 0x2c], 0
je 0x4215ef
push 0
push 0x18
push 1
call fcn.00436250
add esp, 0xc
mov esi, eax
mov ebp, dword [esp]
lea eax, [ebp + 3]
lea ecx, [ebp + 2]
lea edx, [ebp + 1]
push eax
push ecx
push edx
push ebp
push ebx
push dword [edi + 0x28]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.00420050
add esp, 0x20
mov word [esp + 0x79], 0x6475
mov dword [esp + 0xc], 4
jmp 0x42197b
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421ed0
mov esi, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
mov ebp, dword [esp]
mov eax, edi
lea edi, [ebp + 2]
cmp byte [eax + 0x34], 0
je 0x42169d
push edi
push esi
push 0
push 0x50014000
push str.BUTTON
push 0xe
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
jmp 0x421747
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421ed0
mov dword [esp + 8], eax
mov cl, byte [edi + 0x24]
mov byte [esp + 0x78], cl
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [edi + 0xb]
mov dword [esp + 0x48], edx
lea esi, [esp + 0x3c]
mov ebp, dword [esp]
push ebp
push eax
push 0
push 0x5000000c
push str.STATIC
push 8
push ecx
push edi
push 3
push esi
call fcn.0041fa50
add esp, 0x28
lea eax, [ebp + 2]
mov dword [esp + 0x10], eax
lea edx, [ebp + 1]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
add edi, 3
lea ebx, [edi + edi*2]
lea ecx, [edi + edi*2]
add ecx, 3
test ebx, ebx
cmovns ecx, ebx
sar ecx, 2
lea ebx, [ecx + 3]
add ecx, 0xfffffffd
sub edi, ebx
add eax, 3
push edx
push 0x4f31a8
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
push esi
call fcn.0041fa50
add esp, 0x28
push dword [esp + 0x10]
push str.Change...
push 0
push 0x50014000
push str.BUTTON
push 0xe
push edi
mov edi, dword [esp + 0x20]
push dword [esp + 0x64]
push ebx
push esi
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0x11
call fcn.004476c0
mov esi, eax
push dword [esp + 8]
call fcn.004362e0
add esp, 4
mov dword [esp + 0xc], 3
jmp 0x421a30
lea ecx, [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov edx, ebx
push edi
mov ebp, dword [esp + 0xc]
push ebp
mov edi, dword [esp + 0xc]
push dword [edi + 0x28]
push dword [esp + 0xc]
call fcn.0041fb30
add esp, 0x10
cmp dword [edi + 0x2c], 0
jle 0x421474
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + esi*8]
call fcn.004362e0
add esp, 4
add esi, 1
cmp esi, dword [edi + 0x2c]
jl 0x421460
add dword [esp + 0xc], 1
push ebp
call fcn.004362e0
add esp, 4
push ebx
call fcn.004362e0
add esp, 4
xor esi, esi
mov ebp, dword [esp]
jmp 0x421a30
and esi, 0xfffffffc
neg esi
mov edx, 1
lea edi, [esp + 0x3a4]
jmp 0x4214c8
add edi, 0x90
lea ebx, [esi + edx]
add ebx, 4
add edx, 4
cmp ebx, 1
je 0x420f09
mov ebp, dword [edi - 0x6c]
mov ebx, dword [edi - 0x48]
cmp eax, ebp
cmovl eax, ebp
cmp eax, ebx
jl 0x4214d9
mov ebx, eax
mov ebp, dword [edi - 0x24]
cmp ebx, ebp
jl 0x4214e2
mov ebp, ebx
mov eax, dword [edi]
cmp ebp, eax
jl 0x4214b0
mov eax, ebp
jmp 0x4214b0
test al, al
je 0x42180e
mov eax, 0x64
sub eax, ecx
mov edi, dword [esp + 0x4c]
add edi, 3
imul eax, edi
mov ecx, 0x51eb851f
imul ecx
mov ebp, dword [esp]
lea eax, [ebp + 1]
mov dword [esp + 8], eax
mov eax, edx
shr eax, 0x1f
sar edx, 5
lea ebx, [edx + eax]
add ebx, 3
lea ecx, [edx + eax]
add ecx, 0xfffffffd
mov eax, dword [esp + 0x48]
sub edi, ebx
add eax, 2
push ebp
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
push dword [esp + 8]
push 0x4f31a8
push 0x200
push 0x50210202
push str.COMBOBOX
push pe_nt_image_headers32
push edi
mov edi, dword [esp + 0x20]
push dword [esp + 0x64]
push ebx
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0xf
jmp 0x421833
mov ebp, dword [esp]
push ebp
push 0x4f31a8
push 0x200
push 0x50010880
push str.EDIT
push 0xc
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0xf
push dword [edi + 4]
push ebp
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebp
push dword [esp + 0x40]
call fcn.0043d670
add esp, 8
mov dword [esp + 0xc], 1
xor esi, esi
jmp 0x421a30
mov esi, dword [edi + 0x28]
test esi, esi
je 0x42184b
mov ecx, dword [edi + 0x30]
mov ebp, dword [esp]
lea eax, [ebp + 1]
mov dword [esp + 8], eax
test ebx, ebx
je 0x42163f
mov eax, dword [esp + 0x48]
mov edi, ecx
mov ecx, dword [esp + 0x4c]
lea edx, [eax + 9]
mov dword [esp + 0x48], edx
push ebp
push ebx
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
mov ecx, edi
add esp, 0x28
mov edi, ebx
xor ebx, ebx
test ecx, ecx
setne bl
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [esi*8 + 3]
lea esi, [eax + esi*8 + 6]
mov dword [esp + 0x48], esi
lea esi, [ebx*8 + 0x502100c1]
mov ebx, edi
push dword [esp + 8]
push 0x4f31a8
push 0x200
push esi
push str.LISTBOX
push edx
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
mov dword [esp + 0xc], 2
xor esi, esi
jmp 0x421977
lea eax, [ebp + 1]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
lea edx, [eax + 9]
mov dword [esp + 0x48], edx
push ebp
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
add ebx, 3
lea edx, [ebx + ebx*2]
lea ecx, [ebx + ebx*2]
add ecx, 3
test edx, edx
cmovns ecx, edx
sar ecx, 2
lea edx, [ecx + 3]
mov dword [esp + 0x10], edx
add ecx, 0xfffffffd
sub ebx, edx
add eax, 1
push dword [esp + 8]
push 0x4f31a8
push 0x200
push 0x50010080
push str.EDIT
push 0xc
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
push edi
push str.Browse...
push 0
push 0x50014000
push str.BUTTON
push 0xe
push ebx
push dword [esp + 0x64]
push dword [esp + 0x30]
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.004362e0
add esp, 4
mov dword [esp + 0xc], 3
xor esi, esi
mov ebx, ebp
mov edi, dword [esp + 4]
cmp dword [esp + 0x3c], 0
jne 0x421a3d
push esi
call fcn.004362e0
add esp, 4
jmp 0x421d43
mov eax, dword [esp + 4]
mov bl, byte [eax + 0x2c]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
test esi, esi
lea ebp, [esp + 0x3c]
je 0x4217d4
push dword [esp]
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push edx
push eax
push 3
push ebp
mov ebp, edx
call fcn.0041fa50
mov edx, ebp
lea ebp, [esp + 0x64]
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
movzx ecx, bl
shl ecx, 5
or ecx, 0x50010080
push edi
push 0x4f31a8
push 0x200
push ecx
push str.EDIT
push 0xc
push edx
push eax
push 3
push ebp
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0xf
mov ebp, dword [esp]
mov edi, dword [esp + 4]
jmp 0x421833
cmp byte [edi + 0x2c], 0
mov eax, 0x41ffb0
mov edx, 0x41ff10
cmove eax, edx
mov ebp, dword [esp]
lea edx, [ebp + 1]
push ecx
push edx
push ebp
push esi
lea ecx, [esp + 0x4c]
push ecx
call eax
add esp, 0x14
push esi
call fcn.004362e0
add esp, 4
mov dword [esp + 0xc], 2
xor esi, esi
jmp 0x421a30
mov ecx, dword [edi + 0x34]
mov ebp, dword [esp]
lea esi, [ebp + 1]
cmp ecx, 0x64
jne 0x42189b
mov eax, dword [esp + 0x48]
test ebx, ebx
je 0x42193a
push dword [esp]
push ebx
push 0
push 0x50000000
push str.STATIC
push 8
push dword [esp + 0x64]
push eax
push 3
lea edi, [esp + 0x60]
push edi
call fcn.0041fa50
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 8
mov dword [esp + 0x48], eax
jmp 0x42193e
mov eax, 0x64
sub eax, ecx
mov edi, dword [esp + 0x4c]
add edi, 3
imul eax, edi
mov ecx, 0x51eb851f
imul ecx
mov eax, dword [esp + 0x48]
mov ecx, edx
shr ecx, 0x1f
sar edx, 5
mov dword [esp + 8], esi
mov esi, ebx
lea ebx, [edx + ecx]
add ebx, 3
add ecx, edx
add ecx, 0xfffffffd
sub edi, ebx
add eax, 2
push ebp
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
push dword [esp + 8]
push 0x4f31a8
push 0x200
push 0x50210203
push str.COMBOBOX
push 0x30
push edi
mov edi, dword [esp + 0x20]
push dword [esp + 0x64]
push ebx
mov ebx, esi
lea eax, [esp + 0x60]
push eax
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0xf
mov dword [esp + 0xc], 2
xor esi, esi
jmp 0x42197b
lea edi, [esp + 0x3c]
push esi
push 0x4f31a8
push 0x200
push 0x50210203
push str.COMBOBOX
push 0x30
push dword [esp + 0x64]
push eax
push 3
push edi
call fcn.0041fa50
add esp, 0x28
add dword [esp + 0x48], 0xf
mov dword [esp + 0xc], 2
xor esi, esi
mov ebp, dword [esp]
mov edi, dword [esp + 4]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x421a23
mov dword [esp + 0x10], esi
mov dword [esp + 8], ebx
mov ebx, dword [edi + 0x34]
mov ecx, dword [esp + 0x568]
imul ebx, dword [ecx + 0x10]
add eax, 0xffffffff
push 0
push 4
push eax
call fcn.00436250
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 0x38]
cmp eax, 2
jl 0x4219ee
xor ecx, ecx
xor ebp, ebp
mov edi, dword [esp + 4]
nop
nop
mov eax, dword [edi + 0x3c]
add ecx, dword [eax + ebp*4]
mov eax, ebx
imul eax, ecx
mov edx, 0x68db8bad
imul edx
mov eax, edx
shr eax, 0x1f
sar edx, 0xc
add edx, eax
mov dword [esi + ebp*4], edx
add ebp, 1
mov eax, dword [edi + 0x38]
add eax, 0xffffffff
cmp ebp, eax
jl 0x4219c0
jmp 0x4219f5
add eax, 0xffffffff
mov edi, dword [esp + 4]
mov ebp, dword [esp]
lea ecx, [ebp + 1]
push esi
push eax
push 0x192
push ecx
mov eax, dword [esp + 0x578]
push dword [eax]
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
push esi
call fcn.004362e0
add esp, 4
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x10]
push ebx
call fcn.004362e0
add esp, 4
nop
nop
nop
nop
mov ebx, ebp
cmp dword [esp + 0x3c], 0
je 0x42177d
push 0
push 0x24
push 1
call fcn.00436250
add esp, 0xc
mov edx, esi
mov esi, eax
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0xc]
lea eax, [ecx + ebx - 1]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [esp + 0x80]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x1c], eax
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.00437490
add esp, 8
cmp eax, esi
je 0x421ab4
push 0x50d
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ret__c
call fcn.004ad8b3
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.00437490
add esp, 8
cmp eax, esi
je 0x421ae2
push 0x510
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.ret__c
call fcn.004ad8b3
add esp, 0xc
xor edi, edi
jmp 0x421b04
mov eax, dword [esp + 0x560]
mov byte [eax + ebp + 0x3c], 1
add edi, 1
cmp edi, 0x10
je 0x421b40
movzx eax, byte [esi + edi + 0x10]
test eax, eax
je 0x421afc
push eax
call fcn.004b1c40
add esp, 4
movzx ebp, al
mov eax, dword [esp + 0x560]
cmp byte [eax + ebp + 0x3c], 0
je 0x421af0
push 0x4b7
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str._dp__shortcuts_s_
call fcn.004ad8b3
add esp, 0xc
jmp 0x421af0
mov ebp, dword [esp]
cmp ebx, ebp
mov eax, 0
mov ecx, dword [esp + 0xc]
cmovne ecx, eax
add ebp, ecx
mov edi, dword [esp + 4]
cmp dword [edi + 0x20], 0
je 0x421d43
mov dword [esp], ebp
xor ebx, ebx
jmp 0x421b7b
mov edi, dword [edi + 0x20]
test edi, edi
je 0x421c00
push 0x4208c0
push edi
mov eax, dword [esp + 0x56c]
push dword [eax]
call fcn.00438180
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421baf
push 0x6bf
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.thisc
call fcn.004ad8b3
add esp, 0xc
push dword [esi + 0xc]
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test eax, eax
jne 0x421bd9
push 0x6c2
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push 0x4f404a
call fcn.004ad8b3
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421b70
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x6c]
cmp ebx, eax
cmovl ebx, eax
jmp 0x421b70
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 4]
jmp 0x421c1f
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x421d40
push 0x4208c0
mov dword [esp + 8], eax
push eax
mov eax, dword [esp + 0x56c]
push dword [eax]
call fcn.00438180
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421c57
push 0x6ce
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.thisc
call fcn.004ad8b3
add esp, 0xc
push dword [esi + 0xc]
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test eax, eax
jne 0x421c81
push 0x6d1
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push 0x4f404a
call fcn.004ad8b3
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421c10
mov edi, dword [esi + 8]
test edi, edi
jle 0x421c10
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
sub eax, ecx
lea ecx, [eax - 2]
cmp ecx, 0xfffffffc
ja 0x421c10
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
mov dword [esp + 8], ecx
mov ebx, dword [esi + 4]
mov ebp, dword [esp + 0x3c]
jmp 0x421cdc
add ebx, 1
add edi, 0xffffffff
je 0x421c10
push ebx
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421cd0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 8]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x421cd0
push 0x15
push 0
push 0
push dword [esp + 0x70]
push dword [esp + 0x70]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x421cd0
mov ebp, dword [esp]
mov edi, dword [esp + 0x24]
test edi, edi
mov edx, dword [esp + 0x56c]
mov esi, dword [esp + 0x1c]
js 0x420b87
mov ebx, dword [esp + 0x20]
test ebx, ebx
jle 0x420b87
add ebx, edi
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi*8]
lea esi, [esp + 0x314]
lea ecx, [esi + ecx*4]
mov esi, ebx
nop
nop
nop
nop
nop
mov dword [ecx], eax
add edi, 1
add ecx, 0x24
cmp edi, esi
jl 0x421d80
jmp 0x420b83
mov esi, dword [esp + 0x14]
test esi, esi
jg 0x421da3
jmp 0x421e30
mov esi, 1
mov eax, dword [esp + 0x568]
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp esi, 1
jne 0x421dc4
mov ebx, esi
test bl, 1
jne 0x421e11
mov edx, dword [esp + 0x56c]
jmp 0x421e30
mov ebx, esi
mov edx, esi
and edx, 0xfffffffe
lea esi, [esp + 0x338]
xor ecx, ecx
jmp 0x421dea
add ecx, 2
add esi, 0x48
cmp edx, ecx
je 0x421db6
mov edi, dword [esi - 0x24]
cmp eax, edi
jge 0x421dfd
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
mov edi, dword [esi]
cmp eax, edi
jge 0x421de0
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
jmp 0x421de0
lea ecx, [ecx + ecx*8]
mov ecx, dword [esp + ecx*4 + 0x314]
cmp eax, ecx
mov edx, dword [esp + 0x56c]
jge 0x421e30
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x570]
mov dword [eax], ebp
mov eax, dword [edx + 4]
test eax, eax
je 0x421e96
cmp byte [eax], 0
je 0x421e96
mov ebx, dword [esp + 0x568]
add dword [ebx + 0x14], 0xfffffff9
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
add eax, 0xe
mov dword [ebx + 0x10], eax
add ecx, 1
mov dword [ebx + 0xc], ecx
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x20]
test esi, esi
mov edi, 0x4f31a8
cmovne edi, esi
sub ecx, edx
push dword [ebx + 0x1c]
push edi
push 0
push 0x50000007
push str.BUTTON
push ecx
push eax
push edx
push 3
push ebx
call fcn.0041fa50
add esp, 0x28
add dword [ebx + 0xc], 4
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0049e0f0
add esp, 0x54c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x69a
push str._home_simon_mem_.build_workdirs_bob_qvbm9mtj_putty_windows_controls.c
push str.false___bad_control_type_in_winctrl_layout_
call fcn.004ad8b3
add esp, 0xc
call fcn.00406d50
int3