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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46c3d6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46c3d6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46c3b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x46cbd0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46cc19
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46d090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fa40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046cc40
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046ccc0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046ccc0
lea ecx, [esi + 0xc]
call fcn.004809aa
lea ecx, [esi + 0x10]
call fcn.004809aa
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046e250
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046e250
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046e250
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00480a1f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00480a1f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x482ded
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x482e25
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00480e7a
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00480e52
jmp 0x482e31
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4844de
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x484520
call fcn.0048a052
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x484520
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x484517
xor eax, eax
jmp 0x484528
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048452e
pop edi
pop esi
pop ebx
ret 4

Function at 0x48a582
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48a5b0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48a5ce
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048a4e8
jmp 0x48a5ce
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a5ce
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048a4e8
test edi, edi
mov eax, edi
jne 0x48a5b8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x436276
Capabilities:
Terminate process

Disassembly:
jmp 0x45aa50
jmp fcn.0046c3f0
cmp ecx, dword [0x4bc080]
jne 0x45aa5a
repz ret
jmp 0x436898

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 0
jne 0x440eab
xor eax, eax
jmp 0x44104b
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44100c
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x440eb4
cmp dword [ebp + 0x10], 0
je 0x441045
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jne 0x441012
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4410d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4a9e68]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
imul ecx, ecx, 0x8088405
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + 8]
and ecx, 0xff
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x4a9e68]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4454e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x108]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x445514
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0xffffffff
je 0x44551e
mov eax, 0x1000000
jmp 0x445606
mov eax, dword [ebp - 8]
add eax, 0x140
mov esi, esp
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.00437266
mov eax, dword [ebp - 8]
add eax, 0x140
push eax
call fcn.00436983
add esp, 4
mov ecx, dword [ebp - 8]
mov dl, byte [ecx + eax + 0x13f]
mov byte [ebp - 0x11], dl
movsx eax, byte [ebp - 0x11]
cmp eax, 0x5c
je 0x445581
movsx eax, byte [ebp - 0x11]
cmp eax, 0x2f
je 0x445581
push 0x4aa994
mov eax, dword [ebp - 8]
add eax, 0x140
push eax
call fcn.00436901
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x4455be
mov esi, esp
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp esi, esp
call fcn.00437266
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], 0xffffffff
setne al
mov byte [ebp - 0x29], al
movzx eax, byte [ebp - 0x29]
test eax, eax
jne 0x4455be
mov eax, 0x2000000
jmp 0x445606
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004364e2
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4455e4
mov eax, dword [ebp - 0x38]
jmp 0x445606
mov eax, dword [ebp - 0x44]
push eax
call fcn.004378ab
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x445604
mov eax, 0x200
jmp 0x445606
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x445630]
call fcn.00436807
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x108
cmp ebp, esp
call fcn.00437266
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4466c0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x300
push ebx
push esi
push edi
lea edi, [ebp - 0x300]
mov ecx, 0xc0
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4bc080]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x44671b
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.00437266
cmp eax, 0xffffffff
jne 0x44671b
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00437266
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x44672a
jmp 0x44681f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
test ecx, ecx
je 0x446767
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
cmp ecx, 0x2f
je 0x446756
mov eax, dword [ebp - 0x18]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x44675c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x446736
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x4467b9
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x130]
push edx
call fcn.00436e42
add esp, 0xc
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0xc]
mov byte [ebp + eax - 0x130], 0
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00436861
add esp, 8
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x23c], 0
cmp dword [ebp + 8], 0
je 0x4467d9
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x23c]
push ecx
call fcn.004369d8
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00436901
add esp, 8
mov esi, esp
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp esi, esp
call fcn.00437266
cmp eax, 0xffffffff
jne 0x44681f
mov esi, esp
push 0
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.00437266
push edx
mov ecx, ebp
push eax
lea edx, [0x446850]
call fcn.00436807
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00436276
add esp, 0x300
cmp ebp, esp
call fcn.00437266
mov esp, ebp
pop ebp
ret
Function at 0x44b5d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0xd0]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 0xc], 1
jl 0x44b603
cmp dword [ebp + 0xc], 8
jg 0x44b603
mov byte [ebp - 0xcd], 1
jmp 0x44b60a
mov byte [ebp - 0xcd], 0
push str.bad_pack_level
movzx eax, byte [ebp - 0xcd]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00436a28
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af70], 0
jne 0x44b656
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af78], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af70], 0x10000
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af6c], 0
push 0x1fffc
push 0
mov eax, dword [ebp + 8]
add eax, 0x4af70
push eax
call fcn.00436744
add esp, 0xc
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x4aaef2]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af98], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x4aaef0]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af9c], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x4aaef4]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6afa0], ecx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax*8 + 0x4aaef6]
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af94], ecx
cmp dword [ebp + 0xc], 2
jg 0x44b6e2
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
or ecx, 4
mov edx, dword [ebp + 0x10]
mov word [edx], cx
jmp 0x44b6f7
cmp dword [ebp + 0xc], 8
jl 0x44b6f7
mov eax, dword [ebp + 0x10]
movzx ecx, word [eax]
or ecx, 2
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af84], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af74], 0
mov dword [ebp - 8], 0x8000
mov eax, dword [ebp - 8]
shl eax, 1
mov dword [ebp - 8], eax
mov esi, esp
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x1af70
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call ecx
add esp, 0xc
cmp esi, esp
call fcn.00437266
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af90], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0
je 0x44b767
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0xffffffff
jne 0x44b783
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x6af90], 0
jmp 0x44b7fc
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af8c], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x6af90], 0x106
jae 0x44b7ab
mov eax, dword [ebp + 8]
push eax
call fcn.004372a7
add esp, 4
mov eax, dword [ebp + 8]
mov dword [eax + 0x6af7c], 0
mov dword [ebp - 8], 0
jmp 0x44b7ca
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jae 0x44b7fc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6af7c]
shl ecx, 5
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx + 0x1af70]
xor ecx, eax
and ecx, 0x7fff
mov edx, dword [ebp + 8]
mov dword [edx + 0x6af7c], ecx
jmp 0x44b7c1
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.00437266
mov esp, ebp
pop ebp
ret
Function at 0x41244f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004122ce

Function at 0x41682b
Capabilities:
Set environment variable

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

Function at 0x416836
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004163d4

Function at 0x405864
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x405880
shr eax, 1
xor eax, 0xedb88320
jmp 0x405882
shr eax, 1
dec edx
jne 0x405873
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40586c
pop esi
ret

Function at 0x4058af
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4058bb
call fcn.00405864
push 1
push 0x40c558
call fcn.004023d0
mov eax, edi
test esi, esi
je 0x4058e6
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4058c1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47b320
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x50748b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004f7bda
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x47b3a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004f54c0
mov eax, dword [eax]
push 0x55e2a0
push eax
call fcn.004e7364
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004f7e65
test bl, bl
je 0x47b3a2
push 0x55e2a0
lea ecx, [esp + 0xc]
call fcn.004f8241
push 0x561e30
lea ecx, [esp + 0xc]
call fcn.004f8241
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x47b3de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004f7e65
jmp 0x47b4a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x47b462
lea edx, [esp + 0x7c]
push 0x561e2c
push edx
call fcn.004e7364
add esp, 8
test eax, eax
je 0x47b462
lea eax, [esp + 0x7c]
push 0x561e28
push eax
call fcn.004e7364
add esp, 8
test eax, eax
je 0x47b462
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x47b3f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004f7e65
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x47bca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x47bd02
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x47bd10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x50750b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x577068]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x47be48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47bd76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f7e65
xor eax, eax
jmp 0x47bebf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004f7fee
push esi
lea ecx, [esp + 0xc]
call fcn.004f827d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x561e68
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x47be9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.0047bca0
test eax, eax
jne 0x47be9d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.0047bca0
test eax, eax
jne 0x47be9d
lea eax, [esp + 0x14]
push 0x561e44
push eax
call fcn.004e8510
mov esi, eax
add esp, 8
test esi, esi
jne 0x47be7c
lea ecx, [esp + 0x14]
push 0x561e40
push ecx
call fcn.004e8490
mov esi, eax
add esp, 8
test esi, esi
jne 0x47be7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47be7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004f7f9e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47bd8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004f7e65
xor eax, eax
jmp 0x47bebf
mov byte [esi], 0
push 0x561e3c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004f7e65
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4