Function at 0x490480
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2d98
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x5f8800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x170], esi
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x15c], eax
mov eax, dword [0x5c5a80]
mov dword [ebp - 0x18], eax
mov ax, word [0x5c5a84]
mov word [ebp - 0x14], ax
mov al, byte [0x5c5a86]
mov dword [ebp - 0x160], edi
mov byte [ebp - 0x12], al
test edi, edi
je 0x491823
push 0x100
push 0
push 0x6a4c38
call sub.VCRUNTIME140.dll_memset
push 0x78
push 0
push 0x6a4d38
call sub.VCRUNTIME140.dll_memset
push 0x78
push 0
push 0x6a4e28
call sub.VCRUNTIME140.dll_memset
push 0x78
push 0
push 0x6a4f18
call sub.VCRUNTIME140.dll_memset
push 0x78
push 0
push 0x6a4f90
call sub.VCRUNTIME140.dll_memset
push 0x78
push 0
push 0x6a5008
call sub.VCRUNTIME140.dll_memset
add esp, 0x48
push 0x78
push 0
push 0x6a4db0
call sub.VCRUNTIME140.dll_memset
push 0x78
push 0
push 0x6a4ea0
call sub.VCRUNTIME140.dll_memset
push edi
push 0x100
push 0x6a4c38
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
push 0x114
xor edi, edi
call fcn.005aa520
add esp, 0x28
mov dword [ebp - 0x16c], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x4905a7
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x160]
mov ecx, eax
call fcn.00587a70
jmp 0x4905a9
xor eax, eax
mov ecx, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00587b30
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x490676
mov esi, eax
nop dword [eax]
cmp edi, 4
ja case.default.0x4905d9
jmp dword [edi*4 + 0x49185c]
push esi
push 0x78
push 0x6a4d38
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
push esi
push 0x78
push 0x6a4db0
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
push 0x78
push 0x6a4db0
call sub.api_ms_win_crt_string_l1_1_0.dll__strlwr_s
add esp, 0x20
jmp case.default.0x4905d9
push esi
push 0x78
push 0x6a4e28
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
push esi
push 0x78
push 0x6a4ea0
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
push 0x78
push 0x6a4ea0
call sub.api_ms_win_crt_string_l1_1_0.dll__strlwr_s
add esp, 0x20
jmp case.default.0x4905d9
push esi
push 0x78
push 0x6a4f18
jmp 0x490652
push esi
push 0x78
push 0x6a4f90
jmp 0x490652
push esi
push 0x78
push 0x6a5008
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy_s
add esp, 0xc
mov ecx, dword [ebp - 0x160]
call fcn.00587b30
mov esi, eax
inc edi
test esi, esi
jne 0x4905d0
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x490686
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, 0x6a4db0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490690
sub ecx, edx
je 0x491823
mov ecx, 0x6a4ea0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4906a7
sub ecx, edx
je 0x491823
mov edi, dword [ebp - 0x168]
lea ecx, [esi + 0x149f14]
mov eax, dword [esi + 0x1892f0]
push edi
mov dword [esi + 0x194aec], edi
mov byte [esi + 0x189590], 1
mov dword [esi + 0x186cb4], 0
mov dword [esi + 0x1892fc], eax
call fcn.00589af0
mov ecx, esi
mov byte [esi + 0x189591], al
mov byte [esi + 0x18bf6f], 0
mov word [esi + 0x18d8d6], 0
mov byte [esi + 0x18d8d5], 0
call fcn.0048ac50
test al, al
jne 0x49072a
push 0x30
push str.ERROR1
push str.File_checksum_error___Get_Update_again_please_
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, esi
call fcn.00485110
test al, al
jne 0x49074c
push 0x30
push str.ERROR2
push str.File_checksum_error____Get_Update_again_please__
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, esi
call fcn.004852d0
test al, al
jne 0x49076e
push 0x30
push str.ERROR3
push str.CItemcfg.Txt_File_checksum_error____Get_Update_again_please___
push dword [esi + 0x194aec]
jmp 0x491835
push str.login.cfg
mov ecx, esi
call fcn.00493600
test al, al
jne 0x490795
push 0x30
push str.ERROR
push str.login.cfg_file_contains_wrong_infomation.
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, esi
call fcn.004932b0
test al, al
jne 0x4907b7
push 0x30
push str.ERROR
push str.ItemName.cfg_file_contains_wrong_infomation.
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, esi
call fcn.00491870
test al, al
jne 0x4907d9
push 0x30
push str.ERROR
push str.MAGICCFG.TXT_file_contains_wrong_infomation.
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, esi
call fcn.00491d80
mov ecx, dword [esi + 0x194aec]
test al, al
jne 0x4907fc
push 0x30
push str.ERROR
push str.SKILLCFG.TXT_file_contains_wrong_infomation.
push ecx
jmp 0x491835
lea eax, [ebp - 0x164]
push eax
push ecx
mov ecx, dword [esi + 0x14a8e0]
call fcn.0040a1f0
test eax, eax
jne 0x490882
push 0x100
push eax
lea eax, [ebp - 0x158]
push eax
call sub.VCRUNTIME140.dll_memset
push 0x40
lea eax, [ebp - 0x58]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esi + 0x14a8e0]
lea eax, [ebp - 0x58]
add esp, 0x18
push eax
push dword [ebp - 0x164]
call fcn.00407a50
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x164]
lea eax, [ebp - 0x158]
push str.This_program_requires_DirectX7.0a____DDraw_Error:_0x_X___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x158]
push 0x30
push str.ERROR
push eax
push dword [esi + 0x194aec]
jmp 0x491835
push dword [ebp - 0x15c]
lea ecx, [esi + 0x14a8e4]
push edi
call fcn.00584a20
test eax, eax
jne 0x4908af
push 0x30
push str.ERROR
push str.This_program_requires_DirectX7.0a____Input_Error
push dword [esi + 0x194aec]
jmp 0x491835
push 0
push 0
push 3
push 0
push 0
push closesocket
push str.spritesNew_Dialog.npk
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x194af0], eax
mov ecx, dword [0x5f9de8]
call fcn.0057c5b0
cmp ax, 1
jne 0x490908
push 0x101c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x49098a
push 0
push 0
jmp 0x490970
mov ecx, dword [0x5f9de8]
call fcn.0057c5b0
cmp ax, 2
jne 0x49093d
push 0x101c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x49098a
push 0
push 3
jmp 0x490970
mov ecx, dword [0x5f9de8]
call fcn.0057c5b0
cmp ax, 3
jne 0x490999
push 0x101c
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x49098a
push 0
push 6
push str.New_Dialog.npk
push dword [esi + 0x14a8e0]
mov ecx, eax
push dword [esi + 0x194af0]
call fcn.0057d590
jmp 0x49098c
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x14a9d8], eax
push dword [esi + 0x194af0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0
push 0
push 3
push 0
push 0
push closesocket
push str.spritesinterface2.pak
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0x101c
mov dword [esi + 0x194af0], eax
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x490a03
push 0
push 0
push str.interface2
push dword [esi + 0x14a8e0]
mov ecx, eax
push dword [esi + 0x194af0]
call fcn.0057d590
jmp 0x490a05
xor eax, eax
push dword [esi + 0x194af0]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x14a978], eax
call edi
xor eax, eax
push 0x670a48
mov dword [esi + 0x13ffc0], eax
mov dword [esi + 0x13ffdc], eax
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x490a50
push esi
mov ecx, eax
call fcn.00568020
jmp 0x490a52
xor eax, eax
mov dword [esi + 0x1842ec], eax
xorps xmm0, xmm0
movq qword [esi + 0x18d77a], xmm0
mov eax, 2
mov word [esi + 0x18d782], 0
mov ecx, 0xff
mov byte [esi + 0x18d784], 0
movq qword [esi + 0x18d64e], xmm0
mov dword [esi + 0x18d656], 0
movq qword [esi + 0x18d65a], xmm0
mov dword [esi + 0x18d662], 0
movq qword [esi + 0x18bfc4], xmm0
mov word [esi + 0x18bfcc], 0
mov byte [esi + 0x18bfce], 0
mov word [esi + 0x18c136], ax
lea eax, [esi + 0x18d172]
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x18d678], 0
mov dword [esi + 0x18bff8], 0
mov byte [esi + 0x18d8d1], 0
mov word [esi + 0x18da2c], 0x3e1d
mov byte [esi + 0x18da2b], 0x1e
mov dword [esi + 0x18da26], 0x3f283b3c
mov dword [esi + 0x18dab4], 0x64000004
mov byte [esi + 0x18dab8], 0x64
xor edx, edx
lea eax, [eax + 2]
mov word [eax + 0x1fc], dx
mov word [eax - 2], dx
mov word [eax - 0x200], dx
mov word [eax - 0xbf6], dx
mov word [eax - 0xdf4], dx
mov word [eax - 0xff2], dx
mov word [eax - 0x5fc], dx
mov word [eax - 0x7fa], dx
mov word [eax - 0x9f8], dx
sub ecx, 1
jne 0x490b10
lea eax, [esi + 0x18d372]
push eax
lea eax, [esi + 0x18d174]
push eax
lea eax, [esi + 0x18cf76]
push eax
mov eax, dword [esi + 0x14a8e0]
lea edi, [esi + 0x14a908]
push 0x504646
mov ecx, edi
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d374]
mov ecx, edi
push eax
lea eax, [esi + 0x18d176]
push eax
lea eax, [esi + 0x18cf78]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x504646
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d376]
mov ecx, edi
push eax
lea eax, [esi + 0x18d178]
push eax
lea eax, [esi + 0x18cf7a]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x504646
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d378]
mov ecx, edi
push eax
lea eax, [esi + 0x18d17a]
push eax
lea eax, [esi + 0x18cf7c]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x466446
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d37a]
mov ecx, edi
push eax
lea eax, [esi + 0x18d17c]
push eax
lea eax, [esi + 0x18cf7e]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa5a82
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d37c]
mov ecx, edi
push eax
lea eax, [esi + 0x18d17e]
push eax
lea eax, [esi + 0x18cf80]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x6f352a
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d37e]
push eax
lea eax, [esi + 0x18d180]
push eax
lea eax, [esi + 0x18cf82]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x919191
movzx eax, byte [eax + 0x50076]
mov ecx, edi
push eax
call fcn.00586050
lea eax, [esi + 0x18d380]
mov ecx, edi
push eax
lea eax, [esi + 0x18d182]
push eax
lea eax, [esi + 0x18cf84]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x786478
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d382]
mov ecx, edi
push eax
lea eax, [esi + 0x18d184]
push eax
lea eax, [esi + 0x18cf86]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa0a4b
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18d384]
mov ecx, edi
push eax
lea eax, [esi + 0x18d186]
push eax
lea eax, [esi + 0x18cf88]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x1e6887
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c57e]
mov ecx, edi
push eax
lea eax, [esi + 0x18c380]
push eax
lea eax, [esi + 0x18c182]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x646464
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cb78]
mov ecx, edi
push eax
lea eax, [esi + 0x18c97a]
push eax
lea eax, [esi + 0x18c77c]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x646464
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c580]
mov ecx, edi
push eax
lea eax, [esi + 0x18c382]
push eax
lea eax, [esi + 0x18c184]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x602828
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c582]
push eax
lea eax, [esi + 0x18c384]
push eax
lea eax, [esi + 0x18c186]
push eax
mov eax, dword [esi + 0x14a8e0]
mov ecx, edi
push 0x3e4f4f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c584]
mov ecx, edi
push eax
lea eax, [esi + 0x18c386]
push eax
lea eax, [esi + 0x18c188]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x1e6887
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c586]
mov ecx, edi
push eax
lea eax, [esi + 0x18c388]
push eax
lea eax, [esi + 0x18c18a]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x1280
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c588]
mov ecx, edi
push eax
lea eax, [esi + 0x18c38a]
push eax
lea eax, [esi + 0x18c18c]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa5a0a
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c58a]
mov ecx, edi
push eax
lea eax, [esi + 0x18c38c]
push eax
lea eax, [esi + 0x18c18e]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x191919
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c58c]
mov ecx, edi
push eax
lea eax, [esi + 0x18c38e]
push eax
lea eax, [esi + 0x18c190]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x504f30
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c58e]
mov ecx, edi
push eax
lea eax, [esi + 0x18c390]
push eax
lea eax, [esi + 0x18c192]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5a34b4
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c590]
push eax
lea eax, [esi + 0x18c392]
mov ecx, edi
push eax
lea eax, [esi + 0x18c194]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x960a96
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c592]
mov ecx, edi
push eax
lea eax, [esi + 0x18c394]
push eax
lea eax, [esi + 0x18c196]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5a0a05
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c594]
mov ecx, edi
push eax
lea eax, [esi + 0x18c396]
push eax
lea eax, [esi + 0x18c198]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x465a69
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c596]
mov ecx, edi
push eax
lea eax, [esi + 0x18c398]
push eax
lea eax, [esi + 0x18c19a]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x235b5f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c598]
mov ecx, edi
push eax
lea eax, [esi + 0x18c39a]
push eax
lea eax, [esi + 0x18c19c]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5c8c8
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c59a]
mov ecx, edi
push eax
lea eax, [esi + 0x18c39c]
push eax
lea eax, [esi + 0x18c19e]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa0a5f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c59c]
mov ecx, edi
push eax
lea eax, [esi + 0x18c39e]
push eax
lea eax, [esi + 0x18c1a0]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x3ca0
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c59e]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3a0]
push eax
lea eax, [esi + 0x18c1a2]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xffffff
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5a0]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3a2]
push eax
lea eax, [esi + 0x18c1a4]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x8080ff
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5a2]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3a4]
push eax
lea eax, [esi + 0x18c1a6]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x80ff80
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5a4]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3a6]
push eax
lea eax, [esi + 0x18c1a8]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xff8080
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5a6]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3a8]
push eax
lea eax, [esi + 0x18c1aa]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xffff80
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5a8]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3aa]
push eax
lea eax, [esi + 0x18c1ac]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xff80ff
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5aa]
push eax
lea eax, [esi + 0x18c3ac]
push eax
lea eax, [esi + 0x18c1ae]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x80ffff
movzx eax, byte [eax + 0x50076]
mov ecx, edi
push eax
call fcn.00586050
lea eax, [esi + 0x18c5ac]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3ae]
push eax
lea eax, [esi + 0x18c1b0]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5c805
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5ae]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3b0]
push eax
lea eax, [esi + 0x18c1b2]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xc80505
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5b0]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3b2]
push eax
lea eax, [esi + 0x18c1b4]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x505c8
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5b2]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3b4]
push eax
lea eax, [esi + 0x18c1b6]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xc8c805
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5b4]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3b6]
push eax
lea eax, [esi + 0x18c1b8]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xc805c8
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5b6]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3b8]
push eax
lea eax, [esi + 0x18c1ba]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x3ca0
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5b8]
push eax
lea eax, [esi + 0x18c3ba]
push eax
lea eax, [esi + 0x18c1bc]
push eax
mov eax, dword [esi + 0x14a8e0]
mov ecx, edi
push 0xa5a0a
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5ba]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3bc]
push eax
lea eax, [esi + 0x18c1be]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa0a5f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5bc]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3be]
push eax
lea eax, [esi + 0x18c1c0]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5c8c8
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5be]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3c0]
push eax
lea eax, [esi + 0x18c1c2]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5a0a05
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5c0]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3c2]
push eax
lea eax, [esi + 0x18c1c4]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x3e4f4f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18c5c2]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3c4]
push eax
lea eax, [esi + 0x18c1c6]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa0a5f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbbc]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9be]
push eax
lea eax, [esi + 0x18c7c0]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xffffff
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov word [esi + 0x18cdba], ax
lea eax, [esi + 0x18c5c4]
mov ecx, edi
push eax
lea eax, [esi + 0x18c3c6]
push eax
lea eax, [esi + 0x18c1c8]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x191919
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbbe]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9c0]
push eax
lea eax, [esi + 0x18c7c2]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x1e6887
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov ecx, edi
mov word [esi + 0x18cdbc], ax
lea eax, [esi + 0x18c5c6]
push eax
lea eax, [esi + 0x18c3c8]
push eax
lea eax, [esi + 0x18c1ca]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa0a5f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbc0]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9c2]
push eax
lea eax, [esi + 0x18c7c4]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5c8c8
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov ecx, edi
mov word [esi + 0x18cdc0], ax
lea eax, [esi + 0x18c5c8]
push eax
lea eax, [esi + 0x18c3ca]
push eax
lea eax, [esi + 0x18c1cc]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5a0a05
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbc2]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9c4]
push eax
lea eax, [esi + 0x18c7c6]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x5c805
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov word [esi + 0x18cdbe], ax
lea eax, [esi + 0x18c5ca]
push eax
lea eax, [esi + 0x18c3cc]
push eax
lea eax, [esi + 0x18c1ce]
mov ecx, edi
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xff8080
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbc4]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9c6]
push eax
lea eax, [esi + 0x18c7c8]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa5a0a
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov ecx, edi
mov word [esi + 0x18cdc2], ax
lea eax, [esi + 0x18c5cc]
push eax
lea eax, [esi + 0x18c3ce]
push eax
lea eax, [esi + 0x18c1d0]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xa0a5f
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbc6]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9c8]
push eax
lea eax, [esi + 0x18c7ca]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x1e6887
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov ecx, edi
mov word [esi + 0x18cdc4], ax
lea eax, [esi + 0x18c5ce]
push eax
lea eax, [esi + 0x18c3d0]
push eax
lea eax, [esi + 0x18c1d2]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0xffffff
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbc8]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9ca]
push eax
lea eax, [esi + 0x18c7cc]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x1e6887
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov word [esi + 0x18cdc6], ax
lea eax, [esi + 0x18c5d0]
push eax
lea eax, [esi + 0x18c3d2]
push eax
lea eax, [esi + 0x18c1d4]
push eax
mov eax, dword [esi + 0x14a8e0]
mov ecx, edi
push 0xffffff
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbca]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9cc]
push eax
lea eax, [esi + 0x18c7ce]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x191919
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
mov ecx, edi
mov word [esi + 0x18cdc8], ax
lea eax, [esi + 0x18c5d2]
push eax
lea eax, [esi + 0x18c3d4]
push eax
lea eax, [esi + 0x18c1d6]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x191919
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
lea eax, [esi + 0x18cbcc]
mov ecx, edi
push eax
lea eax, [esi + 0x18c9ce]
push eax
lea eax, [esi + 0x18c7d0]
push eax
mov eax, dword [esi + 0x14a8e0]
push 0x3ca0
movzx eax, byte [eax + 0x50076]
push eax
call fcn.00586050
mov eax, 2
push 0x7d4
mov word [esi + 0x18cdca], ax
call fcn.005aa520
add esp, 4
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x491780
mov ecx, eax
call fcn.00584e40
jmp 0x491782
xor eax, eax
push 0x23
push str.contents_badword.tmp
push str.contents_badword.txt
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x186cb4], eax
call fcn.00586290
test eax, eax
jne 0x4917ba
push 0x30
push str.ERROR
push str.BADWORD.TXT_file_contains_wrong_infomation.
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, dword [esi + 0x186cb4]
push str.contents_badword.tmp
call fcn.00584f80
push str.contents_badword.tmp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x23
push str.contentsCurse.tmp
push str.contentsCurse.txt
mov ecx, edi
call fcn.00586290
test eax, eax
jne 0x491800
push 0x30
push str.ERROR
push str.CURSE.TXT_file_contains_wrong_infomation.
push dword [esi + 0x194aec]
jmp 0x491835
mov ecx, esi
call fcn.00480970
xorps xmm0, xmm0
mov al, 1
movups xmmword [esi + 0x18da92], xmm0
movups xmmword [esi + 0x18daa2], xmm0
mov byte [esi + 0x18dab2], 0
jmp 0x49183d
push 0x30
push str.ERROR
push str.You_must_use_the_Nemesis_Auto_Updater_to_start_the_HB_Nemesis_Client.
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005aa550
mov esp, ebp
pop ebp
ret 0xc