joyce8/EMBER2024-capa huggingface dataset:
Function at 0x582e40
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6b9da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00587990
call fcn.00589eb0
call fcn.005894f0
call fcn.00589eb0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x20d84], 3
jne 0x582e87
mov dword [esi + 0x20d84], 5
cmp dword [esi + 0x20d88], 0
jne 0x582f31
mov edi, dword [esi + 0x21590]
mov eax, edi
mov ebx, dword [esi + 0x21594]
or eax, ebx
jne 0x582eab
xorps xmm1, xmm1
jmp 0x582ef1
mov edx, dword [esi + 0x2159c]
mov ecx, dword [esi + 0x21598]
call fcn.005b6ecf
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [ebp - 0x20c], xmm0
call fcn.005b6ecf
movss xmm1, dword [ebp - 0x20c]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x68d55c]
comiss xmm1, xmm0
jbe 0x582ef1
movaps xmm1, xmm0
mulss xmm1, dword [0x68d578]
lea eax, [esi + 0x20d8d]
sub esp, 8
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x208]
push str._s:__.1f__
push eax
call fcn.00582820
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x582e62
mov ecx, esi
call fcn.00587ab0
mov eax, dword [esi + 0x20d88]
dec eax
je 0x582f75
dec eax
je 0x582f5f
dec eax
je 0x582f82
push 0
push 0x37
push str.Main_CmdLine.cpp
push 0x68b92c
call fcn.00589f70
add esp, 0x10
jmp 0x582f82
lea eax, [esi + 0x2118d]
push eax
push str.Update_error_n_s_n_nPlease_retry_later
call fcn.00589aa0
add esp, 8
jmp 0x582f82
push str.Update_ok_n
call fcn.00589aa0
add esp, 4
push str._nPress_enter_to_exit...
call fcn.00589aa0
add esp, 4
call fcn.005b0b13
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005aec30
mov esp, ebp
pop ebp
ret
Function at 0x583640
Capabilities:
Copy file
Create process on windows
Delete file
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60c
mov eax, dword [0x6b9da0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push str..new.exe
push eax
call fcn.005af9f0
add esp, 8
test eax, eax
jne 0x5836b7
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s.new.exe
push eax
call fcn.0057df10
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005aec30
mov esp, ebp
pop ebp
ret
push edi
push str..exe_updated__moving_back_n
mov byte [0x827b52], 1
call fcn.00589aa0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x1f4
call edi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005af4cd
lea ecx, [ebp - 0x108]
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x583700
sub ecx, edx
cmp ecx, 8
ja 0x583724
push 0
push 0x31
push str.SelfUpdateEXE.cpp
push str.strlen_exeMain____8
call fcn.00589f70
add esp, 0x10
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x583730
sub ecx, edx
add ecx, 0xfffffff8
cmp ecx, 0x104
jae 0x583841
push ebx
mov byte [ebp + ecx - 0x108], al
lea eax, [ebp - 0x108]
push esi
push eax
push str.exeMain:__s_n
call fcn.00589aa0
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileA]
add esp, 8
xor esi, esi
lea ecx, [ecx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x58382e
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x58382e
push 0x64
call edi
inc esi
cmp esi, 0xa
jl 0x583770
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x60c]
push str.Failed_to_replace_updater_file_n_nPlease_manually_rename__s_to__s
push eax
call fcn.0057df30
add esp, 0x10
lea eax, [ebp - 0x60c]
push 0x30
push str.Updater
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push 0
push 0
push 0x68b964
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
pop ebx
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005aec30
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.005aec30
mov esp, ebp
pop ebp
ret
call fcn.005b0111
int3
Function at 0x583850
Capabilities:
Create process on windows
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6b9da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
mov edi, edx
push eax
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.Trying_to_update_n
call fcn.00589aa0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push str._s.new.exe
push eax
call fcn.0057df10
lea eax, [ebp - 0x108]
push 0x68b5a4
push eax
call fcn.005af94b
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x5838ce
lea eax, [ebp - 0x108]
push eax
push str.cant_open__s_for_writing_n
call fcn.005896c0
add esp, 8
push esi
push 1
push edi
push ebx
call fcn.005b0c93
push esi
call fcn.005af325
add esp, 0x14
push dword [0x827bf0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
push str.executing__s_n
call fcn.00589aa0
add esp, 8
lea eax, [ebp - 0x108]
push 5
push 0
push 0x77ede0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop esi
pop ebx
cmp eax, 0x20
jge 0x58393b
push eax
lea eax, [ebp - 0x108]
push eax
push str.failed_to_launch__s___d
call fcn.005896c0
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005aec30
mov esp, ebp
pop ebp
ret

Function at 0x583bd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, ecx
push eax
push 0xf003f
push 0
push str.SoftwareCodex_Development_GroupWarZ_Siam_MMO
mov byte [esi], 0
mov byte [esi + 0x80], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
push SysReAllocString
mov dword [esi + 0x10c], 0
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x583c57
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x80
push eax
push esi
push 0
push 0
push str.username
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.AppEventsEventLabelsSystemFool
push SysReAllocString
call edi
test eax, eax
jne 0x583c9b
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x80
push eax
lea eax, [esi + 0x80]
push eax
push 0
push 0
push str.password
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5853b0
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6b9da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push eax
lea eax, [ebp - 0x418]
push eax
push edi
call fcn.0058aa70
add esp, 0xc
test al, al
je 0x5853fb
mov eax, dword [ebp - 0x418]
cmp eax, dword [edi + 0x10e]
je 0x5854dd
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x68b5a4
push edi
call fcn.005af94b
add esp, 8
mov dword [ebp - 0x410], eax
test eax, eax
je 0x5854f0
lea eax, [ebp - 0x414]
mov ecx, esi
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.004011c0
push eax
mov ecx, esi
call fcn.004011f0
push eax
push edi
lea ecx, [ebx + 0x4c0]
call fcn.0059a670
mov eax, dword [edi + 0x106]
cmp eax, dword [ebp - 0x414]
je 0x585476
push 0
push 0x18b
push str.Updater.cpp
push str.fe__size__out_size
call fcn.00589f70
add esp, 0x10
lea esi, [ebx + 0x20d6c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp - 0x410]
push 1
push dword [ebp - 0x414]
push dword [ebp - 0x40c]
call fcn.005b0c93
push dword [ebp - 0x410]
call fcn.005af325
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.warzsiam.exe
push edi
call fcn.005b2d8b
add esp, 8
test eax, eax
jne 0x5854cf
mov byte [ebx + 0x215c4], 1
call fcn.00585790
push dword [ebp - 0x40c]
call fcn.0058bb90
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005aec30
mov esp, ebp
pop ebp
ret 8
push edi
lea eax, [ebp - 0x408]
push str.Cant_replace_file__s_nPlease_delete_this_file_manually
push eax
call fcn.0057df30
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push ebx
call fcn.005847e0
int3
Function at 0x5855f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0328
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6b9da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x400
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00587d30
mov eax, dword [esi + 0x5cc]
xor edi, edi
sub eax, dword [esi + 0x5c8]
mov ebx, dword [ebp - 0x20]
sar eax, 2
mov dword [ebp - 0x10], edi
test eax, eax
je 0x58570c
lea esp, [esp]
mov eax, dword [esi + 0x5c8]
mov esi, dword [eax + edi*4]
test dword [esi + 0x116], 0x100000
jne 0x5856ee
cmp esi, ebx
jae 0x5856c1
mov eax, dword [ebp - 0x24]
cmp eax, esi
ja 0x5856c1
sub esi, eax
mov eax, 0xdd67c8a7
imul esi
add edx, esi
sar edx, 8
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ebx, dword [ebp - 0x1c]
jne 0x5856b6
push ecx
lea ecx, [ebp - 0x24]
call fcn.00587dd0
mov ebx, dword [ebp - 0x20]
imul esi, esi, 0x128
add esi, dword [ebp - 0x24]
jmp 0x5856d2
cmp ebx, dword [ebp - 0x1c]
jne 0x5856d2
push ecx
lea ecx, [ebp - 0x24]
call fcn.00587dd0
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x5856e2
mov ecx, 0x4a
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add ebx, 0x128
inc dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x5cc]
sub eax, dword [esi + 0x5c8]
sar eax, 2
cmp edi, eax
jb 0x585670
mov edi, dword [ebp - 0x24]
mov eax, 0xdd67c8a7
sub ebx, edi
imul ebx
add edx, ebx
sar edx, 8
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x585758
add esi, 0x5c4
mov dword [ebp - 0x18], esi
mov esi, edi
mov edi, dword [ebp - 0x18]
push esi
mov ecx, edi
call fcn.0059a290
test byte [esi + 0x116], 1
je 0x58574c
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esi, 0x128
dec ebx
jne 0x585734
mov edi, dword [ebp - 0x24]
push dword [ebp - 0x14]
push str.removed__d_files_n
call fcn.00589aa0
add esp, 8
test edi, edi
je 0x585775
push edi
call fcn.0058bb90
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x585790
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
mov eax, dword [0x6b9da0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.warzsiam.exe
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push 0x68c31c
push eax
call fcn.0057df10
push str.WarZ_Siam_MMO__Survivor_Stories
lea eax, [ebp - 0x618]
push str.Allow_network_traffic_for__s
push eax
call fcn.0057df30
add esp, 0x1c
lea eax, [ebp - 0x618]
lea ecx, [ebp - 0x110]
push eax
call fcn.0057dbc0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
call fcn.005aec30
mov esp, ebp
pop ebp
ret
Function at 0x585c60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x6b9da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push str.Making_sure_extracted_files_exists_n
mov edi, ecx
call fcn.00589aa0
add esp, 4
lea ecx, [edi + 0x4c0]
push 1
push 1
call fcn.00599a70
mov eax, dword [edi + 0x5cc]
xor ebx, ebx
sub eax, dword [edi + 0x5c8]
sar eax, 2
test eax, eax
je 0x585d43
push esi
lea ecx, [ecx]
mov eax, dword [edi + 0x5c8]
mov esi, dword [eax + ebx*4]
test byte [esi + 0x116], 1
je 0x585d2a
lea eax, [ebp - 0x408]
push eax
lea eax, [ebp - 0x40c]
push eax
push esi
call fcn.0058aa70
add esp, 0xc
test al, al
je 0x585cf9
mov eax, dword [ebp - 0x40c]
cmp eax, dword [esi + 0x10e]
jne 0x585cf9
mov eax, dword [ebp - 0x408]
cmp eax, dword [esi + 0x106]
je 0x585d2a
push esi
push str.restoring__s_n
call fcn.00589aa0
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0x68c49c
push esi
lea ecx, [edi + 0x4c0]
call fcn.00599050
test al, al
je 0x585d6b
mov eax, dword [edi + 0x5cc]
inc ebx
sub eax, dword [edi + 0x5c8]
sar eax, 2
cmp ebx, eax
jb 0x585cb0
pop esi
lea ecx, [edi + 0x4c0]
call fcn.00598d50
push str.Making_sure_extracted_files_exists___finished_n
call fcn.00589aa0
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop ebx
call fcn.005aec30
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x404]
push str.Cant_extract_file__s_nPlease_delete_this_file_manually
push eax
call fcn.0057df30
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
push edi
call fcn.005847e0
int3
Function at 0x5863c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0400
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6b9da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
cmp dword [esi + 0x20d84], 0
je 0x586419
push 0
push 0x33b
push str.Updater.cpp
push str.status___STATUS_Checking
call fcn.00589f70
add esp, 0x10
mov ecx, esi
call fcn.00584840
mov ecx, esi
call fcn.00584a60
test al, al
je 0x586444
mov ecx, esi
call fcn.00584ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov byte [esi + 0x84], 1
cmp dword [esi + 0x20d84], 5
push 0x68b994
sete al
lea eax, [eax*2 + 3]
mov dword [esi + 0x20d84], eax
lea eax, [esi + 0x20d8d]
push eax
call fcn.0057df30
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov edi, edi
cmp dword [esi + 0x20d84], 5
jne 0x58652f
mov eax, dword [esi + 0x216d0]
mov dword [0x8282a0], eax
mov eax, dword [esi + 0x216d4]
mov dword [0x8282a4], eax
mov eax, dword [0x8282b0]
or eax, dword [0x8282b4]
je 0x5864d8
call fcn.0057e980
test al, al
je 0x5864d8
push 0
push 0
push 0x8282a0
push 0x57e5a0
push 0
push 0
call fcn.005af5be
add esp, 0x18
mov dword [0x828468], eax
mov ecx, esi
call fcn.00584d80
mov ecx, esi
call fcn.00584f30
push dword [esi + 0x18]
push dword [esi + 0x5c4]
push str.current_build_version_d__updater_data_version_d_n
call fcn.00589aa0
mov eax, dword [esi + 0x5c4]
add esp, 0xc
mov ecx, esi
cmp eax, dword [esi + 0x18]
jne 0x58650e
call fcn.005862f0
call fcn.00585190
mov ecx, esi
call fcn.00585930
mov ecx, esi
call fcn.00586250
mov ecx, esi
call fcn.005861f0
mov ecx, esi
call fcn.005862f0
push 0x32
call edi
jmp 0x586480

Function at 0x587180
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x215d0]
call fcn.00583cb0
push 0
push 0
push esi
push 0x586de0
push 0
push 0
call fcn.005af5be
add esp, 0x18
mov dword [esi + 0x215c8], eax
pop esi
ret

Function at 0x587300
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
lea edx, [edi + 0x218e8]
mov esi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x587310
sub esi, ecx
cmp esi, 0x13
je 0x587346
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x587321
sub edx, ecx
cmp edx, 0x1d
je 0x587346
push 0
push str.Create_Account
push str.Please_enter_Serial_Key_in_following_format:_nXXXX_XXXX_XXXX_XXXX_or_XXXXX_XXXXX_XXXXX_XXXXX_XXXXX
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
push 0
push 0
push edi
push 0x5871b0
push 0
push 0
call fcn.005af5be
add esp, 0x18
mov dword [edi + 0x215c8], eax
pop edi
pop esi
ret
Function at 0x5876c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x216e4]
mov edx, ecx
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x5876d0
sub edx, edi
cmp edx, 4
jae 0x5876ff
push 0
push str.Create_Account
push str.email_address_is_too_short
push 0
mov dword [esi + 0x216e0], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
call fcn.00587390
test eax, eax
jne 0x587723
push eax
push str.Create_Account
push str.email_address_is_not_valid
push eax
mov dword [esi + 0x216e0], eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
lea ecx, [esi + 0x217e4]
lea eax, [esi + 0x21764]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x587750
test dl, dl
je 0x58774c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x587750
add eax, 2
add ecx, 2
test dl, dl
jne 0x587730
xor eax, eax
jmp 0x587755
sbb eax, eax
or eax, 1
push 0
test eax, eax
je 0x58777a
push str.Create_Account
push str.Passwords_do_not_match
push 0
mov dword [esi + 0x216e0], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
push 0
push esi
push 0x587370
push 0
push 0
call fcn.005af5be
add esp, 0x18
mov dword [esi + 0x215c8], eax
pop edi
pop esi
ret

Function at 0x587990
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x215b0], 0
je 0x5879b5
push 0
push 0x5b9
push str.Updater.cpp
push str.mainThread___NULL
call fcn.00589f70
add esp, 0x10
cmp dword [esi + 0x215c8], 0
je 0x5879d7
push 0
push 0x5ba
push str.Updater.cpp
push str.loginThread___NULL
call fcn.00589f70
add esp, 0x10
push 0
push 0
push esi
push 0x5865f0
push 0
push 0
call fcn.005af5be
push 0
push 0
push esi
push 0x586da0
push 0
push 0
mov dword [esi + 0x215b0], eax
call fcn.005af5be
push 0
push 0
push esi
push 0x586dc0
push 0
push 0
mov dword [esi + 0x21be0], eax
call fcn.005af5be
add esp, 0x48
mov dword [esi + 0x215c0], eax
pop esi
ret

Function at 0x587ab0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
push str.CUpdater::Stop___n
mov ebx, ecx
call fcn.00589aa0
add esp, 4
cmp byte [ebx + 0x20d8c], 0
jne 0x587ad1
mov eax, dword [ebx + 0x215b8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x8063a4
call edi
lea esi, [ebx + 0x20d6c]
push esi
call edi
mov ecx, dword [ebx + 0x215b0]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
test ecx, ecx
je 0x587b12
push 0
push ecx
call edi
push dword [ebx + 0x215b0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x215b0], 0
mov eax, dword [ebx + 0x21be0]
test eax, eax
je 0x587b37
push 0
push eax
call edi
push dword [ebx + 0x21be0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x21be0], 0
mov eax, dword [ebx + 0x215c8]
test eax, eax
je 0x587b5c
push 0
push eax
call edi
push dword [ebx + 0x215c8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x215c8], 0
mov eax, dword [ebx + 0x215c0]
test eax, eax
je 0x587b81
push 0
push eax
call edi
push dword [ebx + 0x215c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x215c0], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
push 0x8063a4
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x588b40
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0x11
mov dword [ebp - 4], 4
call fcn.005b0ddc
mov ebx, eax
push 0x288
mov dword [ebp - 8], ebx
call fcn.005b0ddc
mov esi, eax
add esp, 8
test esi, esi
jne 0x588b7b
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005b0e83
add esp, 4
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x588ba9
push dword [ebp - 4]
call fcn.005b0ddc
mov esi, eax
add esp, 4
test esi, esi
jne 0x588ba9
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005b0e83
add esp, 4
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x588c13
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 8]
push str._02X:_02X:_02X:_02X:_02X:_02X
push eax
call fcn.00582840
push ebx
lea eax, [esi + 0x1b0]
push eax
push str.Address:__s__mac:__s_n
call fcn.005b0e83
add esp, 0x2c
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.005b0f32
add esp, 4
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x588da0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareCodex_Development_GroupWarZ_Siam_MMO
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x588dfc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x588dd3
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push 1
push 0
push str.username
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x588e10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.AppEventsEventLabelsSystemFool
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x588e6f
sub esi, 0xffffff80
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x588e46
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push 1
push 0
push str.password
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret