joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455aa8
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
jne 0x455acc
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x455c61
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x455adf
mov dword [ebp + 0xc], esi
jmp 0x455aef
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, 0x110
cdq
idiv ecx
mov dword [ebp + 0xc], eax
mov al, byte [0x45f128]
push 0x40
mov byte [ebp - 0x114], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004478dc
pop ecx
lea edi, [ebp - 0x114]
pop ecx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
and byte [ebp + ecx - 0x115], al
cmp dword [ebp + 0xc], esi
jbe 0x455c5d
push 0x20
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x455b53
xor eax, eax
jmp 0x455b60
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, 0x110
cdq
idiv ecx
imul eax, eax, 0x110
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
test esi, esi
mov dword [ebp - 0x10], esi
je 0x455c5d
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x455b85
xor eax, eax
jmp 0x455b92
mov eax, dword [ebx + 8]
sub eax, ecx
mov ecx, 0x110
cdq
idiv ecx
mov ecx, eax
xor eax, eax
imul ecx, ecx, 0x110
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0x40a868
push dword [ebp + 8]
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 8], eax
test eax, eax
pop ecx
je 0x455c56
mov eax, dword [ebp + 0xc]
lea edx, [esi + 4]
test eax, eax
mov dword [esi], eax
jbe 0x455c2b
and dword [ebp + 0xc], 0
mov dword [ebp - 4], eax
mov edi, dword [ebx + 4]
or ecx, 0xffffffff
add edi, dword [ebp + 0xc]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [edx], ecx
mov esi, dword [ebx + 4]
add esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
add edx, 4
mov eax, ecx
mov edi, edx
add edx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov ecx, dword [ebp + 0xc]
add dword [ebp + 0xc], 0x110
mov eax, dword [eax + ecx + 0x108]
mov dword [edx], eax
add edx, 4
dec dword [ebp - 4]
jne 0x455bda
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
sub edx, esi
push 1
pop edi
push edi
push edx
push esi
call dword [sym.imp.MSVCRT.dll_fwrite]
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
push 2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [ebp - 4], edi
push esi
call fcn.0045cf75
pop ecx
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x45618d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov al, byte [0x45f128]
push ebx
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x238], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x237]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x104
lea eax, [ebp - 0x33c]
push ebx
push eax
mov dword [ebp - 8], esi
call fcn.004478dc
mov eax, dword [ebp + 8]
pop ecx
mov dword [ebp - 0x2c], eax
pop ecx
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x12
push eax
push 0
push 0x110c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
lea edi, [ebp - 0x238]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x440]
and ecx, 3
push eax
push dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.0045574e
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x440]
push eax
push 0x40e048
lea eax, [ebp - 0x238]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push dword [ebp + 8]
push 3
push 0x110a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [ebp + 8], eax
jne 0x4561f4
lea edi, [ebp - 0x238]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [ebp - 4]
not ecx
dec ecx
and byte [ebp + ecx - 0x239], al
cmp esi, 3
je 0x456323
cmp esi, 7
je 0x456323
cmp esi, 4
je 0x4562e7
cmp esi, 9
je 0x4562e7
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x40ab98
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
and byte [ebp - 0x31], 0
mov edx, ecx
xor eax, eax
add esp, 0x14
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x45636d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x410af4
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
push dword [ebp + 0x10]
and byte [ebp - 0x31], 0
lea eax, [ebp - 0x134]
push dword [ebp + 0xc]
push eax
call fcn.00426fd5
add esp, 0x20
jmp 0x45636d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x410ae8
lea eax, [ebp - 0x134]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x134]
and byte [ebp - 0x31], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x45f128
push 0x40ab04
push 0x40aaf0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x456393
mov ebx, dword [ebp + 0x18]
lea eax, [ebp - 0x134]
push eax
push 0x40a158
push ebx
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
and byte [edi + ebx - 1], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x45639c
mov dword [eax], esi
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x4563f7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x954
mov ax, word [0x45faa4]
push ebx
push esi
mov ebx, ecx
push edi
mov word [ebp - 0x440], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x43e]
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x544]
push esi
push eax
mov dword [ebp - 4], ebx
call fcn.004478dc
lea eax, [ebp - 0x74c]
push esi
push eax
lea eax, [ebp - 0x544]
push eax
call fcn.00424a6a
mov eax, dword [ebp + 8]
add esp, 0x14
mov dword [ebp - 0x2c], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x12
push eax
push 0
push 0x110c
push dword [ebx + 4]
call edi
mov eax, dword [ebp - 0x18]
mov ebx, dword [sym.imp.MSVCRT.dll__snwprintf]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
pop ecx
lea eax, [ebp - 0x954]
pop ecx
mov ecx, dword [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call fcn.00455785
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x954]
push eax
push 0x410b28
lea eax, [ebp - 0x440]
push esi
push eax
call ebx
mov eax, dword [ebp - 4]
add esp, 0x14
push dword [ebp + 8]
push 3
push 0x110a
push dword [eax + 4]
call edi
test eax, eax
mov dword [ebp + 8], eax
jne 0x45647e
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
xor edi, edi
pop ecx
mov word [ebp + eax*2 - 0x442], di
mov eax, dword [ebp - 8]
cmp eax, 3
je 0x456587
cmp eax, 7
je 0x456587
cmp eax, 4
je 0x45654f
cmp eax, 9
je 0x45654f
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x74c]
push eax
push 0x40aba4
lea eax, [ebp - 0x238]
push esi
push eax
call ebx
mov ecx, dword [ebp + 0x10]
mov word [ebp - 0x32], di
mov edi, dword [ebp + 0xc]
mov edx, ecx
xor eax, eax
add esp, 0x14
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4565cd
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x74c]
push eax
push 0x410b14
lea eax, [ebp - 0x238]
push esi
push eax
call ebx
push dword [ebp + 0x10]
lea eax, [ebp - 0x238]
mov word [ebp - 0x32], di
push dword [ebp + 0xc]
push eax
call fcn.004270a5
add esp, 0x20
jmp 0x4565cd
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x74c]
push eax
push 0x410b00
lea eax, [ebp - 0x238]
push esi
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x238]
mov word [ebp - 0x32], di
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x45faa4
push 0x40aae8
push 0x40aac4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4565f0
mov edi, dword [ebp + 0x18]
lea eax, [ebp - 0x238]
push eax
push 0x40a3e8
push edi
push esi
call ebx
add esp, 0x10
and word [esi + edi*2 - 2], 0
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4565ff
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
push 1
pop eax
leave
ret 0x18
Function at 0x456b5d
Capabilities:
Enumerate browser history

Disassembly:
call fcn.004463bd
jmp fcn.00445e97

Function at 0x456be6
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
lea eax, [ebp - 0x18]
push edi
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, ecx
push eax
call edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 6
push eax
push 0
push 0x1111
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esi + 8], eax
je 0x456d81
push eax
mov ecx, esi
call fcn.004557bc
mov ebx, eax
cmp ebx, 3
je 0x456c73
cmp ebx, 4
je 0x456c73
cmp ebx, 7
je 0x456c73
cmp ebx, 9
je 0x456c73
cmp ebx, 8
je 0x456c64
cmp ebx, 2
je 0x456c64
cmp ebx, 6
jne 0x456d81
xor eax, eax
cmp dword [ebp + 8], eax
setne al
add eax, 0xa0
jmp 0x456c82
cmp dword [ebp + 8], 0
mov eax, 0x9f
jne 0x456d81
push eax
push dword [0x532da0]
call dword [sym.imp.USER32.dll_LoadMenuA]
push 0
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
call edi
test ebx, ebx
je 0x456cb8
push 3
push 0x802d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [ebp + 8], 0
jne 0x456d54
mov al, byte [0x45f128]
push 0x40
mov byte [ebp - 0x14c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x14b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp ebx, 3
mov eax, 0xc41
je 0x456cf1
cmp ebx, 4
je 0x456cf1
cmp ebx, 2
jne 0x456cf6
mov eax, 0xc40
lea ecx, [ebp - 0x14c]
push 0x104
push ecx
push eax
push dword [0x532da0]
call dword [sym.imp.USER32.dll_LoadStringA]
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x14c]
lea edi, [ebp - 0x14c]
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp - 0x48], 0x30
repne scasb al, byte es:[edi]
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], 0x40
push eax
push 1
not ecx
push 2
dec ecx
push dword [ebp - 4]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.USER32.dll_SetMenuItemInfoA]
push dword [ebp - 4]
mov ecx, 0x461560
call fcn.00432434
xor eax, eax
push eax
push dword [esi + 0xc]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45817a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov dl, byte [0x45f128]
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x20f]
mov byte [ebp - 0x210], dl
mov esi, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.004478dc
pop ecx
lea eax, [ebp - 0x210]
pop ecx
push esi
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
or ebx, 0xffffffff
lea edi, [ebp - 0x210]
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 0x410a3c
sub esi, ecx
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jbe 0x458244
mov edi, edx
mov ecx, ebx
repne scasb al, byte es:[edi]
lea esi, [ebp - 0x210]
not ecx
mov eax, esi
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, eax
mov ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x210]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor edi, edi
cmp dword [0x532de8], edi
je 0x458265
mov ecx, dword [ebp - 4]
push 1
push edi
push edi
lea eax, [ebp - 0x10c]
push edi
push eax
push edi
call fcn.00457596
jmp 0x4582b7
lea eax, [ebp - 0x10c]
test eax, eax
jne 0x458273
xor ebx, ebx
jmp 0x4582a8
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.0045cf90
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x10c]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 4]
push 1
push edi
push edi
push edi
push ebx
push edi
call fcn.00457ad3
lea esp, [ebp - 0x21c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4584e9
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
stosw word es:[edi], ax
xor eax, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 1
push eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x10], 0x454
mov dword [ebp - 6], 0x45f128
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
pop edi
inc eax
leave
ret 8
Function at 0x45b6a8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe60
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x3e8
mov ebx, ecx
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x18]
push eax
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
xor esi, esi
sub eax, dword [ebp - 0x14]
push esi
push dword [0x532da0]
push 0x7000
push edi
push eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 0x52010a44
push esi
push 0x40a9cc
push 0x60010
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
cmp edi, esi
mov dword [ebp - 0x1c], edi
jne 0x45b72d
xor eax, eax
jmp 0x45b878
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push dword [0x474d44]
push 0x30
push edi
call esi
push 0
push 0xfffffffffffffffc
push 4
push edi
call fcn.00448a21
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
movzx eax, ax
mov ecx, eax
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x43b
push edi
call esi
push 0
push 0x14
push 0x41e
push edi
call esi
push dword [ebx + 0xe0]
push 0
push 0x430
push edi
call esi
push 0xc0002
push 0
push 0x457
push edi
call esi
push 0
push 0
push 0x420
push edi
call esi
mov eax, 0xffffff
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x2002
push edi
call esi
and dword [ebp - 8], 0
cmp dword [ebx + 0xa8], 0
jle 0x45b846
lea eax, [ebp - 0xe60]
lea edi, [ebp - 0x11c]
mov dword [ebp + 8], eax
lea eax, [ebx + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push 0x104
push dword [ebp + 8]
mov dword [edi - 0x10], eax
mov eax, dword [ebp - 4]
push dword [eax]
push dword [0x532da0]
call dword [sym.imp.USER32.dll_LoadStringA]
mov eax, dword [ebp + 8]
add dword [ebp - 4], 4
mov dword [edi], eax
mov eax, dword [ebp - 8]
add dword [ebp + 8], 0x104
add edi, 0x14
lea ecx, [eax + 0x7000]
mov dword [edi - 0x20], ecx
mov byte [edi - 0x1c], 4
mov byte [edi - 0x1b], 0x40
and dword [edi - 0x18], 0
inc eax
cmp eax, dword [ebx + 0xa8]
mov dword [ebp - 8], eax
jl 0x45b7ed
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x12c]
push eax
push dword [ebx + 0xa8]
push 0x414
push edi
call esi
push 0
push 0
push 0x421
push edi
call esi
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebx + 0xe8], edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45b8a6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [esi + edi*4 + 0x74]
test eax, eax
je 0x45b8ca
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45b955
push ebx
push 0x3e9
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xe4]
call ebx
lea eax, [ebp - 8]
push eax
push dword [esi + 0xe4]
call ebx
movzx eax, word [esi + edi*4 + 0x40]
push esi
push dword [esi + edi*4 + 0xac]
push dword [esi + 0xe4]
push eax
push dword [0x532da0]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
sub edx, ecx
sub edx, 4
push 4
push edx
mov edx, dword [ebp - 0x10]
sub ebx, edx
add ecx, 2
sub ebx, 4
add edx, 2
push ebx
push ecx
push edx
push 0
push eax
mov dword [esi + edi*4 + 0x74], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop ebx
mov eax, dword [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [esi + edi*4 + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0xc]
lea eax, [edi + 0x7000]
push eax
push 0x402
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 0xc], 0
je 0x45b999
mov dword [esi + 0xec], edi
mov dword [0x4736a4], edi
jmp 0x45b9a0
or dword [esi + 0xec], 0xffffffff
pop edi
pop esi
leave
ret 8

Function at 0x45bc10
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x537678
call fcn.0045bf50
push 0x40
push 0x4031c8
push 0x537678
push 0x537678
call fcn.0045be70
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x45bc9b
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x410c98]
mov ecx, 8
mov esi, eax
mov edi, 0x5376b8
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0045bdb0
mov ecx, dword [0x410c94]
mov edx, dword [0x410c98]
push 0x20
push ecx
push edx
call fcn.0045bec0
mov edi, dword [0x410c94]
add esp, 0x14
mov ecx, 8
mov esi, 0x5376b8
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x45bc4f
jmp 0x45bcf4
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x410c94]
mov ecx, 8
mov esi, eax
mov edi, 0x5376b8
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0045bdb0
mov ecx, dword [0x410c98]
mov edx, dword [0x410c94]
push 0x20
push ecx
push edx
call fcn.0045bec0
mov edi, dword [0x410c98]
add esp, 0x14
mov ecx, 8
mov esi, 0x5376b8
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x45bcaa
push 0x40
push 0x403208
push 0x537678
push 0x537678
call fcn.0045be70
mov eax, dword [esp + 0x24]
push 0x40
push 0x537678
push eax
call fcn.0045bf90
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x45bd30
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x537728
call fcn.0045bf50
push 0x38
push str.91__
push 0x537728
push 0x537728
call fcn.0045be70
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x403300]
mov edx, dword [0x410c9c]
push ecx
push 0x1c
push edx
call fcn.0045bef0
movsx eax, byte [esi + 0x403300]
mov ecx, dword [0x410ca0]
push eax
push 0x1c
push ecx
call fcn.0045bef0
push 0x30
push 0x4032d0
push 0x537728
push edi
call fcn.0045be70
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x45bd62
pop edi
pop esi
ret

Function at 0x45bdb0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x403248
push esi
push 0x5376d8
call fcn.0045be70
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x5376d8
call fcn.0045bec0
push 0x5376d8
push esi
call fcn.0045be00
push 0x20
push 0x403278
push esi
push esi
call fcn.0045be70
add esp, 0x34
pop esi
ret

Function at 0x45bec0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x45bee2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
sub ecx, eax
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x45bed4
pop ebx
pop esi
ret

Function at 0x45c05f
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.0045c095
test eax, eax
je 0x45c076
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x2b73700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02b7378f
jae 0x2b7370e
xor ecx, ecx
call fcn.02b7378f
jae 0x2b7373d
xor eax, eax
call fcn.02b7378f
jae 0x2b7374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02b7378f
adc al, al
jae 0x2b7372f
jne 0x2b73779
stosb byte es:[edi], al
jmp 0x2b73711
call fcn.02b7379b
sub ecx, ebx
jne 0x2b73756
call fcn.02b73799
jmp 0x2b73775
lodsb al, byte [esi]
shr eax, 1
je 0x2b73783
adc ecx, ecx
jmp 0x2b73772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02b73799
cmp eax, 0x7d00
jae 0x2b73772
cmp ah, 5
jae 0x2b73773
cmp eax, 0x7f
ja 0x2b73774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2b73711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x105aa
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 0x40
push ebx
push esi
push edi
jb 0x1069d
mov edi, dword [ebp + 8]
cmp word [edi], 0x5a4d
jne 0x1069d
mov eax, dword [edi + 0x3c]
lea ecx, [eax + 0xf8]
cmp dword [ebp + 0xc], ecx
jb 0x1069d
add eax, edi
cmp dword [eax], 0x4550
jne 0x1069d
mov esi, dword [eax + 0x80]
test esi, esi
je 0x1069d
cmp dword [eax + 0x84], 0
je 0x1069d
add esi, edi
jmp 0x10693
mov eax, dword [esi + 0xc]
add eax, edi
cmp dword [ebp + 0x14], 0
je 0x10629
push dword [ebp + 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe__stricmp]
test eax, eax
pop ecx
pop ecx
jne 0x10690
mov ecx, dword [esi]
add ecx, edi
mov dword [ebp - 8], 1
jmp 0x1068a
cmp eax, edi
jbe 0x10648
mov edx, dword [ebp + 0xc]
add edx, edi
cmp eax, edx
jae 0x10648
add eax, 2
jmp 0x1064c
lea eax, [eax + edi + 2]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
mov dl, byte [eax]
mov ebx, dword [ebp - 4]
mov byte [ebp + 0xb], dl
cmp dl, byte [ebx]
jne 0x1067b
test dl, dl
je 0x10677
mov dl, byte [eax + 1]
mov byte [ebp + 0xb], dl
cmp dl, byte [ebx + 1]
jne 0x1067b
add dword [ebp - 4], 2
inc eax
inc eax
test dl, dl
jne 0x10652
xor eax, eax
jmp 0x10680
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x106a6
inc dword [ebp - 8]
add ecx, 4
mov eax, dword [ecx]
test eax, eax
jne 0x10636
add esi, 0x14
cmp dword [esi + 0x10], 0
jne 0x1060e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x18]
test edx, edx
lea eax, [eax + ecx*4]
lea esi, [eax + edi - 4]
mov edi, dword [esi]
je 0x106d4
call fcn.00010486
mov ecx, esi
call dword [sym.imp.ntoskrnl.exe_InterlockedExchange]
sti
push eax
mov eax, dword [0x1a6c0]
mov cr0, eax
pop eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], esi
mov eax, edi
jmp 0x1069f