Function at 0x420990
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 [0x483038]
xor eax, esp
mov dword [esp + 0x548], eax
mov ebp, dword [ecx]
push edi
call fcn.00440520
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x420a95
cmp byte [eax], 0
je 0x420b84
push 0
push 0x24
push 1
call fcn.004306d0
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.00431010
add esp, 8
cmp eax, esi
je 0x420a4d
push 0x519
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.0044edd0
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 0x420b84
cmp dword [edi + 8], 0
je 0x420b84
push 0
push 0x24
push 1
call fcn.004306d0
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.00430210
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 0x420b20
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.00431010
add esp, 8
cmp eax, esi
je 0x420b20
push 0x516
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.0044edd0
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.00431010
add esp, 8
cmp eax, esi
je 0x420b4e
push 0x519
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.0044edd0
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.0041fab0
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 0x421f1b
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
xor esi, esi
jmp 0x420bf5
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 0x421f0e
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 0x420de0
cmp eax, 6
jne 0x420e40
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 0x420c4a
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.0044edd0
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp edx, 1
lea edi, [esp + 0x308]
jne 0x420f34
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x24]
cmp eax, 0x11
mov dword [esp + 0x14], eax
jb 0x420c85
push 0x599
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ncols___lenof_columns_
call fcn.0044edd0
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, 2
jl 0x420d53
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 0x420d17
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 0x420cd0
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x420d53
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 0x420d40
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x420bdb
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 0x420d80
jmp 0x420bdb
cmp byte [edi + 8], 0
je 0x420dfd
push 0x5ba
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str._ctrl__delay_taborder
call fcn.0044edd0
add esp, 0xc
mov edi, dword [edi + 0x24]
mov edx, dword [esp + 0x18]
test edx, edx
lea ebp, [esp + 0x3c]
jle 0x420f94
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 0x420fc5
add esi, 1
cmp edx, esi
jne 0x420e20
mov esi, edx
jmp 0x420f96
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 0x420eba
add ebp, 1
add eax, 0x24
cmp ebp, ecx
jae 0x420ed0
mov edi, dword [eax]
cmp edx, edi
jge 0x420eb0
mov dword [esp + 0x48], edi
mov edx, edi
jmp 0x420eb0
cmp byte [ebx + 8], 0
je 0x420fb5
mov edx, dword [esp + 0x18]
cmp edx, 0x10
lea ebp, [esp + 0x3c]
jb 0x420f02
push 0x5df
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ntabdelays___lenof_tabdelays_
call fcn.0044edd0
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 0x420feb
mov eax, dword [esp + 0x314]
jle 0x420bbe
lea esi, [edx - 1]
add edx, 0xfffffffe
mov ecx, esi
and ecx, 3
mov edi, edx
mov edx, 1
cmp edi, 3
jae 0x421555
test ecx, ecx
lea edi, [esp + 0x308]
je 0x420bbe
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 0x420f80
jmp 0x420bbe
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.0044edd0
add esp, 0xc
mov edx, dword [esp + 0x18]
jmp 0x420fc7
mov edi, ebx
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebp, [esp + 0x3c]
jmp 0x420feb
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.0x421028.6
mov dword [esp + 8], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
jmp dword [eax*4 + 0x46b914]
cmp byte [edi + 0x24], 0
je 0x4216c8
lea eax, [esp + 0x68]
push eax
push dword [edi + 4]
mov eax, dword [esp + 0x570]
push dword [eax]
push ebp
call fcn.0041fd10
add esp, 0x10
mov esi, 0
test eax, eax
mov dword [esp + 0xc], eax
je 0x42165d
mov ebx, eax
push eax
call fcn.00452190
add esp, 4
add eax, eax
add eax, 1
push 0
push 1
push eax
call fcn.004306d0
add esp, 0xc
mov esi, eax
mov al, byte [ebx]
mov ebx, esi
test al, al
je 0x421656
push 0
mov ebx, eax
call fcn.0045255a
mov ecx, ebx
add esp, 4
mov ebp, dword [esp + 0xc]
add ebp, 1
mov ebx, esi
mov dword [esp + 0x10], esi
jmp 0x4210cc
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 0x421656
test al, al
jne 0x4210e0
cmp cl, 0x26
je 0x4210ae
jmp 0x4210b8
movsx esi, al
mov edi, eax
movzx eax, cl
push eax
mov byte [esp + 8], cl
call fcn.0045255a
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 0x4210d0
jmp 0x4210ac
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00422050
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 0x4215ac
mov ecx, dword [esp]
lea edi, [ecx + 1]
test al, al
mov dword [esp + 4], esi
je 0x4218d2
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
test esi, esi
je 0x42199e
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.0041fab0
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
jmp 0x4219a2
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xc], eax
movsx edx, byte [edi + 0x24]
call fcn.00422050
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.004306d0
add esp, 0xc
mov dword [esp + 4], eax
mov edi, dword [edi + 0x2c]
test edi, edi
jle 0x4214eb
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 0x4211fd
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 0x4214eb
xor ebx, ebx
test eax, eax
je 0x421210
movzx eax, byte [eax + ebp]
jmp 0x421212
xor eax, eax
mov edi, dword [esp + 8]
mov ecx, dword [edi + 0x30]
mov ecx, dword [ecx + ebp*4]
movsx edx, al
call fcn.00422050
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 0x4211ed
cmp esi, 0x10
jl 0x4211e0
push 0x638
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.nshortcuts___MAX_SHORTCUTS_PER_CTRL
call fcn.0044edd0
add esp, 0xc
mov eax, dword [edi + 0x34]
jmp 0x4211e0
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00422050
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.0041fab0
add esp, 0x28
push esi
call fcn.00430760
add esp, 4
jmp 0x421717
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00422050
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 0x421302
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x421302
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.0041fab0
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.00430760
add esp, 4
mov dword [esp + 0xc], 1
xor esi, esi
mov ebp, dword [esp]
jmp 0x4218b5
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00422050
mov ebx, eax
mov al, byte [edi + 0x24]
mov byte [esp + 0x78], al
cmp byte [edi + 0x2c], 0
je 0x421724
push 0
push 0x18
push 1
call fcn.004306d0
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.004200b0
add esp, 0x20
mov word [esp + 0x79], 0x6475
mov dword [esp + 0xc], 4
jmp 0x421e44
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00422050
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 0x4217e4
push edi
push esi
push 0
push 0x50014000
push str.BUTTON
push 0xe
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
jmp 0x42188e
movsx edx, byte [edi + 0x24]
mov ecx, dword [edi + 4]
call fcn.00422050
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.0041fab0
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 0x47aa98
push 0
push 0x50000000
push str.STATIC
push 8
push ecx
push eax
push 3
push esi
call fcn.0041fab0
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.0041fab0
add esp, 0x28
add dword [esp + 0x48], 0x11
push 0
push 0
push 0
push 0x47aa98
call fcn.00440610
add esp, 0x10
mov esi, eax
push dword [esp + 4]
call fcn.00430760
add esp, 4
mov dword [esp + 0xc], 3
jmp 0x421a0f
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.0041fb90
add esp, 0x10
cmp dword [edi + 0x2c], 0
jle 0x421534
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + esi*8]
call fcn.00430760
add esp, 4
add esi, 1
cmp esi, dword [edi + 0x2c]
jl 0x421520
add dword [esp + 0xc], 1
push ebp
call fcn.00430760
add esp, 4
push ebx
call fcn.00430760
add esp, 4
xor esi, esi
mov ebp, dword [esp]
jmp 0x421a0f
and esi, 0xfffffffc
neg esi
mov edx, 1
lea edi, [esp + 0x3a4]
jmp 0x421588
add edi, 0x90
lea ebx, [esi + edx]
add ebx, 4
add edx, 4
cmp ebx, 1
je 0x420f5c
mov ebp, dword [edi - 0x6c]
mov ebx, dword [edi - 0x48]
cmp eax, ebp
cmovl eax, ebp
cmp eax, ebx
jl 0x421599
mov ebx, eax
mov ebp, dword [edi - 0x24]
cmp ebx, ebp
jl 0x4215a2
mov ebp, ebx
mov eax, dword [edi]
cmp ebp, eax
jl 0x421570
mov eax, ebp
jmp 0x421570
test al, al
je 0x42191c
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.0041fab0
add esp, 0x28
push dword [esp + 0x10]
push 0x47aa98
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.0041fab0
add esp, 0x28
add dword [esp + 0x48], 0xf
jmp 0x4219fc
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.0041fab0
add esp, 0x28
push esi
call fcn.00430760
add esp, 4
push dword [esp + 0xc]
call fcn.00430760
add esp, 4
mov dword [esp + 0xc], 1
mov ebx, ebp
xor esi, esi
cmp dword [esp + 0x3c], 0
jne 0x421a1c
jmp 0x4218c4
mov eax, ebp
mov ebp, dword [esp]
push ebp
push 0x47aa98
push 0x200
push 0x50010880
push str.EDIT
push 0xc
push dword [esp + 0x64]
push dword [esp + 0x64]
push 3
push eax
call fcn.0041fab0
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.00435a60
add esp, 8
mov dword [esp + 0xc], 1
jmp 0x421a0d
mov ebp, 0x51eb851f
mov esi, dword [edi + 0x28]
test esi, esi
je 0x421946
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 0x42177d
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.0041fab0
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 0x47aa98
push 0x200
push esi
push str.LISTBOX
push edx
push ecx
push eax
push 3
push edi
call fcn.0041fab0
add esp, 0x28
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, dword [esp]
mov edi, dword [esp + 8]
jmp 0x421e44
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.0041fab0
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 0x47aa98
push 0x200
push 0x50010080
push str.EDIT
push 0xc
push ecx
push eax
push 3
lea eax, [esp + 0x60]
push eax
call fcn.0041fab0
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.0041fab0
add esp, 0x28
add dword [esp + 0x48], 0x11
push esi
call fcn.00430760
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 0x421a1c
push esi
call fcn.00430760
add esp, 4
jmp 0x421bdf
mov eax, dword [esp + 8]
mov bl, byte [eax + 0x2c]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
test esi, esi
je 0x4219bc
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.0041fab0
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 9
mov dword [esp + 0x48], eax
jmp 0x4219c0
cmp byte [edi + 0x2c], 0
mov eax, 0x420010
mov edx, 0x41ff70
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 0x4219fc
mov ecx, dword [edi + 0x34]
mov esi, dword [esp]
lea edx, [esi + 1]
cmp ecx, 0x64
jne 0x421d63
mov eax, dword [esp + 0x48]
test ebx, ebx
je 0x421e01
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.0041fab0
mov edx, ebp
add esp, 0x28
mov eax, dword [esp + 0x48]
add eax, 8
mov dword [esp + 0x48], eax
jmp 0x421e05
lea esi, [esp + 0x3c]
push edi
push 0x47aa98
push 0x200
push 0x50210202
push str.COMBOBOX
push pe_nt_image_headers32
push ebx
jmp 0x4219e0
lea esi, [esp + 0x3c]
movzx ecx, bl
shl ecx, 5
or ecx, 0x50010080
push edi
push 0x47aa98
push 0x200
push ecx
push str.EDIT
push 0xc
push ebp
push eax
push 3
push esi
call fcn.0041fab0
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.00430760
add esp, 4
mov dword [esp + 0xc], 2
xor esi, esi
mov ebx, ebp
cmp dword [esp + 0x3c], 0
je 0x4218c4
push 0
push 0x24
push 1
mov ebp, esi
call fcn.004306d0
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 0x421a97
push esi
mov eax, dword [esp + 0x568]
push dword [eax]
call fcn.00431010
add esp, 8
cmp eax, esi
je 0x421a97
push 0x516
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.0044edd0
add esp, 0xc
push esi
mov eax, dword [esp + 0x568]
push dword [eax + 4]
call fcn.00431010
add esp, 8
cmp eax, esi
je 0x421ac5
push 0x519
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.ret__c
call fcn.0044edd0
add esp, 0xc
xor edi, edi
jmp 0x421ae4
mov eax, dword [esp + 0x560]
mov byte [eax + ebp + 0x3c], 1
add edi, 1
cmp edi, 0x10
je 0x421b20
movzx eax, byte [esi + edi + 0x10]
test eax, eax
je 0x421adc
push eax
call fcn.0045255a
add esp, 4
movzx ebp, al
mov eax, dword [esp + 0x560]
cmp byte [eax + ebp + 0x3c], 0
je 0x421ad0
push 0x4c0
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str._dp__shortcuts_s_
call fcn.0044edd0
add esp, 0xc
jmp 0x421ad0
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 0x421bdf
mov dword [esp], ebp
xor ebp, ebp
mov ebx, dword [esp + 0x564]
jmp 0x421b57
mov edi, dword [edi + 0x20]
test edi, edi
je 0x421bd0
push 0x420920
push edi
push dword [ebx]
call fcn.00431d00
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421b84
push 0x6c8
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.thisc
call fcn.0044edd0
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 0x421bae
push 0x6cb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push 0x47b166
call fcn.0044edd0
add esp, 0xc
lea eax, [esp + 0x68]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421b50
mov eax, dword [esp + 0x74]
add eax, dword [esp + 0x6c]
cmp ebp, eax
cmovl ebp, eax
jmp 0x421b50
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 8]
test eax, eax
jne 0x421c52
mov ebp, dword [esp]
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x56c]
mov esi, dword [esp + 0x20]
js 0x420be9
mov ebx, dword [esp + 0x24]
test ebx, ebx
jle 0x420be9
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 0x421c20
jmp 0x420be5
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x20]
test eax, eax
mov ebx, dword [esp + 0x564]
je 0x421bdc
push 0x420920
mov dword [esp + 0xc], eax
push eax
push dword [ebx]
call fcn.00431d00
add esp, 0xc
mov esi, eax
test eax, eax
jne 0x421c83
push 0x6d7
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push str.thisc
call fcn.0044edd0
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 0x421cad
push 0x6da
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_windows_controls.c
push 0x47b166
call fcn.0044edd0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x421c40
mov edi, dword [esi + 8]
test edi, edi
jle 0x421c40
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 0x421c40
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 0x421d0c
add ebx, 1
add edi, 0xffffffff
je 0x421c40
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 0x421d00
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 0x421d00
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 0x421d00
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.0041fab0
add esp, 0x28
push dword [esp + 4]
push 0x47aa98
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.0041fab0
add esp, 0x28
add dword [esp + 0x48], 0xf
mov dword [esp + 0xc], 2
mov dword [esp + 4], 0
mov ebp, esi
jmp 0x421e44
lea esi, [esp + 0x3c]
push edx
push 0x47aa98
push 0x200
push 0x50210203
push str.COMBOBOX
push 0x30
push dword [esp + 0x64]
push eax
push 3
push esi
call fcn.0041fab0
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 0x421eef
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.004306d0
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 0x38]
cmp eax, 2
jl 0x421ebe
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 0x421e90
jmp 0x421ec5
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.00430760
add esp, 4
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00430760
add esp, 4
mov ebx, ebp
mov esi, dword [esp + 4]
cmp dword [esp + 0x3c], 0
jne 0x421a1c
jmp 0x4218c4
mov esi, dword [esp + 0x14]
test esi, esi
jg 0x421f20
jmp 0x421fb0
mov esi, 1
mov eax, dword [esp + 0x568]
mov eax, dword [eax + 0xc]
xor ecx, ecx
cmp esi, 1
jne 0x421f41
mov ebx, esi
test bl, 1
jne 0x421f91
mov edx, dword [esp + 0x56c]
jmp 0x421fb0
mov ebx, esi
mov edx, esi
and edx, 0xfffffffe
lea esi, [esp + 0x338]
xor ecx, ecx
jmp 0x421f6a
add ecx, 2
add esi, 0x48
cmp edx, ecx
je 0x421f33
mov edi, dword [esi - 0x24]
cmp eax, edi
jge 0x421f7d
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
mov edi, dword [esi]
cmp eax, edi
jge 0x421f60
mov eax, dword [esp + 0x568]
mov dword [eax + 0xc], edi
mov eax, edi
jmp 0x421f60
lea ecx, [ecx + ecx*8]
mov ecx, dword [esp + ecx*4 + 0x314]
cmp eax, ecx
mov edx, dword [esp + 0x56c]
jge 0x421fb0
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 0x422016
cmp byte [eax], 0
je 0x422016
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, 0x47aa98
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.0041fab0
add esp, 0x28
add dword [ebx + 0xc], 4
mov ecx, dword [esp + 0x548]
xor ecx, esp
call fcn.00441724
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.0044edd0
add esp, 0xc
call fcn.00406960
int3