Function at 0x4cf840
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f63bc
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5392a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xe4], 0
xor eax, eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x1f1]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x104]
call fcn.004148f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1f2]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x84]
call fcn.004148f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1f3]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x30]
call fcn.004148f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.004b3ec0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call fcn.00487760
mov byte [ebp - 4], 4
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004bc6a0
call fcn.004af7f0
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x264]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x264]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
lea ecx, [ebp - 0x1f4]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x124]
call fcn.004148f0
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.Command_line:__s
lea edx, [ebp - 0x124]
push edx
call fcn.00413900
add esp, 0xc
lea ecx, [ebp - 0x120]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.00414a10
call fcn.004c4a60
push 0x517f8c
mov eax, dword [ebp + 8]
push eax
push 0
mov ecx, 0x5997d8
call fcn.00423c20
push 0x595c94
call fcn.004c54d0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4cf9ec
mov dword [0x595b4c], 0xffffff9b
jmp 0x4d016c
call fcn.00477e70
mov ecx, 0x595c40
call fcn.004bf430
mov ecx, 0x595c98
call fcn.00413e50
push eax
mov ecx, 0x595c40
call fcn.004d06c0
push 0
lea edx, [ebp - 0x98]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.00481370
mov ecx, eax
call fcn.00480f60
push 1
push 0
mov ecx, 0x595c98
call fcn.00413e50
push eax
call fcn.004cd080
add esp, 0xc
mov dword [0x595b50], eax
call fcn.004c6a20
test eax, eax
jne 0x4cfa60
mov dword [0x595b4c], 0xffffff9a
jmp 0x4d016c
cmp dword [0x595b30], 0
setne cl
movzx edx, cl
push edx
mov ecx, 0x595e00
call fcn.004ca080
movzx eax, al
test eax, eax
jne 0x4cfa8e
mov dword [0x595b4c], 0xffffff99
jmp 0x4d016c
call fcn.004d89b0
call fcn.004ca3c0
test eax, eax
jne 0x4cfaab
mov dword [0x595b4c], 0xffffff97
jmp 0x4d016c
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004bea00
add esp, 4
movzx ecx, al
mov dword [0x595b34], ecx
push 0
push 0x595cb4
call fcn.004e7060
add esp, 8
test eax, eax
je 0x4cfae7
mov ecx, 0x595cb8
call fcn.00413e50
push eax
call fcn.004af7c0
add esp, 4
mov ecx, 0x595c40
call fcn.004d09b0
call fcn.004ccbe0
movzx edx, byte [0x595b29]
test edx, edx
jne 0x4cfb6c
mov dword [ebp - 0x12c], 1
push 0
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.004d8b30
add esp, 0xc
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x12c], 0
jne 0x4cfb60
cmp dword [0x595b30], 0
jne 0x4cfb51
push 0
push 0x30
push 0
push 0x37
push 2
push 0x37
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004be4a0
add esp, 0x1c
mov dword [0x595b4c], 0xffffff98
jmp 0x4d016c
mov ecx, dword [ebp - 0x128]
mov dword [0x595b40], ecx
push 2
push 0x66
mov edx, dword [0x595ba0]
mov eax, dword [edx]
mov ecx, dword [0x595ba0]
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0x268], eax
push 0
mov eax, dword [ebp - 0x268]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x268]
mov eax, dword [edx + 0x138]
call eax
mov dword [0x595b44], eax
push 0x595b40
mov ecx, dword [0x595b44]
push ecx
push 0x595cb4
call fcn.004caf90
add esp, 0xc
test eax, eax
jne 0x4cfbd2
mov dword [0x595b4c], 0xffffff96
jmp 0x4d016c
cmp dword [0x595b40], 0
je 0x4cfbea
mov edx, dword [0x595b3c]
or edx, 4
mov dword [0x595b3c], edx
cmp dword [0x595b40], 0
je 0x4cfccc
cmp dword [0x595b44], 0xfa0
jle 0x4cfccc
push 2
push 0x66
mov eax, dword [0x595b98]
mov edx, dword [eax]
mov ecx, dword [0x595b98]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x26c], eax
push 0
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x138]
call eax
cmp eax, dword [0x595b44]
je 0x4cfccc
lea ecx, [ebp - 0x1f5]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x14c]
call fcn.004148f0
mov byte [ebp - 4], 6
push str.cr_info_missing
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00413900
add esp, 8
lea ecx, [ebp - 0x148]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c]
call fcn.00414a10
cmp dword [0x595b30], 0
jne 0x4cfcbd
push 0
push 0x30
push 0
push 0x37
push 0xf
push 0x37
push 0
call fcn.004be4a0
add esp, 0x1c
mov dword [0x595b4c], 0xffffff95
jmp 0x4d016c
lea edx, [ebp - 0x104]
push edx
push 0x5134b8
mov ecx, 0x595c98
call fcn.00413e50
push eax
call fcn.004e71a0
add esp, 0xc
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x1f6]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x16c]
call fcn.004148f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x100]
call fcn.00413e50
push eax
push str.Setup_start__installing_version__s
lea eax, [ebp - 0x16c]
push eax
call fcn.00413900
add esp, 0xc
lea ecx, [ebp - 0x168]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x16c]
call fcn.00414a10
cmp dword [0x595b40], 0
je 0x4cfe0c
cmp dword [ebp - 0x9c], 0
jle 0x4cfe0c
mov ecx, dword [ebp - 0x9c]
cmp ecx, dword [0x595b44]
jge 0x4cfe0c
lea ecx, [ebp - 0x1f7]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x18c]
call fcn.004148f0
mov byte [ebp - 4], 8
mov edx, dword [0x595b44]
push edx
push str.newer_version_found__d
lea eax, [ebp - 0x18c]
push eax
call fcn.00413900
add esp, 0xc
lea ecx, [ebp - 0x188]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18c]
call fcn.00414a10
cmp dword [0x595b30], 0
jne 0x4cfdfd
push 0
push 0x30
push 0
push 0x37
push 0xe
push 0x37
push 0
call fcn.004be4a0
add esp, 0x1c
mov dword [0x595b4c], 0xffffff94
jmp 0x4d016c
call fcn.004c4830
push 1
call fcn.004bce60
mov ecx, eax
call fcn.004bd110
push 1
mov ecx, 0x595ce0
call fcn.004cbd30
push 0
call fcn.004cada0
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x4cfe4b
mov dword [0x595b4c], 0xffffff92
jmp 0x4d016c
lea edx, [ebp - 0x218]
push edx
call fcn.004c7ec0
add esp, 4
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x274]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00415500
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x218]
call fcn.00414a10
lea ecx, [ebp - 0x2c]
call fcn.00413930
movzx edx, al
test edx, edx
je 0x4cfee7
push 0
push str._affilID
lea eax, [ebp - 0x238]
push eax
call fcn.004c6470
add esp, 0xc
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
mov dword [ebp - 0x27c], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x30]
call fcn.00415500
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x238]
call fcn.00414a10
lea eax, [ebp - 0x30]
push eax
call fcn.004e9bb0
add esp, 4
push 0
push str._trkInfo
lea ecx, [ebp - 0x258]
push ecx
call fcn.004c6470
add esp, 0xc
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x280]
mov dword [ebp - 0x284], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x284]
push eax
lea ecx, [ebp - 0x30]
call fcn.00415500
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x258]
call fcn.00414a10
lea ecx, [ebp - 0x30]
push ecx
call fcn.004ea5c0
add esp, 4
call fcn.004e9960
call fcn.004cc690
call fcn.004ce7a0
call fcn.004c74a0
push 1
call fcn.004c86f0
add esp, 4
mov dword [ebp - 0x60], 0x30
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x58], 0x4cf600
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ebp + 8]
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x34], 0
push 1
mov ecx, 0x596118
call fcn.004bb290
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], 0x513578
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x90000000
push str.Babylon_Setup
push 0x5135b4
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [0x595b48], edx
mov eax, dword [0x595b3c]
and eax, 0x20
je 0x4d0020
mov byte [0x595b2a], 1
jmp 0x4d003f
call fcn.0041e960
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x288]
push eax
mov ecx, dword [edx + 0x18]
call ecx
push 1
call fcn.004c7190
add esp, 4
call fcn.004c1ec0
cmp dword [0x595b30], 0
je 0x4d0065
push 0
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4d0073
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0x401
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0
lea ecx, [ebp - 0xe4]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x4d00c3
lea edx, [ebp - 0xe4]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4d0090
lea ecx, [ebp - 0x259]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x1ac]
call fcn.004148f0
mov byte [ebp - 4], 0xc
push str.exit_message_loop
lea ecx, [ebp - 0x1ac]
push ecx
call fcn.00413900
add esp, 8
lea ecx, [ebp - 0x1a8]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1ac]
call fcn.00414a10
mov dword [ebp - 0x1b0], 0
jmp 0x4d0135
mov edx, dword [ebp - 0x1b0]
add edx, 1
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b0], 3
jge 0x4d016c
mov eax, dword [ebp - 0x1b0]
push eax
call fcn.00481370
mov ecx, eax
call fcn.00481bb0
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28c]
mov eax, dword [edx + 0x58]
call eax
jmp 0x4d0126
call fcn.00477e70
call fcn.004c1e90
lea ecx, [ebp - 0x25a]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x1d0]
call fcn.004148f0
mov byte [ebp - 4], 0xd
mov ecx, dword [0x595b4c]
push ecx
push str.ExitOnError:__d
lea edx, [ebp - 0x1d0]
push edx
call fcn.00413900
add esp, 0xc
lea ecx, [ebp - 0x1cc]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d0]
call fcn.00414a10
call fcn.004ca160
call fcn.004ce440
cmp dword [0x595b4c], 0
jl 0x4d01ec
call fcn.004c5cb0
lea ecx, [ebp - 0x25b]
call fcn.0040b800
push eax
lea ecx, [ebp - 0x1f0]
call fcn.004148f0
mov byte [ebp - 4], 0xe
push str.Setup_end
lea eax, [ebp - 0x1f0]
push eax
call fcn.00413900
add esp, 8
lea ecx, [ebp - 0x1ec]
call fcn.00413e50
push eax
push 0xc0b70001
call fcn.00418990
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1f0]
call fcn.00414a10
call fcn.004bb7e0
mov ecx, 0x595c40
call fcn.004d0520
mov ecx, 0x595c40
call fcn.004d0ef0
mov ecx, 0x5997d8
call fcn.00423b20
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, 0x596118
call fcn.004bacb0
call fcn.004c48f0
mov dword [ebp - 0x260], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call fcn.00487700
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.004b3f20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00414a10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00414a10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x104]
call fcn.00414a10
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004489b2
mov esp, ebp
pop ebp
ret 0x10