joyce8/EMBER2024-capa huggingface dataset:
Function at 0x57d000
Capabilities:
Get cpu information
Get memory capacity
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x6c2da0]
xor eax, esp
mov dword [esp + 0xe8], eax
push edi
call fcn.0057d130
call fcn.0057d1b0
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x57d06a
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 4
push eax
push 0x8843e8
push 0
push 0
push str.MHz
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push 0
push 0
shrd ecx, eax, 0xa
push 0
shr eax, 0xa
push str.DISPLAY
mov dword [0x8843ec], ecx
call dword [sym.imp.GDI32.dll_CreateICA]
mov edi, eax
push 8
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push edi
mov dword [0x8843f0], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
mov dword [0x8843f4], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
call fcn.0057d420
call fcn.0057d2f0
push 0x90
lea eax, [esp + 0x58]
push 0
push eax
call fcn.005bfb60
add esp, 0xc
mov dword [esp + 0x50], 0x94
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push str._d._d._d
push 0x884508
call fcn.0057d5e0
mov ecx, dword [esp + 0x100]
add esp, 0x14
pop edi
xor ecx, esp
call fcn.005bba53
mov esp, ebp
pop ebp
ret

Function at 0x57d6e0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push edi
push 2
push 0
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x57d6f8
cmp eax, 0x80010106
jne 0x57d772
push esi
push edi
push 0x6857f8
push 1
push 0
push 0x6857e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x57d727
push esi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.00596cb0
add esp, 8
mov eax, esi
pop esi
pop edi
ret
mov ecx, dword [edi]
push ebx
lea ebx, [edi + 4]
push ebx
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x57d74e
push esi
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.00596cb0
add esp, 8
mov eax, esi
pop ebx
pop esi
pop edi
ret
mov ecx, dword [ebx]
lea eax, [edi + 8]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov esi, eax
test esi, esi
jns 0x57d770
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.00596cb0
mov eax, esi
add esp, 8
pop ebx
pop esi
pop edi
ret
Function at 0x57db80
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push edi
push 2
push 0
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x57db98
cmp eax, 0x80010106
jne 0x57dbea
push esi
push edi
push 0x6857b8
push 1
push 0
push 0x6857a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x57dbc7
push esi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.00596cb0
add esp, 8
mov eax, esi
pop esi
pop edi
ret
mov ecx, dword [edi]
lea eax, [edi + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x48]
mov esi, eax
test esi, esi
jns 0x57dbe9
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.00596cb0
mov eax, esi
add esp, 8
pop esi
pop edi
ret
Function at 0x57e110
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x614
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.005bbe90
add esp, 8
lea esi, [eax + 1]
cmp esi, 1
jne 0x57e168
push 0
push 0x14
push str.GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.00597180
add esp, 0x10
lea eax, [ebp - 0x610]
push eax
lea eax, [ebp - 0x614]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00597c80
add esp, 0xc
test al, al
jne 0x57e19d
lea eax, [ebp - 0x20c]
push eax
push str.failed_to_get_crc_for__s_n
call fcn.005968d0
add esp, 8
push str.1.0.0
push esi
lea eax, [ebp - 0x108]
push str._s__s.exe
push eax
call fcn.0057e2a0
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x57e1e0
lea eax, [ebp - 0x108]
push eax
push esi
push str.unable_to_copy__s___s_n
call fcn.005968d0
add esp, 0xc
push 0x2f
push str.http:__cdn.warzsiam.in.th_warzsiam_launcher_wzupd.xml
call fcn.005bbe90
mov edi, eax
add esp, 8
test edi, edi
jne 0x57e20a
push eax
push 0x21
push str.GenerateUpdaterXML.cpp
push str.updater_file
call fcn.00597180
add esp, 0x10
inc edi
push 0x685884
push edi
call fcn.00598520
mov esi, eax
push 0x685888
push esi
call fcn.005bbfc7
push dword [ebp - 0x610]
lea eax, [ebp - 0x108]
push str.1.0.0
push dword [ebp - 0x614]
push eax
push str.http:__cdn.warzsiam.in.th_warzsiam_launcher_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005bbfc7
push str.__p__n
push esi
call fcn.005bbfc7
push esi
call fcn.005bc145
lea eax, [ebp - 0x108]
push eax
push edi
lea eax, [ebp - 0x60c]
push str.XML__s_generated_nnew_exe:_s
push eax
call fcn.0057e2c0
add esp, 0x48
lea eax, [ebp - 0x60c]
push 0
push str.Updater_XML
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005bba53
mov esp, ebp
pop ebp
ret

Function at 0x57ed10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareCodex_Development_GroupWarZ_Siam_MMO
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x57ed3b
mov al, 1
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 8
push eax
lea eax, [ebp - 0x10]
xorps xmm0, xmm0
push eax
push 0
push 0
push str.UpdaterTime1
push dword [ebp - 4]
movlpd qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x57ed9d
push esi
call fcn.005bc38d
mov esi, dword [ebp - 0x10]
add esp, 4
mov ecx, dword [ebp - 0xc]
add esi, 0x2a300
adc ecx, 0
cmp edx, ecx
jg 0x57ed9d
jl 0x57ed96
cmp eax, esi
jae 0x57ed9d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x57ee70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb14
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0xb14]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0x104
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [ebp - 0xb14]
test eax, eax
je 0x57eec5
mov byte [eax - 1], 0
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005bfa7b
add esp, 8
test eax, eax
je 0x57ef29
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xb10]
push str.Updater_current_directory___s__is_different_from_working_directory___s_
push eax
call fcn.00582f10
add esp, 0x10
lea eax, [ebp - 0xb10]
push 0x30
push str.Warning
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.005bba53
mov esp, ebp
pop ebp
ret

Function at 0x57efc0
Capabilities:
Inspect load icon resource
Terminate process

Disassembly:
push 5
push dword [0x7df5ec]
call dword [sym.imp.USER32.dll_LoadIconA]
push str._generate
push 0x7df600
mov dword [0x7df5f4], eax
mov dword [0x6c1bd8], 0
call fcn.005bc7d0
add esp, 8
test eax, eax
je 0x57f008
call fcn.0057e110
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.0057ee20
test al, al
jne 0x57eff8
call fcn.0057ee70
call fcn.0057ef40
test al, al
jne 0x57f043
push 0x40
push str.UAC_problem
push str.Updater_must_be_run_from_administrator
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret
call fcn.00583d60
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x883a40
push 0x6861a0
push 0x17
push 0
push 0x66d944
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [0x883a40]
xor edx, edx
test eax, eax
push str._cmdLine
cmovs ecx, edx
push 0x7df600
mov dword [0x883a40], ecx
call fcn.005bc7d0
movzx ecx, byte [0x883587]
add esp, 8
test eax, eax
mov edx, 1
cmovne ecx, edx
push 0x7f00
push 0
mov byte [0x883587], cl
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f89
push 0
mov dword [0x8839a8], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x209
push 0x883590
push 0x12f
push 0
mov dword [0x8839a4], eax
call dword [sym.imp.USER32.dll_LoadStringW]
ret
Function at 0x57fd50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd518
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x6c2da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
sub esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00582cf0
push 0x38
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.005bfb60
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov dword [ebp - 0x48], 0x40
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x685cf8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x57fe18
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x57fe18
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
jmp 0x57fe1b
or esi, 0xffffffff
cmp dword [ebp + 0x1c], 0x10
jb 0x57fe2c
push dword [ebp + 8]
call fcn.00598e00
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x580d30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x70
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x21788], 1
je 0x580f33
cmp byte [0x8920f0], 0
je 0x580e1a
cmp byte [0x8922f0], 0
je 0x580e1a
cmp byte [0x8924f0], 0
je 0x580e1a
push ecx
mov ecx, 0x6c5360
call fcn.0057edc0
add esp, 4
test al, al
je 0x580e1a
movss xmm0, dword [0x6c536c]
lea eax, [ebp - 4]
movss xmm3, dword [0x6c5368]
movss xmm2, dword [0x6c5364]
movss xmm1, dword [0x6c5360]
push eax
push ecx
mov ecx, dword [0x8839e0]
movss dword [esp], xmm0
call fcn.00584220
cmp dword [0x8839b0], 0
je 0x580e1a
lea ecx, [esi + 0x2178c]
mov edx, 0x8920f0
call fcn.00582f70
lea ecx, [esi + 0x2180c]
mov edx, 0x8922f0
call fcn.00582f70
lea ecx, [esi + 0x2188c]
mov edx, 0x8924f0
call fcn.00582f70
lea edx, [esi + 0x21990]
lea ecx, [esi + 0x2190c]
call fcn.00582f70
mov ecx, esi
call fcn.00587d80
mov eax, dword [0x8920e0]
xor edi, edi
mov ebx, 0x8920f0
mov esi, 0x6c5374
jmp 0x580e30
cmp dword [0x8839b0], 0
je 0x580e95
movd xmm2, dword [0x8839b8]
movss xmm1, dword [esi - 4]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x580e95
movss xmm0, dword [esi + 4]
addss xmm0, xmm1
comiss xmm0, xmm2
jb 0x580e95
movd xmm1, dword [0x8839b4]
movss xmm0, dword [esi]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x580e95
addss xmm0, dword [esi + 8]
comiss xmm0, xmm1
jb 0x580e95
mov eax, edi
mov dword [0x8920e0], eax
mov dword [0x6c65b4], 0x884048
mov dword [0x6c65b0], 0x884048
cmp edi, 1
je 0x580ea3
cmp edi, 2
je 0x580ea3
xor ecx, ecx
jmp 0x580ea8
mov ecx, 1
push dword [edi*4 + 0x686168]
movss xmm1, dword [esi]
cmp eax, edi
movss xmm0, dword [esi - 4]
push ecx
sete dl
mov ecx, ebx
call fcn.00580330
add esp, 8
cmp eax, 9
jne 0x580ee7
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
mov eax, dword [0x8920e0]
je 0x580ef6
dec eax
jmp 0x580efe
cmp eax, 0xd
jne 0x580ef9
cmp byte [ebx], 0
je 0x580ef9
mov eax, dword [0x8920e0]
inc eax
jmp 0x580efe
mov eax, dword [0x8920e0]
cmp eax, 3
jl 0x580f07
xor eax, eax
jmp 0x580f11
test eax, eax
mov ecx, 2
cmovs eax, ecx
add esi, 0x10
mov dword [0x8920e0], eax
inc edi
add ebx, 0x200
cmp esi, 0x6c53a4
jl 0x580e30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movss xmm1, dword [0x68c5e4]
xor ebx, ebx
movss xmm2, dword [0x68c5e0]
mov esi, 0x6c5374
mov edi, 0x8920f0
nop
movss xmm0, dword [esi + 8]
lea eax, [ebp - 8]
push 0
addss xmm0, xmm1
mov dword [ebp - 8], 0x64000000
push 0
push eax
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esi + 4]
addss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [esi]
subss xmm0, xmm2
movss dword [esp + 4], xmm0
movss xmm0, dword [esi - 4]
subss xmm0, xmm2
movss dword [esp], xmm0
call fcn.005a4990
movss xmm1, dword [esi]
add esp, 0x1c
movss xmm0, dword [esi - 4]
xor eax, eax
cmp ebx, 1
mov ecx, edi
setge al
xor dl, dl
push 0x20
push eax
call fcn.00580330
movss xmm1, dword [0x68c5e4]
add edi, 0x200
movss xmm2, dword [0x68c5e0]
add esp, 8
inc ebx
add esi, 0x10
cmp edi, 0x8926f0
jl 0x580f50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x581000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x70
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp dword [esi + 0x21788], 1
je 0x5811f0
cmp byte [0x891ee0], 0
je 0x5810b5
movd xmm2, dword [0x8839b8]
movss xmm1, dword [0x6c5340]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x5810b5
movss xmm3, dword [0x6c5348]
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x5810b5
movd xmm4, dword [0x8839b4]
movss xmm2, dword [0x6c5344]
cvtdq2ps xmm4, xmm4
comiss xmm4, xmm2
jb 0x5810b5
movss xmm5, dword [0x6c534c]
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm4
jb 0x5810b5
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [0x8839cc]
movss dword [esp], xmm5
call fcn.00584220
cmp dword [0x8839b0], 0
je 0x5810b5
push ecx
mov ecx, esi
call fcn.00587e60
pop esi
mov esp, ebp
pop ebp
ret
movd xmm2, dword [0x8839b8]
movss xmm1, dword [0x6c5330]
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm1
jb 0x581130
movss xmm3, dword [0x6c5338]
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm0, xmm2
jb 0x581130
movd xmm4, dword [0x8839b4]
movss xmm2, dword [0x6c5334]
cvtdq2ps xmm4, xmm4
comiss xmm4, xmm2
jb 0x581130
movss xmm5, dword [0x6c533c]
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm0, xmm4
jb 0x581130
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [0x8839d0]
movss dword [esp], xmm5
call fcn.00584220
jmp 0x581130
cmp dword [0x8839b0], 0
movss xmm1, dword [0x6c5354]
movss xmm2, dword [0x6c5350]
je 0x5811c3
movd xmm3, dword [0x8839b8]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm2
jb 0x5811c3
movss xmm0, dword [0x6c5358]
addss xmm0, xmm2
comiss xmm0, xmm3
jb 0x5811c3
movd xmm3, dword [0x8839b4]
cvtdq2ps xmm3, xmm3
comiss xmm3, xmm1
jb 0x5811c3
movss xmm0, dword [0x6c535c]
addss xmm0, xmm1
comiss xmm0, xmm3
jb 0x5811c3
xor eax, eax
movaps xmm0, xmm2
test eax, eax
mov dword [0x891ed8], eax
push 0x40
mov dword [0x6c65b4], 0x884048
sete dl
push eax
mov ecx, 0x891ee0
mov dword [0x6c65b0], 0x884048
call fcn.00580330
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x891ed8]
movaps xmm0, xmm2
test eax, eax
mov ecx, 0x891ee0
push 0x40
sete dl
push 0
call fcn.00580330
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
movss xmm0, dword [0x6c535c]
lea eax, [ebp - 8]
addss xmm0, dword [0x68c5e4]
push 0
push 0
push eax
sub esp, 0x10
mov dword [ebp - 8], 0x64000000
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x6c5358]
addss xmm0, dword [0x68c5e4]
movss dword [esp + 8], xmm0
movss xmm0, dword [0x6c5354]
subss xmm0, dword [0x68c5e0]
movss dword [esp + 4], xmm0
movss xmm0, dword [0x6c5350]
subss xmm0, dword [0x68c5e0]
movss dword [esp], xmm0
call fcn.005a4990
movss xmm1, dword [0x6c5354]
add esp, 0x1c
movss xmm0, dword [0x6c5350]
xor dl, dl
mov ecx, 0x891ee0
push 0x20
push 0
call fcn.00580330
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x581a7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x204]
add ecx, 0x215f8
push eax
mov esi, edx
call fcn.005895b0
cmp esi, 5
ja case.default.0x581a1d
jmp dword [esi*4 + 0x581aa4]
lea eax, [ebp - 0x404]
push str.https:__www.google.com_
push eax
call fcn.0057e2c0
add esp, 8
lea eax, [ebp - 0x404]
push 5
push 0
push 0x68a48f
push eax
jmp 0x581a88
push 5
push 0
push 0x68a48f
push str.https:__www.google.com_
jmp 0x581a88
push 5
push 0
push 0x68a48f
push str.https:__www.youtube.com_
jmp 0x581a88
push 5
push 0
push 0x68a48f
push str.https:__www.facebook.com_
jmp 0x581a88
push 5
push 0
push 0x68a48f
push str.https:__www.twitter.com_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005bba53
mov esp, ebp
pop ebp
ret
Function at 0x581fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd5d8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x6c2da0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x21c3c], 2
jne 0x58207c
lea esi, [edi + 0x21c24]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x21c68], 0
je 0x58205a
cmp byte [0x6c5230], 0
je 0x58205a
cmp dword [edi + 0x21c6c], 0x10
lea eax, [edi + 0x21c58]
mov byte [0x6c5230], 0
jb 0x582043
mov eax, dword [eax]
push 5
push 0
push 0x68a48f
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movss xmm1, dword [0x68c604]
lea ecx, [edi + 0x21c18]
movss xmm0, dword [0x68c5f4]
call fcn.00581d60
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5821e0
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
je 0x582215
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x582220
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push 1
push 0
push str.LoginToken
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x58220e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x583560
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00588050
call fcn.005970c0
call fcn.00596700
call fcn.005970c0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x20d84], 3
jne 0x5835a7
mov dword [esi + 0x20d84], 5
cmp dword [esi + 0x20d88], 0
jne 0x583651
mov edi, dword [esi + 0x21590]
mov eax, edi
mov ebx, dword [esi + 0x21594]
or eax, ebx
jne 0x5835cb
xorps xmm1, xmm1
jmp 0x583611
mov edx, dword [esi + 0x2159c]
mov ecx, dword [esi + 0x21598]
call fcn.005c3abd
cvtsd2ss xmm0, xmm0
mov edx, ebx
mov ecx, edi
movss dword [ebp - 0x20c], xmm0
call fcn.005c3abd
movss xmm1, dword [ebp - 0x20c]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x68c5dc]
comiss xmm1, xmm0
jbe 0x583611
movaps xmm1, xmm0
mulss xmm1, dword [0x68c5f8]
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.00582f30
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
jmp 0x583582
mov ecx, esi
call fcn.00588190
mov eax, dword [esi + 0x20d88]
dec eax
je 0x583695
dec eax
je 0x58367f
dec eax
je 0x5836a2
push 0
push 0x37
push str.Main_CmdLine.cpp
push str.0___.
call fcn.00597180
add esp, 0x10
jmp 0x5836a2
lea eax, [esi + 0x2118d]
push eax
push str.Update_error_n_s_n_nPlease_retry_later
call fcn.00596cb0
add esp, 8
jmp 0x5836a2
push str.Update_ok_n
call fcn.00596cb0
add esp, 4
push str._nPress_enter_to_exit...
call fcn.00596cb0
add esp, 4
call fcn.005bd803
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005bba53
mov esp, ebp
pop ebp
ret
Function at 0x583d60
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 [0x6c2da0]
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.005bc7d0
add esp, 8
test eax, eax
jne 0x583dd7
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s.new.exe
push eax
call fcn.0057e2a0
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.005bba53
mov esp, ebp
pop ebp
ret
push edi
push str..exe_updated__moving_back_n
mov byte [0x8839a2], 1
call fcn.00596cb0
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.005bc2ed
lea ecx, [ebp - 0x108]
add esp, 0xc
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x583e20
sub ecx, edx
cmp ecx, 8
ja 0x583e44
push 0
push 0x31
push str.SelfUpdateEXE.cpp
push str.strlen_exeMain____8
call fcn.00597180
add esp, 0x10
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x583e50
sub ecx, edx
add ecx, 0xfffffff8
cmp ecx, 0x104
jae 0x583f61
push ebx
mov byte [ebp + ecx - 0x108], al
lea eax, [ebp - 0x108]
push esi
push eax
push str.exeMain:__s_n
call fcn.00596cb0
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 0x583f4e
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x583f4e
push 0x64
call edi
inc esi
cmp esi, 0xa
jl 0x583e90
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.0057e2c0
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 0x686174
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.005bba53
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.005bba53
mov esp, ebp
pop ebp
ret
call fcn.005bd448
int3