joyce8/EMBER2024-capa huggingface dataset:
Function at 0x588120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e64b0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6cdf60]
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 0x588179
push 0
push 0x33b
push str.Updater.cpp
push str.status___STATUS_Checking
call fcn.0059a430
add esp, 0x10
mov ecx, esi
call fcn.00586630
mov ecx, esi
call fcn.00586850
test al, al
je 0x5881a4
mov ecx, esi
call fcn.005868c0
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 0x68fc7c
sete al
lea eax, [eax*2 + 3]
mov dword [esi + 0x20d84], eax
lea eax, [esi + 0x20d8d]
push eax
call fcn.0057e490
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov edi, edi
cmp dword [esi + 0x20d84], 5
jne 0x58828f
mov eax, dword [esi + 0x21750]
mov dword [0x88f840], eax
mov eax, dword [esi + 0x21754]
mov dword [0x88f844], eax
mov eax, dword [0x88f850]
or eax, dword [0x88f854]
je 0x588238
call fcn.0057f350
test al, al
je 0x588238
push 0
push 0
push 0x88f840
push 0x57ef00
push 0
push 0
call fcn.005c0505
add esp, 0x18
mov dword [0x88fa08], eax
mov ecx, esi
call fcn.00586b70
mov ecx, esi
call fcn.00586d20
push dword [esi + 0x18]
push dword [esi + 0x5c4]
push str.current_build_version_d__updater_data_version_d_n
call fcn.00599f60
mov eax, dword [esi + 0x5c4]
add esp, 0xc
mov ecx, esi
cmp eax, dword [esi + 0x18]
jne 0x58826e
call fcn.00588050
call fcn.00586f80
mov ecx, esi
call fcn.00587720
mov ecx, esi
call fcn.00587fb0
mov ecx, esi
call fcn.00587f50
mov ecx, esi
call fcn.00588050
push 0x32
call edi
jmp 0x5881e0

Function at 0x588ee0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x215d0]
call fcn.00585ab0
push 0
push 0
push esi
push 0x588b40
push 0
push 0
call fcn.005c0505
add esp, 0x18
mov dword [esi + 0x215c8], eax
pop esi
ret

Function at 0x589060
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
lea edx, [edi + 0x21968]
mov esi, edx
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x589070
sub esi, ecx
cmp esi, 0x13
je 0x5890a6
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x589081
sub edx, ecx
cmp edx, 0x1d
je 0x5890a6
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 0x588f10
push 0
push 0
call fcn.005c0505
add esp, 0x18
mov dword [edi + 0x215c8], eax
pop edi
pop esi
ret
Function at 0x5893e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x21764]
mov edx, ecx
lea edi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x5893f0
sub edx, edi
cmp edx, 4
jae 0x58941f
push 0
push str.Create_Account
push str.email_address_is_too_short
push 0
mov dword [esi + 0x21760], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
call fcn.005890f0
test eax, eax
jne 0x589443
push eax
push str.Create_Account
push str.email_address_is_not_valid
push eax
mov dword [esi + 0x21760], eax
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
lea ecx, [esi + 0x21864]
lea eax, [esi + 0x217e4]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x589470
test dl, dl
je 0x58946c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x589470
add eax, 2
add ecx, 2
test dl, dl
jne 0x589450
xor eax, eax
jmp 0x589475
sbb eax, eax
or eax, 1
push 0
test eax, eax
je 0x58949a
push str.Create_Account
push str.Passwords_do_not_match
push 0
mov dword [esi + 0x21760], 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
ret
push 0
push esi
push 0x5890d0
push 0
push 0
call fcn.005c0505
add esp, 0x18
mov dword [esi + 0x215c8], eax
pop edi
pop esi
ret

Function at 0x5896b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x215b0], 0
je 0x5896d5
push 0
push 0x5b9
push str.Updater.cpp
push str.mainThread___NULL
call fcn.0059a430
add esp, 0x10
cmp dword [esi + 0x215c8], 0
je 0x5896f7
push 0
push 0x5ba
push str.Updater.cpp
push str.loginThread___NULL
call fcn.0059a430
add esp, 0x10
push 0
push 0
push esi
push 0x588350
push 0
push 0
call fcn.005c0505
push 0
push 0
push esi
push 0x588b00
push 0
push 0
mov dword [esi + 0x215b0], eax
call fcn.005c0505
push 0
push 0
push esi
push 0x588b20
push 0
push 0
mov dword [esi + 0x21c60], eax
call fcn.005c0505
add esp, 0x48
mov dword [esi + 0x215c0], eax
pop esi
ret

Function at 0x5897d0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
push str.CUpdater::Stop___n
mov ebx, ecx
call fcn.00599f60
add esp, 4
cmp byte [ebx + 0x20d8c], 0
jne 0x5897f1
mov eax, dword [ebx + 0x215b8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x871e84
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 0x589832
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 + 0x21c60]
test eax, eax
je 0x589857
push 0
push eax
call edi
push dword [ebx + 0x21c60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0x21c60], 0
mov eax, dword [ebx + 0x215c8]
test eax, eax
je 0x58987c
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 0x5898a1
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 0x871e84
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x589ef0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6738
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6cdf60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, str.We_need_your_permission_to
mov ecx, 0x88d150
call fcn.0057f3f0
mov edx, esi
mov ecx, eax
call fcn.0058a000
mov edx, str.._Do_you_agree___yes_no_
mov ecx, eax
call fcn.0057f3f0
push eax
call fcn.0057f6a0
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov ecx, 0x88d1f8
call fcn.0058a260
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x18]
mov eax, 3
cmovae ecx, dword [ebp - 0x28]
cmp esi, eax
cmovb eax, esi
push eax
push 0x695e10
push ecx
call fcn.0058a460
add esp, 0xc
test eax, eax
jne 0x589fd3
cmp esi, 3
jb 0x589fd3
cmp esi, 3
setne al
test eax, eax
jne 0x589fd3
cmp dword [ebp - 0x14], 0x10
jb 0x589fb9
push dword [ebp - 0x28]
call fcn.0059c050
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bf536
mov esp, ebp
pop ebp
ret
mov edx, str.Permission_denied_by_user.
mov ecx, 0x88d000
call fcn.0057f3f0
push eax
call fcn.0057f6a0
add esp, 4
push 1
call fcn.005c1bd2
int3

Function at 0x58af60
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
push 0x12
mov dword [esp + 0xc], 4
call fcn.005c1be6
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
jne 0x58af9c
push str.Error_allocating_memory_for_MAC_address_n
call fcn.005c1c8d
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x288
call fcn.005c1be6
mov esi, eax
add esp, 4
test esi, esi
jne 0x58afcd
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005c1c8d
add esp, 4
push edi
call fcn.005c08b8
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x58aff0
push dword [esp + 8]
call fcn.005c1be6
mov esi, eax
add esp, 4
test esi, esi
je 0x58afaf
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x58b065
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, [esp + 0x24]
push str._02X:_02X:_02X:_02X:_02X:_02X
push eax
call fcn.00584d90
push edi
lea eax, [esi + 0x1b0]
push eax
push str.Address:__s__mac:__s_n
call fcn.005c1c8d
add esp, 0x2c
push esi
call fcn.005c08b8
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
call fcn.005c08b8
add esp, 4
push edi
call fcn.005c08b8
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x58b210
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e6941
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
mov eax, dword [0x6cdf60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlComputerNameComputerName
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x58b287
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x80
push eax
lea eax, [esi + 0x100]
push eax
push 0
push 0
push str.ComputerName
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0xbc]
call fcn.00401cd0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.00401380
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00401000
push str.api_Login.aspx
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 2
call fcn.0058a760
push esi
push str.username
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 3
call fcn.00401720
lea eax, [esi + 0x80]
push eax
push str.password
lea ecx, [ebp - 0x78]
call fcn.00401720
call fcn.0058af60
push eax
push 0x69614c
lea ecx, [ebp - 0x78]
call fcn.00401720
lea eax, [esi + 0x100]
push eax
push str.ComputerName
lea ecx, [ebp - 0x78]
call fcn.00401720
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x58b325
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x38], 0
call fcn.00599ea0
lea eax, [ebp - 0x78]
fstp st(0)
push eax
push 1
push 0x229
push str.api.warzsiam.in.th
lea ecx, [ebp - 0xbc]
call fcn.00402070
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x38], eax
call fcn.0058a9b0
mov dword [ebp - 0x34], eax
test eax, eax
je 0x58b377
push eax
push str.Login_FAILED__code:__d_n
call fcn.00599f60
add esp, 8
mov dword [esi + 0x18c], 3
jmp 0x58b385
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.0058b080
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x58b3a0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.004010b0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00401460
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.00401d90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x58b3e0
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 0x58b43c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58b413
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 0x58b450
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 0x58b4af
sub esi, 0xffffff80
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x58b486
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

Function at 0x58bdf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x88ee83], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
jne 0x58be89
jmp 0x58be6d
push 0
push 0
push 0
push 0x58bdc0
push 0
push 0
mov byte [0x88ee83], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x58beef
mov esi, dword [ebp + 0x10]
mov edx, 0xa
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
shr eax, 0x10
mov ecx, esi
mov dl, al
call fcn.0058bb20
xor byte [ebx], al
jmp 0x58bf79
mov edx, 0x14
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
mov dl, al
mov ecx, esi
call fcn.0058bb20
mov ecx, dword [ebp + 8]
xor byte [ecx], al
jmp 0x58c000
mov edx, 0x1e
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
shr eax, 8
mov ecx, esi
mov dl, al
call fcn.0058bb20
xor byte [edi], al
jmp 0x58c087
mov edx, 0x28
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
shr eax, 0x18
mov ecx, esi
mov dl, al
call fcn.0058bb20
mov ecx, dword [ebp + 0xc]
xor byte [ecx], al
jmp 0x58c111
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x58c120
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x88ee83], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
jne 0x58c1b9
jmp 0x58c19d
push 0
push 0
push 0
push 0x58bdc0
push 0
push 0
mov byte [0x88ee83], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x58c21f
mov esi, dword [ebp + 0x10]
mov edx, 0xa
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
shr eax, 0x10
mov ecx, esi
mov dl, al
call fcn.0058bb20
xor byte [ebx], al
jmp 0x58c2a9
mov edx, 0x14
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
mov dl, al
mov ecx, esi
call fcn.0058bb20
mov ecx, dword [ebp + 8]
xor byte [ecx], al
jmp 0x58c330
mov edx, 0x1e
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
shr eax, 8
mov ecx, esi
mov dl, al
call fcn.0058bb20
xor byte [edi], al
jmp 0x58c3b7
mov edx, 0x28
mov ecx, esi
call fcn.0058bd40
mov ecx, eax
call fcn.0058b8c0
shr eax, 0x18
mov ecx, esi
mov dl, al
call fcn.0058bb20
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
xor byte [ecx], al
pop ebp
ret
Function at 0x595d20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e70e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6cdf60]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x6cdf60]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x595e74
cmp byte [ebx + 0x45], 0
je 0x595e74
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x595d80
xor al, al
jmp 0x595e76
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], ecx
cmp ecx, 0x10
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x18]
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x595dc0
cmp dword [esp + 0x2c], 0x10
lea eax, [esp + 0x14]
mov ecx, dword [ebx + 0x40]
lea edi, [esp + 0x18]
cmovae edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
cmovae esi, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x2c]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x595e01
dec eax
je 0x595e05
sub eax, 2
je 0x595e5b
xor bl, bl
jmp 0x595e5d
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x18]
cmp ecx, 0x10
mov esi, dword [esp + 0x14]
cmovae eax, edx
sub esi, eax
je 0x595e3c
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [esp + 0x1c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.005c16ea
add esp, 0x10
cmp esi, eax
jne 0x595dfd
cmp byte [ebx + 0x45], 0
je 0x595e5b
test esi, esi
jne 0x595dc0
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.0057ead0
jmp 0x595dc0
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x595e70
push dword [esp + 0x18]
call fcn.0059c050
add esp, 4
mov al, bl
jmp 0x595e76
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005bf536
mov esp, ebp
pop ebp
ret

Function at 0x597530
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x8f
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0x7e1ae418
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x597560
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xd
jl 0x597547
xor eax, eax
mov word [edi + 0x1a], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x597580
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0xd2
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0x278cbf8a
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x5975b0
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0x11
jl 0x597597
xor eax, eax
mov word [edi + 0x22], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x5977b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0xc7
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0x73407540
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x5977e0
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xe
jl 0x5977c7
xor eax, eax
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x597800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0xfa
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0x78dc1078
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x597830
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xe
jl 0x597817
xor eax, eax
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x597940
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0xf2
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0x4e801ce8
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x597970
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0x10
jl 0x597957
xor eax, eax
mov word [edi + 0x20], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x597ac0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 6
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0xc72d8cc0
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x597af0
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xc
jl 0x597ad7
xor eax, eax
mov word [edi + 0x18], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x597b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x8f
push esi
push edi
xor esi, esi
mov edi, ecx
add edx, 0xb3b07a80
mov cx, word [edx]
xor cx, ax
inc eax
mov word [edi + esi*2], cx
and eax, 0x800000ff
jns 0x597b40
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xc
jl 0x597b27
xor eax, eax
mov word [edi + 0x18], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x598460
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x24], ecx
jle 0x598648
mov eax, dword [ebp + 8]
push ebx
push esi
add eax, 2
push edi
nop
xor esi, esi
movzx edx, byte [eax - 2]
movzx ecx, byte [eax - 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
add eax, 4
or edx, ecx
mov dword [ebp + esi*4 - 0x12c], edx
inc esi
cmp esi, 0x10
jl 0x598482
mov dword [ebp - 0x2c], eax
lea ebx, [ebp - 0xf4]
mov eax, 0x30
mov edi, edi
mov edx, dword [ebx]
lea ebx, [ebx + 4]
mov esi, dword [ebx - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [ebx - 0x3c]
add edi, dword [ebx - 0x18]
mov dword [ebx + 4], edi
dec eax
jne 0x5984c0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
mov eax, dword [ebx + 0x88]
mov esi, eax
mov ecx, dword [ebx + 0x8c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x90]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0x98]
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], ecx
mov edi, ebx
ror esi, 0xd
ror edi, 0xb
mov ecx, ebx
rol ecx, 7
mov edx, ebx
xor edi, ecx
not edx
and edx, dword [ebp - 0xc]
mov ecx, ebx
ror ecx, 6
xor edi, ecx
mov ecx, dword [ebp - 4]
and ecx, ebx
xor edx, ecx
mov ecx, dword [ebp - 0x20]
add edi, edx
add edi, dword [ecx + 0x690300]
add edi, dword [ebp + ecx - 0x12c]
mov ecx, dword [ebp - 8]
add edi, dword [ebp - 0x14]
rol ecx, 0xa
xor esi, ecx
mov ecx, dword [ebp - 8]
ror ecx, 2
xor esi, ecx
mov ecx, dword [ebp - 0x1c]
mov edx, ecx
and ecx, dword [ebp + 8]
xor edx, dword [ebp + 8]
and edx, dword [ebp - 8]
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
add esi, edx
mov ecx, dword [ebp - 4]
add esi, edi
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
add ebx, edi
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 4
mov dword [ebp - 0x1c], edx
mov dword [ebp - 8], esi
mov dword [ebp - 0x20], ecx
cmp ecx, 0x100
jl 0x598554
mov ecx, dword [ebp - 0x28]
add ecx, esi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebp + 8]
add dword [ebx + 0x90], ecx
mov ecx, dword [ebp - 0x10]
add dword [ebx + 0x94], ecx
mov ecx, dword [ebp - 0x18]
add dword [ebx + 0x98], ecx
mov ecx, dword [ebp - 4]
add dword [ebx + 0x9c], ecx
mov ecx, dword [ebp - 0xc]
add dword [ebx + 0xa0], ecx
mov ecx, dword [ebp - 0x14]
add dword [ebx + 0x8c], edx
add dword [ebx + 0xa4], ecx
dec dword [ebp + 0xc]
jne 0x598480
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8