joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5cb410
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x114]
push esi
mov esi, dword [esp + 0x114]
mov dword [esp + 0xc], 1
test ecx, ecx
mov dword [esp + 0x10], esi
jne 0x5cb443
push ecx
lea eax, [esp + 0x10]
push ecx
push eax
push ecx
lea ecx, [esi + 1]
push ecx
jmp 0x5cb49b
cmp ecx, 0xffffffff
jne 0x5cb45a
mov dword [esp + 4], 0
mov dword [esp + 8], 0
jmp 0x5cb489
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 4], edx
mov ecx, 0x3e8
cdq
idiv ecx
lea eax, [edx + edx*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
mov dword [esp + 8], edx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
push 0
push ecx
lea edx, [esi + 1]
push 0
push edx
call sub.WS2_32.dll_select
test eax, eax
jge 0x5cb4b1
mov eax, 0xfffffffb
pop esi
add esp, 0x10c
ret
jne 0x5cb4c0
mov eax, 0xfffffffa
pop esi
add esp, 0x10c
ret
lea eax, [esp + 0xc]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x5cb519
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x120]
push 0
push ecx
push edx
push esi
call sub.WS2_32.dll_send
test eax, eax
jg 0x5cb501
call fcn.005ca9f0
push eax
call fcn.005cb000
add esp, 4
pop esi
add esp, 0x10c
ret
mov ecx, dword [0x1347778]
test ecx, ecx
je 0x5cb51e
mov edx, dword [ecx]
pop esi
add edx, eax
mov dword [ecx], edx
add esp, 0x10c
ret
mov eax, 0xfffffff7
pop esi
add esp, 0x10c
ret

Function at 0x5cb530
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x5cb53f
ret
mov ecx, dword [eax + 0xc]
push esi
push edi
mov edx, dword [ecx]
mov eax, dword [edx]
push eax
call sub.WS2_32.dll_inet_ntoa
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x10]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret

Function at 0x5cb6d0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x18]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push edx
mov dword [esp + 0xc], 0x10
call sub.WS2_32.dll_getsockname
test eax, eax
jne 0x5cb706
mov eax, dword [esp + 6]
push eax
call sub.WS2_32.dll_ntohs
and eax, 0xffff
add esp, 0x14
ret
or eax, 0xffffffff
add esp, 0x14
ret

Function at 0x5cb710
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x64
lea eax, [esp]
push esi
push 0x64
push eax
xor esi, esi
call sub.WS2_32.dll_gethostname
lea ecx, [esp + 4]
push ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
jne 0x5cb735
pop esi
add esp, 0x64
ret
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
test eax, eax
je 0x5cb748
mov eax, dword [eax]
push eax
call sub.WS2_32.dll_inet_ntoa
mov esi, eax
mov eax, esi
pop esi
add esp, 0x64
ret
Function at 0x5cba70
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push esi
push eax
call fcn.005cbba0
add esp, 8
test eax, eax
jne 0x5cba89
pop esi
ret
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x5cba95
pop esi
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x8c], 0
pop esi
ret

Function at 0x5cbab0
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x38c]
mov esi, dword [edi]
push eax
call fcn.005dcbd0
add esp, 4
test esi, esi
je 0x5cbb3a
mov edi, dword [esp + 0xc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x5cbb2e
cmp dword [esi + 8], 0xffffffff
je 0x5cbb2e
push 0
push eax
call ebp
mov dword [esi + 0x8c], 0
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x5cbb1c
mov eax, dword [esi + 0x1c]
push 0
lea edx, [eax*8]
sub edx, eax
lea eax, [ecx + edx*4]
mov ecx, dword [ecx + edx*4 + 0x14]
mov edx, dword [eax + 0xc]
add ecx, edx
push ecx
jmp 0x5cbb20
push 0
push 0
push esi
push 8
push 0x15
push edi
call fcn.005c7720
add esp, 0x18
mov esi, dword [esi + 0x48]
test esi, esi
jne 0x5cbad6
mov edi, dword [esp + 0x14]
pop ebp
mov edx, dword [edi + 0x38c]
push edx
call fcn.005dcbe0
add esp, 4
pop edi
pop esi
ret

Function at 0x5ccf60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, eax
dec eax
test edx, edx
je 0x5ccf9c
push ebx
push esi
lea esi, [eax + 1]
mov eax, dword [esp + 0x14]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [edx*2 + 0x12b53e8]
xor ax, bx
inc ecx
dec esi
jne 0x5ccf78
pop esi
pop ebx
ret
mov ax, word [esp + 0xc]
ret
Function at 0x5d39b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x9c]
push esi
push 0x40
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.005d37c0
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.005d38f0
mov esi, dword [esp + 0xb0]
add esp, 0x14
xor edx, edx
mov cl, byte [esp + edx + 4]
mov al, cl
and cl, 0xf
sar al, 4
and al, 0xf
cmp al, 0xa
movsx eax, al
jge 0x5d3a2a
add eax, 0x30
jmp 0x5d3a2d
add eax, 0x57
mov byte [esi], al
cmp cl, 0xa
movsx eax, cl
jge 0x5d3a3c
add eax, 0x30
jmp 0x5d3a3f
add eax, 0x57
mov byte [esi + 1], al
inc edx
add esi, 2
cmp edx, 0x10
jl 0x5d3a10
pop esi
add esp, 0x94
ret

Function at 0x5d3a60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x14], 0x9d14e9a1
mov dword [esp + 0x18], 0x593b6b0e
je 0x5d3aeb
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x5d3acf
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x5d3ad9
cmp ecx, 0x38
jle 0x5d3ad9
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12b587c
test ecx, ecx
je 0x5d3b1f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x38
jle 0x5d3b0a
mov ecx, 0x38
xor eax, eax
test ecx, ecx
jle 0x5d3b1f
mov dl, byte [eax + 0x12b587c]
xor byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x5d3b10
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.005d39b0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.01d0a8e3
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x5d3b84
mov esi, ebp
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, eax
jl 0x5d3b77
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x5d7dc0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x12e9e7c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x5d7dd3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x5d7e14
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x12e9f24]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x5d7e46
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5d7e4a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x5d7e3b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x5d7e68
mov bl, byte [esp + ecx + 0x4c]
jmp 0x5d7e6c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x5d7e5d
xor ecx, ecx
mov eax, 0x12e9e8c
xor ebx, ebx
mov bl, byte [ecx + 0x12e9f34]
cmp byte [esp + ebx + 0x14], 0
je 0x5d7e97
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x12e9f4c]
cmp byte [esp + ebx + 0x14], 0
je 0x5d7eae
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x5d7e7e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x5d7e07
lea edx, [esp + 0x84]
push edx
call fcn.005d7ef0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x5e6630
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x134cce0]
xor edx, edx
cmp eax, edx
jne 0x5e6656
xor eax, eax
mov byte [eax + 0x134cbe0], al
inc eax
cmp eax, 0x100
jl 0x5e663e
mov dword [0x134cce0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x134cbe0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5e66e7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5e66ba
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5e6688
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5e66f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5e6743
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5e672a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed0d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x628b8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005ed9f0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x12b6d34
call fcn.006148b3
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5ed163
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006148b3
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5ed15c
push 0
mov ecx, eax
call fcn.005e4270
mov dword [esi + 0xc], eax
jmp 0x5ed165
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5ed165
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x5b6f1086
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [esi + 4]
push eax
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x5b6f10a9
xor al, al
jmp 0x5b6f10d6
mov ecx, dword [0x5b7253c8]
test ecx, ecx
je 0x5b6f10bb
push ecx
push eax
call dword [sym.imp.kernel32.dll_SetThreadAffinityMask]
cmp dword [ebp + 0x10], 0
je 0x5b6f10cc
push dword [ebp + 0x10]
push dword [esi]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov al, 1
pop ebp
ret 0xc

Function at 0x5b6f1602
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push 2
push edi
push dword [ebx]
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
mov esi, eax
cmp esi, edi
jne 0x5b6f1625
xor eax, eax
jmp 0x5b6f1649
push edi
push edi
push edi
push 4
push esi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
push esi
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], edi
je 0x5b6f1646
push dword [ebx]
call esi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x5b707ecf
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
mov dword [0x5b725488], eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
fild qword [ebp - 8]
fld1
push 0x5b725480
fdivrp st(1)
fstp qword [0x5b7255a8]
call dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
call dword [sym.imp.kernel32.dll_TlsAlloc]
push 0x5b7255d0
mov dword [0x5b72552c], eax
call fcn.5b6f1100
push 0x5b725604
call fcn.5b6f1100
push 0x5b7255ec
call fcn.5b6f1100
mov esi, dword [sym.imp.kernel32.dll_InitializeCriticalSection]
push 0x5b725548
call esi
push 0x5b72550c
call esi
push 0x5b725494
call esi
push 0x5b72556c
call esi
push 0x5b72f87c
call esi
push 0x5b721204
push 0x10
mov dword [0x5b7250c8], 2
call sym.bass.dll_BASS_SetConfigPtr
push 0x5b720f41
push 0x11
call sym.bass.dll_BASS_SetConfigPtr
pop esi
leave
ret
Function at 0x5b707f79
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_DeleteCriticalSection]
push edi
mov edi, dword [0x5b725500]
xor ebx, ebx
jmp 0x5b707fba
mov eax, dword [edi]
mov dword [ebp - 4], eax
lea eax, [edi + 0x2c]
push eax
call esi
lea eax, [edi + 0x44]
push eax
call esi
push dword [edi + 0x14]
call fcn.5b6f1026
push dword [edi + 0x18]
call fcn.5b6f1026
push edi
call fcn.5b6f1026
mov edi, dword [ebp - 4]
cmp edi, ebx
jne 0x5b707f90
mov edi, dword [0x5b725458]
jmp 0x5b707fe4
mov eax, dword [edi]
push dword [edi + 0x14]
mov dword [ebp - 4], eax
call fcn.5b6f1026
push dword [edi + 0x18]
call fcn.5b6f1026
push edi
call fcn.5b6f1026
mov edi, dword [ebp - 4]
cmp edi, ebx
jne 0x5b707fc6
push dword [0x5b7251b4]
call fcn.5b6f1026
mov dword [0x5b7251b4], ebx
mov dword [0x5b7251b8], ebx
mov edi, 0x5b7253d8
push dword [edi]
call fcn.5b6f1026
mov dword [edi], ebx
mov dword [edi + 4], ebx
add edi, 8
cmp edi, 0x5b725458
jl 0x5b708004
push dword [0x5b7253cc]
call fcn.5b6f1026
push dword [0x5b725524]
mov dword [0x5b7253cc], ebx
mov dword [0x5b7253d0], ebx
call fcn.5b6f1026
push dword [0x5b7254f4]
mov dword [0x5b725524], ebx
mov dword [0x5b725528], ebx
call fcn.5b6f1026
mov dword [0x5b7254f4], ebx
mov dword [0x5b7254f8], ebx
cmp dword [0x5b7254ac], ebx
jne 0x5b70808d
push 0x5b7255d0
call esi
cmp dword [0x5b7254ac], ebx
jne 0x5b70808d
push 0x5b725604
call esi
cmp dword [0x5b7254ac], ebx
jne 0x5b70808d
push 0x5b7255ec
call esi
push 0x5b725548
call esi
push 0x5b72550c
call esi
push 0x5b725494
call esi
push 0x5b72556c
call esi
mov eax, dword [0x5b72626c]
cmp eax, ebx
je 0x5b7080c4
mov ecx, dword [eax]
or edx, 0xffffffff
add eax, 0x10
lock xadd dword [eax], edx
mov eax, ecx
cmp ecx, ebx
jne 0x5b7080b2
push 0x5b72f87c
mov dword [0x5b72626c], ebx
call esi
mov esi, 0x5b72562c
push dword [esi]
call fcn.5b6f1026
add esi, 8
cmp esi, 0x5b72566c
jl 0x5b7080d6
push dword [0x5b725624]
call fcn.5b6f1026
push dword [0x5b72552c]
call dword [sym.imp.kernel32.dll_TlsGetValue]
push eax
call fcn.5b6f1026
push dword [0x5b72552c]
call dword [sym.imp.kernel32.dll_TlsFree]
push dword [0x5b72fccc]
call fcn.5b6f1026
push dword [0x5b72fcd0]
call fcn.5b6f1026
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5b70b501
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, eax
push 8
sar eax, 4
pop ecx
and ebx, 0xf
cmp eax, ecx
jg 0x5b70b5d2
je 0x5b70b5ad
dec eax
je 0x5b70b574
dec eax
je 0x5b70b541
dec eax
je 0x5b70b53c
dec eax
je 0x5b70b534
sub eax, 3
jne 0x5b70b532
mov byte [esi + 0xa8], bl
pop ebx
ret
mov byte [esi + 0x9b], bl
pop ebx
ret
mov byte [esi + 0x5d], bl
pop ebx
ret
xor eax, eax
cmp ebx, eax
je 0x5b70b552
shl bl, 2
mov byte [esi + 0x8a], bl
jmp 0x5b70b55a
test dword [edi], 0x1000
jne 0x5b70b532
cmp dword [esi + 0x14], eax
jne 0x5b70b532
cmp dword [edi + 0x78], eax
je 0x5b70b568
test byte [edi], cl
je 0x5b70b532
movzx ecx, byte [esi + 0x8a]
add dword [esi + 0x50], ecx
jmp 0x5b70b5a5
xor eax, eax
cmp ebx, eax
je 0x5b70b585
shl bl, 2
mov byte [esi + 0x89], bl
jmp 0x5b70b58d
test dword [edi], 0x1000
jne 0x5b70b532
cmp dword [esi + 0x14], eax
jne 0x5b70b532
cmp dword [edi + 0x78], eax
je 0x5b70b59b
test byte [edi], cl
je 0x5b70b532
movzx ecx, byte [esi + 0x89]
sub dword [esi + 0x50], ecx
mov dword [esi + 0xa4], eax
pop ebx
ret
test byte [esi + 0x7a], 1
je 0x5b70b532
test dword [edi], 0x1000
jne 0x5b70b532
shl ebx, 4
and dword [esi + 0x3c], 0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
pop ebx
ret
sub eax, 9
je 0x5b70b6bb
dec eax
je 0x5b70b67d
dec eax
je 0x5b70b637
dec eax
je 0x5b70b61c
sub eax, 3
jne 0x5b70b532
cmp dword [esi + 0x14], eax
jne 0x5b70b532
mov byte [esi + 0xcc], bl
test bl, bl
je 0x5b70b60d
mov eax, esi
mov ecx, edi
call fcn.5b70b0de
mov al, byte [ebx + edi + 0x158]
mov byte [esi + 0xd5], al
pop ebx
ret
cmp dword [esi + 0x14], ebx
jl 0x5b70b532
and dword [esi + 0x2c], 0
and dword [esi + 0x18], 0
mov ecx, esi
mov edx, edi
pop ebx
jmp fcn.5b709186
cmp dword [esi + 0x14], 0
jne 0x5b70b532
cmp dword [edi + 0x78], 0
je 0x5b70b64f
test byte [edi], cl
je 0x5b70b532
test ebx, ebx
je 0x5b70b65b
mov byte [esi + 0x8c], bl
jmp 0x5b70b667
test dword [edi], 0x1000
jne 0x5b70b532
movzx eax, byte [esi + 0x8c]
lea ecx, [esi + 0x2c]
sub dword [ecx], eax
call fcn.5b7095ea
mov dword [esi + 0x18], eax
jmp 0x5b70b62d
cmp dword [esi + 0x14], 0
jne 0x5b70b532
cmp dword [edi + 0x78], 0
je 0x5b70b695
test byte [edi], cl
je 0x5b70b532
test ebx, ebx
je 0x5b70b6a1
mov byte [esi + 0x8b], bl
jmp 0x5b70b6ad
test dword [edi], 0x1000
jne 0x5b70b532
movzx eax, byte [esi + 0x8b]
lea ecx, [esi + 0x2c]
add dword [ecx], eax
jmp 0x5b70b673
mov eax, dword [edi + 0x78]
test eax, eax
jne 0x5b70b6c7
cmp dword [esi + 0x14], ebx
je 0x5b70b6f1
test ebx, ebx
jle 0x5b70b532
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x5b70b6e7
mov eax, ecx
cdq
idiv ebx
test edx, edx
je 0x5b70b6f1
test ecx, ecx
jne 0x5b70b532
cmp dword [edi + 0x78], 0
je 0x5b70b532
and dword [esi + 0x168], 0
push 0xc
push esi
push edi
call fcn.5b70a05b
jmp 0x5b70b62d
Function at 0x5b7173e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
mov eax, ebx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
inc edx
sub edx, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
fild dword [ebp - 4]
push esi
fild dword [ebp - 8]
push edi
fld1
fdivrp st(1)
fld qword [0x5b722da0]
fild dword [ebp + 0xc]
xorps xmm0, xmm0
movss dword [ebp - 4], xmm0
xor edx, edx
fmul qword [0x5b722e80]
fld st(3)
fsubrp st(1)
fmul st(1)
fld st(2)
fmul st(1)
fadd st(2)
fld st(1)
fldz
fxch st(1)
fucompi st(1)
fstp st(0)
lahf
test ah, 0x44
jp 0x5b71744c
fld qword [ebp + 0x10]
jmp 0x5b717455
fld st(1)
fmul qword [ebp + 0x10]
fsin
fdiv st(2)
fld st(1)
fcos
fmul qword [0x5b722d98]
fsubr qword [0x5b722e78]
fxch st(2)
fadd st(0), st(0)
fcos
fmul qword [0x5b722e70]
faddp st(2)
fmulp st(1)
fst dword [ecx + edx*8]
inc edx
fadd dword [ebp - 4]
fstp dword [ebp - 4]
fadd st(1)
cmp edx, ebx
jl 0x5b717431
movss xmm0, dword [0x5b722d68]
fstp st(0)
divss xmm0, dword [ebp - 4]
movss xmm1, dword [ecx]
mulss xmm1, xmm0
movss dword [ecx], xmm1
add ecx, 8
dec edx
jne 0x5b717494
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 0x40
jle 0x5b717418
movss xmm1, dword [0x5b722db0]
fstp st(0)
mov edx, ebx
fstp st(0)
shl edx, 3
fstp st(0)
mov eax, ecx
sub eax, edx
mov esi, ebx
imul esi, esi, 0x3f
lea edi, [eax + 4]
sub eax, 8
fld dword [eax]
fstp dword [ecx]
movss xmm0, dword [edx + eax]
subss xmm0, dword [eax]
movss dword [eax + 4], xmm0
xorps xmm0, xmm1
movss dword [edi], xmm0
add ecx, 8
add edi, 8
dec esi
jne 0x5b7174d2
sub eax, edx
mov esi, ebx
add ecx, 4
movss xmm0, dword [edx + eax]
subss xmm0, dword [eax]
movss dword [eax + 4], xmm0
sub ecx, 8
add eax, 8
dec esi
xorps xmm0, xmm1
movss dword [ecx], xmm0
jne 0x5b7174fe
shl ebx, 8
test ebx, ebx
jle 0x5b717560
mov eax, dword [ebp + 8]
lea ecx, [ebx - 1]
shr ecx, 3
add eax, 8
inc ecx
movss xmm0, dword [eax - 4]
fld dword [eax]
fstp dword [eax - 4]
fld dword [eax + 8]
movss dword [eax + 8], xmm0
movss xmm0, dword [eax + 4]
fstp dword [eax]
fld dword [eax + 0x10]
add eax, 0x20
dec ecx
fstp dword [eax - 0x1c]
fld dword [eax - 0x14]
movss dword [eax - 0x14], xmm0
fstp dword [eax - 0x10]
jne 0x5b717530
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x5b719304
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x5b72fc94], esi
jne 0x5b71933d
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edi
test eax, eax
jns 0x5b719328
add eax, eax
xor eax, 0x4c11db7
jmp 0x5b71932a
add eax, eax
dec edi
jne 0x5b71931b
mov dword [ecx*4 + 0x5b72f898], eax
inc ecx
cmp ecx, 0x100
jl 0x5b719313
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [eax + 0x16], esi
xor ecx, ecx
movzx edi, byte [eax + ecx]
mov ebx, esi
shr ebx, 0x18
xor edi, ebx
shl esi, 8
xor esi, dword [edi*4 + 0x5b72f898]
inc ecx
cmp ecx, edx
jl 0x5b719347
pop edi
mov dword [eax + 0x16], esi
pop esi
pop ebx
ret
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x5b0f07f4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x42a7620a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219