joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52eca0
Capabilities:
Encode data using xor
Hash data using murmur3
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, 0x7b
push edi
test ebp, ebp
jl 0x52edb4
mov ebx, dword [esp + 0x18]
jg 0x52ecc3
test ebx, ebx
je 0x52edb4
mov edi, 0x10000
test ebp, ebp
ja 0x52ecd4
jb 0x52ecd2
cmp ebx, edi
jae 0x52ecd4
mov edi, ebx
mov eax, edi
cdq
push 0
sub ebx, eax
lea eax, [esp + 0x1c]
push eax
push edi
push 0x6d9378
push dword [esp + 0x24]
sbb ebp, edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x18], edi
jb 0x52edbd
mov eax, edi
cdq
and edx, 3
lea ecx, [edx + eax]
sar ecx, 2
lea edx, [ecx*4 + 0x6d9378]
neg ecx
je 0x52ed43
jmp 0x52ed20
imul eax, dword [edx + ecx*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
rol esi, 0xd
add esi, 0xfaddaf14
lea esi, [esi + esi*4]
add ecx, 1
jne 0x52ed20
mov eax, edi
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x52ed69
sub eax, 1
je 0x52ed60
sub eax, 1
jne 0x52ed7f
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, edi
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov esi, eax
shr esi, 0x10
xor esi, eax
test ebp, ebp
jg 0x52ecc3
jl 0x52edb4
test ebx, ebx
jne 0x52ecc3
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc

Function at 0x52edd0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x20]
mov esi, ecx
mov dword [edi], 0
mov dword [edi + 4], 0
mov eax, dword [esi + 0x170]
cmp eax, 0xffffffff
jne 0x52ee17
cmp dword [esp + 0x18], 0
jl 0x52ee0d
jg 0x52ee03
cmp dword [esp + 0x14], 0
jbe 0x52ee0d
pop edi
mov al, 1
pop esi
add esp, 8
ret 0x10
pop edi
xor al, al
pop esi
add esp, 8
ret 0x10
push ebx
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [edi], eax
mov dword [edi + 4], ecx
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], eax
cmp ebx, ecx
jl 0x52ee43
jg 0x52ee7c
cmp edi, eax
ja 0x52ee7c
push ebx
push edi
push dword [esi + 0x170]
call fcn.0052eca0
cmp dword [esp + 0x20], eax
je 0x52ee87
push 0
push 0
push 0
push dword [esi + 0x170]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x140], 0
mov dword [esi + 0x144], 0
pop ebx
pop edi
xor al, al
pop esi
add esp, 8
ret 0x10
mov dword [esi + 0x144], ebx
mov al, 1
pop ebx
mov dword [esi + 0x140], edi
pop edi
pop esi
add esp, 8
ret 0x10
Function at 0x534ae0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6175
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x20
push esi
push edi
mov edi, dword [ebx + 0xc]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00535250
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x534b69
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x534cb4
cmp dword [0x6d6368], 0xccccccc
je 0x534cc9
mov dword [ebp - 0x30], 0x6d6364
mov dword [ebp - 4], 0
push 0x14
mov dword [ebp - 0x2c], 0
call fcn.005838a8
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], esi
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], ecx
mov dword [ebp - 4], 1
mov ecx, dword [0x6d6368]
mov edi, dword [0x6d637c]
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
test eax, eax
jns 0x534bd3
fadd dword [0x5f47ac]
mov dword [ebp - 0x1c], edi
fild dword [ebp - 0x1c]
test edi, edi
jns 0x534be3
fadd dword [0x5f47ac]
fdivr st(1)
fld dword [0x6d6360]
fxch st(1)
fcompi st(1)
jbe 0x534c5b
fdivp st(1)
sub esp, 8
fstp qword [esp]
call fcn.005b21b0
fnstcw word [ebp - 0x12]
movzx eax, word [ebp - 0x12]
mov ecx, 8
or eax, 0xc00
add esp, 8
mov dword [ebp - 0x1c], eax
fldcw word [ebp - 0x1c]
fistp qword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp eax, ecx
cmova ecx, eax
fldcw word [ebp - 0x12]
cmp edi, ecx
jae 0x534c3b
cmp edi, 0x200
jae 0x534c39
shl edi, 3
cmp edi, ecx
jae 0x534c3b
mov edi, ecx
push edi
call fcn.00534e10
push dword [ebp - 0x18]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00535250
mov ecx, dword [0x6d6368]
mov edx, dword [eax]
jmp 0x534c62
mov edx, dword [ebp - 0x28]
fstp st(1)
fstp st(0)
mov edi, dword [edx + 4]
inc ecx
mov dword [0x6d6368], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x6d6378]
and eax, dword [ebp - 0x18]
mov ecx, dword [0x6d636c]
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x6d6364]
mov esi, dword [ebp - 0x20]
jne 0x534c97
mov dword [ecx + eax*8], esi
jmp 0x534ca7
cmp dword [ecx + eax*8], edx
jne 0x534ca1
mov dword [ecx + eax*8], esi
jmp 0x534cab
cmp dword [ecx + eax*8 + 4], edi
jne 0x534cab
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.00570d77
int3
Function at 0x534e10
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1fffffff
sub esp, 0xc
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x534f87
lea eax, [ecx - 1]
mov esi, dword [0x6d6364]
or eax, edi
mov dword [esp + 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x6d636c
lea eax, [edi + edi]
push eax
call fcn.00534fa0
mov eax, dword [0x6d6364]
lea ebx, [edi - 1]
mov dword [0x6d6378], ebx
mov dword [0x6d637c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x534f7e
mov edi, edi
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [0x6d636c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [esp + 0x10], edx
cmp ebx, esi
jne 0x534ed3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x534f47
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x534f11
mov edx, dword [edx]
mov dword [esp + 0x14], edx
cmp edx, eax
je 0x534f08
mov ebx, dword [eax + 4]
mov esi, dword [esp + 0x14]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [esp + 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov dword [edx + 4], eax
jmp 0x534f47
cmp ebx, edx
je 0x534f21
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x534f58
cmp ebx, edx
jne 0x534f15
mov ebx, dword [eax + 4]
mov dword [esp + 0x14], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov eax, ecx
cmp ecx, esi
je 0x534f7e
mov ebx, dword [0x6d6378]
jmp 0x534e80
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [esp + 0x14], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [esp + 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x534f47
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.00570d77
int3
Function at 0x53bd60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c682e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [ebp - 4], 2
push 0x6d2280
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [ebp - 0x14], 0x6d2280
call fcn.00571f54
add esp, 4
test eax, eax
jne 0x53be30
lea eax, [ebp + 8]
mov byte [ebp - 4], 3
push eax
call fcn.0046a700
push 0x6d2280
cmp dword [eax], 0xbdf
setg al
mov byte [esi + 0x10], al
call fcn.00571f79
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push eax
call fcn.00570e47
int3
Function at 0x53fe30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6ae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [ebp + 0x20]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x14]
push edi
mov edi, dword [ebp + 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, edi
mov dword [esi], vtable.BaseControl.0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
lea ebx, [eax + 1]
mov byte [ecx], 0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x53fe85
sub eax, ebx
push eax
push edi
call fcn.00449cf0
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
cmp byte [0x6d6a64], 0
mov eax, dword [ecx]
mov dword [esi + 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x34], eax
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x38], eax
jne 0x53fecc
mov byte [0x6d6a64], 1
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, dword [0x6ad1d4]
push 0
push dword [ebp + 0xc]
mov dword [esi + 0x10], ecx
push ecx
push dword [esi + 0xc]
lea eax, [ecx + 1]
push dword [esi + 0x38]
mov dword [0x6ad1d4], eax
push dword [esi + 0x34]
push dword [esi + 0x30]
push dword [esi + 0x2c]
push dword [ebp + 0x18]
push 0x5dd63c
push dword [ebp + 0x10]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 8], eax
call fcn.00531180
push edi
push dword [esi + 8]
mov ecx, eax
call fcn.00531280
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24

Function at 0x540270
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6afd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
movzx edx, byte [ebp + 0x18]
movzx eax, byte [ebp + 0x1c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
sub esp, 8
shl edx, 0xd
mov ebx, ecx
shl eax, 0xb
or edx, eax
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x28]
or edx, 0x50010082
push dword [ebp + 0x20]
push edx
push dword [ebp + 0x10]
push str.edit
push dword [ebp + 0xc]
push edi
call fcn.0053fe30
mov eax, dword [ebp + 0x2c]
lea esi, [ebx + 8]
mov dword [ebp - 4], 0
push 1
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp + 0x24]
push eax
push 0x30
push dword [esi]
mov dword [ebx], vtable.Edit.0
mov dword [ebx + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.00541630
push 0x540200
push 0xfffffffffffffffc
mov dword [eax], edi
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [0x6d21dc], eax
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x5403c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x204
lea eax, [esp + 4]
push esi
push eax
push 0x100
push 0xd
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x20c]
lea ecx, [esp + 8]
xor eax, eax
lea edx, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x540411
sub ecx, edx
lea eax, [esp + 8]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004496e0
mov eax, esi
pop esi
add esp, 0x204
ret 4
Function at 0x540530
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6b35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push esi
push edi
lea eax, [ebp - 0xe0]
push eax
push 0x40
push 0xd
push dword [ecx + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
lea edx, [ecx + 2]
mov word [ebp - 0x24], ax
jmp 0x540590
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x540590
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004496e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x5405d3
mov esi, 0xf
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x3c], al
jmp 0x540662
lea esi, [eax + eax*2]
push esi
call fcn.00583e4c
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.00585a40
add esp, 0xc
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x24]
push ecx
push esi
push edi
push eax
call fcn.00598766
add esp, 0x14
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
test eax, eax
je 0x540637
mov esi, 0xf
push edi
mov dword [ebp - 0x28], esi
call fcn.005838d8
jmp 0x54065f
mov ecx, edi
mov dword [ebp - 0x28], 0xf
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x540643
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x3c]
call fcn.00449cf0
push edi
call fcn.005838d8
mov esi, dword [ebp - 0x28]
add esp, 4
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x5406a0
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x540696
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x540772
push ecx
push edx
call fcn.00583877
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10], 7
lea edx, [ecx + 2]
mov word [ebp - 0x24], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5406d0
sub ecx, edx
lea eax, [ebp - 0xe0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.004496e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.004e9810
mov ecx, dword [ebp - 0x44]
mov edi, eax
cmp ecx, 8
jb 0x540733
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x540729
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x540777
push ecx
push edx
call fcn.00583877
add esp, 8
cmp esi, 0x10
jb 0x540760
mov ecx, dword [ebp - 0x3c]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x540756
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x540777
push esi
push ecx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00591c98
call fcn.00591c98
int3
Function at 0x56d3b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa8]
mov eax, 0x5e72b8
cmp edi, 0x10
mov dword [esp + 0x18], ecx
mov ecx, 0x5e72ac
mov dword [esp + 0x14], edx
cmovne eax, ecx
xor ebp, ebp
test edi, edi
jle 0x56d421
mov ebx, eax
movsx esi, word [edx + ebp*2]
mov ecx, esi
sar ecx, 8
lea eax, [ecx + ecx]
shl ecx, 8
movsx edx, word [eax + 0x5e73d0]
sub esi, ecx
movsx eax, word [eax + 0x5e73d2]
sub eax, edx
shl edx, 8
imul esi, eax
movzx eax, byte [ebx + ebp]
inc ebp
add esi, edx
mov edx, dword [esp + 0x14]
sar esi, 3
inc esi
sar esi, 1
mov dword [esp + eax*4 + 0x1c], esi
cmp ebp, edi
jl 0x56d3e1
mov ebp, edi
lea edx, [esp + 0x1c]
sar ebp, 1
lea ecx, [esp + 0x5c]
push ebp
mov dword [esp + 0x18], ebp
call fcn.0056d300
push ebp
lea edx, [esp + 0x28]
lea ecx, [esp + 0x88]
call fcn.0056d300
add esp, 8
xor esi, esi
test ebp, ebp
jle 0x56d48c
mov ebx, dword [esp + 0x14]
lea ebp, [esp + edi*4 + 0x18]
lea esp, [esp]
mov edx, dword [esp + esi*4 + 0x60]
lea ebp, [ebp - 4]
add edx, dword [esp + esi*4 + 0x5c]
mov ecx, dword [esp + esi*4 + 0x84]
sub ecx, dword [esp + esi*4 + 0x80]
lea eax, [ecx + edx]
sub ecx, edx
neg eax
mov dword [esp + esi*4 + 0x1c], eax
inc esi
mov dword [ebp + 4], ecx
cmp esi, ebx
jl 0x56d460
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], eax
xor esi, esi
xor ebp, ebp
test edi, edi
jle 0x56d4c2
lea esp, [esp]
mov eax, dword [esp + ebp*4 + 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, esi
mov edx, eax
mov eax, ebp
cmovle edx, esi
cmovle eax, ebx
inc ebp
mov ebx, eax
mov esi, edx
cmp ebp, edi
jl 0x56d4a0
mov eax, dword [esp + 0x10]
sar esi, 4
inc esi
sar esi, 1
cmp esi, 0x7fff
jle 0x56d512
mov edx, 0x27ffe
lea ecx, [ebx + 1]
cmp esi, edx
mov eax, 0x7fff
cmovl edx, esi
imul ecx, edx
sub eax, edx
shl eax, 0xe
cdq
sar ecx, 2
idiv ecx
mov edx, edi
lea ecx, [esp + 0x1c]
add eax, 0xffbe
push eax
call fcn.0056f480
mov eax, dword [esp + 0x14]
add esp, 4
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0xa
jl 0x56d494
mov ebx, dword [esp + 0x18]
cmp eax, 0xa
jne 0x56d55c
xor ecx, ecx
test edi, edi
jle 0x56d575
mov edx, 0xffff8000
mov eax, dword [esp + ecx*4 + 0x1c]
sar eax, 4
inc eax
sar eax, 1
cmp eax, 0x7fff
jle 0x56d53e
mov eax, 0x7fff
jmp 0x56d546
cmp eax, 0xffff8000
cmovl eax, edx
movzx eax, ax
mov word [ebx + ecx*2], ax
cwde
shl eax, 5
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
cmp ecx, edi
jl 0x56d526
jmp 0x56d575
xor ecx, ecx
test edi, edi
jle 0x56d575
mov eax, dword [esp + ecx*4 + 0x1c]
sar eax, 4
inc eax
sar eax, 1
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edi
jl 0x56d562
xor esi, esi
mov edx, edi
mov ecx, ebx
call fcn.0056e0f0
cmp eax, 0x1a36e
jge 0x56d5c9
mov ecx, esi
mov edx, 2
shl edx, cl
mov eax, 0x10000
sub eax, edx
lea ecx, [esp + 0x1c]
push eax
mov edx, edi
call fcn.0056f480
add esp, 4
xor eax, eax
test edi, edi
jle 0x56d5c3
lea esp, [esp]
mov ecx, dword [esp + eax*4 + 0x1c]
sar ecx, 4
inc ecx
sar ecx, 1
mov word [ebx + eax*2], cx
inc eax
cmp eax, edi
jl 0x56d5b0
inc esi
cmp esi, 0x10
jl 0x56d577
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret
Function at 0x5847c9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x584808
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x584808
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x584808
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x584808
cmp dword [ecx + 0x74], 0xe
jbe 0x584808
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x598355
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x598390
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x598377
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x598388
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x598392
inc edi
add eax, 0x28
cmp edi, esi
jb 0x59836d
xor eax, eax
pop edi
pop esi
ret

Function at 0x5983d4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add al, 3
inc esp
and al, 0xc
ret
jge 0x5983de
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.00598315
inc esp
repne stosb byte es:[edi], al
scasb al, byte es:[edi]
push esi
push ebx
call fcn.00598355
pop ecx
test eax, eax
pop ecx
je 0x5984a8
push edi
push esi
push ebx
call fcn.00598395
add esp, 0xc
call fcn.00598315
stc
pop edx
push esi
pop ds
mov esi, dword [esi + 0x78]
test esi, esi
je 0x5984a8
mov ebx, dword [esi + edi + 0x24]
add esi, edi
add ebx, edi
call fcn.00598315
mov ds, word [edi]
pop esp
jg 0x5983b4
inc esi
and byte [ebx], al
invalid
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x59874c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x5987b0
Function at 0x5989ed
Capabilities:
Inspect section memory permissions

Disassembly:
mov ebp, 0xffffff78
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x598a68
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x598a4f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x598a58
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x598a62
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x598a44
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x5989ce
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x598ab5
dec eax
je 0x598aac
sub eax, 3
je 0x598aa3
mov dword [ebp - 4], 0x40
jmp 0x598ad2
mov dword [ebp - 4], 4
jmp 0x598ab8
mov dword [ebp - 4], 0x20
jmp 0x598ab8
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x598b04
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x598a84
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00598315
sti
scasd eax, dword es:[edi]
mov ebx, 0x1475ff4e
push 1
push esi
call edi
mov eax, esi
jmp 0x598b10
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x598a03
Capabilities:
Inspect section memory permissions

Disassembly:
clc
add byte [eax], al
add byte [ebx + 0x448d2478], cl
or bh, bh

Function at 0x598a51
Capabilities:
Inspect section memory permissions

Disassembly:
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4