joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440576
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x5c
mov eax, 0x58096d
call fcn.004f495a
mov ebx, ecx
lea ecx, [ebp - 0x5c]
call fcn.0041c4d0
and dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x5b2cec
call fcn.0040ba80
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.00422400
mov byte [ebp - 4], 0
call fcn.0041b9e0
add esp, 0x30
lea ecx, [ebx + 0x34]
push 0x5c26b0
call fcn.0053192b
mov dword [ebx + 0x470], eax
cmp dword [0x60d064], 0
mov dword [0x60c884], eax
je 0x440648
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov ecx, 0x60d054
call fcn.00434a60
test al, al
je 0x44063c
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x28]
call fcn.004300b0
mov esi, 0x60c5a4
mov byte [ebp - 4], 3
push eax
mov ecx, esi
call fcn.00422380
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040ba40
mov ecx, esi
call fcn.0041f2a0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0040bb00
mov ecx, ebx
call fcn.00441075
test al, al
je 0x440752
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
and dword [ebp - 0x60], 0
mov dword [ebp - 0x64], eax
mov ecx, dword [ebx + 0x470]
call fcn.005373c3
lea edx, [ebp - 0x60]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 6
pop ecx
xor edx, edx
lea edi, [ebp - 0x28]
push 1
push edx
xor eax, eax
mov dword [ebp - 0x2c], edx
push edx
rep stosd dword es:[edi], eax
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4406fb
lea eax, [ebp - 0x2c]
push eax
call fcn.00536820
pop ecx
test al, al
jne 0x4406bf
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x440703
push 5
push 0x5b7c40
lea ecx, [ebp - 0x44]
call fcn.004313b0
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x4406e0
mov eax, dword [eax]
xor edx, edx
mov ecx, eax
call fcn.0040ae40
lea ecx, [ebp - 0x44]
call fcn.0040bb00
xor eax, eax
inc eax
mov byte [0x60c88a], al
jmp 0x44072c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, dword [ebp - 0x64]
cmp eax, 0x497c8
jae 0x440727
cmp word [ebp - 0x60], 0
jne 0x440666
cmp byte [ebx + 0x46c], 0
je 0x440666
mov al, byte [0x60c88a]
test al, al
jne 0x440752
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x7d0
push 0x6c
push dword [ebx + 4]
call esi
push 0
push 0x3e8
push 0x69
push dword [ebx + 4]
call esi
lea ecx, [ebp - 0x5c]
call fcn.0040ba40
call fcn.004f4915
ret
Function at 0x4424e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push edi
mov ebx, 0x200
push ebx
push 0
push eax
call fcn.005065b0
add esp, 0xc
lea eax, [ebp - 0x204]
mov edi, 0x100
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
push ebx
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.005065b0
add esp, 0xc
lea eax, [ebp - 0x404]
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f4655
mov esp, ebp
pop ebp
ret 4

Function at 0x442b55
Capabilities:
Enumerate gui resources

Disassembly:
push 0x64
mov eax, 0x580f42
call fcn.004f495a
mov esi, ecx
mov dword [ebp - 0x6c], esi
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x28
push eax
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
lea edi, [esi + 0x494]
sub esp, 0x18
lea esi, [ebp - 0x3c]
mov ecx, esp
movsd dword es:[edi], dword [esi]
push 0x60ca14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00422770
lea eax, [ebp - 0x68]
push eax
call fcn.00442c70
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov edx, eax
mov dword [ebp - 4], ebx
call fcn.00430640
lea ecx, [ebp - 0x68]
call fcn.0040bb00
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00457678
mov edi, dword [ebp - 0x6c]
mov dword [edi + 0x488], eax
test eax, eax
je 0x442c60
push ebx
push 0x442d04
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [edi + 0x48c]
test eax, eax
je 0x442c60
mov esi, dword [sym.imp.USER32.dll_SetWinEventHook]
push ebx
push eax
push dword [edi + 0x488]
push 0x442d63
push ebx
push 0x8015
push 0x8000
call esi
push ebx
push dword [edi + 0x48c]
mov dword [edi + 0x47c], eax
push dword [edi + 0x488]
push 0x442d63
push ebx
push 0xb
push 0xa
call esi
push ebx
push ebx
push ebx
push 0x442d63
push ebx
push 3
push 3
mov dword [edi + 0x480], eax
call esi
mov dword [edi + 0x484], eax
cmp dword [edi + 0x47c], ebx
je 0x442c60
mov bl, 1
lea ecx, [ebp - 0x28]
call fcn.0040ba40
mov al, bl
call fcn.004f4915
ret
Function at 0x445687
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push 0xd4
mov eax, 0x581731
call fcn.004f495a
mov esi, ecx
push 1
xor ebx, ebx
push ebx
call fcn.0053054d
push 0x44
pop edi
push edi
lea eax, [ebp - 0xe0]
push ebx
push eax
call fcn.005065b0
mov dword [ebp - 0xe0], edi
lea edx, [esi + 0x4b0]
xor eax, eax
lea edi, [ebp - 0x98]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x28]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00430640
push 4
push 0x5b9ea4
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], ebx
call fcn.004313b0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x4456f7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004304e0
mov esi, eax
push 0x5b5db0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00427180
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00426c10
pop ecx
lea ecx, [ebp - 0x58]
call fcn.0040ba40
lea ecx, [ebp - 0x70]
call fcn.0040ba40
lea ecx, [ebp - 0x88]
call fcn.0040bb00
cmp dword [ebp - 0x2c], 8
lea edx, [ebp - 0x98]
push edx
lea edx, [ebp - 0xe0]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ebx
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x445789
push 0xffffffffffffffff
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x40]
call fcn.0040ba40
lea ecx, [ebp - 0x28]
call fcn.0040ba40
call fcn.004f4915
ret
Function at 0x44615f
Capabilities:
Get common file path

Disassembly:
push 0x274
mov eax, 0x581953
call fcn.004f495a
mov edi, ecx
mov dword [ebp - 0x27c], edi
xor esi, esi
lea eax, [ebp - 0x218]
push 0x208
push esi
push eax
mov dword [ebp - 0x280], esi
call fcn.005065b0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x446244
push 0xa
push 0x5b8b64
lea ecx, [ebp - 0x278]
call fcn.004313b0
mov dword [ebp - 4], esi
cmp dword [eax + 0x14], 0x10
jb 0x4461c9
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x260]
push eax
call fcn.004304e0
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x248]
call fcn.0040ba80
push str.e_:
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x230]
call fcn.00427110
pop ecx
push esi
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.00426c10
pop ecx
lea ecx, [ebp - 0x230]
call fcn.0040ba40
lea ecx, [ebp - 0x248]
call fcn.0040ba40
lea ecx, [ebp - 0x260]
call fcn.0040ba40
lea ecx, [ebp - 0x278]
call fcn.0040bb00
jmp 0x446250
push 0x5b2cec
mov ecx, edi
call fcn.0040ba80
mov eax, edi
call fcn.004f4915
ret

Function at 0x446258
Capabilities:
Set current directory

Disassembly:
push 0x94
mov eax, 0x5819a9
call fcn.004f495a
lea ecx, [ebp - 0x40]
call fcn.0044615f
and dword [ebp - 4], 0
lea ecx, [ebp - 0xa0]
push 0x16
push 0x5b9d84
call fcn.004313b0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x446291
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004304e0
mov esi, eax
push str.e_:
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.00427180
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00426c10
pop ecx
lea ecx, [ebp - 0x70]
call fcn.0040ba40
lea ecx, [ebp - 0x88]
call fcn.0040ba40
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.0040bb00
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00426d90
lea ecx, [ebp - 0x58]
call fcn.0040f360
mov bl, al
lea ecx, [ebp - 0x58]
neg bl
sbb bl, bl
call fcn.0040ba40
add bl, 1
jne 0x44634a
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x44634a
push 0x5b5d3c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44634a
call eax
lea ecx, [ebp - 0x28]
call fcn.0040ba40
lea ecx, [ebp - 0x40]
call fcn.0040ba40
call fcn.004f4915
ret
Function at 0x447dd1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x447ddc
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x447e98
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
sub edi, 1
jne 0x447df1
pop edi
test esi, esi
je 0x447eb4
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x5b8670]
inc edx
sub esi, 1
jne 0x447e9c
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x4485b5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x4485ef
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4485ea
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x448616
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x4485ff
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.00505ef0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44910e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
jne 0x449173
cmp dword [esi + 4], 0xffffffff
jne 0x449173
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bx
jne 0x449138
mov eax, dword [str.e_:]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00448499
pop ecx
pop ecx
test eax, eax
jne 0x449163
mov eax, dword [ebp - 4]
jmp 0x449178
mov ecx, eax
call fcn.0044884b
mov dword [esi], eax
mov eax, dword [0x60c204]
jmp 0x449178
mov eax, 0x1000000
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x449516
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push edi
mov edi, ecx
test ebx, ebx
je 0x4495f9
movzx eax, word [ebx]
test ax, ax
je 0x4495f9
push esi
mov esi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x449554
cmp ax, 0x5c
jne 0x449556
mov esi, ecx
add ecx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x449548
cmp esi, ebx
je 0x44959f
sub esi, ebx
lea eax, [ebp - 0x20c]
sar esi, 1
push esi
push ebx
push eax
call fcn.0051a655
add esi, esi
add esp, 0xc
cmp esi, 0x208
jae 0x449609
xor eax, eax
lea edx, [ebp - 0x20c]
mov ecx, edi
mov word [ebp + esi - 0x20c], ax
call fcn.00449516
lea ecx, [ebp - 0x414]
sub ecx, edi
movzx eax, word [edi]
mov word [ecx + edi], ax
lea edi, [edi + 2]
test ax, ax
jne 0x4495a7
mov esi, ebx
xor edx, edx
mov ax, word [ebx]
add ebx, 2
cmp ax, dx
jne 0x4495ba
lea edi, [ebp - 0x414]
sub ebx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, dx
jne 0x4495d0
mov ecx, ebx
lea eax, [ebp - 0x414]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004f4655
mov esp, ebp
pop ebp
ret
call fcn.004f4bcb
int3
Function at 0x457678
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x640
mov eax, dword [0x5e108c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
jne 0x457699
xor eax, eax
jmp 0x457778
push ebx
push edi
mov edi, 0x208
lea eax, [ebp - 0x20c]
push edi
xor ebx, ebx
push ebx
push eax
call fcn.005065b0
push edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.005065b0
lea ecx, [ebp - 0x20c]
add esp, 0x18
sub ecx, esi
movzx eax, word [esi]
mov word [ecx + esi], ax
lea esi, [esi + 2]
test ax, ax
jne 0x4576c9
lea eax, [ebp - 0x20c]
push eax
call fcn.0051aa4d
mov edi, eax
mov dword [esp], 0x22c
lea eax, [ebp - 0x640]
push ebx
push eax
call fcn.005065b0
add esp, 0xc
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x457774
lea eax, [ebp - 0x640]
mov dword [ebp - 0x640], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x457769
mov ecx, ebx
movzx eax, word [ebp + ecx - 0x61c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x416], ax
test ax, ax
jne 0x457729
lea eax, [ebp - 0x414]
push eax
call fcn.0051aa4d
push edi
push eax
call fcn.00509f5b
add esp, 0xc
test eax, eax
je 0x457787
lea eax, [ebp - 0x640]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x457727
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004f4655
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x638]
jmp 0x457776

Function at 0x45788c
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4578a6
xor al, al
jmp 0x457916
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4578b8
xor al, al
jmp 0x457915
push ebx
push dword [esi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x457905
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x457909
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x457914
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45a9d0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
push edi
mov edi, edx
mov dword [ebp - 0x28], 0
mov esi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], esi
cmp dword [edi + 0x14], 0x10
jb 0x45a9f6
mov eax, dword [edi]
jmp 0x45a9f8
mov eax, edi
push dword [edi + 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
push eax
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.0040bda0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x20], ecx
test ecx, ecx
jne 0x45aa3f
mov dword [esi + 0x10], ecx
lea eax, [ebp - 0x1c]
mov dword [esi + 0x14], 0xf
mov byte [esi], cl
mov ecx, esi
push eax
call fcn.00425330
jmp 0x45ab55
cmp dword [eax + 0x14], 0x10
jb 0x45aa4a
mov eax, dword [eax]
mov dword [ebp + 8], eax
push ebx
xor bh, bh
xor eax, eax
nop
mov byte [ebp + eax - 0x12c], al
inc eax
cmp eax, 0x100
jb 0x45aa50
mov edi, dword [ebp + 8]
xor esi, esi
mov word [ebp - 0x2c], 0
nop word [eax + eax]
mov eax, esi
mov bl, byte [ebp + esi - 0x12c]
xor edx, edx
div ecx
lea ecx, [ebp - 0x12c]
movzx eax, byte [edx + edi]
add al, bl
add bh, al
movzx eax, bh
add ecx, eax
movzx eax, byte [ecx]
mov byte [ebp + esi - 0x12c], al
inc esi
mov byte [ecx], bl
mov ecx, dword [ebp - 0x20]
cmp esi, 0x100
jb 0x45aa70
mov edi, dword [ebp - 0x24]
lea ebx, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
cmovae ebx, dword [ebp - 0x1c]
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x45aac1
mov edi, dword [edi]
mov esi, dword [ebp - 4]
test eax, eax
je 0x45ab38
mov dl, byte [ebp - 0x2c]
sub edi, ebx
mov esi, eax
nop
inc dl
lea ebx, [ebx + 1]
mov byte [ebp - 0x2c], dl
movzx eax, dl
lea edx, [ebp - 0x12c]
add edx, eax
mov al, byte [ebp - 0x2b]
add al, byte [edx]
mov byte [ebp - 0x2b], al
mov cl, byte [edx]
movzx eax, al
movzx eax, byte [ebp + eax - 0x12c]
mov byte [edx], al
movzx eax, byte [ebp - 0x2b]
mov byte [ebp + eax - 0x12c], cl
movzx ecx, byte [ebp - 0x2b]
mov dl, byte [ebp - 0x2c]
movzx eax, dl
movzx ecx, byte [ebp + ecx - 0x12c]
add cl, byte [ebp + eax - 0x12c]
movzx eax, cl
movzx eax, byte [ebp + eax - 0x12c]
xor al, byte [edi + ebx - 1]
mov byte [ebx - 1], al
sub esi, 1
jne 0x45aad0
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x1c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov ecx, esi
push eax
mov byte [esi], 0
call fcn.00425330
pop ebx
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x45ab6a
inc eax
lea ecx, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
call fcn.0040c0a0
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45be10
Capabilities:
Check for time delay via gettickcount
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x584668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x78]
xorps xmm0, xmm0
push 0
push eax
mov edi, edx
mov esi, ecx
xor bl, bl
movups xmmword [ebp - 0x20], xmm0
call fcn.005065b0
xor eax, eax
mov dword [ebp - 0x7c], 0x44
add esp, 0xc
mov dword [ebp - 0x24], 7
mov dword [ebp - 0x28], 0
mov word [ebp - 0x38], ax
mov dword [ebp - 4], eax
cmp dword [esi + 0x14], 8
jb 0x45be73
mov eax, dword [esi]
jmp 0x45be75
mov eax, esi
cmp word [eax], 0x22
je 0x45bebe
push 1
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x20
push eax
mov ecx, esi
call fcn.004241d0
cmp eax, 0xffffffff
je 0x45bebe
push 0x22
lea ecx, [ebp - 0x38]
call fcn.00425b60
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x38]
call fcn.00424980
push 1
push 0x5b5db4
lea ecx, [ebp - 0x38]
call fcn.00424850
jmp 0x45bed1
lea eax, [ebp - 0x38]
cmp eax, esi
je 0x45bed1
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.0040c1a0
push 2
push 0x5c3b74
lea ecx, [ebp - 0x38]
call fcn.00424850
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x38]
call fcn.00424980
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x45bf2d
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
call esi
push dword [ebp - 0x1c]
call esi
jmp 0x45bf43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call edi
cmp esi, eax
jne 0x45bf43
call edi
mov ecx, dword [ebp - 0x24]
cmp ecx, 8
jb 0x45bf58
inc ecx
push ecx
push dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
call fcn.0040ca40
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x45c510
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5846d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov dword [ebp - 4], 0
xor ecx, ecx
mov eax, dword [ebp + 0x18]
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004f48f1
cmp dword [ebp + 0x1c], 8
lea edx, [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmovae edx, dword [ebp + 8]
add ecx, ecx
push ecx
push edx
push esi
call fcn.00505ef0
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x10]
push eax
push 4
push esi
push 0x45bf70
push ecx
push ecx
mov dword [ebp - 0x10], ecx
call fcn.00509e45
add esp, 0x28
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x1c]
pop esi
cmp eax, 8
jb 0x45c5b9
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.0040ca40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret