joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c43c8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4c43df
add esp, 0xfffffff0
call fcn.00405c10
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00440370
mov eax, dword [0x5086b8]
cmp byte [eax], 0
jne 0x4c440c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x508998]
cmp word [eax + 2], 0
jne 0x4c4426
mov eax, dword [0x508998]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c64c0
mov eax, dword [0x508ab8]
cmp word [eax + 2], 0
jne 0x4c4440
mov eax, dword [0x508ab8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c66d0
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44ad3c]
call fcn.00451010
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4c6c80
mov dl, 1
mov eax, dword [0x4296ec]
call fcn.004056ac
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4296ec]
call fcn.004056ac
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x44f1d4]
call fcn.0045a4e8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4c4620
mov eax, dword [0x508854]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045a97c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4c6f68
mov dl, 1
mov eax, dword [0x4296ec]
call fcn.004056ac
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x508854]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00414228
test eax, eax
je 0x4c4551
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041400c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041420c
test eax, eax
je 0x4c4569
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040762c
push ebx
push 0x4c5e90
call fcn.004ba0d8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x5086b8]
cmp byte [eax], 0
jne 0x4c45ba
mov eax, ebx
call fcn.004c4794
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004c7194
mov eax, ebx
call fcn.004c7dc8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c4617
call fcn.00405c68
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c4a68
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4c4b0a
cmp dword [ebx + 0x94], 0
jne 0x4c4b04
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4c49b4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4c4b04
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4c4aca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4c4b04
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004345f8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4c4ad9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4c4d28
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x50e2bc]
cmp dword [eax + 0x170], 0
je 0x4c4e8d
test bl, bl
jne 0x4c4ddb
cmp dword [esi + 0x9c], 0
jne 0x4c4dd0
mov eax, esi
call fcn.004c7c18
push eax
push 0x4c4c34
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4c4da1
mov eax, dword [0x50e2bc]
cmp byte [eax + 0xd3], 0
je 0x4c4da1
mov eax, dword [esi + 0xd8]
call fcn.00408c80
mov edi, eax
cmp edi, 0
jl 0x4c4da1
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c4d8a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c4dd0
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004345f8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c4db0
inc dword [esi + 0x9c]
jmp 0x4c4e8d
cmp dword [esi + 0x9c], 0
jle 0x4c4e8d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4c4e8d
cmp dword [esi + 0x44], 0
je 0x4c4e38
mov eax, dword [0x50e2bc]
cmp byte [eax + 0xd3], 0
je 0x4c4e38
mov eax, dword [esi + 0xd8]
call fcn.00408c80
mov edi, eax
cmp edi, 0
jl 0x4c4e38
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c4e21
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c4e67
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004345f8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c4e47
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4b7fb0]
call fcn.00408e40
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4c5adc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4c5b47
cmp byte [ebx + 0xd3], 0
jne 0x4c5b47
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407568
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4c5b34
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4c5b54
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040742c
jmp 0x4c5b54
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040742c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c737c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c73ea
mov eax, esi
call fcn.0049f3d0
test al, al
je 0x4c73ea
mov eax, dword [ebx + 0x84]
call fcn.0049f024
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c73ea
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c73de
push 0
mov eax, dword [ebx + 0x84]
call fcn.0049f024
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00495ff8
jmp 0x4c73ea
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c71b4
pop esi
pop ebx
ret

Function at 0x4cbf70
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x50e2ec
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4cbf92
shr eax, 1
xor eax, 0xedb88320
jmp 0x4cbf94
shr eax, 1
dec edx
jne 0x4cbf80
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4cbf79
mov byte [0x50e6ec], 1
pop esi
pop ebx
ret

Function at 0x4cbfb0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x50e6ec], 0
jne 0x4cbfc7
call fcn.004cbf70
mov eax, edi
dec eax
test eax, eax
jl 0x4cbfef
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x50e2ec]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4cbfd1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4ced98
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x4cee32.0
jmp dword [ecx*4 + 0x4cedcb]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4cedfd
sub dl, 8
je 0x4cee0c
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4cea40
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4cea98
jmp case.0x4cee32.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x4cee32.0
movzx ecx, byte [ecx + 0x4cee39]
jmp dword [ecx*4 + 0x4cee4a]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4ceb44
jmp case.0x4cee32.0
cmp dl, 3
jne 0x4cee77
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4ceb9c
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4ceb58
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4cebe0
jmp case.0x4cee32.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4ceea2
sub dl, 8
je 0x4ceeae
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4cec0c
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4cec78
jmp case.0x4cee32.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x4ceecd
sub dl, 8
je 0x4ceed9
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4ced34
jmp case.0x4cee32.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x4ced5c
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x4cef7b
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004cdf44
test eax, eax
je 0x4cef7b
mov eax, ebx
call fcn.004cef84
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x4cef14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cef84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x4cefb5
dec al
je 0x4ceff0
dec al
je 0x4cf035
dec al
je 0x4cf09e
jmp 0x4cf128
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4cf128
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cefc5
jmp 0x4cf128
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cf128
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4cf000
jmp 0x4cf128
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cf128
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4cf064
xor ebp, ebp
jmp 0x4cf074
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4cf07d
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cf045
jmp 0x4cf128
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4cf128
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4cf0f7
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004cbff8
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4cf0b2
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e06e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4e0712
mov eax, ebx
call fcn.004e1198
cmp dword [ebx + 0x40], 0
je 0x4e070b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4e0783
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4e0775
cmp dword [ebx + 8], 0
je 0x4e0734
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4e0746
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e0775
cmp dword [ebx + 8], 0
je 0x4e0727
cmp eax, 3
je 0x4e0759
dec eax
jne 0x4e0727
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4e0727
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4e0727
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4e07a1
cmp dword [ebx + 0x14], 0xcc
je 0x4e07a1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004e07ac
pop ebx
ret
Function at 0x21101380
Capabilities:
Resume thread
Suspend thread

Disassembly:
push esi
call sym.mss32.dll__AIL_ms_count_0
mov esi, eax
mov eax, dword [0x21156658]
test eax, eax
mov dword [0x2115943c], eax
je 0x211013ab
mov eax, dword [0x21156604]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x211014b3
push edi
lock inc dword [0x21159320]
mov edi, dword [0x21159314]
test edi, edi
je 0x21101495
mov eax, dword [0x21159318]
test eax, eax
jg 0x21101495
cmp dword [0x21159320], 1
jne 0x21101495
push ebx
lock inc dword [0x21159308]
mov ecx, dword [0x2115931c]
test ecx, ecx
jne 0x211013f5
mov ebx, dword [0x2115660c]
jmp 0x21101418
mov eax, esi
sub eax, ecx
cmp eax, dword [0x21159324]
jbe 0x21101406
mov dword [0x21159324], eax
cmp eax, 0x64
jbe 0x21101410
mov eax, 0x64
imul eax, eax, 0x3e8
mov ebx, eax
mov eax, dword [0x21156608]
xor edx, edx
test eax, eax
mov dword [0x2115931c], esi
mov dword [0x21159438], edx
jle 0x2110148d
nop
mov ecx, edx
imul ecx, ecx, 0x1c
lea eax, [ecx + edi]
cmp dword [eax], 2
jne 0x2110147d
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov esi, ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
cmp esi, ecx
jl 0x2110147d
mov edi, edi
sub dword [eax + 0xc], ecx
mov edx, dword [eax + 8]
push edx
call dword [eax + 4]
mov edx, dword [0x21159438]
mov edi, dword [0x21159314]
mov eax, edx
imul eax, eax, 0x1c
mov ecx, dword [eax + edi]
add eax, edi
cmp ecx, 2
jne 0x2110147d
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0xc], ecx
jge 0x21101450
mov eax, dword [0x21156608]
inc edx
cmp edx, eax
mov dword [0x21159438], edx
jl 0x21101430
lock dec dword [0x21159308]
pop ebx
lock dec dword [0x21159320]
mov eax, dword [0x2115943c]
test eax, eax
pop edi
je 0x211014b3
mov ecx, dword [0x21156604]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret 0x14

Function at 0x21101830
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [0x211566c0]
test eax, eax
je 0x2110186b
mov eax, dword [0x211592a0]
test eax, eax
jne 0x21101862
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea esp, [esp]
push 0
push 0
push 0
call esi
test eax, eax
mov dword [0x211592a0], eax
je 0x21101850
pop esi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x21101890
Capabilities:
Create thread

Disassembly:
push ecx
mov ecx, dword [0x21159314]
test ecx, ecx
jne 0x2110193a
mov eax, dword [0x21156644]
mov dword [0x21156608], eax
imul eax, eax, 0x1c
push eax
call sym.mss32.dll__AIL_mem_alloc_lock_4
test eax, eax
mov dword [0x21159314], eax
je 0x21101969
mov edx, dword [0x21156608]
xor ecx, ecx
test edx, edx
mov dword [esp], ecx
jle 0x211018e7
nop
imul ecx, ecx, 0x1c
mov dword [ecx + eax], 0
mov ecx, dword [esp]
inc ecx
cmp ecx, edx
mov dword [esp], ecx
jl 0x211018d0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x211564f8], eax
lea eax, [esp]
push eax
push 0
push 0
push 0x211014c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esp]
push str.MSS_Timer
mov dword [0x21159328], eax
call fcn.21101000
mov ecx, dword [0x21159328]
push 0xf
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [0x21159314]
mov edx, dword [0x21156608]
xor eax, eax
test edx, edx
mov dword [esp], eax
jle 0x21101965
push esi
jmp 0x21101950
mov esi, eax
imul esi, esi, 0x1c
cmp dword [esi + ecx], 0
je 0x21101964
inc eax
cmp eax, edx
mov dword [esp + 4], eax
jl 0x21101950
pop esi
cmp eax, edx
jne 0x21101970
or eax, 0xffffffff
pop ecx
ret 4
imul eax, eax, 0x1c
mov dword [eax + ecx], 1
mov edx, dword [esp]
mov eax, dword [esp + 8]
imul edx, edx, 0x1c
mov dword [edx + ecx + 4], eax
mov edx, dword [esp]
imul edx, edx, 0x1c
mov dword [edx + ecx + 0x10], 0x2710
mov eax, dword [esp]
imul eax, eax, 0x1c
mov dword [eax + ecx + 0xc], 0
mov eax, dword [esp]
pop ecx
ret 4

Function at 0x21101ab0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
push 0x10f
push 0x21156500
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x21156500
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x21101ad0
sub eax, edx
je 0x21101af3
jmp 0x21101ae0
mov cl, byte [eax + 0x21156500]
cmp cl, 0x5c
je 0x21101af3
cmp cl, 0x3a
je 0x21101af3
dec eax
jne 0x21101ae0
push ebx
push esi
push edi
push 0x10f
lea ecx, [esp + 0x10]
push ecx
mov byte [eax + 0x21156500], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x10f
xor esi, esi
jmp 0x21101b20
movsx edx, byte [esi + 0x21156500]
push edx
call fcn.21130554
mov bl, al
movsx eax, byte [esp + esi + 0x10]
push eax
call fcn.21130554
add esp, 8
cmp bl, al
jl 0x21101b4d
jg 0x21101b4d
test bl, bl
je 0x21101b9b
inc esi
dec edi
jne 0x21101b20
jmp 0x21101b9b
push 0x10f
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x10f
xor esi, esi
jmp 0x21101b70
movsx edx, byte [esi + 0x21156500]
push edx
call fcn.21130554
mov bl, al
movsx eax, byte [esp + esi + 0x10]
push eax
call fcn.21130554
add esp, 8
cmp bl, al
jl 0x21101bbb
jg 0x21101bbb
test bl, bl
je 0x21101b9b
inc esi
dec edi
jne 0x21101b70
push 0x10
push str.Miles_Error
push str.The_MSS_DLL_file_is_installed_in_the_Windows_or_Windows_system_directory___it_must_be_installed_in_the_application_directory.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x110
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x110
ret
Function at 0x21103620
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x24c
mov eax, dword [esp + 0x250]
push ebx
push ebp
push esi
lea ebx, [esp + 0x10]
push edi
mov dword [esp + 0x10], 0
sub ebx, eax
nop
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x21103640
mov eax, dword [esp + 0x264]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x21103653
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x21103661
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x11c]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebp, eax
test ebp, ebp
je 0x21103714
cmp ebp, 0xffffffff
je 0x21103714
jmp 0x211036a0
mov eax, dword [esp + 0x260]
mov cl, byte [eax]
mov byte [ebx + eax], cl
inc eax
test cl, cl
jne 0x211036a7
lea eax, [esp + 0x148]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x211036c0
lea edi, [esp + 0x14]
sub eax, edx
dec edi
mov edi, edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x211036d0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
call sym.mss32.dll_RIB_load_provider_library
test eax, eax
je 0x211036fa
inc dword [esp + 0x10]
lea eax, [esp + 0x11c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x211036a0
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x2110a640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
test edi, edi
mov esi, ecx
mov ecx, ebp
je 0x2110a664
mov al, byte [esi]
xor edx, edx
xor al, 0x80
mov dh, al
add ecx, 2
inc esi
dec edi
mov word [ecx - 2], dx
jne 0x2110a651
pop edi
pop esi
mov eax, ebp
pop ebp
ret