joyce8/EMBER2024-capa huggingface dataset:
Function at 0x588670
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0x62a350
push eax
mov dword fs:[0], esp
sub esp, 0x20
cmp edx, 0xfffffffe
push esi
push edi
jne 0x5887e2
mov ecx, 0x55
mov eax, 0xaa
mov word [esp + 0x18], cx
mov word [esp + 0x1c], cx
mov word [esp + 0x20], cx
mov word [esp + 0x24], cx
push ebx
lea ecx, [esp + 0xc]
mov word [esp + 0x1e], ax
mov word [esp + 0x22], ax
mov word [esp + 0x26], ax
mov word [esp + 0x2a], ax
call fcn.004178d0
mov dword [esp + 0xc], vtable.CBitmap.0
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], 0
push eax
push 1
push 1
push 8
push 8
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x10]
call fcn.005fc571
lea ecx, [esp + 0x14]
call fcn.004178d0
mov dword [esp + 0x14], vtable.CBrush.0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
neg eax
sbb eax, eax
mov byte [esp + 0x34], 1
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x18]
call fcn.005fc571
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.005fbab2
push 0xf
mov edi, eax
call fcn.004ce220
mov ecx, eax
call fcn.004ceab0
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x2c]
push 0x14
call fcn.004ce220
mov ecx, eax
call fcn.004ceab0
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
sub eax, edx
sub ecx, ebx
push 0xf00021
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
mov ecx, esi
call fcn.005fbab2
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.005fc5c8
mov dword [esp + 0xc], esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], 3
call fcn.005fc5c8
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x20
mov eax, dword [esp + 0x54]
cmp eax, 2
je 0x5887f3
test eax, eax
je 0x5887f3
xor esi, esi
jmp 0x5887f8
mov esi, 1
test eax, eax
je 0x588809
cmp eax, 1
je 0x588809
mov eax, edx
mov edx, dword [esp + 0x50]
jmp 0x58880d
mov eax, dword [esp + 0x50]
mov ecx, dword [ecx + 0x204]
mov edi, dword [ecx + 0x7c]
test edi, edi
je 0x588820
mov ecx, edx
mov edx, eax
mov eax, ecx
xor ecx, ecx
test esi, esi
sete cl
push ecx
push eax
mov eax, dword [esp + 0x40]
push edx
lea edx, [esp + 0x48]
push edx
push eax
call fcn.004df670
mov ecx, eax
call fcn.004df940
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 0x20
Function at 0x58e740
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x100]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x58e7da
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x34]
shr eax, 8
cmp al, 2
jne 0x58e7da
test edi, edi
je 0x58e7da
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
lea ecx, [esi + 4]
push ebp
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x58e786
mov eax, dword [edi + 0x2c]
jmp 0x58e7ab
mov edx, dword [esi + 0x34]
mov ecx, ebx
mov eax, dword [edx + 0x58]
test eax, eax
jne 0x58e794
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x58e7a9
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x58e7ab
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.0058e6c0
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x58e7d1
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x58e7da
push 0
mov ecx, esi
call fcn.0058e5b0
pop edi
pop esi
pop ecx
ret 0xc

Function at 0x595380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x62b0d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebx, ecx
push esi
mov dword [esp + 0xc], ebx
call fcn.00575aa0
mov ebp, dword [esp + 0x28]
lea eax, [ebx + 0x20]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
mov dword [ebx], 0x677ae4
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x30], esi
mov dword [ebx + 0x34], esi
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp ebp, esi
jle 0x59541b
lea esi, [ebp*8]
push edi
push esi
call fcn.005f2f36
mov ecx, esi
mov esi, dword [esp + 0x28]
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 0x14], eax
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.005f2f36
mov esi, dword [esp + 0x30]
mov ecx, ebp
mov dword [ebx + 0x1c], eax
mov edi, eax
mov eax, ecx
add esp, 8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov ecx, ebx
call fcn.00595440
mov ecx, dword [esp + 0x10]
pop esi
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x5a3e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62c76f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x86a874]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x28], 1
call fcn.005efc10
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.005f76f1
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.005f797c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5b4300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x62cc7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
push 0x64dbb8
lea ecx, [esi + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
call fcn.005f79ea
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], edi
call fcn.005b4cd0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x70], 0x67c1d4
mov dword [esi + 0x74], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi], 0x67c1c0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x5b43b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x62ccb9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x67c1c0
mov dword [esp + 0x14], 2
call fcn.005b4440
lea eax, [esi + 0x70]
mov dword [esp + 8], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
mov byte [esp + 0x14], 3
test eax, eax
je 0x5b4404
push eax
call fcn.005f2f5f
add esp, 4
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 0
call fcn.005b4d50
lea ecx, [esi + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.005f797c
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5b9650
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x5b9680
push esi
call fcn.005bd4e0
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x5b9679
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5b9703
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x5b96ef
mov eax, dword [esi + 8]
test eax, eax
je 0x5b96a4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x5b96eb
cmp eax, 2
je 0x5b96ef
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x5b9697
cmp eax, 3
je 0x5b96ca
cmp eax, 1
jne 0x5b9697
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x5b9697
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x5b9697
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.005b9730
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5b9723
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005b9730
add esp, 4
pop esi
ret
Function at 0x5ecc90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00481660
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x5ecd5b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x5ecd5b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x5ecd0e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x5ecd19
or bh, 8
and edi, 0x8000000
je 0x5ecd34
mov eax, dword [0x904e7c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x5ecd5b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ed130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x5ed15b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x5ed17f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x5ed19a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x5f3144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5f3166
cmp dword [edi + 0x3c], 0
jne 0x5f3166
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0060e02b
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005f3193
pop edi
pop esi
pop ebx
ret 8

Function at 0x5f31e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0060e02b
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5f3212
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.005f3225
pop edi
pop esi
pop ebx
ret 8

Function at 0x5f4861
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5f4899
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005f7e23
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005f7dfb
jmp 0x5f48a5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5f48a9
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x8c1998
mov ecx, edi
call fcn.005f7b05
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x5f48fc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x5f490f
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.005f7e23
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.005f7dfb
jmp 0x5f490f
mov ecx, esi
call fcn.005f6db7
test eax, eax
je 0x5f490f
push edi
mov ecx, eax
call fcn.005f4861
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x5f653f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5f6581
call fcn.0060e02b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5f6581
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5f6578
xor eax, eax
jmp 0x5f6589
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005f658f
pop edi
pop esi
pop ebx
ret 4
Function at 0x60ec0c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0060e02b
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x60ec49
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x60ec49
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x60ec4d
xor eax, eax
jmp 0x60eccb
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.005f2f36
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x60ec85
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x60ec6f
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0060edbc
push ebx
mov edi, eax
call fcn.005f2f5f
test edi, edi
pop ecx
je 0x60ecc7
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.0060eb85
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0060ecd0
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x610568
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x610596
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x6105b4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006104ce
jmp 0x6105b4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6105b4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006104ce
test edi, edi
mov eax, edi
jne 0x61059e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5007e3
Capabilities:
Encode data using xor

Disassembly:
shl ax, 0xf
push edx
and ax, sp
xchg dword [esp], ebp
bsr bp, bx
aaa
sar bp, cl
mov ebp, esp
adc al, 0x4b
movzx eax, cl
mov dh, 0xc1
sub esp, 0x18
movzx ax, cl
push esi
pushfd
mov dword [esp], edi
daa
push ebx
sal ah, cl
or ah, al
cmc
call fcn.0052991e
push eax
mov edi, 0x937084d7
daa
in eax, 0x26
fimul dword [eax]
xchg ecx, eax
inc ebp
xor al, 0x94
jbe 0x5007fa
adc bh, bh
dec esp
xchg ebx, eax
mov byte [0xb92b7714], al
mov dl, 0x5d
jp 0x5008b3
dec esi
out 0x7f, al
sub dword [esi], 0xfffffffc
mov al, 0x15
test al, 0xff
js 0x500835
push cs
mov ebx, 0x3d36dbaa
out dx, al
jnp 0x5007fb
dec ecx
mov bh, 0x27
pop edx
invalid
mov dword fs:[edx], ecx
mov ch, 0xe5
cmp byte [edi - 0x126575e9], cl
inc eax
push ds
retf

Function at 0x51ed74
Capabilities:
Encode data using xor

Disassembly:
cmp al, 0x9e
add eax, edi
clc
cmp eax, edx
pushal
push 0xe1b82569
lea esp, [esp + 0x28]
jb 0x506c72
pushfd
bt dx, ax
cmp eax, dword [ebp - 0x10]
push dword [esp]
lea esp, [esp + 8]
jae 0x506c72
shl bl, cl
movsx bx, al
cmc
xchg bl, cl
mov ebx, eax
sbb edi, ebp
mov edi, eax
and ch, bl
test ah, 0x5c
ror ch, 6
mov ecx, 0x104
pushal
bt ebx, 6
sub al, al
test ax, 0xc34e
mov byte [esp + 8], al
repne scasb al, byte es:[edi]
call fcn.00508ddb
psllq mm4, qword [esi]
inc edx
popfd
sbb al, byte [esi]
jmp 0x51ee2c
jne 0x51eea5
invalid
leave
aas
sub al, byte [ebp + esi*4 + 0x4a]
salc
sahf
sbb eax, 0xa14f5450
push ebp
or eax, 0x43be7fcf
add dl, byte [ecx + 0x53]
aam 0x48
add bl, byte [ecx - 0x2db06c8a]
adc ah, bl
cmp bh, al
inc ecx
sub al, 0x61
sbb dword [eax - 0x466bea67], ebp
add ch, byte [eax + 0x5e]
in al, dx
add dh, byte [eax]
push 0x15
mov edx, edi
imul ecx, dword [ebp + 0x50ff2e48], 0x31fe6da7
invalid
Function at 0x408fa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x408fb2
pop dword [ebp - 0x18]
mov eax, 0x8f44bd72
add eax, 0x70fbd240
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x38b69
push 0
mov eax, 0x32310b5
add eax, 0xfd1ddfdb
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x4942
mov ebx, eax
mov edi, 0x41aa00
add edi, dword [ebp - 0x18]
mov edx, 0x8d95d237
add edx, 0xcbda7314
xor dword [ebp - 0xc], ebx
mov esi, dword [edi]
sub dword [ebp - 4], edi
xor esi, edx
sub dword [ebp - 0xc], edi
mov dword [ebx], esi
xor dword [ebp - 0x14], esi
add ebx, 0x715b91c5
sub ebx, 0x715b91c1
add edi, 0x5b4ebfbb
add edi, 0xa4b14049
loop 0x409005
add eax, 0x37ac3b2f
add eax, 0xc854dcac
mov ebx, eax
add eax, 0x11527220
add eax, 0xeead8de5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x5497e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x549805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x549878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x54983a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x54986d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x54986b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x549831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5497fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret