Function at 0x40a2a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e4
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x14]
push eax
call fcn.0041bf9a
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40a32b
push str.Initialization_error__exiting._n
push 0x53d480
call fcn.0050c6ac
add esp, 8
push 0x53d480
call fcn.0050cdb6
add esp, 4
push 0
call fcn.0050cf49
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
push 0x5c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
call fcn.0050dd00
add esp, 8
mov dword [0x5898c4], eax
cmp dword [0x5898c4], 0
je 0x40a366
mov edx, dword [0x5898c4]
add edx, 1
mov dword [0x5898c4], edx
jmp 0x40a371
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [0x5898c4], ecx
push 0x2e
mov edx, dword [0x5898c4]
push edx
call fcn.0050dd00
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40a391
mov eax, dword [ebp - 0x5c]
mov byte [eax], 0
push 0x36
mov ecx, dword [0x5898c4]
push ecx
call fcn.0050dd00
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40a3b1
mov edx, dword [ebp - 0x5c]
mov byte [edx], 0
mov eax, dword [0x5898c4]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x1c], 0
jmp 0x40a3cb
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x5898c4]
add edx, dword [ebp - 0x1c]
movsx eax, byte [edx]
test eax, eax
je 0x40a3fd
mov ecx, dword [0x5898c4]
add ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
push edx
call fcn.0050c71f
add esp, 4
mov ecx, dword [0x5898c4]
add ecx, dword [ebp - 0x1c]
mov byte [ecx], al
jmp 0x40a3c2
mov dword [0x589ae4], 0x53d460
push 0x53f65c
push 0x525780
push 0x525a90
push 0
call fcn.00445a46
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40a44f
mov edx, dword [0x53f65c]
push edx
call fcn.004193e0
add esp, 4
push eax
push str.lmutil:_cant_initialize:__s_n
call fcn.00435a40
add esp, 8
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0050cf49
mov ecx, dword [0x53f65c]
mov edx, dword [ecx + 0x138]
or dh, 0x80
mov eax, dword [0x53f65c]
mov dword [eax + 0x138], edx
mov ecx, dword [0x53f65c]
mov edx, dword [ecx + 0x19c]
add edx, 0xd34
push 0
push edx
call fcn.0050dd28
add esp, 8
test eax, eax
je 0x40a4ad
push str.Out_of_memory__exiting_n
push 0x53d460
call fcn.0050c6ac
add esp, 8
mov eax, dword [0x53f65c]
mov ecx, dword [eax + 0x80]
push ecx
call fcn.0050cf49
call fcn.00447280
push 6
push 0x525ad0
mov edx, dword [0x5898c4]
push edx
call fcn.0050da00
add esp, 0xc
test eax, eax
jne 0x40a796
cmp dword [ebp + 8], 1
jle 0x40a796
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
add ecx, 4
mov dword [ebp - 0x18], ecx
push 0x525ad8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
push eax
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a536
push 0
call fcn.00447102
add esp, 4
push eax
mov ecx, dword [0x5898c4]
push ecx
mov edx, dword [str.Copyright__c__1989_2006_Macrovision_Europe_Ltd._and_or_Macrovision_Corporation._All_Rights_Reserved._n]
push edx
push str._s_s__s_n
mov eax, dword [0x589ae4]
push eax
call fcn.0050c6ac
add esp, 0x14
push 0
call fcn.0050cf49
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [0x5898c4], edx
push 0x36
mov eax, dword [0x5898c4]
push eax
call fcn.0050dd00
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x40a560
mov ecx, dword [ebp - 0x5c]
mov byte [ecx], 0
push 0x525ae8
mov edx, dword [0x5898c4]
push edx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a587
mov dword [0x5898c4], 0x525af0
jmp 0x40a796
push str.cksum
mov eax, dword [0x5898c4]
push eax
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a5ad
mov dword [0x5898c4], 0x525b04
jmp 0x40a796
push str.diag
mov ecx, dword [0x5898c4]
push ecx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a5d4
mov dword [0x5898c4], 0x525b14
jmp 0x40a796
push str.down
mov edx, dword [0x5898c4]
push edx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a5fb
mov dword [0x5898c4], 0x525b24
jmp 0x40a796
push str.hostid
mov eax, dword [0x5898c4]
push eax
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a621
mov dword [0x5898c4], 0x525b34
jmp 0x40a796
push str.path
mov ecx, dword [0x5898c4]
push ecx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a648
mov dword [0x5898c4], 0x525b48
jmp 0x40a796
push str.reread
mov edx, dword [0x5898c4]
push edx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a66f
mov dword [0x5898c4], 0x525b58
jmp 0x40a796
push str.stat
mov eax, dword [0x5898c4]
push eax
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a695
mov dword [0x5898c4], 0x525b6c
jmp 0x40a796
push str.switchr
mov ecx, dword [0x5898c4]
push ecx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a6bc
mov dword [0x5898c4], 0x525b7c
jmp 0x40a796
push str.switch
mov edx, dword [0x5898c4]
push edx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a6e3
mov dword [0x5898c4], 0x525b90
jmp 0x40a796
push str.newlog
mov eax, dword [0x5898c4]
push eax
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a709
mov dword [0x5898c4], 0x525ba4
jmp 0x40a796
push str.install
mov ecx, dword [0x5898c4]
push ecx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a72d
mov dword [0x5898c4], 0x525bb8
jmp 0x40a796
push 0x525bc4
mov edx, dword [0x5898c4]
push edx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a751
mov dword [0x5898c4], 0x525bc8
jmp 0x40a796
push 0x525bd0
mov eax, dword [0x5898c4]
push eax
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a774
mov dword [0x5898c4], 0x525bd4
jmp 0x40a796
push 0x525bdc
mov ecx, dword [0x5898c4]
push ecx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40a796
mov dword [0x5898c4], str.debug
mov edx, dword [0x53f65c]
push edx
call fcn.00431beb
add esp, 4
mov eax, dword [0x53f65c]
push eax
call fcn.0041d4cf
add esp, 4
mov ecx, dword [0x5898c4]
push ecx
call fcn.0040bac9
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.0040ad35
add esp, 0x14
mov dword [0x53f670], eax
cmp dword [0x53f670], 0
je 0x40a7f4
jmp 0x40aca1
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 8], ecx
lea edx, [ebp - 0x58]
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3dc], eax
cmp dword [ebp - 0x3dc], 2
je 0x40a81d
cmp dword [ebp - 0x3dc], 5
je 0x40a81d
jmp 0x40a83a
mov ecx, dword [0x53f65c]
mov edx, dword [ecx + 0x138]
or edx, 0x2000000
mov eax, dword [0x53f65c]
mov dword [eax + 0x138], edx
cmp dword [ebp - 0x64], 3
jne 0x40a849
cmp dword [0x5259fc], 0
je 0x40a86d
cmp dword [ebp - 0x64], 0xd
je 0x40a86d
mov ecx, dword [str.Copyright__c__1989_2006_Macrovision_Europe_Ltd._and_or_Macrovision_Corporation._All_Rights_Reserved._n]
push ecx
mov edx, dword [ebp - 0x60]
push edx
push 0x525bec
mov eax, dword [0x589ae4]
push eax
call fcn.0050c6ac
add esp, 0x10
mov ecx, dword [0x53f65c]
mov edx, dword [ecx + 0xd4]
cmp dword [edx + 4], 0
jne case.0x40a9be.1
push 0x525bf4
mov eax, dword [0x53f65c]
push eax
call fcn.00433dee
add esp, 8
test eax, eax
jne case.0x40a9be.1
cmp dword [ebp - 0x64], 0xb
je case.0x40a9be.1
mov byte [ebp - 0x370], 0
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x36f]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x168], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x167]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x16c], 1
mov ecx, dword [0x53f65c]
movsx edx, byte [ecx + 0x103]
test edx, edx
je 0x40a986
mov eax, dword [0x53f65c]
add eax, 0x103
push eax
push 0x525c04
lea ecx, [ebp - 0x3d4]
push ecx
call fcn.0050cc03
add esp, 0xc
push 0x104
lea edx, [ebp - 0x168]
push edx
lea eax, [ebp - 0x3d4]
push eax
mov ecx, dword [0x53f65c]
push ecx
call fcn.0043391a
add esp, 0x10
test eax, eax
je 0x40a947
mov dword [ebp - 0x16c], 0
jmp 0x40a986
lea edx, [ebp - 0x3d4]
push edx
call fcn.00446fa0
add esp, 4
push 0x104
lea eax, [ebp - 0x168]
push eax
lea ecx, [ebp - 0x3d4]
push ecx
mov edx, dword [0x53f65c]
push edx
call fcn.0043391a
add esp, 0x10
test eax, eax
je 0x40a986
mov dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0
je case.0x40a9be.1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
sub ecx, 2
mov dword [ebp - 0x3e0], ecx
cmp dword [ebp - 0x3e0], 0xa
ja case.0x40a9be.1
mov eax, dword [ebp - 0x3e0]
xor edx, edx
mov dl, byte [eax + 0x40acee]
jmp dword [edx*4 + 0x40ace6]
push 0x3b
push 0x525c14
push str._s_c.
lea ecx, [ebp - 0x370]
push ecx
call fcn.0050cc03
add esp, 0x10
lea edx, [ebp - 0x370]
push edx
push 0x38
mov eax, dword [0x53f65c]
push eax
call fcn.0041e4a0
add esp, 0xc
mov ecx, dword [0x53f65c]
mov edx, dword [ecx + 0xd4]
mov word [edx + 2], 0
cmp dword [0x53f654], 0
je 0x40aa3d
mov eax, dword [0x53f65c]
add eax, 0x14
push eax
mov ecx, dword [0x5898c4]
push ecx
push 0x525c34
mov edx, dword [0x589ae4]
push edx
call fcn.0050c6ac
add esp, 0x10
push 0
call fcn.0050cf49
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x3e4], eax
mov ecx, dword [ebp - 0x3e4]
sub ecx, 1
mov dword [ebp - 0x3e4], ecx
cmp dword [ebp - 0x3e4], 0xe
ja case.default.0x40aa68
mov edx, dword [ebp - 0x3e4]
jmp dword [edx*4 + 0x40acf9]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408212
add esp, 8
push eax
call fcn.0050cf49
mov dword [ebp - 0x3d8], 0x53f674
cmp dword [ebp - 0xc], 1
jle 0x40aaa0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x3d8], edx
jmp 0x40aaca
cmp dword [ebp - 0xc], 2
jle 0x40aaca
mov eax, dword [ebp - 0x50]
push eax
push 0x525c3c
mov ecx, dword [0x589ae4]
push ecx
call fcn.0050c6ac
add esp, 0xc
call fcn.0040b2f3
push 1
call fcn.0050cf49
mov edx, dword [ebp - 0x3d8]
push edx
call section..textidx
add esp, 4
mov dword [0x53f670], eax
jmp 0x40aca1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004018f0
add esp, 8
mov dword [0x53f670], eax
jmp 0x40aca1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004046d0
add esp, 8
mov dword [0x53f670], eax
jmp 0x40aca1
mov dword [0x53f664], 1
cmp dword [0x53f650], 0
jne 0x40ab34
mov dword [0x53f668], 1
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040bf18
add esp, 8
call fcn.004077c0
mov dword [0x53f670], eax
jmp 0x40aca1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00402de0
add esp, 8
mov dword [0x53f670], eax
jmp 0x40aca1
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00409a60
add esp, 8
mov dword [0x53f670], eax
jmp 0x40aca1
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00407a60
add esp, 8
mov dword [0x53f670], eax
jmp 0x40aca1
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00407e70
add esp, 0xc
jmp 0x40aca1
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040bfa0
add esp, 8
jmp 0x40aca1
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040bf18
add esp, 8
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00407c00
add esp, 8
jmp 0x40aca1
cmp dword [ebp + 8], 2
jge 0x40ac19
push str.No_binary_specified__exiting_n
mov eax, dword [0x589ae4]
push eax
call fcn.0050c6ac
add esp, 8
call fcn.0040b2f3
push 1
call fcn.0050cf49
cmp dword [ebp + 8], 2
jle 0x40ac45
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
push edx
push str.Unknown_arguments__s_..._n
mov eax, dword [0x589ae4]
push eax
call fcn.0050c6ac
add esp, 0xc
call fcn.0040b2f3
push 1
call fcn.0050cf49
cmp dword [ebp + 8], 2
jne 0x40ac6f
push 0x525c94
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.0050c590
add esp, 8
test eax, eax
jne 0x40ac6f
call fcn.0040b2f3
push 1
call fcn.0050cf49
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00407250
add esp, 4
mov dword [0x53f670], eax
jmp 0x40aca1
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040d2f0
add esp, 8
mov dword [0x53f670], eax
jmp 0x40aca1
call fcn.0040b2f3
cmp dword [ebp - 0x10], 0
je 0x40acc4
cmp dword [ebp - 0x14], 0
je 0x40acc4
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0041c383
add esp, 8
mov dword [ebp - 0x10], 0
mov eax, dword [0x53f65c]
push eax
call fcn.00410be2
add esp, 4
mov dword [0x53f65c], 0
mov eax, dword [0x53f670]
pop edi
mov esp, ebp
pop ebp
ret
pop esp
not byte [ebx]