Function at 0x420ce0
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 ebx, dword [esp + 0x564]
mov eax, dword [0x502034]
xor eax, esp
mov dword [esp + 0x548], eax
mov ebp, dword [ecx]
push edi
call fcn.00449c70
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x420de5
cmp byte [eax], 0
je 0x420ed4
push 0
push 0x24
push 1
call fcn.004397d0
add esp, 0xc
mov esi, eax
mov dword [eax], 0
mov dword [eax + 0xc], ebp
mov eax, ebx
mov ebx, ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], 1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
push esi
push dword [eax + 4]
call fcn.0043aa10
add esp, 8
cmp eax, esi
je 0x420d9d
push 0x519
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ret__c
call fcn.004af403
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 0x420ed4
cmp dword [edi + 8], 0
je 0x420ed4
push 0
push 0x24
push 1
call fcn.004397d0
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.0043ef00
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 0x420e70
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.0043aa10
add esp, 8
cmp eax, esi
je 0x420e70
push 0x516
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ret__c
call fcn.004af403
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.0043aa10
add esp, 8
cmp eax, esi
je 0x420e9e
push 0x519
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ret__c
call fcn.004af403
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.0041fe00
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 0x42226b
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
xor esi, esi
jmp 0x420f45
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 + 0x20]
add esi, 1
cmp esi, dword [edx + 0x10]
jae 0x42225e
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 + 0x20], esi
je 0x421130
cmp eax, 6
jne 0x421190
mov dword [esp + 8], edi
cmp dword [edi + 0x24], 1
sete al
mov edx, dword [esp + 0x14]
cmp edx, 1
sete cl
xor cl, al
jne 0x420f9a
push 0x590
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str._ctrl__columns.ncols__1____ncols__1_
call fcn.004af403
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, 1
lea edi, [esp + 0x308]
jne 0x421284
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x24]
cmp eax, 0x11
mov dword [esp + 0x14], eax
jb 0x420fd5
push 0x599
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ncols___lenof_columns_
call fcn.004af403
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 2
jl 0x4210a3
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 0x421067
and edx, 0xfffffffc
neg edx
mov dword [esp + 4], edx
mov ebx, 1
lea eax, [esp + 0x398]
nop
nop
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 + 4]
add ecx, ebx
add ecx, 4
add ebx, 4
cmp ecx, 1
jne 0x421020
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4210a3
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 0x421090
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x420f2b
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x28]
mov dword [esp + 4], 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 + 4]
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 0x4210d0
jmp 0x420f2b
cmp byte [edi + 8], 0
je 0x42114d
push 0x5ba
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str._ctrl__delay_taborder
call fcn.004af403
add esp, 0xc
mov edi, dword [edi + 0x24]
mov edx, dword [esp + 0x18]
test edx, edx
lea ebp, [esp + 0x3c]
jle 0x4212e4
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esp + esi*4 + 0x88], edi
je 0x421315
add esi, 1
cmp edx, esi
jne 0x421170
mov esi, edx
jmp 0x4212e6
mov ebx, edi
mov edx, dword [edi + 0xc]
movzx ebp, dx
shr edx, 0x10
lea eax, [edx + 1]
mov dword [esp + 0x24], eax
lea eax, [ebp*4]
lea eax, [eax + eax*8]
lea esi, [esp + eax + 0x308]
mov ecx, 9
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + ebp]
add ecx, 1
add edx, ebp
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 + 0x1c], ebp
jmp 0x42120a
add ebp, 1
add eax, 0x24
cmp ebp, ecx
jae 0x421220
mov edi, dword [eax]
cmp edx, edi
jge 0x421200
mov dword [esp + 0x48], edi
mov edx, edi
jmp 0x421200
cmp byte [ebx + 8], 0
je 0x421305
mov edx, dword [esp + 0x18]
cmp edx, 0x10
lea ebp, [esp + 0x3c]
jb 0x421252
push 0x5df
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ntabdelays___lenof_tabdelays_
call fcn.004af403
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [edx + edx*8]
lea edi, [esp + eax*4]
add edi, 0xc8
mov ecx, 9
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov dword [esp + edx*4 + 0x88], ebx
add edx, 1
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x1c]
jmp 0x42133b
mov eax, dword [esp + 0x314]
jle 0x420f0e
lea esi, [edx - 1]
add edx, 0xfffffffe
mov ecx, esi
and ecx, 3
mov edi, edx
mov edx, 1
cmp edi, 3
jae 0x4218a5
test ecx, ecx
lea edi, [esp + 0x308]
je 0x420f0e
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
mov ebp, dword [edx + esi]
cmp eax, ebp
cmovl eax, ebp
add esi, 0x24
cmp ecx, esi
jne 0x4212d0
jmp 0x420f0e
xor esi, esi
mov ebx, edi
push 0x5c0
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.i___ntabdelays
call fcn.004af403
add esp, 0xc
mov edx, dword [esp + 0x18]
jmp 0x421317
mov edi, ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebp, [esp + 0x3c]
jmp 0x42133b
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 dword [esp + 0x24], 0xffffffff
mov ecx, 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.0x421378.6
mov dword [esp + 8], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp dword [eax*4 + 0x4d06f0]
cmp byte [edi + 0x24], 0
je 0x421a18
lea eax, [esp + 0x68]
push eax
push dword [edi + 4]
mov eax, dword [esp + 0x570]
push dword [eax]
push ebp
call fcn.00420060
add esp, 0x10
mov esi, 0
test eax, eax
mov dword [esp + 0xc], eax
je 0x4219ad
mov ebx, eax
push eax
call fcn.004b32c0
add esp, 4
add eax, eax
add eax, 1
push 0
push 1
push eax
call fcn.004397d0
add esp, 0xc
mov esi, eax
mov al, byte [ebx]
mov ebx, esi
test al, al
je 0x4219a6
push 0
mov ebx, eax
call fcn.004b36d0
mov ecx, ebx
add esp, 4
mov ebp, dword [esp + 0xc]
add ebp, 1
mov ebx, esi
mov dword [esp + 0x10], esi
jmp 0x42141c
xor eax, eax
mov byte [ebx], 0x26
add ebx, 1
movzx ecx, byte [ebp - 1]
mov byte [ebx], cl
add ebx, 1
movzx ecx, byte [ebp]
add ebp, 1
test cl, cl
je 0x4219a6
test al, al
jne 0x421430
cmp cl, 0x26
je 0x4213fe
jmp 0x421408
movsx esi, al
mov edi, eax
movzx eax, cl
push eax
mov byte [esp + 8], cl
call fcn.004b36d0
movzx ecx, byte [esp + 8]
add esp, 4
cmp eax, esi
mov eax, edi
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 8]
jne 0x421420
jmp 0x4213fc
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.004223a0
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 0x4218fc
mov ecx, dword [esp]
lea edi, [ecx + 1]
test al, al
mov dword [esp + 4], esi
je 0x421c22
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
test esi, esi
je 0x421cee
push dword [esp]
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push ebx
push eax
push 3
lea esi, [esp + 0x60]
push esi
call fcn.0041fe00
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
jmp 0x421cf2
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
movsx edx, byte [edi + 0x24]
call fcn.004223a0
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.004397d0
add esp, 0xc
mov dword [esp + 4], eax
mov edi, dword [edi + 0x2c]
test edi, edi
jle 0x42183b
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x34]
mov ecx, dword [esp]
add ecx, 1
mov dword [esp + 0x10], ecx
xor ebp, ebp
mov esi, 1
jmp 0x42154d
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 0x42183b
xor ebx, ebx
test eax, eax
je 0x421560
movzx eax, byte [eax + ebp]
jmp 0x421562
xor eax, eax
mov edi, dword [esp + 8]
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + ebp*4]
movsx edx, al
call fcn.004223a0
mov ecx, dword [esp + 4]
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 0x42153d
cmp esi, 0x10
jl 0x421530
push 0x638
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.nshortcuts___MAX_SHORTCUTS_PER_CTRL
call fcn.004af403
add esp, 0xc
mov eax, dword [edi + 0x34]
jmp 0x421530
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.004223a0
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 edx, ebp
mov ebp, dword [esp]
push ebp
push esi
push 0
push 0x50014003
push str.BUTTON
push 8
push ecx
push eax
push 3
push edx
call fcn.0041fe00
add esp, 0x28
push esi
call fcn.00439860
add esp, 4
jmp 0x421a67
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.004223a0
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 0x421652
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x421652
push 0
push ebx
push 0x401
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 4]
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.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.00439860
add esp, 4
mov dword [esp + 0xc], 1
xor esi, esi
mov ebp, dword [esp]
jmp 0x421c05
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.004223a0
mov ebx, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
cmp byte [edi + 0x2c], 0
je 0x421a74
push 0
push 0x18
push 1
call fcn.004397d0
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
mov dword [esp + 0x20], esi
push esi
call fcn.00420400
add esp, 0x20
mov word [esp + 0x79], 0x6475
mov dword [esp + 0xc], 4
jmp 0x422194
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.004223a0
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 0x421b34
push edi
push esi
push 0
push 0x50014000
push str.BUTTON
push 0xe
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
jmp 0x421bde
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.004223a0
mov dword [esp + 4], 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
mov esi, ebp
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.0041fe00
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 0x4f3707
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
push esi
call fcn.0041fe00
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 + 0x24]
push dword [esp + 0x64]
push ebx
push esi
call fcn.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0x11
push 0
push 0
push 0
push 0x4f3707
call fcn.00449d60
add esp, 0x10
mov esi, eax
push dword [esp + 4]
call fcn.00439860
add esp, 4
mov dword [esp + 0xc], 3
jmp 0x421d5f
lea ecx, [esp + 0x3c]
mov ebx, dword [esp + 0x28]
mov edx, ebx
push edi
mov ebp, dword [esp + 8]
push ebp
mov edi, dword [esp + 0x10]
push dword [edi + 0x28]
push dword [esp + 0xc]
call fcn.0041fee0
add esp, 0x10
cmp dword [edi + 0x2c], 0
jle 0x421884
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + esi*8]
call fcn.00439860
add esp, 4
add esi, 1
cmp esi, dword [edi + 0x2c]
jl 0x421870
add dword [esp + 0xc], 1
push ebp
call fcn.00439860
add esp, 4
push ebx
call fcn.00439860
add esp, 4
xor esi, esi
mov ebp, dword [esp]
jmp 0x421d5f
and esi, 0xfffffffc
neg esi
mov edx, 1
lea edi, [esp + 0x3a4]
jmp 0x4218d8
add edi, 0x90
lea ebx, [esi + edx]
add ebx, 4
add edx, 4
cmp ebx, 1
je 0x4212ac
mov ebp, dword [edi - 0x6c]
mov ebx, dword [edi - 0x48]
cmp eax, ebp
cmovl eax, ebp
cmp eax, ebx
jl 0x4218e9
mov ebx, eax
mov ebp, dword [edi - 0x24]
cmp ebx, ebp
jl 0x4218f2
mov ebp, ebx
mov eax, dword [edi]
cmp ebp, eax
jl 0x4218c0
mov eax, ebp
jmp 0x4218c0
test al, al
je 0x421c6c
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 + 0x10], eax
mov eax, edx
shr eax, 0x1f
sar edx, 5
mov dword [esp + 4], esi
lea esi, [esp + 0x3c]
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 dword [esp + 8]
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
push esi
call fcn.0041fe00
add esp, 0x28
push dword [esp + 0x10]
push 0x4f3707
push 0x200
push 0x50210202
push str.COMBOBOX
push pe_nt_image_headers32
push edi
mov edi, dword [esp + 0x24]
push dword [esp + 0x64]
push ebx
push esi
mov esi, dword [esp + 0x2c]
call fcn.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0xf
jmp 0x421d4c
mov byte [ebx], 0
lea ebp, [esp + 0x3c]
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.0041fe00
add esp, 0x28
push esi
call fcn.00439860
add esp, 4
push dword [esp + 0xc]
call fcn.00439860
add esp, 4
mov dword [esp + 0xc], 1
mov ebx, ebp
xor esi, esi
cmp dword [esp + 0x3c], 0
jne 0x421d6c
jmp 0x421c14
mov eax, ebp
mov ebp, dword [esp]
push ebp
push 0x4f3707
push 0x200
push 0x50010880
push str.EDIT
push 0xc
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
push eax
call fcn.0041fe00
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.0043fdd0
add esp, 8
mov dword [esp + 0xc], 1
jmp 0x421d5d
mov ebp, 0x51eb851f
mov esi, dword [edi + 0x28]
test esi, esi
je 0x421c96
mov ecx, dword [edi + 0x30]
mov ebp, dword [esp]
lea eax, [ebp + 1]
mov dword [esp + 4], eax
test ebx, ebx
lea edi, [esp + 0x3c]
je 0x421acd
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], 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
push edi
call fcn.0041fe00
mov ecx, dword [esp + 0x38]
add esp, 0x28
mov ebp, 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, ebp
push dword [esp + 4]
push 0x4f3707
push 0x200
push esi
push str.LISTBOX
push edx
push ecx
push eax
push 3
push edi
call fcn.0041fe00
add esp, 0x28
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x422194
lea eax, [ebp + 1]
mov dword [esp + 4], 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.0041fe00
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 + 4]
push 0x4f3707
push 0x200
push 0x50010080
push str.EDIT
push 0xc
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fe00
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.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.00439860
add esp, 4
mov dword [esp + 0xc], 3
xor esi, esi
mov ebx, ebp
mov edi, dword [esp + 8]
cmp dword [esp + 0x3c], 0
jne 0x421d6c
push esi
call fcn.00439860
add esp, 4
jmp 0x421f2f
mov eax, dword [esp + 8]
mov bl, byte [eax + 0x2c]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
test esi, esi
je 0x421d0c
push dword [esp]
push esi
push 0
push 0x50000000
push str.STATIC
push 8
push ebp
push eax
push 3
lea esi, [esp + 0x60]
push esi
call fcn.0041fe00
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
jmp 0x421d10
cmp byte [edi + 0x2c], 0
mov eax, 0x420360
mov edx, 0x4202c0
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
jmp 0x421d4c
mov ecx, dword [edi + 0x34]
mov esi, dword [esp]
lea edx, [esi + 1]
cmp ecx, 0x64
jne 0x4220b3
mov eax, dword [esp + 0x48]
test ebx, ebx
je 0x422151
push dword [esp]
push ebx
push 0
push 0x50000000
push str.STATIC
push 8
push dword [esp + 0x64]
push eax
push 3
lea esi, [esp + 0x60]
push esi
mov ebp, edx
call fcn.0041fe00
mov edx, ebp
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 8
mov dword [esp + 0x48], eax
jmp 0x422155
lea esi, [esp + 0x3c]
push edi
push 0x4f3707
push 0x200
push 0x50210202
push str.COMBOBOX
push pe_nt_image_headers32
push ebx
jmp 0x421d30
lea esi, [esp + 0x3c]
movzx ecx, bl
shl ecx, 5
or ecx, 0x50010080
push edi
push 0x4f3707
push 0x200
push ecx
push str.EDIT
push 0xc
push ebp
push eax
push 3
push esi
call fcn.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0xf
mov ebp, dword [esp]
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
push esi
call fcn.00439860
add esp, 4
mov dword [esp + 0xc], 2
xor esi, esi
mov ebx, ebp
cmp dword [esp + 0x3c], 0
je 0x421c14
push 0
push 0x24
push 1
mov ebp, esi
call fcn.004397d0
add esp, 0xc
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], ebp
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
test edi, edi
je 0x421de7
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.0043aa10
add esp, 8
cmp eax, esi
je 0x421de7
push 0x516
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ret__c
call fcn.004af403
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.0043aa10
add esp, 8
cmp eax, esi
je 0x421e15
push 0x519
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.ret__c
call fcn.004af403
add esp, 0xc
xor edi, edi
jmp 0x421e34
mov eax, dword [esp + 0x560]
mov byte [eax + ebp + 0x3c], 1
add edi, 1
cmp edi, 0x10
je 0x421e70
movzx eax, byte [esi + edi + 0x10]
test eax, eax
je 0x421e2c
push eax
call fcn.004b36d0
add esp, 4
movzx ebp, al
mov eax, dword [esp + 0x560]
cmp byte [eax + ebp + 0x3c], 0
je 0x421e20
push 0x4c0
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str._dp__shortcuts_s_
call fcn.004af403
add esp, 0xc
jmp 0x421e20
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 + 8]
cmp dword [edi + 0x20], 0
je 0x421f2f
mov dword [esp], ebp
xor ebp, ebp
mov ebx, dword [esp + 0x564]
jmp 0x421ea7
mov edi, dword [edi + 0x20]
test edi, edi
je 0x421f20
push 0x420c70
push edi
push dword [ebx]
call fcn.0043b700
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421ed4
push 0x6c8
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.thisc
call fcn.004af403
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 0x421efe
push 0x6cb
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push 0x4f4538
call fcn.004af403
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421ea0
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x6c]
cmp ebp, eax
cmovl ebp, eax
jmp 0x421ea0
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 8]
test eax, eax
jne 0x421fa2
mov ebp, dword [esp]
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x56c]
mov esi, dword [esp + 0x20]
js 0x420f39
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x420f39
mov edi, dword [esp + 0x1c]
add ebx, edi
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi*8]
lea esi, [esp + 0x314]
lea ecx, [esi + ecx*4]
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ecx], eax
add edi, 1
add ecx, 0x24
cmp edi, ebx
jl 0x421f70
jmp 0x420f35
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
mov ebx, dword [esp + 0x564]
je 0x421f2c
push 0x420c70
mov dword [esp + 0xc], eax
push eax
push dword [ebx]
call fcn.0043b700
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421fd3
push 0x6d7
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.thisc
call fcn.004af403
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 0x421ffd
push 0x6da
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push 0x4f4538
call fcn.004af403
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421f90
mov edi, dword [esi + 8]
test edi, edi
jle 0x421f90
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 0x421f90
mov ecx, eax
shr ecx, 0x1f
add ecx, eax
sar ecx, 1
mov dword [esp + 4], ecx
mov ebx, dword [esi + 4]
mov ebp, dword [esp + 0x3c]
jmp 0x42205c
add ebx, 1
add edi, 0xffffffff
je 0x421f90
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 0x422050
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x60]
push eax
push ebp
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x422050
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 0x422050
mov eax, 0x64
sub eax, ecx
mov edi, dword [esp + 0x4c]
add edi, 3
imul eax, edi
mov dword [esp + 4], edx
imul ebp
mov eax, dword [esp + 0x48]
mov ecx, edx
shr ecx, 0x1f
sar edx, 5
lea ebp, [edx + ecx]
add ebp, 3
add ecx, edx
add ecx, 0xfffffffd
sub edi, ebp
add eax, 2
push esi
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.0041fe00
add esp, 0x28
push dword [esp + 4]
push 0x4f3707
push 0x200
push 0x50210203
push str.COMBOBOX
push 0x30
push edi
mov edi, dword [esp + 0x24]
push dword [esp + 0x64]
push ebp
lea eax, [esp + 0x60]
push eax
call fcn.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0xf
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, esi
jmp 0x422194
lea esi, [esp + 0x3c]
push edx
push 0x4f3707
push 0x200
push 0x50210203
push str.COMBOBOX
push 0x30
push dword [esp + 0x64]
push eax
push 3
push esi
call fcn.0041fe00
add esp, 0x28
add dword [esp + 0x48], 0xf
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, dword [esp]
mov eax, dword [edi + 0x38]
test eax, eax
je 0x42223f
mov dword [esp + 0x10], 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.004397d0
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 0x38]
cmp eax, 2
jl 0x42220e
xor ecx, ecx
xor ebp, ebp
mov edi, dword [esp + 8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
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 0x4221e0
jmp 0x422215
add eax, 0xffffffff
mov edi, dword [esp + 8]
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.00439860
add esp, 4
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00439860
add esp, 4
mov ebx, ebp
mov esi, dword [esp + 4]
cmp dword [esp + 0x3c], 0
jne 0x421d6c
jmp 0x421c14
mov esi, dword [esp + 0x14]
test esi, esi
jg 0x422270
jmp 0x422300
mov esi, 1
mov eax, dword [esp + 0x568]
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp esi, 1
jne 0x422291
mov ebx, esi
test bl, 1
jne 0x4222e1
mov edx, dword [esp + 0x56c]
jmp 0x422300
mov ebx, esi
mov edx, esi
and edx, 0xfffffffe
lea esi, [esp + 0x338]
xor ecx, ecx
jmp 0x4222ba
add ecx, 2
add esi, 0x48
cmp edx, ecx
je 0x422283
mov edi, dword [esi - 0x24]
cmp eax, edi
jge 0x4222cd
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
mov edi, dword [esi]
cmp eax, edi
jge 0x4222b0
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
jmp 0x4222b0
lea ecx, [ecx + ecx*8]
mov ecx, dword [esp + ecx*4 + 0x314]
cmp eax, ecx
mov edx, dword [esp + 0x56c]
jge 0x422300
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 0x422366
cmp byte [eax], 0
je 0x422366
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, 0x4f3707
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.0041fe00
add esp, 0x28
add dword [ebx + 0xc], 4
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0049fc40
add esp, 0x54c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6a3
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_windows_controls.c
push str.false___bad_control_type_in_winctrl_layout_
call fcn.004af403
add esp, 0xc
call fcn.00406a00
int3