joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d340
Capabilities:
Delete directory
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov eax, dword [esi + 0x28]
push 0
push 0x3f0
push eax
mov dword [esi + 0x30], 0
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0xc36a
call fcn.0047edb0
mov ecx, dword [esi + 0x28]
mov ebp, dword [sym.imp.USER32.dll_SetDlgItemTextW]
add esp, 4
push eax
push 1
push ecx
call ebp
push 0xc367
call fcn.0047edb0
mov edx, dword [esi + 0x28]
add esp, 4
push eax
push 0x42e
push edx
call ebp
mov eax, dword [esi + 0x28]
push 5
push 1
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x28]
push 1
push 1
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
add esi, 0x62cd8
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40e160
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push esi
push edi
push str.360se_iecompat_filter
push 0
mov edi, ecx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
xor esi, esi
test ebx, ebx
mov dword [esp + 0xc], esi
jne 0x40e1f9
cmp word [edi], si
je 0x40e282
push esi
push 0x80
push 4
push esi
push esi
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e282
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0x14
jb 0x40e1d6
push str.360se_iecompat_filter
push esi
push 0
push 4
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 0x208], eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [edi + 0x208]
mov dword [edi + 0x20c], esi
test ebx, ebx
mov dword [esp + 0xc], 1
je 0x40e282
push ebp
push 0
push 0
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
je 0x40e272
push ebp
mov ecx, edi
call fcn.0040e7d0
test eax, eax
je 0x40e26b
test esi, esi
jne 0x40e22b
mov esi, dword [ebp + 4]
shl esi, 8
add esi, 0x14
cmp esi, dword [edi + 0x214]
jbe 0x40e24f
mov ecx, edi
call fcn.0040e130
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x210], eax
mov dword [edi + 0x214], esi
mov edi, dword [edi + 0x210]
test edi, edi
je 0x40e26b
mov ecx, esi
mov esi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x10]
pop ebp
test eax, eax
jne 0x40e282
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40e390
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebx
push ebp
push esi
mov esi, dword [esp + 0x150]
test esi, esi
push edi
mov ebx, ecx
je 0x40e55a
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea eax, [esp + 0x50]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40e55a
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x40e44d
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
lea edi, [eax + 0x14]
jbe 0x40e4a8
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x50]
push edx
push edi
call ebp
add esp, 8
test eax, eax
je 0x40e55a
mov eax, dword [ebx + 0x210]
add edi, 0x100
inc esi
cmp esi, dword [eax + 4]
jb 0x40e426
jmp 0x40e4a8
push 0x6414
mov dword [ebx + 0x214], 0x6414
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x210], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x210]
mov dword [eax], 0x133
mov ecx, dword [ebx + 0x210]
mov dword [ecx + 0x10], 0x233
mov edx, dword [ebx + 0x210]
mov dword [edx + 8], 0x14
mov eax, dword [ebx + 0x210]
mov ebp, dword [ebx + 0x214]
mov ecx, dword [eax + 4]
shl ecx, 8
add ecx, 0x114
cmp ebp, ecx
jae 0x40e50a
add ebp, 0x6400
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [ebx + 0x214]
mov esi, dword [ebx + 0x210]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.0040e130
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x214], ebp
mov dword [ebx + 0x210], eax
mov eax, dword [ebx + 0x210]
lea edx, [esp + 0x50]
mov esi, 0x100
mov ecx, dword [eax + 4]
shl ecx, 8
lea eax, [ecx + eax + 0x14]
sub edx, eax
lea ecx, [esi + 0x7ffffefe]
test ecx, ecx
je 0x40e53e
mov cl, byte [edx + eax]
test cl, cl
je 0x40e53e
mov byte [eax], cl
inc eax
dec esi
jne 0x40e525
jmp 0x40e542
test esi, esi
jne 0x40e543
dec eax
mov byte [eax], 0
mov eax, dword [ebx + 0x210]
mov ecx, dword [eax + 4]
inc ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040e290
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x140
ret 4
Function at 0x40e570
Capabilities:
Parse url

Disassembly:
sub esp, 0x13c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14c]
test esi, esi
push edi
mov ebx, ecx
je 0x40e66e
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x40e66e
mov eax, dword [ebx + 0x210]
test eax, eax
je 0x40e66e
mov ecx, dword [eax + 4]
xor edi, edi
test ecx, ecx
lea esi, [eax + 0x14]
jbe 0x40e66e
mov ebp, dword [sym.imp.MSVCRT.dll__stricmp]
lea edx, [esp + 0x4c]
push edx
push esi
call ebp
add esp, 8
test eax, eax
je 0x40e630
mov eax, dword [ebx + 0x210]
add esi, 0x100
inc edi
cmp edi, dword [eax + 4]
jb 0x40e602
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 4
mov edx, dword [ebx + 0x210]
lea eax, [edi + 1]
mov ecx, eax
mov edi, dword [edx + 4]
shl ecx, 0x18
sub ecx, eax
lea eax, [esi + 0x100]
add ecx, edi
shl ecx, 8
push ecx
push eax
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebx + 0x210]
add esp, 0xc
mov ecx, dword [eax + 4]
dec ecx
mov dword [eax + 4], ecx
mov ecx, ebx
call fcn.0040e290
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 4
Function at 0x40e680
Capabilities:
Parse url

Disassembly:
sub esp, 0x140
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [esp + 0x150]
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
lea eax, [esp + 0x4c]
push ecx
push 0x10000000
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x100
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x40e6f5
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
mov al, byte [esp + 0x4c]
xor edi, edi
test al, al
push ebp
mov dword [esp + 0x10], edi
je 0x40e7b7
lea edx, [esp + 0x50]
push 0x2e
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x40e735
pop ebp
mov dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
lea eax, [esp + 0x50]
push eax
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
je 0x40e75d
pop ebp
mov dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
mov eax, dword [ebx + 0x210]
cmp eax, edi
je 0x40e7b7
mov ecx, dword [eax + 4]
lea esi, [eax + 0x14]
cmp ecx, edi
jbe 0x40e7b7
mov ebp, dword [sym.imp.SHLWAPI.dll_PathMatchSpecA]
test esi, esi
je 0x40e78c
cmp byte [esi], 0
je 0x40e78c
lea ecx, [esp + 0x50]
push esi
push ecx
call ebp
test eax, eax
jne 0x40e7af
mov edx, dword [ebx + 0x210]
add esi, 0x100
inc edi
cmp edi, dword [edx + 4]
jb 0x40e777
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x140
ret 4

Function at 0x40e800
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5a18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d0de0
xor edi, edi
lea ecx, [esi + 0x74]
mov dword [esp + 0x18], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], 1
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
call fcn.00492170
mov al, byte [esp + 0xb]
lea edx, [esi + 0x3c]
mov byte [esi + 0x29b0], al
mov dword [esi + 0x29b4], edi
mov dword [esi + 0x29b8], edi
mov dword [esi + 0x29bc], edi
xor ecx, ecx
mov dword [esi], 0x4dacc8
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], 2
mov dword [edx], ecx
mov eax, esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x29ac], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x4c], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x40e960
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, ecx
push edi
mov ecx, dword [esp + 0x14]
push ebx
lea edx, [esi + 0x3c]
mov dword [esi + 0x29ac], eax
push edx
mov dword [esi + 0x24], ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [0x50b1dc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [esi + 0x6c]
mov ecx, 0x4600004c
test edi, edi
mov edx, 0x80
mov eax, 0xfffffffd
je 0x40e9bd
xor eax, eax
mov ecx, 0x84000000
test edi, edi
mov edx, 0x8000080
mov edi, 0x50b180
jne 0x40e9c1
mov edi, dword [esp + 0x1c]
push 0
push eax
push ebx
push ecx
push edi
push str.Container
push edx
mov ecx, esi
call fcn.004d0ed0
mov eax, dword [esi + 4]
test eax, eax
je 0x40ea09
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x40ea09
mov ecx, dword [esi + 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetParent]
test eax, eax
jne 0x40ea09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40ea09
push 1
push 0
push 9
mov ecx, esi
call fcn.0040fa40
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
ret 0x14

Function at 0x40ea20
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
ret
Function at 0x40fc50
Capabilities:
Log keystrokes

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 0x24]
test eax, eax
je 0x40fcbe
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x4c]
test eax, eax
je 0x40fcbe
mov eax, dword [ebx + 0x2c]
push ebp
push esi
lea ecx, [esp + 0xc]
push edi
push ecx
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
push 1
push esi
push edi
call ebp
test eax, eax
je 0x40fca2
push 0
push esi
push edi
call ebp
mov edx, dword [ebx + 4]
mov ecx, ebx
push edx
call fcn.0040fd70
pop edi
pop esi
test eax, eax
pop ebp
jne 0x40fcbe
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop ebx
pop ecx
ret

Function at 0x413f00
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.004137a0
cmp dword [esi + 0x5698], 2
jne 0x413f25
mov eax, dword [esi + 0x562c]
push 0
push eax
jmp 0x413fae
mov eax, dword [esi + 0x5634]
mov bl, byte [esp + 0x14]
test eax, eax
je 0x413f7a
push eax
push 0
push 0x1f03ff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x413f7a
mov ecx, dword [esi + 0x5628]
mov edx, dword [esi + 0x5624]
push 0
push ecx
push 0x5c24
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x50], 2
jbe 0x413f71
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413f7e
test bl, bl
je 0x413fb4
cmp dword [esi + 0x5698], 1
jne 0x413fa1
mov eax, dword [esi + 0x5630]
mov ecx, dword [esi + 0x568c]
push eax
push ecx
call fcn.00483ff0
mov ecx, eax
call fcn.00484430
test bl, bl
je 0x413fb4
mov edx, dword [esi + 0x562c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00413b30
pop edi
pop esi
pop ebx
ret 8
Function at 0x416ad0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x567c]
test eax, eax
je 0x416be2
push ebx
push ebp
push edi
mov edi, dword [esi + 0x5628]
xor ebx, ebx
test edi, edi
jne 0x416b03
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x416b01
call fcn.00416bf0
mov edi, eax
test edi, edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x416b15
mov ebx, 1
jmp 0x416b9d
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x416b27
mov ebx, 2
jmp 0x416b9d
push edi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
je 0x416b96
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x416b83
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x5618]
mov edx, dword [esi + 0x5610]
mov eax, dword [esp + 0x18]
sub ecx, edx
cmp eax, ecx
jne 0x416b7c
mov edx, dword [esi + 0x561c]
mov ecx, dword [esi + 0x5614]
mov eax, dword [esp + 0x1c]
sub edx, ecx
cmp eax, edx
jne 0x416b7c
mov ebx, 3
jmp 0x416b88
mov ebx, 4
jmp 0x416b88
mov ebx, 5
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x416b9d
call ebp
mov dword [esi + 0x44], eax
jmp 0x416b9d
mov dword [esi + 0x44], 0
cmp dword [esi + 0x50], ebx
je 0x416bd0
call ebp
sub eax, dword [esi + 0x44]
cmp eax, 0x3a98
jbe 0x416bd0
mov eax, dword [esi + 0x563c]
mov dword [esi + 0x50], ebx
test eax, eax
jne 0x416bd0
mov eax, dword [esi + 0x5624]
push esi
push 0x2c
push 0x3401
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x50]
pop edi
pop ebp
cmp eax, 2
pop ebx
ja 0x416be2
mov dword [esi + 0x40], 0
pop esi
add esp, 0x10
ret

Function at 0x417d40
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push 0x40
push eax
push 0x57356c
call fcn.00418080
push 0x40
push 0x4dad50
push 0x57356c
push 0x57356c
call fcn.00417fa0
mov al, byte [esp + 0x3c]
add esp, 0x1c
test al, al
jne 0x417dcb
mov ebx, dword [esp + 0x1c]
mov ebp, 0x10
mov eax, dword [0x4eff14]
mov ecx, 8
mov esi, eax
mov edi, 0x57354c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417ee0
mov ecx, dword [0x4eff10]
mov edx, dword [0x4eff14]
push 0x20
push ecx
push edx
call fcn.00417ff0
mov edi, dword [0x4eff10]
add esp, 0x14
mov ecx, 8
mov esi, 0x57354c
add ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x417d7f
jmp 0x417e24
mov eax, dword [esp + 0x1c]
mov ebp, 0x10
lea ebx, [eax + 0x2d0]
mov eax, dword [0x4eff10]
mov ecx, 8
mov esi, eax
mov edi, 0x57354c
push ebx
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00417ee0
mov ecx, dword [0x4eff14]
mov edx, dword [0x4eff10]
push 0x20
push ecx
push edx
call fcn.00417ff0
mov edi, dword [0x4eff14]
add esp, 0x14
mov ecx, 8
mov esi, 0x57354c
sub ebx, 0x30
dec ebp
rep movsd dword es:[edi], dword [esi]
jne 0x417dda
push 0x40
push 0x4dad90
push 0x57356c
push 0x57356c
call fcn.00417fa0
mov eax, dword [esp + 0x24]
push 0x40
push 0x57356c
push eax
call fcn.004180c0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x417e60
Capabilities:
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0x40
push eax
push 0x57350c
call fcn.00418080
push 0x38
push str.91__
push 0x57350c
push 0x57350c
call fcn.00417fa0
mov edi, dword [esp + 0x28]
add esp, 0x1c
xor esi, esi
movsx ecx, byte [esi + 0x4dae88]
mov edx, dword [0x4eff18]
push ecx
push 0x1c
push edx
call fcn.00418020
movsx eax, byte [esi + 0x4dae88]
mov ecx, dword [0x4eff1c]
push eax
push 0x1c
push ecx
call fcn.00418020
push 0x30
push 0x4dae58
push 0x57350c
push edi
call fcn.00417fa0
add esp, 0x28
inc esi
add edi, 0x30
cmp esi, 0x10
jl 0x417e92
pop edi
pop esi
ret

Function at 0x417ee0
Capabilities:
Encrypt data using des

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x30
push 0x4dadd0
push esi
push 0x5734dc
call fcn.00417fa0
mov eax, dword [esp + 0x1c]
push 0x30
push eax
push 0x5734dc
call fcn.00417ff0
push 0x5734dc
push esi
call fcn.00417f30
push 0x20
push 0x4dae00
push esi
push esi
call fcn.00417fa0
add esp, 0x34
pop esi
ret

Function at 0x417ff0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jle 0x418012
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 0x418004
pop ebx
pop esi
ret
Function at 0x418f90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5bde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d0de0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004c6560
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00451520
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 2
call fcn.00451520
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x528], edi
mov dword [esi + 0x520], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x4db0a0
mov eax, esi
pop edi
mov dword [ebx], 0x4db09c
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x418fa7
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5bde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d0de0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004c6560
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00451520
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x18], 2
call fcn.00451520
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x518], edi
mov dword [esi + 0x51c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x528], edi
mov dword [esi + 0x520], edi
mov dword [esi + 0x530], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x4db0a0
mov eax, esi
pop edi
mov dword [ebx], 0x4db09c
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x419050
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d5c2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x24]
mov dword [esi], 0x4db0a0
mov dword [edi], 0x4db09c
lea ecx, [esi + 0x2a4]
mov dword [esp + 0x18], 2
call fcn.00451610
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.00451610
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.004c6590
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004d0e20
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4193c0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edi
mov dword [esi + 0x28], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0x44
lea edx, [esp + 0x10]
push edi
push edx
push 0x44000000
push 0x50b180
push str.XWnd
push 0
mov ecx, esi
call fcn.004d0ed0
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0
push 0xc6
push ecx
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x39
call fcn.0047edb0
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExW]
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x30]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x518], eax
call fcn.004516b0
mov edx, dword [esi + 4]
push 0xc6
push edx
mov ecx, edi
call fcn.00451ba0
mov eax, dword [esi + 4]
push 0
push 0
push 0xc7
push eax
push 0x19
push 0x12c
push 0x190
push 0x1f4
push 0x50000300
push 0x3a
call fcn.0047edb0
add esp, 4
push eax
push str.Button
push 0
call ebx
lea edi, [esi + 0x2a4]
push 0
push 0x5aff
push 0xd0721f
mov ecx, edi
mov dword [esi + 0x51c], eax
call fcn.004516b0
push 0xc7
mov ecx, dword [esi + 4]
push ecx
mov ecx, edi
call fcn.00451ba0
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8

Function at 0x419570
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x419590
call fcn.004194f0
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4

Function at 0x4195c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
or eax, 0xffffffff
test esi, esi
jle 0x4195f0
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4f0010]
xor eax, edx
inc ecx
dec esi
jne 0x4195d1
pop ebx
not eax
pop esi
ret
Function at 0x41a760
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x20c
push esi
call fcn.0048edc0
test eax, eax
jne 0x41a7fd
push eax
push str._tp:
mov ecx, 0x50b190
call fcn.004094d0
push eax
call fcn.00441a80
add esp, 0xc
cmp eax, 2
je 0x41a7fd
mov ax, word [0x50b180]
push edi
mov word [esp + 0xc], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0xc]
push ecx
push 0x4ef6cc
push 2
push str._tp:
push str._s_d__s_d
push 0x103
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
lea eax, [esp + 0xc]
push 5
push 0
push eax
push 0x50b1f4
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
add esp, 0x20c
ret
mov esi, dword [esp + 0x214]
test esi, esi
je 0x41a826
push 1
push 0x4f0464
push 0x4ef39c
mov dword [0x5e9098], 1
call fcn.0040be40
add esp, 0xc
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.0041ba50
push esi
call fcn.0041a9d0
push esi
call fcn.0041adf0
push esi
call fcn.0041ab10
push esi
call fcn.0041b1b0
add esp, 0x10
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 0xa
push 2
push str.SOFTWAREClientsStartMenuInternet
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, dword [0x5e2768]
test eax, eax
je 0x41a8a3
test esi, esi
je 0x41a89e
call fcn.0048eec0
pop esi
add esp, 0x20c
ret
call fcn.0048eed0
pop esi
add esp, 0x20c
ret