Function at 0x406cb0
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2aa1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1ff0
call fcn.00581fe0
mov eax, dword [0x629af0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1ee8], ecx
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x34]
call fcn.00409830
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00409830
mov byte [ebp - 4], 1
push str.http:__mat.repair.kingsoft.com_mat_repair_
lea ecx, [ebp - 0x74]
call fcn.00409920
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0xdcc], eax
lea eax, [ebp - 0xdc8]
push eax
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1eec], eax
mov ecx, dword [ebp - 0x1eec]
mov dword [ebp - 0x1ef0], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0xdcc]
push edx
push str.cmd_line_
mov ecx, dword [ebp - 0x1ef0]
call fcn.0040eb00
mov ecx, eax
call fcn.0040ede0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdc8]
call fcn.0042ad30
call fcn.00406c10
mov byte [ebp - 0xe59], al
lea eax, [ebp - 0xe58]
push eax
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1ef4], eax
mov ecx, dword [ebp - 0x1ef4]
mov dword [ebp - 0x1ef8], ecx
mov byte [ebp - 4], 3
lea edx, [ebp - 0xe59]
push edx
push str.zai_wangba_
mov ecx, dword [ebp - 0x1ef8]
call fcn.0040eb00
mov ecx, eax
call fcn.0040ed20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe58]
call fcn.0042ad30
call fcn.00406c40
mov byte [ebp - 0xee9], al
lea eax, [ebp - 0xee8]
push eax
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1efc], eax
mov ecx, dword [ebp - 0x1efc]
mov dword [ebp - 0x1f00], ecx
mov byte [ebp - 4], 4
lea edx, [ebp - 0xee9]
push edx
push str.zai_rar_
mov ecx, dword [ebp - 0x1f00]
call fcn.0040eb00
mov ecx, eax
call fcn.0040ed20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xee8]
call fcn.0042ad30
call fcn.00406c40
movzx eax, al
test eax, eax
je 0x406e59
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push str.re14_rar
call fcn.00406c70
add esp, 8
lea ecx, [ebp - 0xf78]
push ecx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f04], eax
mov edx, dword [ebp - 0x1f04]
mov dword [ebp - 0x1f08], edx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x74]
push eax
push str.url_base
mov ecx, dword [ebp - 0x1f08]
call fcn.0040eb00
mov ecx, eax
call fcn.0040ece0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf78]
call fcn.0042ad30
push str.RepairEntry
lea ecx, [ebp - 0x34]
call fcn.00409920
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0xf94]
push eax
call fcn.0040ed50
add esp, 0xc
mov dword [ebp - 0x1f0c], eax
mov ecx, dword [ebp - 0x1f0c]
mov dword [ebp - 0x1f10], ecx
mov byte [ebp - 4], 6
push 0x601df4
mov edx, dword [ebp - 0x1f10]
push edx
lea eax, [ebp - 0xfb0]
push eax
call fcn.0040ee20
add esp, 0xc
mov dword [ebp - 0x1f14], eax
mov ecx, dword [ebp - 0x1f14]
mov dword [ebp - 0x1f18], ecx
mov byte [ebp - 4], 7
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x1f18]
push eax
lea ecx, [ebp - 0xfcc]
push ecx
call fcn.0040ed50
add esp, 0xc
mov dword [ebp - 0x1f1c], eax
mov edx, dword [ebp - 0x1f1c]
mov dword [ebp - 0x1f20], edx
mov byte [ebp - 4], 8
push str..xml
mov eax, dword [ebp - 0x1f20]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0040ee20
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xfcc]
call fcn.004098e0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xfb0]
call fcn.004098e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xf94]
call fcn.004098e0
lea ecx, [ebp - 0x58]
call fcn.004099f0
push eax
lea ecx, [ebp - 0x14]
call fcn.00409310
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x58]
call fcn.004099f0
mov dword [ebp - 0x105c], eax
lea edx, [ebp - 0x1058]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f24], eax
mov eax, dword [ebp - 0x1f24]
mov dword [ebp - 0x1f28], eax
mov byte [ebp - 4], 0xf
push str.XML_Path_
mov ecx, dword [ebp - 0x1f28]
call fcn.0040eb00
mov dword [ebp - 0x1f2c], eax
lea ecx, [ebp - 0x105c]
push ecx
mov ecx, dword [ebp - 0x1f2c]
call fcn.0040ede0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1058]
call fcn.0042ad30
lea ecx, [ebp - 0xd0]
call fcn.004095b0
mov byte [ebp - 4], 0x10
cmp dword [0x632c78], 0
je 0x4071aa
mov byte [ebp - 0xbf0], 0
push 0x7ff
push 0
lea edx, [ebp - 0xbef]
push edx
call fcn.0057e200
add esp, 0xc
push 0
push 0
push 0x800
lea eax, [ebp - 0xbf0]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x58]
call fcn.004099f0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea ecx, [ebp - 0xbf0]
push ecx
lea edx, [ebp - 0x16f0]
push edx
call fcn.00403f10
add esp, 0xc
mov dword [ebp - 0x1f30], eax
mov esi, dword [ebp - 0x1f30]
mov ecx, 0xd2
lea edi, [ebp - 0x13a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xc8
lea esi, [ebp - 0x13a8]
lea edi, [ebp - 0x3f0]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x2e4], 0
jne 0x407184
lea eax, [ebp - 0x177c]
push eax
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f34], eax
mov ecx, dword [ebp - 0x1f34]
mov dword [ebp - 0x1f38], ecx
mov byte [ebp - 4], 0x11
push 0x601e04
mov ecx, dword [ebp - 0x1f38]
call fcn.0040ec50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x177c]
call fcn.0042ad30
push 0x601e3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e0
mov edx, dword [ebp - 0x1ee8]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1780], 0x50
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1780]
jmp 0x407f5b
mov ecx, dword [ebp - 0x2e4]
add ecx, dword [ebp - 0x2e8]
mov byte [ecx], 0
mov edx, dword [ebp - 0x2e4]
push edx
lea ecx, [ebp - 0xd0]
call fcn.004096a0
jmp 0x4072a2
push 0
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp - 0x58]
call fcn.004099f0
push eax
lea esi, [ebp - 0xc98]
call fcn.004303e0
mov dword [ebp - 0x1f3c], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc98]
call fcn.00404210
movzx ecx, al
test ecx, ecx
jne 0x407293
lea edx, [ebp - 0x180c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f40], eax
mov eax, dword [ebp - 0x1f40]
mov dword [ebp - 0x1f44], eax
mov byte [ebp - 4], 0x13
push str.download_xml_file_failure_
mov ecx, dword [ebp - 0x1f44]
call fcn.0040ec50
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x180c]
call fcn.0042ad30
mov dword [ebp - 0x1810], 0x50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc98]
call fcn.00407f80
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1810]
jmp 0x407f5b
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc98]
call fcn.00407f80
push 0
push str..log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0xd0]
call fcn.00409a10
push eax
lea ecx, [ebp - 0xd0]
call fcn.00409700
push eax
push str..logRepairEntry.xml
call fcn.00402f90
add esp, 0xc
lea ecx, [ebp - 0xd0]
call fcn.00409a10
push eax
lea ecx, [ebp - 0xd0]
call fcn.00409700
push eax
lea ecx, [ebp - 0x1880]
push ecx
call fcn.00405450
add esp, 0xc
mov ecx, 0xc
mov esi, eax
lea edi, [ebp - 0x1841]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xc
lea esi, [ebp - 0x1841]
mov edi, 0x632990
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edx, [ebp - 0x190c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f48], eax
mov eax, dword [ebp - 0x1f48]
mov dword [ebp - 0x1f4c], eax
mov byte [ebp - 4], 0x14
push str.xml_md5
mov ecx, dword [ebp - 0x1f4c]
call fcn.0040eb00
mov dword [ebp - 0x1f50], eax
push 0x6329a0
mov ecx, dword [ebp - 0x1f50]
call fcn.0040eb00
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x190c]
call fcn.0042ad30
push 0
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0xd0]
call fcn.00409700
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x407460
lea ecx, [ebp - 0x1998]
push ecx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f54], eax
mov edx, dword [ebp - 0x1f54]
mov dword [ebp - 0x1f58], edx
mov byte [ebp - 4], 0x15
push str.transcode_failure_
mov ecx, dword [ebp - 0x1f58]
call fcn.0040ec50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1998]
call fcn.0042ad30
push 0x601ee4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e0
mov eax, dword [ebp - 0x1ee8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x199c], 0x12
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x199c]
jmp 0x407f5b
xor ecx, ecx
mov eax, dword [ebp - 0x78]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0047bb82
add esp, 4
mov dword [ebp - 0x1f5c], eax
mov eax, dword [ebp - 0x1f5c]
mov dword [ebp - 0x19a0], eax
mov ecx, dword [ebp - 0x19a0]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
jne 0x40757d
lea edx, [ebp - 0x1a2c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f60], eax
mov eax, dword [ebp - 0x1f60]
mov dword [ebp - 0x1f64], eax
mov byte [ebp - 4], 0x16
push str.memory_failure_
mov ecx, dword [ebp - 0x1f64]
call fcn.0040ec50
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1a2c]
call fcn.0042ad30
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1a30], ecx
mov edx, dword [ebp - 0x1a30]
push edx
call fcn.0047bb77
add esp, 4
mov dword [ebp - 0x3c], 0
push 0x601f10
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e0
mov eax, dword [ebp - 0x1ee8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1a34], 0xe
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1a34]
jmp 0x407f5b
xor edx, edx
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0xffffffffffffffff
lea ecx, [ebp - 0xd0]
call fcn.00409700
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ecx
mov ecx, esp
mov dword [ebp - 0x1a38], esp
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004016d0
lea ecx, [ebp - 0xb0]
call fcn.00402cd0
mov dword [ebp - 0x1f68], eax
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0x1a3c], esp
push str.root
call fcn.004016d0
lea ecx, [ebp - 0xb0]
call fcn.004226b0
mov byte [ebp - 0xb1], al
movzx ecx, byte [ebp - 0xb1]
test ecx, ecx
jne 0x4076aa
lea edx, [ebp - 0x1ac8]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f6c], eax
mov eax, dword [ebp - 0x1f6c]
mov dword [ebp - 0x1f70], eax
mov byte [ebp - 4], 0x18
push 0x601f2c
mov ecx, dword [ebp - 0x1f70]
call fcn.0040ec50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1ac8]
call fcn.0042ad30
mov dword [ebp - 0x1acc], 0x13
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb0]
call fcn.00422470
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1acc]
jmp 0x407f5b
lea ecx, [ebp - 0xb0]
call fcn.00423690
mov byte [ebp - 0xb1], al
movzx ecx, byte [ebp - 0xb1]
test ecx, ecx
jne 0x407776
lea edx, [ebp - 0x1b58]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f74], eax
mov eax, dword [ebp - 0x1f74]
mov dword [ebp - 0x1f78], eax
mov byte [ebp - 4], 0x19
push 0x601f54
mov ecx, dword [ebp - 0x1f78]
call fcn.0040ec50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1b58]
call fcn.0042ad30
mov dword [ebp - 0x1b5c], 0x13
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb0]
call fcn.00422470
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1b5c]
jmp 0x407f5b
push ecx
mov ecx, esp
mov dword [ebp - 0x1b60], esp
push str.filelist
call fcn.004016d0
lea ecx, [ebp - 0xb0]
call fcn.004226b0
mov byte [ebp - 0xb1], al
movzx ecx, byte [ebp - 0xb1]
test ecx, ecx
jne 0x407855
lea edx, [ebp - 0x1bec]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f7c], eax
mov eax, dword [ebp - 0x1f7c]
mov dword [ebp - 0x1f80], eax
mov byte [ebp - 4], 0x1a
push 0x601f90
mov ecx, dword [ebp - 0x1f80]
call fcn.0040ec50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1bec]
call fcn.0042ad30
mov dword [ebp - 0x1bf0], 0x13
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb0]
call fcn.00422470
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1bf0]
jmp 0x407f5b
lea ecx, [ebp - 0xb0]
call fcn.00423690
mov byte [ebp - 0xb1], al
movzx ecx, byte [ebp - 0xb1]
test ecx, ecx
jne 0x407921
lea edx, [ebp - 0x1c7c]
push edx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1f84], eax
mov eax, dword [ebp - 0x1f84]
mov dword [ebp - 0x1f88], eax
mov byte [ebp - 4], 0x1b
push str.parse_xml_failure_
mov ecx, dword [ebp - 0x1f88]
call fcn.0040ec50
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x1c7c]
call fcn.0042ad30
mov dword [ebp - 0x1c80], 0x13
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb0]
call fcn.00422470
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1c80]
jmp 0x407f5b
mov ecx, dword [ebp - 0x1ee8]
add ecx, 0x1c
call fcn.0040a6e0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c84], esp
push str.file
call fcn.004016d0
lea ecx, [ebp - 0xb0]
call fcn.004226b0
movzx ecx, al
test ecx, ecx
je 0x407de5
push ecx
mov ecx, esp
mov dword [ebp - 0x1c88], esp
push 0x601fec
call fcn.004016d0
lea edx, [ebp - 0xcbc]
push edx
lea ecx, [ebp - 0xb0]
call fcn.00402d90
mov dword [ebp - 0x1f8c], eax
mov byte [ebp - 4], 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x1c8c], esp
push str.size
call fcn.004016d0
lea eax, [ebp - 0xcc4]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00402d90
mov dword [ebp - 0x1f90], eax
mov byte [ebp - 4], 0x1d
push ecx
mov ecx, esp
mov dword [ebp - 0x1c90], esp
push str.compress_size
call fcn.004016d0
lea ecx, [ebp - 0xcb8]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00402d90
mov dword [ebp - 0x1f94], eax
mov byte [ebp - 4], 0x1e
lea edx, [ebp - 0xd3c]
push edx
lea ecx, [ebp - 0xb0]
call fcn.00402d50
mov dword [ebp - 0x1f98], eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xd3c]
call fcn.00402cc0
push eax
lea ecx, [ebp - 0xcb4]
call fcn.00409860
mov dword [ebp - 0x1f9c], eax
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xcb4]
push eax
call fcn.00414c10
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.004099f0
push eax
lea ecx, [ebp - 0x1c94]
call fcn.00409310
mov dword [ebp - 0x1fa0], eax
mov ecx, dword [ebp - 0x1fa0]
mov dword [ebp - 0x1fa4], ecx
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x34]
call fcn.004099f0
push eax
mov edx, dword [ebp - 0x1fa4]
push edx
lea eax, [ebp - 0x1c98]
push eax
call fcn.00409410
add esp, 0xc
mov dword [ebp - 0x1fa8], eax
mov ecx, dword [ebp - 0x1fa8]
mov dword [ebp - 0x1fac], ecx
mov byte [ebp - 4], 0x22
push str._MatOnline_
mov edx, dword [ebp - 0x1fac]
push edx
lea eax, [ebp - 0x1c9c]
push eax
call fcn.00409410
add esp, 0xc
mov dword [ebp - 0x1fb0], eax
mov ecx, dword [ebp - 0x1fb0]
mov dword [ebp - 0x1fb4], ecx
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xcb4]
call fcn.004099f0
push eax
mov edx, dword [ebp - 0x1fb4]
push edx
lea eax, [ebp - 0xcc0]
push eax
call fcn.00409410
add esp, 0xc
mov dword [ebp - 0x1fb8], eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x1c9c]
call fcn.00409390
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x1c98]
call fcn.00409390
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x1c94]
call fcn.00409390
push str.full_log
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401010
add esp, 8
test eax, eax
je 0x407c45
lea ecx, [ebp - 0xcbc]
call fcn.00409530
mov dword [ebp - 0x1fbc], eax
mov ecx, dword [ebp - 0x1fbc]
mov dword [ebp - 0x1d34], ecx
lea ecx, [ebp - 0xcc4]
call fcn.00409530
mov dword [ebp - 0x1fc0], eax
mov edx, dword [ebp - 0x1fc0]
mov dword [ebp - 0x1d30], edx
push 0
lea ecx, [ebp - 0xd3c]
call fcn.00409570
mov dword [ebp - 0x1fc4], eax
mov eax, dword [ebp - 0x1fc4]
mov dword [ebp - 0x1d2c], eax
lea ecx, [ebp - 0x1d28]
push ecx
mov ecx, 0x632cd8
call fcn.0042af50
mov dword [ebp - 0x1fc8], eax
mov edx, dword [ebp - 0x1fc8]
mov dword [ebp - 0x1fcc], edx
mov byte [ebp - 4], 0x28
push str.server_file:
mov ecx, dword [ebp - 0x1fcc]
call fcn.0040ec50
mov dword [ebp - 0x1fd0], eax
lea eax, [ebp - 0x1d2c]
push eax
mov ecx, dword [ebp - 0x1fd0]
call fcn.0040ede0
mov dword [ebp - 0x1fd4], eax
push str._size:
mov ecx, dword [ebp - 0x1fd4]
call fcn.0040ec50
mov dword [ebp - 0x1fd8], eax
lea ecx, [ebp - 0x1d30]
push ecx
mov ecx, dword [ebp - 0x1fd8]
call fcn.0040ede0
mov dword [ebp - 0x1fdc], eax
push str._md5:
mov ecx, dword [ebp - 0x1fdc]
call fcn.0040ec50
mov dword [ebp - 0x1fe0], eax
lea edx, [ebp - 0x1d34]
push edx
mov ecx, dword [ebp - 0x1fe0]
call fcn.0040ede0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x1d28]
call fcn.0042ad30
lea ecx, [ebp - 0xd38]
call fcn.00407fa0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0xcc4]
call fcn.00402cc0
push eax
lea ecx, [ebp - 0xd38]
call fcn.00409920
lea ecx, [ebp - 0xcbc]
call fcn.00402cc0
push eax
lea ecx, [ebp - 0xd00]
call fcn.00409920
lea ecx, [ebp - 0xcc0]
call fcn.00402cc0
push eax
lea ecx, [ebp - 0xce4]
call fcn.00409920
lea ecx, [ebp - 0xcb8]
call fcn.00402cc0
push eax
lea ecx, [ebp - 0xd1c]
call fcn.00409920
sub esp, 0x70
mov ecx, esp
mov dword [ebp - 0x1dc4], esp
lea eax, [ebp - 0xd38]
push eax
call fcn.00405d00
mov dword [ebp - 0x1fe4], eax
mov ecx, dword [ebp - 0x1fe4]
mov dword [ebp - 0x1fe8], ecx
mov byte [ebp - 4], 0x2a
push ecx
mov ecx, esp
mov dword [ebp - 0x1dc8], esp
lea edx, [ebp - 0xd3c]
push edx
call fcn.004092f0
mov dword [ebp - 0x1fec], eax
lea eax, [ebp - 0x1e3c]
push eax
mov byte [ebp - 4], 0x29
call fcn.0040eeb0
add esp, 0x78
mov dword [ebp - 0x1ff0], eax
mov ecx, dword [ebp - 0x1ff0]
mov dword [ebp - 0x1ff4], ecx
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x1ff4]
push edx
lea ecx, [ebp - 0x1dc0]
call fcn.0040ef30
mov dword [ebp - 0x1ff8], eax
mov byte [ebp - 4], 0x2c
lea eax, [ebp - 0x1dc0]
push eax
lea ecx, [ebp - 0x1e48]
push ecx
mov ecx, dword [ebp - 0x1ee8]
add ecx, 0x1c
call fcn.00409d30
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x1dc0]
call fcn.00405de0
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x1e3c]
call fcn.00407fe0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0xd38]
call fcn.00405da0
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xcc0]
call fcn.00409390
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xcb4]
call fcn.004098e0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xd3c]
call fcn.00409390
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xcb8]
call fcn.00409390
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0xcc4]
call fcn.00409390
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xcbc]
call fcn.00409390
jmp 0x40792f
cmp dword [ebp - 0x3c], 0
je 0x407e0a
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1e4c], edx
mov eax, dword [ebp - 0x1e4c]
push eax
call fcn.0047bb77
add esp, 4
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xb0]
call fcn.00422470
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xd0]
call fcn.00409660
jmp 0x407ed5
mov dword [ebp - 4], 0xd
jmp 0x407f19
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x1ee4], ecx
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
call fcn.00409390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004098e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.004098e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004098e0
mov eax, dword [ebp - 0x1ee4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0057976c
mov esp, ebp
pop ebp
ret