joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4750c0
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x5fc120
call fcn.005cfa7d
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040d060
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x47511e
call fcn.004757c3
cmp eax, 1
jne 0x47511e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0047414f
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040b6a0
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004062b0
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004062b0
mov eax, esi
call fcn.005cfa4b
ret 0x14

Function at 0x475f4c
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5f884d
call fcn.005cfa7d
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x475f72
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x475fcc
lea ecx, [ebp - 0x10]
call fcn.0040b7b0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x60fae8]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005e4f32
push eax
call fcn.0040b8e0
add esp, 0x14
test esi, esi
je 0x475fbf
push esi
call fcn.005d8299
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004062b0
mov eax, ebx
call fcn.005cfa4b
ret 8

Function at 0x476d14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x476d3f
cmp dword [edi + 0x80], 0
jne 0x476d3f
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.00475775
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00476fb2
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x476d6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
call fcn.00475775
push 5
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x476d9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push edi
push dword [ebp + 0xc]
mov ecx, ebx
push esi
call fcn.00476db2
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47ce16
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x47ce55
call fcn.00475775
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47ce55
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47ce5d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.004ce199
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x47d841
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x47d8cd
cmp dword [esi + 0x20], 0
je 0x47d8cd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47d8cd
cmp dword [ebp + 8], 0
je 0x47d8cd
xor edi, edi
mov ebx, edi
call fcn.00475775
push 0x612ea8
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x47d8b1
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47d8cd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0051be66
mov edi, eax
add esp, 0xc
test edi, edi
je 0x47d8c9
mov ecx, esi
call fcn.0047d5df
mov eax, edi
jmp 0x47d8cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x48448d
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.005e5772
pop ecx
test eax, eax
jne 0x4844cf
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x613db4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0047052b
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x484495
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret

Function at 0x487981
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x4879c8
push 0x6124c8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4879d7
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4879d7
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x60fae8]
call edi
jmp 0x4879d9
cmp dword [esi + 4], ebx
je 0x4879d7
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4a90f1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x4a910a
call fcn.00475775
mov esi, dword [eax + 0xc]
push 0x616598
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4a914c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a914c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4a914c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004a9155
jmp 0x4a914e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4f368c
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x602336
call fcn.005cfa7d
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.004f3776
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.0040b7b0
mov byte [ebp - 4], 1
test edi, edi
jne 0x4f36ce
xor eax, eax
jmp 0x4f36d5
push edi
call fcn.005d8299
pop ecx
push eax
push edi
lea ecx, [esi + 0x18]
call fcn.0040bb80
push dword [esi + 8]
push 0
push 3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push dword [ebx + 8]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
je 0x4f3718
push dword [esi + 0xc]
mov ecx, 0x69cb5c
push eax
call fcn.004f46ca
mov eax, esi
call fcn.005cfa4b
ret 0x18
push 0
push dword [esi + 8]
call fcn.004f3d4e
int3

Function at 0x4f388f
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4f38b8
call fcn.00475775
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x4f38e5
push esi
push eax
mov ecx, 0x69cb5c
call fcn.004f46ca
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.004f3d4e
int3
Function at 0x51d88e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x51d8e4
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x51d8bd
call fcn.00469f9b
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x51d8d2
call fcn.00469f9b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x51d8e4
call fcn.00469f9b
call fcn.00475775
cmp dword [eax + 0x3c], 0
je 0x51d8f9
push edi
mov ecx, ebx
call fcn.0051cfb1
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0051dadf
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x51d922
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x51d92e
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x53ded5
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x60536e
call fcn.005cfab0
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040b710
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x610f9c
call fcn.0040b390
cmp eax, 0xffffffff
jne 0x53dfb0
push 0
push 0x616554
lea ecx, [ebp - 0x4d0]
call fcn.0040b390
cmp eax, 0xffffffff
jne 0x53dfb0
push 0
push 0x65abb4
lea ecx, [ebp - 0x4d0]
call fcn.0040b390
cmp eax, 0xffffffff
jne 0x53dfb0
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040b710
add eax, 0x10
pop ecx
mov dword [ebp - 0x4d8], eax
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea ecx, [ebp - 0x218]
push ecx
push 0x104
push edx
push eax
lea edi, [eax - 0x10]
push edx
mov dword [ebp - 0x4d4], edi
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x53df7f
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x60fae8]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.004062b0
jmp 0x53dfe9
lea eax, [ebp - 0x218]
push eax
call fcn.005d8299
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.0040bb80
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.004062b0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x53dfd6
mov edi, dword [ebp - 0x4cc]
jmp 0x53dfe9
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x60fae8]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004062b0
mov eax, edi
call fcn.005cfa5f
ret
Function at 0x580d2a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00475b2d
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x580d66
call fcn.00580f47
mov dword [esi + 0xc], 1
jmp 0x580d6b
call fcn.00580f47
cmp dword [esi], 0
je 0x580db6
push edi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov ecx, esi
test edi, edi
jle 0x580d91
push edi
call fcn.0046c1ac
lea ecx, [edi + 1]
push ecx
jmp 0x580da0
push 0xff
call fcn.0040bf30
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0046c1cf
pop edi
jmp 0x580dda
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x580dda
push dword [esi]
push dword [ebp - 4]
call fcn.004f4f07
pop esi
leave
ret 0xc

Function at 0x580e9e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00580f47
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x580ee6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0046c1ac
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0046c1cf
jmp 0x580ef1
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004f4f07
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x5ee37f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ee030

Function at 0x5ee38a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ee1ba

Function at 0x5f0f43
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005f0bc0
Function at 0x401f70
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x416008]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push esi
push edi
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], vtable.CLRHelper.0
call fcn.004012a0
test al, al
jne 0x401fd3
push 0x10
push 0x413e68
push 0x413e78
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.004025cb
mov esp, ebp
pop ebp
ret 0x10
push 0x413edc
push 0x413ee4
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push ebx
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x208
mov dword [esp + 0x14], eax
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.00404970
add esp, 0xc
lea eax, [esp + 0x98]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
lea ecx, [esp + 0x2c]
push 0x413d18
mov word [esp + 0x9e], ax
call fcn.004017f0
lea eax, [esp + 0x98]
push eax
call fcn.00406262
mov edx, eax
add esp, 4
cmp word [edx], 0
jne 0x40206a
xor ecx, ecx
jmp 0x402083
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402070
sub ecx, esi
mov esi, dword [esp + 0xc]
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00402190
push 2
push 0x413eec
lea ecx, [esp + 0x34]
call fcn.00402190
push ecx
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
call fcn.00402340
add esp, 4
lea eax, [esi + 4]
push eax
call fcn.004029f5
add esp, 4
mov edi, eax
push esi
push dword [esp + 0x14]
lea ecx, [edi + 4]
mov dword [edi], esi
push ecx
call fcn.0040e440
add esp, 0xc
lea esi, [esp + 0x14]
cmp dword [esp + 0x28], 8
mov eax, edi
cdq
cmovae esi, dword [esp + 0x14]
push edx
push eax
lea eax, [esp + 0x60]
push 0x413dc4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x10], 0
mov ecx, dword [eax]
push edx
lea edx, [esp + 0x5c]
push edx
push 0x413f64
push str.ClrRun.Program
push esi
push eax
call dword [ecx + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.004028cd
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, 8
jb 0x402141
inc eax
push eax
push dword [esp + 0x18]
call fcn.00401ae0
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], 0
cmp eax, 8
jb 0x40216c
inc eax
push eax
push dword [esp + 0x30]
call fcn.00401ae0
mov ecx, dword [esp + 0x2a4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004025cb
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4140d5
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
pop ebp
ret

Function at 0x41fd1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f9bc

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x4017a2
Capabilities:
Check for software breakpoints

Disassembly:
inc eax
arpl word [eax], ax
je 0x4017bb
push 0xe0c3240
push eax
adc eax, 0x409e
mov cx, word [0x410274]
call 0x4855a2d2
mov ecx, 0x50520041
mov edx, dword [0x41b948]
push edx
push eax
call fcn.00405847
mov cx, word [0x411708]

Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
inc eax
add byte [edx - 0x1ed74], ch
dec dword [ebx + 0x4dd0140d]
add byte [ebp + 0x501a74c9], al
mov eax, dword [0x27fcc8]
cmp dword [eax + eax*2 + 0x68], 0xffffff80
rcr bh, cl
add byte [eax - 1], dl
adc eax, 0x40c181
add esp, 0xc
jp 0x401e13
stosb byte es:[edi], al
mov word [edx], ss
invalid
push str...done_n
mov bl, 0x50
sar dword fs:[eax + eax - 0x7d], 0xc4
add al, 0xa1
mov byte [edx], al
pushfd
push ss
mov eax, dword [0x169c0288]
jmp 0x401ddb
in al, 0x8b
les eax, [ebx - 0x74a987f2]
jne 0x401e56
jecxz 0x401dd9
inc ebp
mov al, al
js 0x401ea1
push esi
clc
stosd dword es:[edi], eax
push 0x4d8b0000
xchg byte [ebx - 0x2defb704], cl
add byte [ebx - 0x37479b3], cl
dec eax
adc dl, dl
push 0x50
push ecx
adc dword [ebp + 0x2fac6840], 0x40
add byte [edx - 1], dl
adc eax, sym.imp.MSVCRT.dll_fprintf
invalid
lodsb al, byte [esi]
add al, bl
invalid
Function at 0x10004006
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp + 8], ecx
movzx eax, word [ecx + 0x14]
lea edi, [ecx + 0x18]
movzx ebx, word [ecx + 6]
add edi, eax
mov eax, dword [ebp + 0xc]
xor esi, esi
cmp eax, dword [edi + 0xc]
jb 0x1000404b
mov ecx, dword [ecx + 0x3c]
mov edx, dword [edi + 0x10]
dec edx
add edx, ecx
lea eax, [ecx - 1]
not eax
and edx, eax
mov eax, dword [ebp + 0xc]
add edx, dword [edi + 0xc]
cmp eax, edx
jb 0x1000405b
mov ecx, dword [ebp + 8]
add ebx, 0xffff
add edi, 0x28
test bx, bx
jne 0x10004029
jmp 0x10004063
mov esi, dword [edi + 0x14]
sub esi, dword [edi + 0xc]
add esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000945e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x1002a968], 0
jne 0x1000946f
call fcn.1000949c
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
test edx, edx
je 0x10009496
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x1002ab20]
inc esi
sub edx, 1
jne 0x1000947d
pop esi
not ecx
mov eax, ecx
pop ebp
ret
Function at 0x10009a98
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x37], 0
jne 0x10009aba
push edi
call fcn.1000a7c2
pop ecx
test eax, eax
jne 0x10009aba
xor eax, eax
jmp 0x10009bd4
cmp byte [edi + 0x47], 0
jne 0x10009ab3
push ebx
xor ebx, ebx
push esi
lea esi, [edi + 0x64]
cmp byte [edi + 0x37], bl
je 0x10009b83
mov cl, byte [edi + 0x54]
xor eax, eax
inc eax
mov dword [ebp - 8], esi
shl eax, cl
mov dword [ebp - 4], eax
cmp dword [esi], ebx
je 0x10009af4
push dword [esi]
push ebx
push dword [0x1002a7f8]
call dword [0x100210bc]
mov eax, dword [ebp - 4]
shl eax, 2
push eax
push ebx
push dword [0x1002a7f8]
call dword [0x10021144]
mov dword [esi], eax
test eax, eax
je 0x10009bb2
cmp dword [ebp - 4], ebx
jle 0x10009bb2
inc eax
mov dword [ebp + 8], eax
mov cl, byte [edi + 0x60]
mov eax, ebx
movzx esi, word [edi + 0x5c]
xor edx, edx
sar eax, cl
and eax, esi
mov ecx, dword [ebp + 8]
imul eax, eax, 0xff
div esi
xor edx, edx
mov byte [ecx - 1], al
mov eax, ebx
mov cl, byte [edi + 0x5e]
movzx esi, word [edi + 0x58]
sar eax, cl
and eax, esi
mov ecx, dword [ebp + 8]
imul eax, eax, 0xff
div esi
xor edx, edx
mov byte [ecx + 1], al
mov eax, ebx
mov cl, byte [edi + 0x5f]
movzx esi, word [edi + 0x5a]
sar eax, cl
and eax, esi
mov ecx, dword [ebp + 8]
imul eax, eax, 0xff
div esi
inc ebx
mov byte [ecx], al
add ecx, 4
mov dword [ebp + 8], ecx
cmp ebx, dword [ebp - 4]
jl 0x10009b1c
mov esi, dword [ebp - 8]
jmp 0x10009bb2
lea eax, [ebp - 0x18]
mov dword [ebp - 0x16], 0xff0100
push eax
lea eax, [edi + 0x34]
mov word [ebp - 0x18], 0x1820
push eax
push esi
mov dword [ebp - 0x12], 0xff00ff
mov word [ebp - 0xe], 0x810
mov byte [ebp - 0xc], bl
call dword [0x10028d64]
add esp, 0xc
cmp dword [esi], 0
jne 0x10009bbb
xor eax, eax
jmp 0x10009bd2
mov ecx, dword [ebp + 0x10]
shl ecx, 2
push ecx
push dword [esi]
push dword [ebp + 0xc]
call fcn.10008d0e
xor eax, eax
add esp, 0xc
inc eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000a9cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
push edi
mov eax, ecx
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x1000a9da
movzx eax, byte [ebp + 0xc]
mov edi, ecx
mov word [esi + 0x100], cx
mov ebx, ecx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 8]
movzx edx, cl
mov cl, byte [edi + esi]
mov al, byte [edx + eax]
add al, bl
add al, cl
movzx ebx, al
mov al, byte [ebx + esi]
mov byte [edi + esi], al
lea eax, [edx + 1]
xor edx, edx
mov byte [ebx + esi], cl
div dword [ebp + 0x10]
inc edi
mov cl, dl
cmp edi, 0x100
jl 0x1000a9f7
pop edi
pop esi
pop ebx
pop ebp
ret