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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd590
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6c2da0]
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 0x586a99
push 0
push 0x33b
push str.Updater.cpp
push str.status___STATUS_Checking
call fcn.00596c10
add esp, 0x10
mov ecx, esi
call fcn.00584f50
mov ecx, esi
call fcn.00585170
test al, al
je 0x586ac4
mov ecx, esi
call fcn.005851e0
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 0x68a47f
sete al
lea eax, [eax*2 + 3]
mov dword [esi + 0x20d84], eax
lea eax, [esi + 0x20d8d]
push eax
call fcn.0057e2c0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov edi, edi
cmp dword [esi + 0x20d84], 5
jne 0x586baf
mov eax, dword [esi + 0x21750]
mov dword [0x878f60], eax
mov eax, dword [esi + 0x21754]
mov dword [0x878f64], eax
mov eax, dword [0x878f70]
or eax, dword [0x878f74]
je 0x586b58
call fcn.0057ed10
test al, al
je 0x586b58
push 0
push 0
push 0x878f60
push 0x57e930
push 0
push 0
call fcn.005bbe4e
add esp, 0x18
mov dword [0x879128], eax
mov ecx, esi
call fcn.00585490
mov ecx, esi
call fcn.00585640
push dword [esi + 0x18]
push dword [esi + 0x5c4]
push str.current_build_version_d__updater_data_version_d_n
call fcn.00596740
mov eax, dword [esi + 0x5c4]
add esp, 0xc
mov ecx, esi
cmp eax, dword [esi + 0x18]
jne 0x586b8e
call fcn.00586970
call fcn.005858a0
mov ecx, esi
call fcn.00586040
mov ecx, esi
call fcn.005868d0
mov ecx, esi
call fcn.00586870
mov ecx, esi
call fcn.00586970
push 0x32
call edi
jmp 0x586b00

Function at 0x587800
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x215d0]
call fcn.005843d0
push 0
push 0
push esi
push 0x587460
push 0
push 0
call fcn.005bbe4e
add esp, 0x18
mov dword [esi + 0x215c8], eax
pop esi
ret

Function at 0x587980
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 0x587990
sub esi, ecx
cmp esi, 0x13
je 0x5879c6
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5879a1
sub edx, ecx
cmp edx, 0x1d
je 0x5879c6
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 0x587830
push 0
push 0
call fcn.005bbe4e
add esp, 0x18
mov dword [edi + 0x215c8], eax
pop edi
pop esi
ret
Function at 0x587d00
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 0x587d10
sub edx, edi
cmp edx, 4
jae 0x587d3f
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.00587a10
test eax, eax
jne 0x587d63
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 0x587d90
test dl, dl
je 0x587d8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x587d90
add eax, 2
add ecx, 2
test dl, dl
jne 0x587d70
xor eax, eax
jmp 0x587d95
sbb eax, eax
or eax, 1
push 0
test eax, eax
je 0x587dba
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 0x5879f0
push 0
push 0
call fcn.005bbe4e
add esp, 0x18
mov dword [esi + 0x215c8], eax
pop edi
pop esi
ret

Function at 0x587fd0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x215b0], 0
je 0x587ff5
push 0
push 0x5b9
push str.Updater.cpp
push str.mainThread___NULL
call fcn.00596c10
add esp, 0x10
cmp dword [esi + 0x215c8], 0
je 0x588017
push 0
push 0x5ba
push str.Updater.cpp
push str.loginThread___NULL
call fcn.00596c10
add esp, 0x10
push 0
push 0
push esi
push 0x586c70
push 0
push 0
call fcn.005bbe4e
push 0
push 0
push esi
push 0x587420
push 0
push 0
mov dword [esi + 0x215b0], eax
call fcn.005bbe4e
push 0
push 0
push esi
push 0x587440
push 0
push 0
mov dword [esi + 0x21c60], eax
call fcn.005bbe4e
add esp, 0x48
mov dword [esi + 0x215c0], eax
pop esi
ret

Function at 0x5880f0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
push str.CUpdater::Stop___n
mov ebx, ecx
call fcn.00596740
add esp, 4
cmp byte [ebx + 0x20d8c], 0
jne 0x588111
mov eax, dword [ebx + 0x215b8]
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x85b9c4
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 0x588152
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 0x588177
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 0x58819c
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 0x5881c1
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 0x85b9c4
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x589170
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.005bd53c
mov ebx, eax
push 0x288
mov dword [ebp - 8], ebx
call fcn.005bd53c
mov esi, eax
add esp, 8
test esi, esi
jne 0x5891ab
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005bd5e3
add esp, 4
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x5891d9
push dword [ebp - 4]
call fcn.005bd53c
mov esi, eax
add esp, 4
test esi, esi
jne 0x5891d9
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.005bd5e3
add esp, 4
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x589243
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.00582f50
push ebx
lea eax, [esi + 0x1b0]
push eax
push str.Address:__s__mac:__s_n
call fcn.005bd5e3
add esp, 0x2c
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.005bd692
add esp, 4
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x589260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd951
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push esi
mov eax, dword [0x6c2da0]
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 0x5892d7
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.00401cb0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.00401360
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.00588840
push esi
push str.username
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 3
call fcn.00401700
lea eax, [esi + 0x80]
push eax
push str.password
lea ecx, [ebp - 0x78]
call fcn.00401700
call fcn.00589170
push eax
push 0x68bfe8
lea ecx, [ebp - 0x78]
call fcn.00401700
lea eax, [esi + 0x100]
push eax
push str.ComputerName
lea ecx, [ebp - 0x78]
call fcn.00401700
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x589375
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebp - 0x38], 0
call fcn.00596680
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.00402050
push eax
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x38], eax
call fcn.00588a90
mov dword [ebp - 0x34], eax
test eax, eax
je 0x5893c7
push eax
push str.Login_FAILED__code:__d_n
call fcn.00596740
add esp, 8
mov dword [esi + 0x18c], 3
jmp 0x5893d5
lea eax, [ebp - 0xc0]
mov ecx, esi
push eax
call fcn.00588fe0
mov dword [ebp - 4], 6
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x5893f0
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.00401440
lea ecx, [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
call fcn.00401d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x589430
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 0x58948c
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x589463
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 0x5894a0
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 0x5894ff
sub esi, 0xffffff80
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5894d6
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 0x589db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x8787a3], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
jne 0x589e49
jmp 0x589e2d
push 0
push 0
push 0
push 0x589d80
push 0
push 0
mov byte [0x8787a3], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x589eaf
mov esi, dword [ebp + 0x10]
mov edx, 0xa
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
shr eax, 0x10
mov ecx, esi
mov dl, al
call fcn.00589ae0
xor byte [ebx], al
jmp 0x589f39
mov edx, 0x14
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
mov dl, al
mov ecx, esi
call fcn.00589ae0
mov ecx, dword [ebp + 8]
xor byte [ecx], al
jmp 0x589fc0
mov edx, 0x1e
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
shr eax, 8
mov ecx, esi
mov dl, al
call fcn.00589ae0
xor byte [edi], al
jmp 0x58a047
mov edx, 0x28
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
shr eax, 0x18
mov ecx, esi
mov dl, al
call fcn.00589ae0
mov ecx, dword [ebp + 0xc]
xor byte [ecx], al
jmp 0x58a0d1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x58a0e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x8787a3], 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
jne 0x58a179
jmp 0x58a15d
push 0
push 0
push 0
push 0x589d80
push 0
push 0
mov byte [0x8787a3], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x58a1df
mov esi, dword [ebp + 0x10]
mov edx, 0xa
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
shr eax, 0x10
mov ecx, esi
mov dl, al
call fcn.00589ae0
xor byte [ebx], al
jmp 0x58a269
mov edx, 0x14
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
mov dl, al
mov ecx, esi
call fcn.00589ae0
mov ecx, dword [ebp + 8]
xor byte [ecx], al
jmp 0x58a2f0
mov edx, 0x1e
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
shr eax, 8
mov ecx, esi
mov dl, al
call fcn.00589ae0
xor byte [edi], al
jmp 0x58a377
mov edx, 0x28
mov ecx, esi
call fcn.00589d00
mov ecx, eax
call fcn.00589880
shr eax, 0x18
mov ecx, esi
mov dl, al
call fcn.00589ae0
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
xor byte [ecx], al
pop ebp
ret
Function at 0x593f00
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 0x593f30
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xd
jl 0x593f17
xor eax, eax
mov word [edi + 0x1a], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x593f50
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 0x593f80
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0x11
jl 0x593f67
xor eax, eax
mov word [edi + 0x22], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x594180
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 0x5941b0
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xe
jl 0x594197
xor eax, eax
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x5941d0
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 0x594200
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xe
jl 0x5941e7
xor eax, eax
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4

Function at 0x5942c0
Capabilities:
Encrypt data using rc4 prga

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

Function at 0x594310
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 0x594340
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0x10
jl 0x594327
xor eax, eax
mov word [edi + 0x20], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x594490
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 0x5944c0
dec eax
or eax, 0xffffff00
inc eax
inc esi
add edx, 2
cmp esi, 0xc
jl 0x5944a7
xor eax, eax
mov word [edi + 0x18], ax
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x594c40
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 0x594e28
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 0x594c62
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 0x594ca0
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 + 0x6861e0]
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 0x594d34
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 0x594c60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5950a0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5de018
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x6c2da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x124], 0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x1cc]
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp - 0x11c]
push dword [ebp + 0x18]
mov ecx, 0x2a
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
xorps xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x94], 0x6a09e667
movdqu xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x90], 0xbb67ae85
movdqu xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x8c], 0x3c6ef372
mov dword [ebp - 0x88], 0xa54ff53a
mov dword [ebp - 0x84], 0x510e527f
mov dword [ebp - 0x80], 0x9b05688c
mov dword [ebp - 0x7c], 0x1f83d9ab
mov dword [ebp - 0x78], 0x5be0cd19
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
call fcn.00594e30
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00594ed0
mov byte [ebp - 0x34], 0
lea edi, [ebp - 0x74]
xor esi, esi
movzx eax, byte [ebp + esi - 0x30]
push eax
push str._02x
push edi
call fcn.005bbcbd
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x20
jb 0x595191
mov esi, dword [ebp - 0x120]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x74], 0
jne 0x5951cf
xor ecx, ecx
jmp 0x5951de
lea ecx, [ebp - 0x74]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5951d5
sub ecx, edx
push ecx
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.005833a0
cmp dword [ebp + 0x1c], 0x10
jb 0x5951fb
push dword [ebp + 8]
call fcn.00598830
add esp, 4
mov eax, esi
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.005bb4c3
mov esp, ebp
pop ebp
ret
Function at 0x596190
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov ecx, dword [0x85ba48]
sub esp, 0x10
test ecx, ecx
je 0x5961af
cmp dword [0x85ba44], 1
jl 0x5961af
test ecx, ecx
je 0x5961af
call fcn.005aefe0
call fcn.00596680
mov eax, dword [0x7d2d0c]
mov ecx, 0x1e
fstp dword [0x6c1be0]
movss xmm2, dword [0x6c1be0]
xorps xmm1, xmm1
subss xmm2, dword [0x7d2d08]
movss dword [eax*4 + 0x7d2d10], xmm2
inc eax
cdq
idiv ecx
movss dword [0x6c1be4], xmm2
mov eax, 0x7d2d14
mov dword [0x7d2d0c], edx
jmp 0x596200
addss xmm1, dword [eax - 4]
addss xmm1, dword [eax]
addss xmm1, dword [eax + 4]
addss xmm1, dword [eax + 8]
addss xmm1, dword [eax + 0xc]
addss xmm1, dword [eax + 0x10]
addss xmm1, dword [eax + 0x14]
addss xmm1, dword [eax + 0x18]
addss xmm1, dword [eax + 0x1c]
addss xmm1, dword [eax + 0x20]
add eax, 0x28
cmp eax, 0x7d2d8c
jl 0x596200
mulss xmm1, dword [0x66db84]
movss xmm0, dword [0x66db80]
comiss xmm0, xmm2
movss dword [0x6c1be8], xmm1
jbe 0x596262
mov dword [0x6c1be4], 0x3983126f
comiss xmm0, xmm1
jbe 0x596271
mov dword [0x6c1be8], 0x3983126f
cmp dword [0x7d2cc4], 0
jne 0x5962ad
lea eax, [esp]
mov dword [0x7d2cc4], 1
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov edx, dword [esp + 4]
mov ecx, dword [esp]
call fcn.005c352d
push 0x7d2de8
movsd qword [0x7d2de0], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 8]
sub ecx, dword [0x7d2de8]
mov edx, dword [esp + 0xc]
sbb edx, dword [0x7d2dec]
call fcn.005c352d
divsd xmm0, qword [0x7d2de0]
movsd xmm1, qword [0x7d2cd0]
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x7d2cdc]
comiss xmm0, dword [0x66db88]
jbe 0x596327
movd xmm0, dword [0x7d2cd8]
xor eax, eax
cvtdq2pd xmm0, xmm0
movss dword [0x7d2cdc], xmm2
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
xorps xmm1, xmm1
movss dword [0x7d2ce0], xmm0
jmp 0x59632c
mov eax, dword [0x7d2cd8]
movss xmm0, dword [0x68c5cc]
inc eax
divss xmm0, dword [0x6c1be4]
mov dword [0x7d2cd8], eax
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
movsd qword [0x7d2cd0], xmm0
add esp, 0x10
jmp 0x5a8a10
push ecx
call fcn.00596680
fstp dword [esp]
movss xmm0, dword [esp]
subss xmm0, dword [0x85ba18]
comiss xmm0, dword [0x68c5cc]
jbe 0x5a8a5e
mov eax, dword [0x85b9ec]
test eax, eax
je 0x5a8a5e
push eax
push str.Loads_unloads_collapsed:__d_n
call fcn.00596740
movss xmm0, dword [esp + 8]
add esp, 8
mov dword [0x85b9ec], 0
movss dword [0x85ba18], xmm0
pop ecx
ret