Function at 0x401bee
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb38
push edi
mov al, byte [0x40e040]
mov byte [ebp - 0xb14], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0xb13]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x4fc], 0
mov cl, byte [0x40e044]
mov byte [ebp - 0x4f8], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x4f7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x610], 0
mov dword [ebp - 0x614], 0
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0xa10], 0
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x620], 0xfffffffe
mov dl, byte [0x40e048]
mov byte [ebp - 0x60c], dl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x60b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x40e04c]
mov byte [ebp - 0xa0c], al
mov ecx, 0xf9
xor eax, eax
lea edi, [ebp - 0xa0b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x40e050]
mov byte [ebp - 0x3e8], cl
mov ecx, 0xf9
xor eax, eax
lea edi, [ebp - 0x3e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dl, byte [0x40e054]
mov byte [ebp - 0x508], dl
xor eax, eax
mov dword [ebp - 0x507], eax
mov dword [ebp - 0x503], eax
mov byte [ebp - 0x4ff], al
mov dword [ebp - 0x3f0], 0
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x3f0], 0
push 0x40c120
push 0x40cfec
push 0x40c124
lea ecx, [ebp - 0x60c]
push ecx
call fcn.00403490
add esp, 0x10
push 0x40c12c
push 1
call fcn.00402def
add esp, 4
push eax
call fcn.004039dc
add esp, 8
mov dword [ebp - 0x618], eax
cmp dword [ebp - 0x618], 0
jne 0x401d6e
push str.Error_bdembed1____Quiting
push 0x40c14c
call fcn.0040398b
add esp, 8
push 1
call fcn.004038b6
push 2
mov edx, dword [0x40d0f0]
sub edx, 0xc
push edx
mov eax, dword [ebp - 0x618]
push eax
call fcn.004037fd
add esp, 0xc
mov ecx, dword [ebp - 0x618]
push ecx
push 0xd
lea edx, [ebp - 0x4f8]
push edx
call fcn.004037a6
add esp, 0xc
mov eax, dword [ebp - 0x620]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
call fcn.0040297a
add esp, 8
push eax
call fcn.00402b39
add esp, 4
mov dword [ebp - 0x4fc], eax
push 2
mov edx, dword [ebp - 0x4fc]
add edx, 0xc
imul edx, edx, 0xffffffff
add edx, dword [0x40d0f0]
push edx
mov eax, dword [ebp - 0x618]
push eax
call fcn.004037fd
add esp, 0xc
mov ecx, dword [ebp - 0x618]
push ecx
push 6
lea edx, [ebp - 0x4f8]
push edx
call fcn.004037a6
add esp, 0xc
mov eax, dword [ebp - 0x620]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
call fcn.0040297a
add esp, 8
push eax
call fcn.00402b39
add esp, 4
mov dword [0x40d0fc], eax
mov edx, dword [ebp - 0x618]
push edx
push 6
lea eax, [ebp - 0x4f8]
push eax
call fcn.004037a6
add esp, 0xc
mov ecx, dword [ebp - 0x620]
push ecx
lea edx, [ebp - 0x4f8]
push edx
call fcn.0040297a
add esp, 8
push eax
lea eax, [ebp - 0x508]
push eax
call fcn.004033a0
add esp, 8
mov ecx, dword [ebp - 0x618]
push ecx
push 2
lea edx, [ebp - 0x4f8]
push edx
call fcn.004037a6
add esp, 0xc
mov eax, dword [ebp - 0x620]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
call fcn.0040297a
add esp, 8
push eax
call fcn.00402e67
add esp, 4
mov dword [0x40d0f4], eax
mov edx, dword [ebp - 0x618]
push edx
push 2
lea eax, [ebp - 0x4f8]
push eax
call fcn.004037a6
add esp, 0xc
mov ecx, dword [ebp - 0x620]
push ecx
lea edx, [ebp - 0x4f8]
push edx
call fcn.0040297a
add esp, 8
push eax
call fcn.00402e67
add esp, 4
mov dword [0x40d0f8], eax
mov dword [ebp - 0x610], 0
jmp 0x401ef7
mov eax, dword [ebp - 0x610]
add eax, 1
mov dword [ebp - 0x610], eax
mov ecx, dword [ebp - 0x610]
cmp ecx, dword [0x40d0fc]
jge 0x402851
push 2
mov edx, dword [ebp - 0x4fc]
mov eax, dword [ebp - 0x610]
imul eax, eax, 0x18
sub edx, eax
imul edx, edx, 0xffffffff
add edx, dword [0x40d0f0]
push edx
mov ecx, dword [ebp - 0x618]
push ecx
call fcn.004037fd
add esp, 0xc
mov edx, dword [ebp - 0x618]
push edx
push 0xd
lea eax, [ebp - 0x4f8]
push eax
call fcn.004037a6
add esp, 0xc
mov ecx, dword [ebp - 0x620]
push ecx
lea edx, [ebp - 0x4f8]
push edx
call fcn.0040297a
add esp, 8
push eax
call fcn.00402b39
add esp, 4
mov dword [ebp - 0xa10], eax
mov eax, dword [ebp - 0x618]
push eax
push 0xc
lea ecx, [ebp - 0x4f8]
push ecx
call fcn.004037a6
add esp, 0xc
mov edx, dword [ebp - 0x620]
push edx
lea eax, [ebp - 0x4f8]
push eax
call fcn.0040297a
add esp, 8
push eax
call fcn.00402b39
add esp, 4
mov dword [ebp - 0x3f4], eax
mov ecx, dword [ebp - 0x618]
mov edx, dword [ecx + 4]
sub edx, 1
mov eax, dword [ebp - 0x618]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x618]
cmp dword [ecx + 4], 0
jl 0x401ffc
mov edx, dword [ebp - 0x618]
mov eax, dword [edx]
movsx ecx, byte [eax]
and ecx, 0xff
mov dword [ebp - 0xb18], ecx
mov edx, dword [ebp - 0x618]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x618]
mov dword [ecx], eax
jmp 0x402011
mov edx, dword [ebp - 0x618]
push edx
call fcn.004036cd
add esp, 4
mov dword [ebp - 0xb18], eax
mov eax, dword [ebp - 0xb18]
add eax, dword [ebp - 0x620]
mov dword [ebp - 0x3ec], eax
cmp dword [ebp - 0x3ec], 0xff
jle 0x402041
mov ecx, dword [ebp - 0x3ec]
sub ecx, 0x100
mov dword [ebp - 0x3ec], ecx
cmp dword [ebp - 0x3ec], 0
jge 0x40205c
mov edx, dword [ebp - 0x3ec]
add edx, 0x100
mov dword [ebp - 0x3ec], edx
push 2
mov eax, dword [ebp - 0x4fc]
add eax, 0xc
sub eax, dword [ebp - 0xa10]
imul eax, eax, 0xffffffff
add eax, dword [0x40d0f0]
push eax
mov ecx, dword [ebp - 0x618]
push ecx
call fcn.004037fd
add esp, 0xc
mov edx, dword [ebp - 0x618]
push edx
mov eax, dword [ebp - 0x3ec]
add eax, 1
push eax
lea ecx, [ebp - 0x4f8]
push ecx
call fcn.004037a6
add esp, 0xc
mov edx, dword [ebp - 0x620]
push edx
lea eax, [ebp - 0x4f8]
push eax
call fcn.0040297a
add esp, 8
push eax
lea ecx, [ebp - 0xb14]
push ecx
call fcn.004033a0
add esp, 8
lea edx, [ebp - 0x60c]
push edx
lea eax, [ebp - 0xa0c]
push eax
call fcn.004033a0
add esp, 8
lea ecx, [ebp - 0xb14]
push ecx
lea edx, [ebp - 0xa0c]
push edx
call fcn.004033b0
add esp, 8
push 0x40e058
mov eax, dword [ebp - 0x610]
imul eax, eax, 0x3e8
add eax, 0x4576a0
push eax
call fcn.004033a0
add esp, 8
mov ecx, dword [ebp - 0x3f4]
sub ecx, dword [ebp - 0x3ec]
test ecx, ecx
jle 0x40284c
mov edx, dword [0x40d0fc]
sub edx, 2
cmp dword [ebp - 0x610], edx
jge 0x4023f1
cmp dword [0x40d0f4], 1
jne 0x4021f5
lea eax, [ebp - 0xb14]
push eax
call fcn.0040398b
add esp, 4
mov ecx, dword [ebp - 0x3f4]
sub ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0xb1c], ecx
fild dword [ebp - 0xb1c]
sub esp, 8
fstp qword [esp]
call fcn.00402e84
add esp, 8
push eax
call fcn.0040398b
add esp, 4
push str._bytes
call fcn.0040398b
add esp, 4
push 0x40c158
call fcn.0040398b
add esp, 4
mov eax, dword [ebp - 0x610]
add eax, 1
imul eax, eax, 0x64
cdq
idiv dword [0x40d0fc]
mov dword [ebp - 0xb20], eax
fild dword [ebp - 0xb20]
sub esp, 8
fstp qword [esp]
call fcn.00402e84
add esp, 8
push eax
call fcn.0040398b
add esp, 4
push str.____
call fcn.0040398b
add esp, 4
push 0x40c164
call fcn.0040398b
add esp, 4
push 0x22
call fcn.00402e0b
add esp, 4
push eax
lea edx, [ebp - 0xa0c]
push edx
push 0x22
call fcn.00402e0b
add esp, 4
push eax
push 0x40c168
push 0x22
call fcn.00402e0b
add esp, 4
push eax
lea eax, [ebp - 0xa0c]
push eax
push 0x22
call fcn.00402e0b
add esp, 4
push eax
push 0x40c170
push 0x40c17c
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.00403490
add esp, 0x28
lea edx, [ebp - 0x3e8]
push edx
call fcn.004032fb
add esp, 4
lea eax, [ebp - 0x3e8]
push eax
mov ecx, dword [ebp - 0x610]
imul ecx, ecx, 0x3e8
add ecx, 0x4576a0
push ecx
call fcn.004033a0
add esp, 8
push 0x40c190
lea edx, [ebp - 0xa0c]
push edx
call fcn.004039dc
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x4023f1
mov dword [0x40dbdc], 0
mov dword [ebp - 0x614], 1
jmp 0x4022ca
mov eax, dword [ebp - 0x614]
add eax, 1
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x3f4]
sub ecx, dword [ebp - 0x3ec]
add ecx, 1
cmp dword [ebp - 0x614], ecx
jge 0x4023e2
mov edx, dword [ebp - 0x618]
mov eax, dword [edx + 4]
sub eax, 1
mov ecx, dword [ebp - 0x618]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x618]
cmp dword [edx + 4], 0
jl 0x402332
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax]
movsx edx, byte [ecx]
and edx, 0xff
mov dword [ebp - 0xb24], edx
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x618]
mov dword [edx], ecx
jmp 0x402347
mov eax, dword [ebp - 0x618]
push eax
call fcn.004036cd
add esp, 4
mov dword [ebp - 0xb24], eax
mov ecx, dword [ebp - 0xb24]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.00402865
add esp, 4
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x61c]
mov ecx, dword [eax + 4]
sub ecx, 1
mov edx, dword [ebp - 0x61c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x61c]
cmp dword [eax + 4], 0
jl 0x4023c1
mov ecx, dword [ebp - 0x61c]
mov edx, dword [ecx]
mov al, byte [ebp - 0x3f0]
mov byte [edx], al
movsx ecx, byte [ebp - 0x3f0]
and ecx, 0xff
mov dword [ebp - 0xb28], ecx
mov edx, dword [ebp - 0x61c]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x61c]
mov dword [ecx], eax
jmp 0x4023dd
mov edx, dword [ebp - 0x61c]
push edx
mov eax, dword [ebp - 0x3f0]
push eax
call fcn.004035b8
add esp, 8
mov dword [ebp - 0xb28], eax
jmp 0x4022bb
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.00403562
add esp, 4
mov edx, dword [0x40d0fc]
sub edx, 2
cmp dword [ebp - 0x610], edx
jne 0x402629
push 0x40d204
lea eax, [ebp - 0xa0c]
push eax
call fcn.004033a0
add esp, 8
push 0x22
call fcn.00402e0b
add esp, 4
push eax
lea ecx, [ebp - 0xa0c]
push ecx
push 0x22
call fcn.00402e0b
add esp, 4
push eax
push 0x40c194
push 0x22
call fcn.00402e0b
add esp, 4
push eax
lea edx, [ebp - 0xa0c]
push edx
push 0x22
call fcn.00402e0b
add esp, 4
push eax
push 0x40c19c
push 0x40c1a8
lea eax, [ebp - 0x3e8]
push eax
call fcn.00403490
add esp, 0x28
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.004032fb
add esp, 4
lea edx, [ebp - 0x3e8]
push edx
mov eax, dword [ebp - 0x610]
imul eax, eax, 0x3e8
add eax, 0x4576a0
push eax
call fcn.004033a0
add esp, 8
push 0x40c1bc
lea ecx, [ebp - 0xa0c]
push ecx
call fcn.004039dc
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x402629
mov edx, dword [ebp - 0x61c]
push edx
push 0x40d40c
call fcn.0040351f
add esp, 8
mov dword [0x40dbdc], 0
mov dword [ebp - 0x614], 1
jmp 0x402502
mov eax, dword [ebp - 0x614]
add eax, 1
mov dword [ebp - 0x614], eax
mov ecx, dword [ebp - 0x3f4]
sub ecx, dword [ebp - 0x3ec]
add ecx, 1
cmp dword [ebp - 0x614], ecx
jge 0x40261a
mov edx, dword [ebp - 0x618]
mov eax, dword [edx + 4]
sub eax, 1
mov ecx, dword [ebp - 0x618]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x618]
cmp dword [edx + 4], 0
jl 0x40256a
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax]
movsx edx, byte [ecx]
and edx, 0xff
mov dword [ebp - 0xb2c], edx
mov eax, dword [ebp - 0x618]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x618]
mov dword [edx], ecx
jmp 0x40257f
mov eax, dword [ebp - 0x618]
push eax
call fcn.004036cd
add esp, 4
mov dword [ebp - 0xb2c], eax
mov ecx, dword [ebp - 0xb2c]
mov dword [ebp - 0x3f0], ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.00402865
add esp, 4
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x61c]
mov ecx, dword [eax + 4]
sub ecx, 1
mov edx, dword [ebp - 0x61c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x61c]
cmp dword [eax + 4], 0
jl 0x4025f9
mov ecx, dword [ebp - 0x61c]
mov edx, dword [ecx]
mov al, byte [ebp - 0x3f0]
mov byte [edx], al
movsx ecx, byte [ebp - 0x3f0]
and ecx, 0xff
mov dword [ebp - 0xb30], ecx
mov edx, dword [ebp - 0x61c]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x61c]
mov dword [ecx], eax
jmp 0x402615
mov edx, dword [ebp - 0x61c]
push edx
mov eax, dword [ebp - 0x3f0]
push eax
call fcn.004035b8
add esp, 8
mov dword [ebp - 0xb30], eax
jmp 0x4024f3
mov ecx, dword [ebp - 0x61c]
push ecx
call fcn.00403562
add esp, 4
mov edx, dword [0x40d0fc]
sub edx, 1
cmp dword [ebp - 0x610], edx
jne 0x40284c
push 0x40d308
lea eax, [ebp - 0xa0c]
push eax
call fcn.004033a0
add esp, 8
push 0x22
call fcn.00402e0b
add esp, 4
push eax
lea ecx, [ebp - 0xa0c]
push ecx
push 0x22
call fcn.00402e0b
add esp, 4
push eax
push str._del
push 0x22
call fcn.00402e0b
add esp, 4
push eax
lea edx, [ebp - 0xa0c]
push edx
push 0x22
call fcn.00402e0b
add esp, 4
push eax
push str.if_exist
push str._s_s_s_s_s_s_s_s
lea eax, [ebp - 0x3e8]
push eax
call fcn.00403490
add esp, 0x28
lea ecx, [ebp - 0x3e8]
push ecx
call fcn.004032fb
add esp, 4
lea edx, [ebp - 0x3e8]
push edx
mov eax, dword [ebp - 0x610]
imul eax, eax, 0x3e8
add eax, 0x4576a0
push eax
call fcn.004033a0
add esp, 8
push 0x40c1e8
lea ecx, [ebp - 0xa0c]
push ecx
call fcn.004039dc
add esp, 8
mov dword [ebp - 0x61c], eax
cmp dword [ebp - 0x61c], 0
je 0x40284c
mov dword [0x40dbdc], 0
mov dword [ebp - 0x614], 1
jmp 0x402726
mov edx, dword [ebp - 0x614]
add edx, 1
mov dword [ebp - 0x614], edx
mov eax, dword [ebp - 0x3f4]
sub eax, dword [ebp - 0x3ec]
add eax, 1
cmp dword [ebp - 0x614], eax
jge 0x40283d
mov ecx, dword [ebp - 0x618]
mov edx, dword [ecx + 4]
sub edx, 1
mov eax, dword [ebp - 0x618]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x618]
cmp dword [ecx + 4], 0
jl 0x40278e
mov edx, dword [ebp - 0x618]
mov eax, dword [edx]
movsx ecx, byte [eax]
and ecx, 0xff
mov dword [ebp - 0xb34], ecx
mov edx, dword [ebp - 0x618]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp - 0x618]
mov dword [ecx], eax
jmp 0x4027a3
mov edx, dword [ebp - 0x618]
push edx
call fcn.004036cd
add esp, 4
mov dword [ebp - 0xb34], eax
mov eax, dword [ebp - 0xb34]
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x3f0]
push ecx
call fcn.00402865
add esp, 4
mov dword [ebp - 0x3f0], eax
mov edx, dword [ebp - 0x61c]
mov eax, dword [edx + 4]
sub eax, 1
mov ecx, dword [ebp - 0x61c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x61c]
cmp dword [edx + 4], 0
jl 0x40281c
mov eax, dword [ebp - 0x61c]
mov ecx, dword [eax]
mov dl, byte [ebp - 0x3f0]
mov byte [ecx], dl
movsx eax, byte [ebp - 0x3f0]
and eax, 0xff
mov dword [ebp - 0xb38], eax
mov ecx, dword [ebp - 0x61c]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x61c]
mov dword [eax], edx
jmp 0x402838
mov ecx, dword [ebp - 0x61c]
push ecx
mov edx, dword [ebp - 0x3f0]
push edx
call fcn.004035b8
add esp, 8
mov dword [ebp - 0xb38], eax
jmp 0x402717
mov eax, dword [ebp - 0x61c]
push eax
call fcn.00403562
add esp, 4
jmp 0x401ee8
mov ecx, dword [ebp - 0x618]
push ecx
call fcn.00403562
add esp, 4
pop edi
mov esp, ebp
pop ebp
ret