joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40117a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x418fa5
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x420490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x420490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov edi, edx
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x401398
cmp edi, ebx
je 0x401398
cmp ecx, ebx
je 0x401398
mov esi, edi
call fcn.0040107a
test al, al
je 0x40138e
mov dword [esp + 0x24], ebx
call fcn.0040192e
mov dword [esp + 0x20], eax
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x20]
mov byte [eax + 0x44], 1
mov eax, dword [esp + 0x20]
mov byte [eax + 0x45], 1
push str.prod
lea esi, [esp + 0x30]
mov dword [esp + 0xbc], ebx
call fcn.004013e6
mov eax, esi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 1
call fcn.00401411
push edi
push eax
call fcn.0040161c
push 1
xor edi, edi
mov byte [esp + 0xbc], bl
call fcn.00401643
push 0x41d0dc
lea esi, [esp + 0x30]
call fcn.004013e6
push dword [esp + 0x14]
lea esi, [esp + 0x4c]
mov byte [esp + 0xbc], 2
call fcn.004013e6
mov ebx, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 3
call fcn.00401411
call fcn.0040153e
push 1
call fcn.00401643
push 1
lea esi, [esp + 0x30]
mov byte [esp + 0xbc], 0
call fcn.00401643
push dword [esp + 0x18]
lea esi, [esp + 0x68]
call fcn.004013e6
push 0x41d0e4
lea esi, [esp + 0x30]
mov byte [esp + 0xbc], 4
call fcn.004013e6
mov eax, esi
push eax
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0xc0], 5
call fcn.00401e84
push 1
mov byte [esp + 0xbc], 7
call fcn.00401643
and dword [esp + 0x14], edi
push str.http:__clients2.google.com_cr_report
lea esi, [esp + 0x4c]
call fcn.004013e6
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x20]
push eax
mov eax, esi
push eax
lea ebx, [esp + 0x8c]
mov byte [esp + 0xc4], 8
call fcn.00401ee0
push 1
xor edi, edi
mov ebx, eax
mov byte [esp + 0xbc], 7
call fcn.00401643
test ebx, ebx
jne 0x401361
push 0x36ee80
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x401305
push 1
xor edi, edi
lea esi, [esp + 0x84]
call fcn.00401643
push 1
lea esi, [esp + 0x68]
call fcn.00401643
or dword [esp + 0xb8], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.004014de
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00405f29
mov esp, ebp
pop ebp
ret
Function at 0x402d55
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push 0x8c
mov eax, 0x418e2a
call fcn.0040840e
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x90], esi
mov byte [ebp - 0x6d], bl
mov dword [ebp - 0x94], 0x40
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x6c], bl
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x402dcb
push 0xa
lea eax, [ebp - 0x50]
push ebx
push eax
mov byte [ebp - 0x6d], 1
call fcn.0040778f
add esp, 0xc
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
call fcn.004037bd
mov edi, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
push ebx
push ebx
lea eax, [ebp - 0x88]
push eax
push esi
mov dword [ebp - 0x74], ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x402e03
mov byte [ebp - 0x6d], bl
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x6c]
call fcn.004047ea
mov al, byte [ebp - 0x6d]
call fcn.00408458
ret
xor ebx, ebx
mov eax, dword [ebp - 0x88]
cmp eax, ebx
jbe 0x402ed8
lea esi, [ebp - 0x84]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
call fcn.00403c3f
mov byte [ebp - 4], 1
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x88]
push dword [ebp - 0x84]
push dword [ebp - 0x90]
call dword [sym.imp.WININET.dll_InternetReadFile]
mov esi, eax
cmp esi, ebx
je 0x402eb5
mov eax, dword [ebp - 0x98]
cmp eax, ebx
jbe 0x402eb5
add dword [ebp - 0x74], eax
push dword [ebp - 0x84]
mov ebx, eax
lea eax, [ebp - 0x6c]
call fcn.00403708
xor ebx, ebx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x84], ebx
je 0x402e87
push dword [ebp - 0x84]
call fcn.00406411
pop ecx
push ebx
push ebx
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x90]
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
call edi
mov esi, eax
cmp esi, ebx
jne 0x402e01
xor ebx, ebx
jmp 0x402de6
mov byte [ebp - 4], bl
cmp dword [ebp - 0x84], ebx
je 0x402ecc
push dword [ebp - 0x84]
call fcn.00406411
pop ecx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
cmp esi, ebx
je 0x402de6
cmp byte [ebp - 0x6d], bl
je 0x402ef4
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x74], eax
jne 0x402de6
mov byte [ebp - 0x6d], 1
jmp 0x402de9
Function at 0x404931
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x418b42
call fcn.0040840e
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x404a16
cmp byte [edi + 0x49], bl
je 0x404a16
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x404966
xor al, al
jmp 0x404a18
lea esi, [ebp - 0x2c]
call fcn.00404589
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4049b8
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x4049bd
dec eax
je 0x4049c1
dec eax
dec eax
je 0x404a12
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.004047ea
mov al, bl
jmp 0x404a18
mov edx, dword [ebp - 0x2c]
jmp 0x40497f
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4049cd
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, eax
je 0x4049f3
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4049e0
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.00407ad2
add esp, 0x10
cmp esi, eax
jne 0x4049a2
cmp byte [edi + 0x49], 0
je 0x404a12
test esi, esi
jne 0x404971
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.00404662
jmp 0x404971
mov bl, 1
jmp 0x4049a4
mov al, 1
call fcn.00408458
ret

Function at 0x405f29
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x420490]
jne 0x405f33
repz ret
jmp fcn.00409f07
Function at 0x414bbc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x420490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040afc1
and dword [ebp - 0x14], 0
cmp dword [0x422134], 0
mov dword [ebp - 0x18], eax
jne 0x414c6f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x414d17
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x414d17
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x422134], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x422138], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42213c], eax
call edi
push eax
call esi
mov dword [0x422144], eax
test eax, eax
je 0x414c6f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x422140], eax
mov eax, dword [0x422140]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x414cc8
cmp dword [0x422144], ecx
je 0x414cc8
push eax
call esi
push dword [0x422144]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x414cc8
test ebx, ebx
je 0x414cc8
call edi
test eax, eax
je 0x414cbf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x414cbf
test byte [ebp - 8], 1
jne 0x414cc8
or dword [ebp + 0x10], 0x200000
jmp 0x414cfb
mov eax, dword [0x422138]
cmp eax, dword [ebp - 0x18]
je 0x414cfb
push eax
call esi
test eax, eax
je 0x414cfb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x414cfb
mov eax, dword [0x42213c]
cmp eax, dword [ebp - 0x18]
je 0x414cfb
push eax
call esi
test eax, eax
je 0x414cfb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x422134]
call esi
test eax, eax
je 0x414d17
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x414d19
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405f29
leave
ret
Function at 0x480920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6b000]
push edi
jmp 0x48093a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x480941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480930
mov eax, 1
add ebx, ebx
jne 0x480953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x480948
jne 0x480964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x480948
xor ecx, ecx
sub eax, 3
jb 0x480978
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4809ea
mov ebp, eax
add ebx, ebx
jne 0x480983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x480990
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4809b4
inc ecx
add ebx, ebx
jne 0x4809a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x480995
jne 0x4809b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x480995
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4809d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4809c5
jmp 0x480936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4809d4
add edi, ecx
jmp 0x480936
pop esi
mov edi, esi
mov ecx, 0x104c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4809f2
cmp byte [edi], 9
jne 0x4809f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4809f7
lea edi, [esi + 0x7d000]
mov eax, dword [edi]
or eax, eax
je 0x480a6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x80c0c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x80cc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x480a24
mov ecx, edi
jns 0x480a53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x80cc4]
or eax, eax
je 0x480a69
mov dword [ebx], eax
add ebx, 4
jmp 0x480a41
call dword [esi + 0x80cd4]
mov ebp, dword [esi + 0x80cc8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x480aa3
sub esp, 0xffffff80
jmp 0x40fcc2
Function at 0x6c01b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006c0140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006c0140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006c0140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006c0140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6c0bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6c0c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6d287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6c0c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6c0c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x401000
Capabilities:
Create thread
Persist via run registry key

Disassembly:
sub esp, 0x594
push ebx
push esi
lea eax, [esp + 0x40c]
push edi
push eax
push 0x202
call fcn.00402226
push 0x104
push 0x4095a4
push 0
call dword [0x407058]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, 0x4095a4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4086e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
push 0
push 0xf003f
push 0
push 0
and ecx, 3
push 0
push 0x4086b4
rep movsb byte es:[edi], byte [esi]
push 0x80000002
call dword [section..rdata]
lea ecx, [esp + 0x10]
push ecx
call dword [0x40705c]
inc eax
lea edx, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push edx
push 1
push 0
push 0x4086a8
push eax
call dword [0x407004]
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x407008]
call fcn.00401eb0
push eax
call fcn.00401c40
mov edi, dword [0x407064]
add esp, 4
mov esi, 0x64
push 0
push 0
push 0
push 0x401870
push 0
push 0
call fcn.00402292
add esp, 0x18
push 0xd
call edi
dec esi
jne 0x401103
push 0xffffffffffffffff
call edi
call fcn.00402220
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x594
ret 0x10
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x56406ed6
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x69f85aff
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x9dccd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9dcd1c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9dcce2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9dcd80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9dcdd2
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9dcdd8
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f52c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f4f85

Function at 0x9fa0bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f9f3e

Function at 0x9ff670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x9ff69d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x9ff69d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401e40
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
in eax, dx
mov esi, dword [ebp + 0xc]
or al, 0x9a
inc ebp
mov byte [edx + 0x78], ch
push eax
push esi
call 0x9286e0
mov esi, dword [esi]
or byte [ebx - 0x6a3f37eb], cl
add byte [esi + 0x51], dh
ror byte [0xd48ed440], 9
add byte [edx - 1], dl
adc eax, 0x40c16b
mov eax, dword [0x720217]
add esp, 0x5e
test dword [0x68500f74], edi
shr byte [eax + 0x15ff0040], cl
shr dword fs:[ebx + 0x6c], 0x83
les ecx, [eax]
push esi
jge 0x401ea4
jo 0x401e41
mov edx, 0x90af5e00
movsb byte es:[edi], byte [esi]
nop
nop
nop
nop
nop
nop
nop
push ebx
nop
jb 0x401eef
in al, dx
sub esp, 0x14
lodsb al, byte [esi]
in al, dx
adc al, 0xac
push esi
mov edi, dword [ebx + ebp*8]
push edi
mov eax, dword [esi + 0x14]
inc ebp
jmp 0x401e9b
in al, dx
pop ss
inc ecx
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4068c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4068e5
xor eax, eax
test eax, eax
je 0x4068f8
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4068f8
xor ecx, ecx
jmp 0x4068fb
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x45fdec], 0
push esi
jne 0x406a55
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406a2f
mov dword [ecx*4 + 0x45fde8], eax
inc ecx
cmp ecx, 0x100
jl 0x406a2a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406a86
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x45fde8]
xor eax, esi
inc ecx
dec edx
jne 0x406a68
pop edi
not eax
pop esi
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x72726322
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3aca441a
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401050
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.G:workwrite_dllReleasewrite_dll.exe
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
push 0x40215c
call fcn.00401010
add esp, 8
push dword [ebp - 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x40
push 0x1000
push 0x1000
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
push esi
push 0x402168
call fcn.00401010
add esp, 8
push 0
push 0x300
push 0x401040
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push 0
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004010fc
mov esp, ebp
pop ebp
ret

Function at 0x401901
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401940
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401940
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401940
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401940
cmp dword [ecx + 0x74], 0xe
jbe 0x401940
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret