Function at 0x40aca0
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.0046efb0
mov ebp, dword [esp + 0x102c]
mov esi, dword [esp + 0x1020]
mov eax, dword [0x4c2010]
xor eax, esp
mov dword [esp + 0x1008], eax
cmp byte [esi], 0x2d
jne 0x40af41
mov ebx, dword [esp + 0x1024]
push str._load
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40afc8
mov ebp, dword [0x4986c8]
test ebp, ebp
je 0x40ad2d
lea edi, [esi + 1]
mov ebx, 0x4986cc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push dword [ebp + 0x44]
push edi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40aff9
mov ebp, dword [ebx]
add ebx, 4
test ebp, ebp
jne 0x40ad10
push 0x4a6938
push esi
call fcn.00482b50
add esp, 8
xor edi, edi
test eax, eax
mov ebx, dword [esp + 0x102c]
je 0x40b08a
push 0x4aa5cd
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b161
push str._loghost
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b1b4
push str._hostkey
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b360
push 0x4ae762
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b207
push 0x4ae3d1
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b207
push 0x4b0503
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b207
push 0x4ad8a2
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b535
push 0x4aa239
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b5d2
push 0x4ae479
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b65d
push 0x4a68ec
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b6b9
push str._pwfile
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b78a
push str._agent
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40ae74
push str._pagent
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40ae74
push str._pageant
push esi
call fcn.00482b50
add esp, 8
test eax, eax
jne 0x40aeaf
mov edi, 1
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b397
push 1
push 0x1d
push ebx
call fcn.004131f0
add esp, 0xc
mov edi, 1
push str._noagent
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b82d
push str._nopagent
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b82d
push str._nopageant
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b82d
push str._no_trivial_auth
push esi
call fcn.00482b50
add esp, 8
test eax, eax
jne 0x40b88c
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
mov ebx, dword [esp + 0x102c]
jne 0x40b397
jmp 0x40b87a
xor edi, edi
cmp dword [esp + 0x1028], 0
js 0x40c63e
mov ebx, dword [0x498004]
test bl, 4
je 0x40af69
cmp byte [0x4c2ce6], 0
je 0x40b0bb
test bl, 0x40
je 0x40c63e
cmp byte [0x4c2ce7], 0
jne 0x40c63e
push esi
call fcn.00413af0
add esp, 4
mov esi, eax
push ebp
push 1
push eax
push 0x4ae479
call fcn.0040aca0
add esp, 0x10
mov edi, eax
push esi
call fcn.00414470
add esp, 4
cmp edi, 2
je 0x40b34f
push 0x199
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_cmdline.c
push str.retd__2
call fcn.0047f4a4
jmp 0x40b34c
test ebx, ebx
je 0x40c629
mov edi, 2
cmp dword [esp + 0x1028], 0
js 0x40c63e
push ebp
push ebx
call fcn.0040fd00
add esp, 8
mov byte [0x4c2ce5], 1
jmp 0x40c63e
mov edi, 1
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b397
mov esi, dword [ebp + 0x50]
push esi
call fcn.0040c7b0
add esp, 4
push esi
push 2
mov ebx, dword [esp + 0x1034]
push ebx
call fcn.004132b0
add esp, 0xc
mov esi, dword [ebp + 0x54]
test esi, esi
je 0x40b05d
push esi
call fcn.0040c7c0
add esp, 4
push esi
push 1
push ebx
call fcn.004132b0
add esp, 0xc
cmp dword [ebp + 0x50], 5
jne 0x40c63e
push 0
mov esi, dword [esp + 0x1030]
push esi
call fcn.00412de0
add esp, 8
push eax
push 0x3f
push esi
call fcn.00413440
add esp, 0xc
jmp 0x40c63e
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 0x80
jne 0x40c630
mov byte [0x4c2ce4], 1
mov edi, 1
jmp 0x40ad4c
test bl, 0x20
je 0x40b0da
cmp byte [0x4c2ce5], 1
jne 0x40b0da
push ebp
call fcn.00432130
add esp, 4
test al, al
jne 0x40af69
push 7
push str.telnet:
push esi
call fcn.00483230
add esp, 0xc
test eax, eax
je 0x40b2d2
mov ebp, 0xffffffff
test bl, 0x10
je 0x40b3ed
push 0x2c
push esi
call fcn.00471e30
add esp, 8
test eax, eax
je 0x40b3ed
mov edi, eax
sub eax, esi
push esi
push eax
push 0x4a7eca
call fcn.00413aa0
add esp, 0xc
mov esi, eax
push eax
call fcn.0040c7d0
add esp, 4
test eax, eax
je 0x40b3c6
mov ebx, eax
mov ebp, dword [eax + 0x50]
push ebp
call fcn.0040c7b0
add esp, 4
push ebp
push 2
push dword [esp + 0x1034]
call fcn.004132b0
add esp, 0xc
mov ebp, dword [ebx + 0x54]
jmp 0x40b3d9
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b397
push dword [esp + 0x1024]
push 0x3a
push ebx
call fcn.00413440
add esp, 0xc
mov edi, 2
jmp 0x40ad62
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b397
push dword [esp + 0x1024]
push 9
push ebx
call fcn.00413440
add esp, 0xc
mov edi, 2
jmp 0x40ad78
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
test eax, eax
jne 0x40b397
push 0x4b0503
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40b7dc
movsx ebx, byte [esi + 1]
push 0x3a
push dword [esp + 0x1028]
call fcn.00420930
add esp, 8
test eax, eax
je 0x40b7d1
mov dword [esp], ebx
mov ebx, eax
mov ebp, eax
lea eax, [ebx + 1]
push 0x3a
push eax
call fcn.00420930
add esp, 8
mov ecx, eax
mov eax, ebx
mov ebx, ecx
test ecx, ecx
jne 0x40b276
test ebp, ebp
mov ecx, dword [esp + 0x1024]
mov ebx, dword [esp]
je 0x40b7d1
mov eax, ebp
sub eax, ecx
push ecx
push eax
push ebx
push str._c_.s
call fcn.00413aa0
add esp, 0x10
add ebp, 1
push ebp
mov ebp, eax
call fcn.00413af0
add esp, 4
mov edi, eax
mov ebx, dword [esp + 0x102c]
jmp 0x40b801
lea ebx, [esi + 7]
cmp byte [esi + 7], 0x2f
jne 0x40b2e5
lea eax, [esi + 9]
cmp byte [esi + 8], 0x2f
cmove ebx, eax
push 1
push 2
push ebp
call fcn.004132b0
add esp, 0xc
push 0x4b1f9d
push ebx
call fcn.00413b30
add esp, 8
mov esi, eax
push ebx
push eax
push 0x4a7eca
call fcn.00413aa0
add esp, 0xc
mov edi, eax
push eax
push 0
push ebp
call fcn.00413440
add esp, 0xc
push edi
call fcn.00414470
add esp, 4
mov byte [0x4c2ce6], 1
cmp byte [ebx + esi], 0x3a
jne 0x40b3af
add ebx, esi
add ebx, 1
push ebx
call fcn.0047fc55
add esp, 4
push eax
push 1
push ebp
call fcn.004132b0
add esp, 0xc
mov byte [0x4c2ce7], 1
mov edi, 1
jmp 0x40c63e
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
je 0x40b613
mov ecx, esi
mov edx, dword [esp + 0x1024]
push 0
call fcn.0040c660
add esp, 4
jmp 0x40c63e
push 0xffffffffffffffff
push 1
push ebp
call fcn.004132b0
add esp, 0xc
mov edi, 1
jmp 0x40c63e
push esi
push str.unrecognised_protocol_prefix__s
call fcn.00403250
add esp, 8
mov ebp, 0xffffffff
mov ebx, dword [0x498004]
push esi
call fcn.00414470
add esp, 4
add edi, 1
mov esi, edi
mov dword [esp], ebp
xor ebp, ebp
mov edi, ebx
test bl, 8
jne 0x40b3fd
mov eax, esi
jmp 0x40b42a
push 0x40
push esi
call fcn.00471f60
add esp, 8
mov ebx, eax
mov eax, esi
test ebx, ebx
je 0x40b42a
mov eax, ebx
sub eax, esi
push esi
push eax
push 0x4a7eca
call fcn.00413aa0
add esp, 0xc
mov ebp, eax
add ebx, 1
mov eax, ebx
mov dword [esp + 4], eax
push 0x4b586f
push esi
call fcn.004833e0
add esp, 8
add eax, esi
push eax
call fcn.00413af0
add esp, 4
mov esi, eax
push eax
call fcn.004831a0
add esp, 4
test eax, eax
jne 0x40b46a
jmp 0x40b479
mov byte [esi + eax - 1], 0
add eax, 0xffffffff
je 0x40b479
movzx ecx, byte [esi + eax - 1]
cmp cl, 0x20
je 0x40b460
cmp cl, 9
je 0x40b460
mov byte [0x4c2ce6], 1
push esi
push 0
push dword [esp + 0x1034]
call fcn.00413440
add esp, 0xc
mov eax, edi
test al, 8
je 0x40b4fc
cmp byte [0x4c2ce5], 0
jne 0x40b4fc
call fcn.004129c0
mov ebx, eax
push eax
push dword [esp + 8]
call fcn.0040fd00
add esp, 8
test al, al
je 0x40b4f3
push ebx
call fcn.00432130
add esp, 4
test al, al
je 0x40b4f3
push ebx
push dword [esp + 0x1030]
call fcn.00412a90
add esp, 8
mov byte [0x4c2ce5], 1
test ebp, ebp
je 0x40b4f3
push ebp
push 0x3a
push dword [esp + 0x1034]
call fcn.00413440
add esp, 0xc
push ebx
call fcn.00412a50
add esp, 4
push esi
call fcn.00414470
add esp, 4
push ebp
call fcn.00414470
add esp, 4
mov edi, 1
mov eax, dword [esp]
test eax, eax
js 0x40c63e
push eax
push 1
push dword [esp + 0x1034]
call fcn.004132b0
add esp, 0xc
jmp 0x40c63e
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
test eax, eax
jne 0x40b397
push 0x3a
mov ebp, dword [esp + 0x1028]
push ebp
call fcn.00420930
add esp, 8
test eax, eax
je 0x40bbb8
mov edi, eax
sub eax, ebp
push ebp
push eax
push 0x4a7eca
call fcn.00413aa0
add esp, 0xc
mov ebp, eax
push eax
push 0x34
push ebx
call fcn.00413440
add esp, 0xc
add edi, 1
push edi
call fcn.0047fc55
add esp, 4
push eax
push 0x35
push ebx
call fcn.004132b0
add esp, 0xc
push ebp
call fcn.00414470
add esp, 4
mov edi, 2
jmp 0x40ade6
mov ebx, dword [esp + 0x1024]
test ebx, ebx
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
test eax, eax
je 0x40bb09
mov ecx, esi
mov edx, ebx
jmp 0x40b3a0
mov ebp, dword [esp + 0x1024]
push ebp
call fcn.00413af0
add esp, 4
mov ebp, eax
push eax
call fcn.00432160
add esp, 4
test al, al
je 0x40b768
push 0x4b58ef
push ebp
push 0xc6
push ebx
call fcn.00413510
add esp, 0x10
push ebp
call fcn.00414470
add esp, 4
mov edi, 2
jmp 0x40ad8e
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b7c1
push dword [esp + 0x1024]
call fcn.0047fc55
add esp, 4
push eax
push 1
push ebx
call fcn.004132b0
add esp, 0xc
mov edi, 2
jmp 0x40ae12
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b7c1
push 2
push ebx
call fcn.00412c90
add esp, 8
cmp eax, 3
jne 0x40bc7b
mov edi, dword [0x4c2cc8]
test edi, edi
je 0x40b72f
push edi
call fcn.004831a0
add esp, 4
push eax
push edi
call fcn.00432100
add esp, 8
push dword [0x4c2cc8]
call fcn.00414470
add esp, 4
mov edi, dword [esp + 0x1024]
push edi
call fcn.00413af0
add esp, 4
mov dword [0x4c2cc8], eax
push edi
call fcn.004831a0
add esp, 4
push eax
push edi
call fcn.00432100
add esp, 8
mov edi, 2
mov ebx, dword [esp + 0x102c]
jmp 0x40ae28
push dword [esp + 0x1024]
push str._s_is_not_a_valid_format_for_a_manual_host_key_specification
call fcn.00403250
add esp, 8
push ebp
call fcn.00414470
add esp, 4
jmp 0x40c63e
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
je 0x40bbd5
mov ecx, esi
mov edx, dword [esp + 0x1024]
push 1
jmp 0x40b3a2
push ebx
push str.__c_expects_at_least_two_colons_in_its_argument
jmp 0x40c636
push dword [esp + 0x1024]
push 0x4a801e
call fcn.00413aa0
add esp, 8
mov ebp, eax
push 0x4b0504
call fcn.00413af0
add esp, 4
mov edi, eax
push edi
push ebp
push 0xb1
push ebx
call fcn.00413510
add esp, 0x10
push ebp
call fcn.00414470
add esp, 4
push edi
call fcn.00414470
add esp, 4
mov edi, 2
jmp 0x40add0
mov edi, 1
mov eax, dword [esp + 0x1028]
test eax, eax
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
test eax, eax
jne 0x40b397
push 0
push 0x1d
push ebx
call fcn.004131f0
add esp, 0xc
push str._no_trivial_auth
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b88c
push 1
push 0x27
push ebx
call fcn.004131f0
add esp, 0xc
mov edi, 1
push str._share
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bc92
push str._noshare
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bd02
push 0x4b0764
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bd50
push 0x4adc01
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bdae
push 0x4addbf
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40be27
push 0x4a68ce
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40be88
push 0x4a7675
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bed6
push 0x4ae105
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bf34
push 0x4ae63a
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bf7f
push 0x4b05d9
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40bfe7
push 0x4b1d1c
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c032
push 0x4b189b
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c090
push 0x4aa68b
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c0f3
push 0x4a6e4e
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c1b0
push 0x4b15a8
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c165
push str._ipv4
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c165
push 0x4b1366
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c222
push str._ipv6
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c222
push str._sercfg
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c26d
push str._sessionlog
push esi
call fcn.00482b50
add esp, 8
test eax, eax
je 0x40c3a1
push 0x4a9119
push ebx
call fcn.00480eb8
add esp, 8
test eax, eax
je 0x40bbca
mov ebp, eax
call fcn.00414720
mov dword [esp], eax
lea ebx, [esp + 8]
push ebp
push 0x1000
push 1
push ebx
call fcn.004813c9
add esp, 0x10
test eax, eax
je 0x40bb68
mov edi, dword [esp]
add edi, 0xc
push eax
push ebx
push edi
call fcn.00413b60
add esp, 0xc
push ebp
push 0x1000
push 1
push ebx
call fcn.004813c9
add esp, 0x10
test eax, eax
jne 0x40bb48
push ebp
call fcn.004807ad
add esp, 4
mov edi, dword [esp]
push dword [edi]
push 0x14
mov ebx, dword [esp + 0x1034]
push ebx
call fcn.00413440
add esp, 0xc
push 0x4b58ef
push 0x15
push ebx
call fcn.00413440
add esp, 0xc
push 1
push 0x16
push ebx
call fcn.004131f0
add esp, 0xc
push edi
call fcn.004147e0
add esp, 4
mov edi, 2
jmp 0x40adfc
push str._nc_expects_argument_of_form_host:port
call fcn.00403250
add esp, 4
jmp 0x40c63e
push ebx
push str.unable_to_open_command_file___s_
jmp 0x40c636
push 2
push ebx
call fcn.00412c90
add esp, 8
cmp eax, 3
jne 0x40bcf3
push dword [esp + 0x1024]
call fcn.00431f40
add esp, 4
mov ebp, eax
push 0x4a9119
push dword [eax]
call fcn.00480eb8
add esp, 8
test eax, eax
je 0x40bdf9
mov edi, eax
mov ebx, dword [0x4c2cc8]
test ebx, ebx
je 0x40bc3e
push ebx
call fcn.004831a0
add esp, 4
push eax
push ebx
call fcn.00432100
add esp, 8
push dword [0x4c2cc8]
call fcn.00414470
add esp, 4
push edi
call fcn.00417a30
add esp, 4
push eax
call fcn.00432620
add esp, 4
mov dword [0x4c2cc8], eax
test eax, eax
jne 0x40bc6d
push dword [esp + 0x1024]
push str.unable_to_read_a_password_from_file__s
call fcn.00403250
add esp, 8
push edi
call fcn.004807ad
add esp, 4
jmp 0x40be0d
push str.the__pw_option_can_only_be_used_with_the_SSH_protocol
call fcn.00403250
add esp, 4
mov edi, 2
jmp 0x40ae28
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 1
push 0xc3
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
push str._noshare
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b8b8
jmp 0x40bd30
push str.the__pwfile_option_can_only_be_used_with_the_SSH_protocol
call fcn.00403250
jmp 0x40be13
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 0
push 0xc3
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
mov edi, 1
jmp 0x40b8b8
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 1
push 0x1e
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
push 0x4adc01
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b8e4
jmp 0x40bddc
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 0
push 0x1e
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
mov edi, 1
jmp 0x40b8e4
push dword [esp + 0x1024]
push str.unable_to_open_password_file__s
call fcn.00403250
add esp, 8
push ebp
call fcn.00431fc0
add esp, 4
mov edi, 2
mov ebx, dword [esp + 0x102c]
jmp 0x40ae3e
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 1
push 0xab
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
push 0x4a68ce
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b910
jmp 0x40beb6
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 0
push 0xab
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
mov edi, 1
jmp 0x40b910
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b7c1
push 0
push 0x16
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
push 0x4ae105
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b93c
jmp 0x40bf62
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b7c1
push 1
push 0x16
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
mov edi, 1
jmp 0x40b93c
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
mov ebx, dword [0x498004]
test bl, 3
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 1
push 0x33
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
push 0x4b05d9
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b968
test bl, 2
je 0x40c015
jmp 0x40c0db
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c0db
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 1
push 0x17
push dword [esp + 0x1034]
call fcn.004131f0
add esp, 0xc
mov edi, 1
jmp 0x40b968
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 0
push 0x24
push dword [esp + 0x1034]
call fcn.004132b0
add esp, 0xc
push 0x4b189b
push esi
call fcn.00482b50
add esp, 8
mov edi, 1
test eax, eax
jne 0x40b994
jmp 0x40c0be
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push 3
push 0x24
push dword [esp + 0x1034]
call fcn.004132b0
add esp, 0xc
mov edi, 1
jmp 0x40b994
push esi
push str.option___s__not_available_in_this_tool
call fcn.00403250
add esp, 8
mov edi, 1
jmp 0x40c63e
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push dword [esp + 0x1024]
call fcn.00431f40
add esp, 4
mov edi, eax
push eax
push 0x21
push dword [esp + 0x1034]
call fcn.004136f0
add esp, 0xc
push edi
call fcn.00431fc0
add esp, 4
mov edi, 2
jmp 0x40b9aa
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b7c1
push 1
push 3
push dword [esp + 0x1034]
call fcn.004132b0
add esp, 0xc
mov edi, 1
jmp 0x40b9ec
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 2
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b397
push dword [esp + 0x1024]
call fcn.00431f40
add esp, 4
mov edi, eax
push eax
push 0x22
push dword [esp + 0x1034]
call fcn.004136f0
add esp, 0xc
push edi
call fcn.00431fc0
add esp, 4
mov edi, 2
jmp 0x40b9c0
mov edi, 1
cmp dword [esp + 0x1028], 0
js 0x40c63e
test byte [0x498004], 2
jne 0x40c630
cmp dword [esp + 0x1028], 0
jne 0x40b7c1
cmp dword [esp + 0x1024], 0
je 0x40c629
mov edi, 0xfffffffe
jmp 0x40c63e
push esi
push str.option___s__not_available_in_this_tool
call fcn.00403250
add esp, 8
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0046efa0
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret