Function at 0x4207f0
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 [0x500034]
xor eax, esp
mov dword [esp + 0x548], eax
mov ebp, dword [ecx]
push edi
call fcn.00449770
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x4208f5
cmp byte [eax], 0
je 0x4209e4
push 0
push 0x24
push 1
call fcn.004392c0
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.0043a500
add esp, 8
cmp eax, esi
je 0x4208ad
push 0x519
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.004adb03
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 0x4209e4
cmp dword [edi + 8], 0
je 0x4209e4
push 0
push 0x24
push 1
call fcn.004392c0
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.0043ea00
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 0x420980
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.0043a500
add esp, 8
cmp eax, esi
je 0x420980
push 0x516
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.004adb03
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.0043a500
add esp, 8
cmp eax, esi
je 0x4209ae
push 0x519
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.004adb03
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.0041f910
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 0x421d7b
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
xor esi, esi
jmp 0x420a55
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 0x421d6e
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 0x420c40
cmp eax, 6
jne 0x420ca0
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 0x420aaa
push 0x590
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str._ctrl__columns.ncols__1____ncols__1_
call fcn.004adb03
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, 1
lea edi, [esp + 0x308]
jne 0x420d94
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x24]
cmp eax, 0x11
mov dword [esp + 0x14], eax
jb 0x420ae5
push 0x599
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ncols___lenof_columns_
call fcn.004adb03
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 2
jl 0x420bb3
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 0x420b77
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 0x420b30
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x420bb3
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 0x420ba0
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x420a3b
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 0x420be0
jmp 0x420a3b
cmp byte [edi + 8], 0
je 0x420c5d
push 0x5ba
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str._ctrl__delay_taborder
call fcn.004adb03
add esp, 0xc
mov edi, dword [edi + 0x24]
mov edx, dword [esp + 0x18]
test edx, edx
lea ebp, [esp + 0x3c]
jle 0x420df4
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 0x420e25
add esi, 1
cmp edx, esi
jne 0x420c80
mov esi, edx
jmp 0x420df6
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 0x420d1a
add ebp, 1
add eax, 0x24
cmp ebp, ecx
jae 0x420d30
mov edi, dword [eax]
cmp edx, edi
jge 0x420d10
mov dword [esp + 0x48], edi
mov edx, edi
jmp 0x420d10
cmp byte [ebx + 8], 0
je 0x420e15
mov edx, dword [esp + 0x18]
cmp edx, 0x10
lea ebp, [esp + 0x3c]
jb 0x420d62
push 0x5df
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ntabdelays___lenof_tabdelays_
call fcn.004adb03
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 0x420e4b
mov eax, dword [esp + 0x314]
jle 0x420a1e
lea esi, [edx - 1]
add edx, 0xfffffffe
mov ecx, esi
and ecx, 3
mov edi, edx
mov edx, 1
cmp edi, 3
jae 0x4213b5
test ecx, ecx
lea edi, [esp + 0x308]
je 0x420a1e
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 0x420de0
jmp 0x420a1e
xor esi, esi
mov ebx, edi
push 0x5c0
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.i___ntabdelays
call fcn.004adb03
add esp, 0xc
mov edx, dword [esp + 0x18]
jmp 0x420e27
mov edi, ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebp, [esp + 0x3c]
jmp 0x420e4b
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.0x420e88.6
mov dword [esp + 8], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp dword [eax*4 + 0x4ce8a4]
cmp byte [edi + 0x24], 0
je 0x421528
lea eax, [esp + 0x68]
push eax
push dword [edi + 4]
mov eax, dword [esp + 0x570]
push dword [eax]
push ebp
call fcn.0041fb70
add esp, 0x10
mov esi, 0
test eax, eax
mov dword [esp + 0xc], eax
je 0x4214bd
mov ebx, eax
push eax
call fcn.004b19c0
add esp, 4
add eax, eax
add eax, 1
push 0
push 1
push eax
call fcn.004392c0
add esp, 0xc
mov esi, eax
mov al, byte [ebx]
mov ebx, esi
test al, al
je 0x4214b6
push 0
mov ebx, eax
call fcn.004b1dd0
mov ecx, ebx
add esp, 4
mov ebp, dword [esp + 0xc]
add ebp, 1
mov ebx, esi
mov dword [esp + 0x10], esi
jmp 0x420f2c
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 0x4214b6
test al, al
jne 0x420f40
cmp cl, 0x26
je 0x420f0e
jmp 0x420f18
movsx esi, al
mov edi, eax
movzx eax, cl
push eax
mov byte [esp + 8], cl
call fcn.004b1dd0
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 0x420f30
jmp 0x420f0c
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421eb0
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 0x42140c
mov ecx, dword [esp]
lea edi, [ecx + 1]
test al, al
mov dword [esp + 4], esi
je 0x421732
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
test esi, esi
je 0x4217fe
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.0041f910
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
jmp 0x421802
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
movsx edx, byte [edi + 0x24]
call fcn.00421eb0
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.004392c0
add esp, 0xc
mov dword [esp + 4], eax
mov edi, dword [edi + 0x2c]
test edi, edi
jle 0x42134b
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 0x42105d
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 0x42134b
xor ebx, ebx
test eax, eax
je 0x421070
movzx eax, byte [eax + ebp]
jmp 0x421072
xor eax, eax
mov edi, dword [esp + 8]
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + ebp*4]
movsx edx, al
call fcn.00421eb0
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 0x42104d
cmp esi, 0x10
jl 0x421040
push 0x638
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.nshortcuts___MAX_SHORTCUTS_PER_CTRL
call fcn.004adb03
add esp, 0xc
mov eax, dword [edi + 0x34]
jmp 0x421040
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421eb0
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.0041f910
add esp, 0x28
push esi
call fcn.00439350
add esp, 4
jmp 0x421577
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421eb0
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 0x421162
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x421162
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.0041f910
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.00439350
add esp, 4
mov dword [esp + 0xc], 1
xor esi, esi
mov ebp, dword [esp]
jmp 0x421715
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421eb0
mov ebx, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
cmp byte [edi + 0x2c], 0
je 0x421584
push 0
push 0x18
push 1
call fcn.004392c0
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.0041ff10
add esp, 0x20
mov word [esp + 0x79], 0x6475
mov dword [esp + 0xc], 4
jmp 0x421ca4
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421eb0
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 0x421644
push edi
push esi
push 0
push 0x50014000
push str.BUTTON
push 0xe
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
jmp 0x4216ee
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00421eb0
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.0041f910
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 0x4f14dc
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
push esi
call fcn.0041f910
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.0041f910
add esp, 0x28
add dword [esp + 0x48], 0x11
push 0
push 0
push 0
push 0x4f14dc
call fcn.00449860
add esp, 0x10
mov esi, eax
push dword [esp + 4]
call fcn.00439350
add esp, 4
mov dword [esp + 0xc], 3
jmp 0x42186f
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.0041f9f0
add esp, 0x10
cmp dword [edi + 0x2c], 0
jle 0x421394
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + esi*8]
call fcn.00439350
add esp, 4
add esi, 1
cmp esi, dword [edi + 0x2c]
jl 0x421380
add dword [esp + 0xc], 1
push ebp
call fcn.00439350
add esp, 4
push ebx
call fcn.00439350
add esp, 4
xor esi, esi
mov ebp, dword [esp]
jmp 0x42186f
and esi, 0xfffffffc
neg esi
mov edx, 1
lea edi, [esp + 0x3a4]
jmp 0x4213e8
add edi, 0x90
lea ebx, [esi + edx]
add ebx, 4
add edx, 4
cmp ebx, 1
je 0x420dbc
mov ebp, dword [edi - 0x6c]
mov ebx, dword [edi - 0x48]
cmp eax, ebp
cmovl eax, ebp
cmp eax, ebx
jl 0x4213f9
mov ebx, eax
mov ebp, dword [edi - 0x24]
cmp ebx, ebp
jl 0x421402
mov ebp, ebx
mov eax, dword [edi]
cmp ebp, eax
jl 0x4213d0
mov eax, ebp
jmp 0x4213d0
test al, al
je 0x42177c
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.0041f910
add esp, 0x28
push dword [esp + 0x10]
push 0x4f14dc
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.0041f910
add esp, 0x28
add dword [esp + 0x48], 0xf
jmp 0x42185c
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.0041f910
add esp, 0x28
push esi
call fcn.00439350
add esp, 4
push dword [esp + 0xc]
call fcn.00439350
add esp, 4
mov dword [esp + 0xc], 1
mov ebx, ebp
xor esi, esi
cmp dword [esp + 0x3c], 0
jne 0x42187c
jmp 0x421724
mov eax, ebp
mov ebp, dword [esp]
push ebp
push 0x4f14dc
push 0x200
push 0x50010880
push str.EDIT
push 0xc
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
push eax
call fcn.0041f910
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.0043f8d0
add esp, 8
mov dword [esp + 0xc], 1
jmp 0x42186d
mov ebp, 0x51eb851f
mov esi, dword [edi + 0x28]
test esi, esi
je 0x4217a6
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 0x4215dd
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.0041f910
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 0x4f14dc
push 0x200
push esi
push str.LISTBOX
push edx
push ecx
push eax
push 3
push edi
call fcn.0041f910
add esp, 0x28
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x421ca4
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.0041f910
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 0x4f14dc
push 0x200
push 0x50010080
push str.EDIT
push 0xc
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041f910
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.0041f910
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.00439350
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 0x42187c
push esi
call fcn.00439350
add esp, 4
jmp 0x421a3f
mov eax, dword [esp + 8]
mov bl, byte [eax + 0x2c]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
test esi, esi
je 0x42181c
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.0041f910
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
jmp 0x421820
cmp byte [edi + 0x2c], 0
mov eax, 0x41fe70
mov edx, 0x41fdd0
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 0x42185c
mov ecx, dword [edi + 0x34]
mov esi, dword [esp]
lea edx, [esi + 1]
cmp ecx, 0x64
jne 0x421bc3
mov eax, dword [esp + 0x48]
test ebx, ebx
je 0x421c61
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.0041f910
mov edx, ebp
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 8
mov dword [esp + 0x48], eax
jmp 0x421c65
lea esi, [esp + 0x3c]
push edi
push 0x4f14dc
push 0x200
push 0x50210202
push str.COMBOBOX
push pe_nt_image_headers32
push ebx
jmp 0x421840
lea esi, [esp + 0x3c]
movzx ecx, bl
shl ecx, 5
or ecx, 0x50010080
push edi
push 0x4f14dc
push 0x200
push ecx
push str.EDIT
push 0xc
push ebp
push eax
push 3
push esi
call fcn.0041f910
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.00439350
add esp, 4
mov dword [esp + 0xc], 2
xor esi, esi
mov ebx, ebp
cmp dword [esp + 0x3c], 0
je 0x421724
push 0
push 0x24
push 1
mov ebp, esi
call fcn.004392c0
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 0x4218f7
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.0043a500
add esp, 8
cmp eax, esi
je 0x4218f7
push 0x516
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.004adb03
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.0043a500
add esp, 8
cmp eax, esi
je 0x421925
push 0x519
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.004adb03
add esp, 0xc
xor edi, edi
jmp 0x421944
mov eax, dword [esp + 0x560]
mov byte [eax + ebp + 0x3c], 1
add edi, 1
cmp edi, 0x10
je 0x421980
movzx eax, byte [esi + edi + 0x10]
test eax, eax
je 0x42193c
push eax
call fcn.004b1dd0
add esp, 4
movzx ebp, al
mov eax, dword [esp + 0x560]
cmp byte [eax + ebp + 0x3c], 0
je 0x421930
push 0x4c0
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str._dp__shortcuts_s_
call fcn.004adb03
add esp, 0xc
jmp 0x421930
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 0x421a3f
mov dword [esp], ebp
xor ebp, ebp
mov ebx, dword [esp + 0x564]
jmp 0x4219b7
mov edi, dword [edi + 0x20]
test edi, edi
je 0x421a30
push 0x420780
push edi
push dword [ebx]
call fcn.0043b1f0
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x4219e4
push 0x6c8
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.thisc
call fcn.004adb03
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 0x421a0e
push 0x6cb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push 0x4f22f4
call fcn.004adb03
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4219b0
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x6c]
cmp ebp, eax
cmovl ebp, eax
jmp 0x4219b0
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 8]
test eax, eax
jne 0x421ab2
mov ebp, dword [esp]
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x56c]
mov esi, dword [esp + 0x20]
js 0x420a49
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x420a49
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 0x421a80
jmp 0x420a45
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
mov ebx, dword [esp + 0x564]
je 0x421a3c
push 0x420780
mov dword [esp + 0xc], eax
push eax
push dword [ebx]
call fcn.0043b1f0
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421ae3
push 0x6d7
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.thisc
call fcn.004adb03
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 0x421b0d
push 0x6da
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push 0x4f22f4
call fcn.004adb03
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421aa0
mov edi, dword [esi + 8]
test edi, edi
jle 0x421aa0
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 0x421aa0
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 0x421b6c
add ebx, 1
add edi, 0xffffffff
je 0x421aa0
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 0x421b60
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 0x421b60
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 0x421b60
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.0041f910
add esp, 0x28
push dword [esp + 4]
push 0x4f14dc
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.0041f910
add esp, 0x28
add dword [esp + 0x48], 0xf
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, esi
jmp 0x421ca4
lea esi, [esp + 0x3c]
push edx
push 0x4f14dc
push 0x200
push 0x50210203
push str.COMBOBOX
push 0x30
push dword [esp + 0x64]
push eax
push 3
push esi
call fcn.0041f910
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 0x421d4f
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.004392c0
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 0x38]
cmp eax, 2
jl 0x421d1e
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 0x421cf0
jmp 0x421d25
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.00439350
add esp, 4
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00439350
add esp, 4
mov ebx, ebp
mov esi, dword [esp + 4]
cmp dword [esp + 0x3c], 0
jne 0x42187c
jmp 0x421724
mov esi, dword [esp + 0x14]
test esi, esi
jg 0x421d80
jmp 0x421e10
mov esi, 1
mov eax, dword [esp + 0x568]
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp esi, 1
jne 0x421da1
mov ebx, esi
test bl, 1
jne 0x421df1
mov edx, dword [esp + 0x56c]
jmp 0x421e10
mov ebx, esi
mov edx, esi
and edx, 0xfffffffe
lea esi, [esp + 0x338]
xor ecx, ecx
jmp 0x421dca
add ecx, 2
add esi, 0x48
cmp edx, ecx
je 0x421d93
mov edi, dword [esi - 0x24]
cmp eax, edi
jge 0x421ddd
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
mov edi, dword [esi]
cmp eax, edi
jge 0x421dc0
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
jmp 0x421dc0
lea ecx, [ecx + ecx*8]
mov ecx, dword [esp + ecx*4 + 0x314]
cmp eax, ecx
mov edx, dword [esp + 0x56c]
jge 0x421e10
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 0x421e76
cmp byte [eax], 0
je 0x421e76
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, 0x4f14dc
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.0041f910
add esp, 0x28
add dword [ebx + 0xc], 4
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.0049e340
add esp, 0x54c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x6a3
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.false___bad_control_type_in_winctrl_layout_
call fcn.004adb03
add esp, 0xc
call fcn.00406a00
int3