joyce8/EMBER2024-capa huggingface dataset:
Function at 0x589580
Capabilities:
Create thread

Disassembly:
push esi
lea esi, [ecx + 0x90]
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
call dword [sym.imp.mss32.dll__AIL_serve_0]
mov eax, dword [0x686ce8]
test eax, eax
je 0x589590
mov ecx, dword [0x67d898]
mov dl, byte [ecx + 0x8c]
test dl, dl
je 0x589590
mov cl, byte [0x67dc38]
test cl, cl
jne 0x589590
push 1
push eax
call dword [sym.imp.mss32.dll__AIL_service_stream_8]
push 1
call dword [sym.imp.kernel32.dll_Sleep]
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
ret

Function at 0x589990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea ebx, [ecx + 0xc0]
push ebx
mov dword [ebp - 4], ecx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov al, byte [0x686d6c]
test al, al
je 0x589a1d
mov al, byte [0x67dc38]
test al, al
jne 0x589a1d
or ecx, 0xffffffff
push esi
push edi
xor eax, eax
mov edi, 0x686d6c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
mov edi, 0x686e70
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x686cd0]
mov edi, dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push ebx
mov dword [0x686cd4], ecx
call edi
mov edx, dword [ebp - 4]
lea esi, [edx + 0x90]
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
call dword [sym.imp.mss32.dll__AIL_serve_0]
push esi
call edi
mov al, byte [0x67dc38]
test al, al
pop edi
pop esi
jne 0x589a24
push 0
push 0
push 0x5891c0
call fcn.0060750c
add esp, 0xc
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x598e60
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x598e76
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 4]
push ebx
mov ebx, dword [eax + 0x1c]
push edi
mov edi, dword [eax + 0x18]
add ebx, dword [esi + 8]
mov eax, dword [0x67d8ac]
mov eax, dword [eax + 0x40]
push 0
add edi, edx
mov edx, dword [eax + 0x2c]
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
mov eax, dword [eax + 0x30]
push edx
mov edx, dword [ecx + 0x28]
push ebx
push edi
push eax
mov eax, dword [ecx + 0x24]
push edx
push eax
push 0
push 0
call fcn.0044c6a0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [0x67d8ac]
inc edx
push edx
push ebx
push edi
call fcn.005f0150
mov ecx, dword [esi + 0x30]
test ecx, ecx
pop edi
pop ebx
je 0x598e6f
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x30], 0
pop esi
ret

Function at 0x59f970
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x67db18]
call fcn.004c5110
mov ecx, dword [esi + 0x40]
movsx edx, byte [ecx + 0x22]
cmp edx, eax
sete al
pop esi
ret
Function at 0x5b7990
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x25
push ebx
push esi
push edi
mov ebx, ecx
jg 0x5b7965
cmp eax, 0x1e
jge 0x5b794c
dec eax
cmp eax, 0x1a
ja 0x5b7a2f
xor ecx, ecx
mov cl, byte [eax + 0x5b76c0]
jmp dword [ecx*4 + 0x5b76b0]
mov edx, dword [0x68b330]
push edx
push 0x67cce8
call fcn.0060494e
add esp, 8
jmp 0x5b7a65
cmp eax, 0x359
jg 0x5b7a28
cmp eax, 0x352
jge 0x5b79c5
cmp eax, 0x2ee
jl 0x5b7a2f
cmp eax, 0x2f5
jg 0x5b7a2f
mov ecx, dword [eax*4 + 0x68d800]
cmp ecx, 0xffffffff
jne 0x5b79a3
xor eax, eax
lea edi, [eax + 0x23]
jmp 0x5b7a45
mov edx, dword [0x67db18]
lea eax, [ecx + ecx*2]
shl eax, 6
sub eax, ecx
lea eax, [eax + eax*2]
add edx, ecx
lea eax, [edx + eax*2 + 0x203d8]
lea edi, [eax + 0x23]
jmp 0x5b7a45
mov edx, dword [eax*4 + 0x68d490]
add eax, 0xfffffcae
lea ecx, [eax*8]
sub ecx, eax
lea eax, [edx + ecx*2]
mov eax, dword [eax*4 + 0x68e1f8]
test eax, eax
jl 0x5b7a06
cmp eax, 0x96
jg 0x5b7a06
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
mov eax, dword [case.0x5b5eb3.158]
mov edi, dword [eax + edx*4 + 0x18]
jmp 0x5b7a0b
mov edi, 0x676080
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x67cce8
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x5b7a60
cmp eax, 0x7800
je 0x5b7a36
mov edi, 0x676080
jmp 0x5b7a45
mov ecx, dword [0x68ba40]
mov edx, dword [ecx + 0x20]
mov edi, dword [edx + 0x964]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, 0x67cce8
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x67cce8
push 0x29
push 3
push 0x200
mov ecx, ebx
call fcn.005ec740
mov edx, dword [ebx]
push 0x29
push 0x28
push 0
mov ecx, ebx
call dword [edx + 0x14]
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push 0x12
push 0x2e0
add eax, 0x22c
add ecx, 8
push eax
push ecx
mov ecx, dword [0x67d8ac]
call fcn.005f0150
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x5bfc40
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [ecx + 0x60]
mov ecx, dword [eax*8 + 0x68dff8]
mov edx, dword [eax*8 + 0x68dffc]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], ecx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edx
call fcn.004d11e0
mov eax, dword [eax + 4]
test eax, eax
mov dword [ebp - 4], 0
jne 0x5bfc41
mov eax, 0x6264b0
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0x1c
push 0xffffffffffffffff
mov edx, 4
mov ecx, eax
call fcn.004ea100
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5bfc92
lea ecx, [eax - 1]
mov al, byte [ecx]
test al, al
je 0x5bfc89
cmp al, 0xff
je 0x5bfc89
dec al
mov byte [ecx], al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push ecx
call fcn.005f8040
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x5c32d0
Capabilities:
Get number of processors

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
movsx eax, byte [eax + 1]
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [0x67db18]
mov ecx, dword [0x6812a8]
shl edx, 5
push edi
lea edi, [edx + eax + 0x1f8c0]
call fcn.004b2df0
test al, al
je 0x5c3320
mov ecx, dword [esi + 0x38]
push ecx
mov ecx, edi
call fcn.004b21e0
test al, al
jne 0x5c32d1
mov eax, dword [0x68ba40]
mov ecx, dword [eax + 0x20]
mov ecx, dword [ecx + 0x450]
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 1
call fcn.004ea100
pop edi
pop esi
ret
mov edi, dword [esi + 0x120]
test edi, edi
je 0x5c32eb
mov ecx, edi
call fcn.005aac50
push edi
call fcn.005f8040
add esp, 4
mov edi, dword [esi + 0x11c]
test edi, edi
mov dword [esi + 0x120], 0
je 0x5c330f
mov ecx, edi
call fcn.005aac50
push edi
call fcn.005f8040
add esp, 4
mov ecx, esi
mov dword [esi + 0x11c], 0
call fcn.005b5000
pop edi
pop esi
ret
Function at 0x5c6560
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6225ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [0x68e3e8], 0
call fcn.005c6130
test al, al
je 0x5c66d7
mov ecx, dword [0x67db18]
push ebx
push edi
call fcn.004c5110
mov ecx, dword [esi + 0x38]
push eax
mov eax, dword [0x68e3e4]
push eax
call fcn.005af550
mov ecx, esi
call fcn.005c3520
mov ecx, dword [0x67d8ac]
push 0x40
push 0x1ee
push 0x1e3
push 0xf1
call fcn.005f0240
mov edi, dword [esi + 0x120]
test edi, edi
je 0x5c659c
mov ecx, edi
call fcn.005aac50
push edi
call fcn.005f8040
add esp, 4
push 0x78
call fcn.00604401
mov ebx, eax
add esp, 4
mov dword [ebp - 0x10], ebx
xor eax, eax
cmp ebx, eax
mov dword [ebp - 4], eax
je 0x5c6619
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx + 0x10]
cmp edx, 0xffffffff
mov ecx, dword [0x67db18]
jne 0x5c65c9
xor edi, edi
jmp 0x5c65dd
lea eax, [edx + edx*2]
shl eax, 6
sub eax, edx
lea eax, [eax + eax*2]
add edx, ecx
lea edi, [edx + eax*2 + 0x203d8]
mov eax, dword [esi + 0x118]
push eax
mov eax, dword [0x68e3e4]
push 0
push 0x7c
lea edx, [eax + 0x91]
push edx
push eax
call fcn.004c5110
push eax
xor eax, eax
mov al, byte [edi + 0x34]
mov ecx, ebx
push eax
push 0xa2
push 1
push 0x1e3
push 0xf1
call fcn.00598530
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x120], eax
jne 0x5c662f
call fcn.004e7fe0
mov ecx, 0x671264
call fcn.005891f0
mov ecx, dword [esi + 0x118]
push 0xffff
push 0xffff0001
mov ebx, edx
mov dword [esi + 0x1c4], 0
mov edx, dword [ecx]
push 0
mov edi, eax
call dword [edx + 0x14]
mov ecx, dword [esi + 0x11c]
push 0xffffffffffffffff
push 0
call fcn.005985c0
mov ecx, dword [esi + 0x120]
push 0xffffffffffffffff
push 0
call fcn.005985c0
mov ecx, dword [0x67d8ac]
push 0xffffffffffffffff
push 0x40
push 0x1ee
push 0x1e3
push 0xf1
call fcn.005f0340
push ebx
or ecx, 0xffffffff
push edi
call fcn.00589240
mov esi, dword [esi + 0x38]
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
pop edi
pop ebx
jne 0x5c66b5
xor eax, eax
jmp 0x5c66cf
lea edx, [eax + eax*2]
shl edx, 6
sub edx, eax
lea ecx, [edx + edx*2]
mov edx, dword [0x67db18]
add edx, eax
lea eax, [edx + ecx*2 + 0x203d8]
push eax
mov ecx, esi
call fcn.005abe30
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x5cd410
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x67db18]
push ebx
movsx ebx, byte [eax + 0x1e4d4]
lea eax, [ebx - 1]
test eax, eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], 0
jle 0x5cd42a
push esi
push edi
mov edi, ecx
mov ecx, 1
sub ecx, edx
mov esi, edx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
lea eax, [ecx + esi]
cmp eax, ebx
jge 0x5cd406
lea ecx, [edi + 4]
mov edx, dword [ecx]
mov ebx, dword [edi]
cmp edx, ebx
jle 0x5cd3ee
mov dword [edi], edx
mov edi, dword [ebp - 0xc]
mov dword [ecx], ebx
movsx edx, byte [esi]
mov bl, byte [eax + edi]
mov byte [esi], bl
mov byte [eax + edi], dl
mov edi, dword [ebp - 8]
mov edx, dword [0x67db18]
movsx edx, byte [edx + 0x1e4d4]
inc eax
add ecx, 4
cmp eax, edx
jl 0x5cd3d1
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x67db18]
movsx ebx, byte [edx + 0x1e4d4]
mov eax, dword [ebp - 4]
inc eax
add edi, 4
lea edx, [ebx - 1]
inc esi
cmp eax, edx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edi
jl 0x5cd3c7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5ecfe0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x2c]
test eax, eax
push esi
je 0x5ed008
mov ecx, dword [ebp + 8]
movsx edx, word [eax + 0x10]
cmp edx, ecx
je 0x5ed004
mov eax, dword [eax + 8]
test eax, eax
jne 0x5ecfee
xor al, al
pop esi
pop ebp
ret 4
test eax, eax
jne 0x5ed00f
xor al, al
pop esi
pop ebp
ret 4
mov esi, dword [eax + 0x24]
test esi, esi
jne 0x5ed024
mov esi, dword [eax + 0x20]
test esi, esi
jne 0x5ed024
xor al, al
pop esi
pop ebp
ret 4
push edi
or ecx, 0xffffffff
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x5ed03b
xor al, al
pop esi
pop ebp
ret 4
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, 4
mov ecx, esi
call fcn.004ea100
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x5f0eb0
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, 0xff
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x5f0f64
mov ecx, dword [esi + 0x24]
cmp word [ecx + 0xe], 0x18
je 0x5f0f64
mov edi, dword [ecx + 0x20]
test edi, edi
jne 0x5f0eaf
mov cx, word [ecx + 0xe]
cmp cx, 0x18
je 0x5f0eaf
mov edi, 1
shl edi, cl
cmp edi, 2
mov dword [esi + 0x1c], edi
jle 0x5f0ec6
mov eax, pe_nt_image_headers32
mov dword [esi + 0x20], 1
cdq
idiv edi
xor edx, edx
xor ecx, ecx
test edi, edi
jle 0x5f0ef5
mov edi, dword [esi + 0x18]
inc edx
mov byte [edi + edx*4 - 2], cl
mov edi, dword [esi + 0x18]
mov byte [edi + edx*4 - 3], cl
mov edi, dword [esi + 0x18]
mov byte [edi + edx*4 - 4], cl
mov edi, dword [esi + 0x18]
add ecx, eax
mov byte [edi + edx*4 - 1], 0
mov edi, dword [esi + 0x1c]
cmp edx, edi
jl 0x5f0ece
mov eax, dword [esi + 0x28]
test eax, eax
je 0x5f0f64
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x5f0f64
call dword [sym.imp.user32.dll_GetDesktopWindow]
mov ebx, eax
push ebx
mov dword [esp + 0x14], ebx
call dword [sym.imp.user32.dll_GetDC]
mov ebp, eax
push ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x5f0f5c
mov eax, dword [esi + 0x28]
mov ebp, dword [sym.imp.gdi32.dll_SelectObject]
push eax
push edi
call ebp
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
push ecx
push edx
push 0
push edi
mov ebx, eax
call dword [0x68f46c]
push ebx
push edi
call ebp
push edi
call dword [sym.imp.gdi32.dll_DeleteDC]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
push ebp
push ebx
call dword [sym.imp.user32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x6073de
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0x74
push 1
xor edi, edi
call fcn.00607a01
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x607426
push esi
call fcn.0060a7e0
pop ecx
mov eax, dword [ebp + 0x10]
push dword [ebp + 0x1c]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x18]
mov dword [esi + 0x4c], eax
push esi
push 0x60703e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
jne 0x60743a
call dword [sym.imp.kernel32.dll_GetLastError]

Function at 0x60f88b
Capabilities:
Write file on windows

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x690814], ebx
push esi
push edi
jne 0x60f82c
call fcn.00613158
mov esi, dword [0x68f110]
xor edi, edi
mov al, byte [esi]
cmp al, bl
je 0x60f84c
cmp al, 0x3d
je 0x60f83f
inc edi
push esi
call fcn.00607c70
pop ecx
lea esi, [esi + eax + 1]
jmp 0x60f834
lea eax, [edi*4 + 4]
push eax
call fcn.00607975
mov esi, eax
pop ecx
cmp esi, ebx
mov dword [0x68f0d0], esi
jne 0x60f86e
push 9
call fcn.0060792c
pop ecx
mov edi, dword [0x68f110]
cmp byte [edi], bl
je 0x60f8b1
push ebp
push edi
call fcn.00607c70
mov ebp, eax
pop ecx
inc ebp
cmp byte [edi], 0x3d
je 0x60f8aa
push ebp
call fcn.00607975
cmp eax, ebx
pop ecx
mov dword [esi], eax
jne 0x60f89d
push 9
call fcn.0060792c
pop ecx
push edi
push dword [esi]
call fcn.0060b2e0
pop ecx
add esi, 4
pop ecx
add edi, ebp
cmp byte [edi], bl
jne 0x60f879
pop ebp
push dword [0x68f110]
call fcn.00606b50
pop ecx
mov dword [0x68f110], ebx
mov dword [esi], ebx
pop edi
pop esi
mov dword [0x690810], 1
pop ebx
ret
Function at 0x10033aa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10033ba8
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10033ba8
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x10033ba8
push 2
push ebx
lea eax, [ebp + 8]
push eax
push esi
call fcn.100327d0
add esp, 0x10
cmp eax, 2
je 0x10033ae9
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [ebp + 8], ax
jne 0x10033add
push 4
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.100327d0
add esp, 0x10
cmp eax, 4
jne 0x10033add
add ebx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10033b18
mov dword [eax], ebx
push 2
lea eax, [ebx + 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.100327d0
add esp, 0x10
cmp eax, 2
jne 0x10033add
movzx eax, word [ebp + 8]
cmp eax, 0x14c
je 0x10033b73
cmp eax, 0x8664
jne 0x10033add
push 0x108
push ebx
push edi
push esi
call fcn.100327d0
add esp, 0x10
cmp eax, 0x108
jne 0x10033add
cmp dword [edi], 0x4550
mov eax, 0x40
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0xf8
push ebx
push edi
push esi
call fcn.100327d0
add esp, 0x10
cmp eax, 0xf8
jne 0x10033add
cmp dword [edi], 0x4550
mov eax, 0x20
pop edi
mov ecx, 0x80004005
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x41a730
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x48e820]
lea ecx, [eax + 1]
mov dword [0x48e820], ecx
cmp eax, 0x97eb8260
jl 0x41a763
mov ax, word [0x485420]
cwde
imul eax, eax, 0x1ca95d7d
cmp eax, 0x7087f0b4
jne 0x41a763
add dword [0x4910b8], 0x852a5fb5
push eax
mov eax, dword [0x49edc0]
mov dword [esp], eax
call fcn.00434fc0
mov ax, word [0x488fee]
add eax, 0x7692
mov word [0x488fee], ax
mov dword [esp], 1
call fcn.00451588
int3
Function at 0x4434b0
Capabilities:
Encode data using xor

Disassembly:
and dword [0x492d1c], 0xffffceff
mov eax, dword [0x491fd4]
lea ecx, [eax - 1]
mov dword [0x491fd4], ecx
cmp eax, 0xa01e7525
je 0x4434e0
mov ax, word [0x4848ae]
xor eax, 0x6e29
mov word [0x4848ae], ax
push edi
push esi
sub esp, 0x14
add dword [0x499fb0], 0x1ec956a6
mov ax, word [0x4842ec]
add dword [0x493b00], 0x723f8854
lea eax, [esp + 4]
mov dword [esp], eax
call dword [0x481108]
sub esp, 4
inc dword [0x48b714]
movzx eax, word [esp + 0x12]
or dword [0x48ded4], 0xf1ee9fb7
xor edi, edi
mov ecx, 0x15
nop
nop
nop
nop
nop
mov edx, dword [0x492b14]
sar edx, 9
add dword [0x499c08], edx
mov dx, word [0x485d0e]
mov si, word [0x489820]
sub esi, edx
mov word [0x489820], si
lea edi, [edi + eax*2]
add eax, eax
mov dx, word [0x4890cc]
movsx edx, dx
and edx, 0x9636f3a0
xor dword [0x498f9c], edx
dec ecx
jne 0x443530
mov eax, dword [0x48c3e0]
inc eax
mov dword [0x48c3e0], eax
mov cx, word [0x48a36a]
imul ecx, eax
mov word [0x48a36a], cx
mov dword [esp], 0
call fcn.00450d97
mov esi, eax
xor esi, edi
mov eax, dword [0x493ab4]
inc eax
mov dword [0x493ab4], eax
mov cx, word [0x48887c]
imul ecx, eax
mov word [0x48887c], cx
call dword [0x4810c8]
xor eax, esi
add dword [0x493104], 0xe9356fe5
mov dword [esp], eax
call fcn.00450cf4
mov eax, dword [0x4968a8]
mov ecx, 0x248611c
sub ecx, eax
add dword [0x49a728], ecx
add esp, 0x14
pop esi
pop edi
ret
Function at 0x44a830
Capabilities:
Hash data with md5

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov edi, dword [esp + 0x18]
mov ax, word [0x489806]
mov word [0x489806], 0xffff
and dword [0x495ddc], 0x6dfcf77a
mov dword [esp], edi
call fcn.0044d600
mov ecx, dword [0x49b3dc]
sar ecx, 9
and ecx, 0xc81f9739
mov dword [0x48dc7c], ecx
add dword [0x48bb74], 0xc2346400
mov dword [esi], 0
mov cx, word [0x484886]
lea edx, [ecx - 1]
mov word [0x484886], dx
movsx ecx, cx
add ecx, 0x54bfdbd5
mov dx, word [0x487aa2]
movsx edx, dx
not edx
mov bx, word [0x48539e]
movsx ebx, bx
sub edx, ebx
cmp ecx, edx
jne 0x44a8c2
or dword [0x490c14], 0xe47ffdcd
mov dword [esi + 4], 0
mov cx, word [0x484ff6]
xor ecx, 0x5c7a
mov word [0x484ff6], cx
mov dword [esi + 8], 0x67452301
or dword [0x48d52c], 0xbaaa4f99
mov dword [esi + 0xc], 0xefcdab89
and dword [0x490f28], 0xbf9ce887
mov dword [esi + 0x10], 0x98badcfe
mov cx, word [0x4853c0]
lea edx, [ecx + 1]
mov word [0x4853c0], dx
mov edx, dword [0x49ca94]
inc edx
mov dword [0x49ca94], edx
mov ebx, dword [0x48ed44]
imul ebx, edx
and ebx, ecx
mov word [0x489ffc], bx
mov dword [esi + 0x14], 0x10325476
mov dword [0x48e320], 0x46086424
mov ecx, dword [0x49aa64]
mov edx, 0x934ee7b9
sub edx, ecx
mov ecx, dword [0x49c694]
lea ebx, [ecx - 1]
mov dword [0x49c694], ebx
mov ebx, 0xf1495cb6
sub ebx, ecx
cmp edx, ebx
jge 0x44a978
mov dword [0x49dd90], 0x845d52e0
mov dword [esp + 4], eax
mov dword [esp], edi
mov ecx, esi
call fcn.0044a1f0
sub esp, 8
mov eax, dword [0x491560]
imul eax, eax, 0xc9a60e17
mov dword [0x491560], eax
mov ecx, esi
call fcn.00428cf0
xor dword [0x4931f0], 0x4cc556f7
mov ecx, esi
call fcn.00440cc0
mov eax, dword [0x49c9c4]
and dword [0x48ce78], eax
add esi, 0xb9
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
ret 4
Function at 0x458421
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x480110]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0045597f
mov dword [ebp - 0x14], eax
cmp dword [0x4a0024], esi
jne 0x458514
push 0x800
push esi
push 0x46f220
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4584a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4585f4
push esi
push esi
push 0x46f220
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4585f4
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4585f4
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4a0024], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4a0028], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4a002c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a0034], eax
test eax, eax
je 0x458511
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4a0030], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x458539
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x45852c
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x45854e
push 4
pop eax
jmp 0x4585f6
cmp dword [ebp - 0x14], esi
je 0x45854e
push dword [0x4a0024]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x458533
mov eax, dword [0x4a0030]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4585ac
cmp dword [0x4a0034], edi
je 0x4585ac
push eax
call ebx
push dword [0x4a0034]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4585ac
test eax, eax
je 0x4585ac
call ecx
test eax, eax
je 0x4585a1
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4585a1
test byte [ebp - 8], 1
jne 0x4585ac
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4585dc
mov eax, dword [0x4a0028]
cmp eax, edi
je 0x4585d9
push eax
call ebx
test eax, eax
je 0x4585d9
call eax
mov esi, eax
test esi, esi
je 0x4585d9
mov eax, dword [0x4a002c]
cmp eax, edi
je 0x4585d9
push eax
call ebx
test eax, eax
je 0x4585d9
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4a0024]
call ebx
test eax, eax
je 0x4585f4
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4585f6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458625
mov esp, ebp
pop ebp
ret