Function at 0x420240
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bd3d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
mov eax, dword [0x4f5b3c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x38], eax
xor ebp, ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x1a0], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x14], eax
push 0x7d
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1a4], 4
mov dword [esp + 0x40], ebp
mov dword [esi + 0x168], ebp
call fcn.004abac8
lea eax, [esp + 0x38]
push str..cfg
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004a9e68
push eax
lea ecx, [esi + 0xd4]
mov byte [esp + 0x1a4], 5
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 4
call fcn.004a9c1f
lea edx, [esp + 0x38]
push 0x4ef188
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.004a9e68
push eax
lea ecx, [esi + 0xd8]
mov byte [esp + 0x1a4], 6
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 4
call fcn.004a9c1f
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x24], ecx
mov eax, dword [esi + 0x8c]
mov bl, 7
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], bl
call fcn.004a9d5c
lea edx, [esp + 0x30]
lea ecx, [esp + 0x24]
push edx
call fcn.00434f30
mov edi, eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x1a4], 8
call fcn.00434d10
push edi
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x1ac], 9
call fcn.004a9e02
mov byte [esp + 0x1a0], 0xa
push 0x4ef188
lea edx, [esp + 0x1c]
push eax
push edx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x1a4], 0xb
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 0xa
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a0], 9
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], 8
call fcn.004a9c1f
lea ecx, [esp + 0x30]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
call fcn.004358a0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a4], 0xc
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov ecx, dword [esi + 0x88]
push ecx
call fcn.004753f9
add esp, 4
lea edx, [esp + 0x18]
lea ecx, [esp + 0x24]
push edx
call fcn.00434f30
mov eax, dword [eax]
push eax
call fcn.00475e9f
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esi + 0x88], eax
call fcn.004a9c1f
lea eax, [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
call fcn.00434d10
lea edi, [esi + 0x51c]
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0xd
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.00434f30
push eax
lea edx, [esp + 0x30]
push edi
push edx
mov byte [esp + 0x1ac], 0xe
call fcn.004a9e02
push str..cfg
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x1a8], 0xf
push eax
call fcn.004a9e68
lea ecx, [esi + 0x4c8]
push eax
mov byte [esp + 0x1a4], 0x10
call fcn.004a9d0c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 0xf
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a0], 0xe
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
call fcn.00434f30
push eax
lea edx, [esp + 0x30]
push edi
push edx
mov byte [esp + 0x1ac], 0x11
call fcn.004a9e02
push 0x4ef188
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x1a8], 0x12
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esi + 0x518]
push eax
mov byte [esp + 0x1a4], 0x13
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 0x12
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a0], 0x11
call fcn.004a9c1f
lea ecx, [esp + 0x28]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov eax, 1
lea ecx, [esi + 0x510]
mov dword [esi + 0xb74], eax
mov dword [esi + 0xbe8], eax
mov dword [esi + 0xc78], ebp
mov dword [esi + 0xb9c], eax
mov dword [esi + 0xb94], ebp
mov dword [esi + 0xb90], ebp
mov dword [esi + 0xb7c], ebp
mov dword [esi + 0xba0], ebp
mov dword [esi + 0xb80], ebp
mov dword [esi + 0x530], ebp
mov dword [esi + 0xbf0], ebp
mov dword [esi + 0xb88], ebp
mov dword [esi + 0xbc0], ebp
mov dword [esi + 0xb98], 0xbb8
call fcn.004a9baa
lea ecx, [esp + 0x94]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esi + 0x4f8]
lea edx, [esp + 0x94]
push edx
mov ecx, edi
call fcn.004a9d5c
mov eax, dword [edi]
mov ecx, dword [eax - 8]
mov al, byte [eax + ecx - 1]
cmp al, 0x5c
je 0x420627
push 0x4ee660
mov ecx, edi
call fcn.004a9faf
push str.2020inst.log
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esi + 0x514]
push eax
mov byte [esp + 0x1a4], 0x14
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov ecx, dword [edi]
lea edx, [esp + 0x18]
mov eax, dword [ecx - 8]
mov ecx, edi
dec eax
push eax
push edx
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esi + 0x480]
push eax
push str._WINDIR_
mov byte [esp + 0x1a8], 0x15
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea eax, [esp + 0x18]
push 1
push eax
mov ecx, edi
call fcn.004a7219
mov eax, dword [eax]
lea ecx, [esi + 0x480]
push eax
push str._WINDRIVE_
mov byte [esp + 0x1a8], 0x16
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
push str.HELP
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.004a9e68
mov eax, dword [eax]
lea edi, [esi + 0x480]
push eax
push str._WINHELPDIR_
mov ecx, edi
mov byte [esp + 0x1a8], 0x17
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov ecx, esi
call fcn.0041fe60
mov eax, dword [esi + 0x500]
mov ecx, edi
push eax
push str._ALLUSERSDIR_
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
mov eax, dword [esi + 0x504]
push eax
push str._CURUSERDIR_
mov ecx, edi
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
mov eax, dword [esi + 0x508]
mov ecx, edi
push eax
push str._COMMONDESKTOPDIR_
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
mov eax, dword [esi + 0x50c]
mov ecx, edi
push eax
push str._DESKTOPDIR_
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
lea edx, [esp + 0x94]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x94]
lea ecx, [esi + 0x4fc]
push eax
call fcn.004a9d5c
mov eax, dword [esi + 0x4fc]
lea ecx, [esi + 0x4fc]
mov edx, dword [eax - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x4207db
push 0x4ee660
call fcn.004a9faf
mov edx, dword [esi + 0x4fc]
lea ecx, [esi + 0x4fc]
mov eax, dword [edx - 8]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a7219
mov eax, dword [eax]
mov ecx, edi
push eax
push str._WINSYSDIR_
mov byte [esp + 0x1a8], 0x18
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
push ecx
lea edx, [esi + 0x158]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esi + 0xc8], ebp
mov dword [esp + 0x38], ebp
call fcn.004a9994
lea ecx, [esp + 0x38]
call fcn.0040cea0
lea ecx, [esp + 0x34]
call fcn.004a777a
lea ecx, [esp + 0x34]
mov dword [esi + 0xc7c], ebp
call fcn.004033c0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
push ecx
mov ecx, esi
call fcn.0041fbf0
lea ecx, [esp + 0x18]
call fcn.0040cea0
mov eax, dword [esp + 0x14]
cmp dword [eax - 8], ebp
jne 0x420899
mov dword [esi + 0x168], 1
mov ecx, dword [eax - 8]
cmp ecx, ebp
je 0x4210d1
lea edx, [esp + 0x8c]
push 0x22
push edx
lea ecx, [esp + 0x1c]
call fcn.004384f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0x19
call fcn.004a9d0c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov edi, 4
lea eax, [esp + 0x74]
push edi
push eax
lea ecx, [esp + 0x1c]
call fcn.004a7219
mov eax, dword [eax]
push str.cfg
push eax
call fcn.004751e6
add esp, 8
lea ecx, [esp + 0x74]
test eax, eax
sete byte [esp + 0x13]
call fcn.004a9c1f
mov al, byte [esp + 0x13]
test al, al
je 0x4209c5
push ecx
mov dword [esp + 0x40], 1
mov ecx, esp
mov dword [esp + 0x44], esp
push edi
push ecx
lea ecx, [esp + 0x20]
mov dword [esi + 0xc7c], ebp
call fcn.004a70e4
lea ecx, [esp + 0x18]
call fcn.0040cea0
lea edx, [esp + 0x7c]
push 0x22
push edx
lea ecx, [esp + 0x1c]
call fcn.004384f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0x1a
call fcn.004a9d0c
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x28]
push eax
call fcn.004a9c8d
lea ecx, [esp + 0x50]
mov byte [esp + 0x1a0], 0x1b
push ecx
lea ecx, [esp + 0x2c]
call fcn.004358a0
push eax
lea ecx, [esi + 0x4c8]
mov byte [esp + 0x1a4], 0x1c
call fcn.004a9d0c
lea ecx, [esp + 0x50]
mov byte [esp + 0x1a0], 0x1b
call fcn.004a9c1f
mov byte [esp + 0x1a0], bl
lea ecx, [esp + 0x28]
jmp 0x4210a6
lea edx, [esp + 0x58]
push 5
push edx
lea ecx, [esp + 0x1c]
call fcn.004a7219
mov eax, dword [eax]
push 0x4f0574
push eax
call fcn.004751e6
add esp, 8
lea ecx, [esp + 0x58]
test eax, eax
sete byte [esp + 0x13]
call fcn.004a9c1f
mov al, byte [esp + 0x13]
test al, al
je 0x420a60
push ecx
lea ecx, [esp + 0x18]
mov eax, esp
mov dword [esp + 0x44], esp
push 5
push eax
call fcn.004a70e4
lea ecx, [esp + 0x18]
call fcn.0040cea0
lea ecx, [esp + 0x78]
push 0x22
push ecx
lea ecx, [esp + 0x1c]
call fcn.004384f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0x1d
call fcn.004a9d0c
lea ecx, [esp + 0x78]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea edx, [esp + 0x14]
lea ecx, [esi + 0x524]
push edx
call fcn.004a9d0c
jmp 0x4210ab
lea eax, [esp + 0x60]
push 9
push eax
lea ecx, [esp + 0x1c]
call fcn.004a7219
mov eax, dword [eax]
push str.password
push eax
call fcn.004751e6
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
sete byte [esp + 0x13]
call fcn.004a9c1f
mov al, byte [esp + 0x13]
test al, al
je 0x420b01
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 9
push ecx
lea ecx, [esp + 0x20]
call fcn.004a70e4
lea ecx, [esp + 0x18]
call fcn.0040cea0
lea edx, [esp + 0x88]
push 0x22
push edx
lea ecx, [esp + 0x1c]
call fcn.004384f0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a4], 0x1e
call fcn.004a9d0c
lea ecx, [esp + 0x88]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea eax, [esp + 0x14]
lea ecx, [esi + 0x528]
push eax
call fcn.004a9d0c
jmp 0x4210ab
lea ecx, [esp + 0x80]
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a719d
mov eax, dword [eax]
push 0x4ef188
push eax
mov byte [esp + 0x1a8], 0x1f
call fcn.004751e6
add esp, 8
test eax, eax
je 0x420b6b
lea edx, [esp + 0x68]
push edi
push edx
lea ecx, [esp + 0x1c]
call fcn.004a719d
mov eax, dword [eax]
push str..cfg
push eax
call fcn.004751e6
add esp, 8
lea ecx, [esp + 0x68]
test eax, eax
sete byte [esp + 0x13]
call fcn.004a9c1f
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], 0
test al, al
je 0x420b70
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x80]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov al, byte [esp + 0x13]
test al, al
je 0x420cc9
lea eax, [esp + 0x14]
lea edi, [esi + 0x4c8]
push eax
mov ecx, edi
call fcn.004a9d0c
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push eax
call fcn.004a9d5c
push str.http:__
lea ecx, [esp + 0x24]
call fcn.00434380
cmp eax, ebp
jge 0x420c26
push str.https:__
lea ecx, [esp + 0x24]
call fcn.00434380
cmp eax, ebp
jge 0x420c26
mov eax, dword [edi]
lea ecx, [esp + 0x2c]
push eax
call fcn.004a9c8d
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a0], 0x21
push ecx
lea ecx, [esp + 0x30]
call fcn.004358a0
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x22
call fcn.004a9d0c
lea ecx, [esp + 0x70]
mov byte [esp + 0x1a0], 0x21
call fcn.004a9c1f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
jmp 0x420c65
lea edx, [esp + 0x90]
push eax
push edx
lea ecx, [esp + 0x28]
call fcn.004a70e4
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x20
call fcn.004a9d0c
lea ecx, [esp + 0x90]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov dword [esi + 0x15c], 1
mov eax, dword [edi]
lea ecx, [esp + 0x5c]
mov eax, dword [eax - 8]
add eax, 0xfffffffc
push eax
push ecx
mov ecx, edi
call fcn.004a7219
push 0x4ef188
lea edx, [esp + 0x58]
push eax
push edx
mov byte [esp + 0x1ac], 0x23
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esi + 0x518]
push eax
mov byte [esp + 0x1a4], 0x24
call fcn.004a9d5c
lea ecx, [esp + 0x54]
mov byte [esp + 0x1a0], 0x23
call fcn.004a9c1f
mov byte [esp + 0x1a0], bl
lea ecx, [esp + 0x5c]
jmp 0x4210a6
mov eax, dword [esp + 0x14]
push 0x4f0550
push eax
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420cea
or dword [esi + 0xc8], edi
jmp 0x4210ab
mov ecx, dword [esp + 0x14]
push str._All
push ecx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420d2e
mov ecx, dword [esp + 0x3c]
mov eax, 1
cmp ecx, ebp
mov dword [esi + 0x168], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], ebp
jne 0x4210ab
mov dword [esi + 0xc7c], eax
jmp 0x4210ab
mov edx, dword [esp + 0x14]
push 0x4f0544
push edx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420d57
mov eax, dword [esi + 0xc8]
or al, 8
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov eax, dword [esp + 0x14]
push 0x4f0540
push eax
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420d80
mov eax, dword [esi + 0xc8]
or al, 2
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov ecx, dword [esp + 0x14]
push 0x4f053c
push ecx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420da1
or dword [esi + 0xc8], edi
jmp 0x4210ab
mov edx, dword [esp + 0x14]
push 0x4f0538
push edx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420dca
mov eax, dword [esi + 0xc8]
or al, 0x10
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov eax, dword [esp + 0x14]
push 0x4f0534
push eax
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420df4
mov eax, dword [esi + 0xc8]
or ah, 1
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov ecx, dword [esp + 0x14]
push str._Ah_
push ecx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420e1e
mov eax, dword [esi + 0xc8]
or ah, 4
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov edx, dword [esp + 0x14]
push str._Ah
push edx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420e48
mov eax, dword [esi + 0xc8]
or ah, 8
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov eax, dword [esp + 0x14]
push 0x4f0198
push eax
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420e71
mov eax, dword [esi + 0xc8]
or al, 0x20
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov ecx, dword [esp + 0x14]
push 0x4f0520
push ecx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420ecc
mov edi, dword [esi + 0xc8]
push str.OK__IN_RUNONCE_MODE
or edi, 0x80
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc8], edi
call fcn.004a9c8d
lea edx, [esp + 0x18]
mov byte [esp + 0x1a0], 0x25
push edx
call fcn.0045db50
add esp, 4
mov byte [esp + 0x1a0], bl
lea ecx, [esp + 0x18]
jmp 0x4210a6
mov eax, dword [esp + 0x14]
push 0x4f04e4
push eax
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420ef5
mov eax, dword [esi + 0xc8]
or al, 0x40
mov dword [esi + 0xc8], eax
jmp 0x4210ab
mov ecx, dword [esp + 0x14]
push 0x4f04e0
push ecx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420f1a
mov dword [esi + 0x160], 1
jmp 0x4210ab
mov edx, dword [esp + 0x14]
push 0x4f04dc
push edx
call fcn.004751e6
add esp, 8
test eax, eax
jne 0x420f5b
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x14c], 1
cmp eax, ebp
mov dword [esi + 0x150], ebp
jne 0x4210ab
mov dword [esi + 0xc7c], 1
jmp 0x4210ab
mov ecx, dword [esp + 0x14]
mov al, byte [ecx]
cmp al, 0x2d
jne 0x421039
mov eax, dword [esp + 0x30]
sub eax, ebp
je 0x420ffd
dec eax
je 0x420fbe
dec eax
jne 0x421033
lea eax, [esp + 0x64]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004a70e4
mov eax, dword [eax]
lea ecx, [esi + 0x4f4]
push eax
mov byte [esp + 0x1a4], 0x28
call fcn.004a9d5c
lea ecx, [esp + 0x64]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
inc dword [esp + 0x30]
jmp 0x4210ab
lea ecx, [esp + 0x6c]
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a70e4
mov eax, dword [eax]
lea ecx, [esi + 0x4f0]
push eax
mov byte [esp + 0x1a4], 0x27
call fcn.004a9d5c
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
inc dword [esp + 0x30]
jmp 0x4210ab
lea edx, [esp + 0x48]
push 1
push edx
lea ecx, [esp + 0x1c]
call fcn.004a70e4
mov eax, dword [eax]
lea ecx, [esi + 0x4ec]
push eax
mov byte [esp + 0x1a4], 0x26
call fcn.004a9d5c
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
inc dword [esp + 0x30]
jmp 0x4210ab
cmp al, 0x7c
jne 0x4210ab
cmp byte [ecx + 2], 0x3a
je 0x421067
push 0x5c
lea ecx, [esp + 0x18]
call fcn.004aa09a
cmp eax, 0xffffffff
jne 0x421067
lea eax, [esi + 0x51c]
lea ecx, [esi + 0x518]
push eax
call fcn.004a9d0c
jmp 0x421077
push 0x4fc5e4
lea ecx, [esi + 0x518]
call fcn.004a9d5c
lea eax, [esp + 0x1c]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.004a70e4
push eax
lea ecx, [esi + 0x518]
mov byte [esp + 0x1a4], 0x29
call fcn.004a9feb
mov byte [esp + 0x1a0], bl
lea ecx, [esp + 0x1c]
call fcn.004a9c1f
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push ebp
push ecx
mov ecx, esi
call fcn.0041fbf0
lea ecx, [esp + 0x18]
call fcn.0040cea0
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebp
jne 0x420899
cmp dword [esi + 0x160], ebp
je 0x4210e7
mov eax, dword [esi + 0xc8]
and al, 0xbf
mov dword [esi + 0xc8], eax
cmp dword [esi + 0x15c], ebp
jne 0x421138
mov eax, dword [esi + 0x4c8]
lea edi, [esi + 0x4c8]
cmp byte [eax], 0x5c
je 0x421138
cmp byte [eax + 1], 0x3a
je 0x421138
lea eax, [esi + 0x51c]
push edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004a9e02
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x2a
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov ecx, dword [esi + 0x88]
lea eax, [esi + 0x51c]
push ecx
lea edx, [esp + 0x4c]
push eax
push edx
call fcn.004a9e68
push str..cfg
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x1a8], 0x2b
push eax
call fcn.004a9e68
mov eax, dword [eax]
mov ecx, dword [esi + 0x4c8]
push eax
push ecx
call fcn.004751e6
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
sete byte [esp + 0x13]
call fcn.004a9c1f
lea ecx, [esp + 0x48]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov al, byte [esp + 0x13]
test al, al
je 0x4211df
mov eax, dword [esi + 0x4c8]
lea ecx, [esp + 0x20]
push eax
call fcn.004a9d5c
push ebp
lea ecx, [esp + 0x24]
call fcn.00434b80
test eax, eax
je 0x4211df
mov ecx, 1
mov dword [esi + 0x150], ebp
mov dword [esi + 0x14c], ecx
mov dword [esi + 0xc7c], ebp
mov dword [esi + 0x168], ecx
jmp 0x4211e4
mov ecx, 1
mov eax, dword [esi + 0xc8]
test ah, 4
je 0x4211f8
and ah, 0xfe
mov dword [esi + 0xc8], eax
mov eax, dword [esi + 0xc8]
test ah, 1
jne 0x421209
mov dword [esi + 0xbf0], ecx
mov eax, dword [esi + 0x4ec]
lea edi, [esi + 0x480]
push eax
push str._SYSTEM_
mov ecx, edi
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
mov eax, dword [esi + 0x4f0]
mov ecx, edi
push eax
push str._SYS2_
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
mov eax, dword [esi + 0x4f4]
mov ecx, edi
push eax
push str._SYS3_
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
push 0x104
lea ecx, [esp + 0x24]
call fcn.004aa003
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.004aa052
lea ecx, [esp + 0x20]
call fcn.004343e0
mov ecx, dword [esp + 0x20]
push ecx
push str._WINTEMPDIR_
mov ecx, edi
call fcn.004a94f6
mov ecx, eax
call fcn.004a9d5c
lea edx, [esp + 0x20]
push 0x4ee660
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esi + 0xe8]
push eax
mov byte [esp + 0x1a4], 0x2c
call fcn.004a9d5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x4c]
push edx
mov byte [esp + 0x1a4], 0x2d
call fcn.00437d40
lea edi, [esi + 0x4bc]
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x2e
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a0], 0x2d
call fcn.004a9c1f
mov eax, dword [edi]
push str.3.95
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x421380
mov eax, dword [edi]
push str.4.10
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x421380
mov eax, dword [edi]
push str.4.90
push eax
call fcn.00474eb8
add esp, 8
test eax, eax
je 0x421380
mov edi, dword [edi]
push 0x4f049c
push edi
call fcn.00474eb8
add esp, 8
test eax, eax
jle 0x42138a
mov dword [esi + 0xc70], 1
jmp 0x42138a
mov dword [esi + 0xc74], 1
lea edi, [esi + 0x4c8]
push 0x7b
mov ecx, edi
mov dword [esi + 0x52c], ebp
mov dword [esi + 0xb78], ebp
mov byte [esi + 0x318], 3
call fcn.004aa09a
push 0x7d
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.004aa09a
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
jle 0x421437
cmp eax, 0xffffffff
jle 0x421437
mov edx, eax
sub edx, ecx
cmp edx, 0x1e
jle 0x421437
inc eax
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004a7219
lea edi, [esi + 0x520]
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x2f
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a0], 0x2d
call fcn.004a9c1f
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.004a70e4
push eax
mov ecx, edi
mov byte [esp + 0x1a4], 0x30
call fcn.004a9d0c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1a0], 0x2d
call fcn.004a9c1f
lea eax, [esi + 0x4c8]
lea ecx, [esp + 0x44]
push eax
mov dword [esi + 0xcb8], ebp
call fcn.004a9994
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a0], 0x31
call fcn.004aa0f5
push str.RECOVERBACKSYSTEM
lea ecx, [esp + 0x48]
call fcn.004a7309
cmp eax, 0xffffffff
je 0x4214bf
mov dword [esi + 0xcb8], 1
mov al, byte [0x4feef8]
test al, 0x80
jne 0x42148b
mov byte [esi + 0x318], 1
push str.Set_m_bRecoverSys_to_TRUE
lea ecx, [esp + 0x1c]
call fcn.004a9c8d
lea eax, [esp + 0x18]
mov byte [esp + 0x1a0], 0x32
push eax
call fcn.0045db50
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x1a0], 0x31
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x1a0], 0x2d
call fcn.004a9c1f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1a0], bl
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov byte [esp + 0x1a0], 4
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x1a0], 3
call fcn.004a9c1f
lea ecx, [esp + 0x84]
mov byte [esp + 0x1a0], 2
call fcn.004a9c1f
lea ecx, [esp + 0x20]
mov byte [esp + 0x1a0], 1
call fcn.004a9c1f
lea ecx, [esp + 0x34]
mov byte [esp + 0x1a0], 0
call fcn.004a9c1f
lea ecx, [esp + 0x38]
mov dword [esp + 0x1a0], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x198]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x194
ret