joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418e30
Capabilities:
Create directory
Get common file path
Read file on windows
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x778
mov eax, dword [0x4778e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x524], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0043a920
add esp, 4
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x118]
push ecx
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [ebp - 0x524]
cmp edx, dword [ebp - 0x120]
jae 0x418f71
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x524]
movsx ecx, byte [eax]
cmp ecx, 0x5c
jne 0x418f5d
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x524]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
push str._s_s
lea edx, [ebp - 0x630]
push edx
call fcn.0043b2c9
add esp, 0x10
lea eax, [ebp - 0x770]
push eax
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x774], eax
mov byte [ebp - 0x525], 1
cmp dword [ebp - 0x774], 0xffffffff
je 0x418f13
mov edx, dword [ebp - 0x770]
and edx, 0x10
je 0x418f06
mov byte [ebp - 0x525], 0
mov eax, dword [ebp - 0x774]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx ecx, byte [ebp - 0x525]
test ecx, ecx
je 0x418f38
push 0
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x418f38
xor al, al
jmp 0x419056
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x524]
mov byte [ecx], 0x5c
mov edx, dword [ebp - 0x524]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x524]
add eax, 1
mov dword [ebp - 0x524], eax
jmp 0x418e78
lea ecx, [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x4640f8
mov edx, dword [ebp + 8]
push edx
call fcn.0043b8bb
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x418f9f
xor al, al
jmp 0x419056
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x419048
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 8]
cmp ecx, 0x400
jbe 0x418fcc
mov dword [ebp - 0x778], 0x400
jmp 0x418fd8
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 8]
mov dword [ebp - 0x778], edx
mov eax, dword [ebp - 0x778]
mov dword [ebp - 0x11c], eax
mov ecx, dword [0x47e850]
push ecx
mov edx, dword [ebp - 0x11c]
push edx
push 1
lea eax, [ebp - 0x520]
push eax
call fcn.0043e456
add esp, 0x10
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x11c]
je 0x419021
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043b65f
add esp, 4
xor al, al
jmp 0x419056
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
lea edx, [ebp - 0x520]
push edx
call fcn.0043e5d5
add esp, 0x10
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x418fa6
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043b65f
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043ae10
mov esp, ebp
pop ebp
ret
Function at 0x419070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4778e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x47e850], 0
je 0x41909a
mov eax, dword [0x47e850]
push eax
call fcn.0043b65f
add esp, 4
push 0x4640fc
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043b8bb
add esp, 8
mov dword [0x47e850], eax
cmp dword [0x47e850], 0
jne 0x4190c0
xor al, al
jmp 0x419150
mov edx, dword [0x47e850]
push edx
push 1
push 8
lea eax, [ebp - 0x118]
push eax
call fcn.0043e456
add esp, 0x10
cmp dword [ebp - 0x118], 0x737063
je 0x4190ea
xor al, al
jmp 0x419150
mov ecx, 1
test ecx, ecx
je 0x41913f
mov edx, dword [0x47e850]
push edx
push 1
push 0x104
lea eax, [ebp - 0x110]
push eax
call fcn.0043e456
add esp, 0x10
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 1
je 0x419121
jmp 0x41913f
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x110]
push edx
call fcn.00418e30
add esp, 8
movzx eax, al
test eax, eax
jne 0x41913d
jmp 0x41913f
jmp 0x4190ea
mov ecx, dword [0x47e850]
push ecx
call fcn.0043b65f
add esp, 4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ae10
mov esp, ebp
pop ebp
ret

Function at 0x419400
Capabilities:
Open clipboard
Read clipboard data
Write clipboard data

Disassembly:
mov eax, 0x1000
call fcn.0043b4c0
mov eax, dword [esp + 0x1004]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x419532
mov esi, dword [esp + 0x1018]
test esi, esi
je 0x419532
push str.NetmarbleKeyFormat
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov ebp, eax
test ebp, ebp
je 0x419532
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x419532
push ebp
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebx, eax
test ebx, ebx
je 0x41952c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x41952c
mov ecx, 0x3ff
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
lea eax, [esp + 0x10]
push eax
push str.nmcrypt_12112
push edx
call fcn.00419250
add esp, 0xc
test eax, eax
jne 0x419525
lea edi, [esp + 0x10]
or ecx, 0xffffffff
dec esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
ja 0x419525
mov edx, dword [esp + 0x1014]
lea ecx, [esp + 0x10]
push esi
push ecx
push edx
call fcn.0043b390
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x4194ea
lea edi, [esp + 0x10]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4194ec
mov ecx, esi
mov eax, dword [esp + 0x1014]
push ebx
mov byte [ecx + eax], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, byte [esp + 0x101c]
test al, al
je 0x419512
push 0
push ebp
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1000
ret
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x1000
ret
Function at 0x41e8fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41e922
cmp dword [edi + 0x54], 0
jne 0x41e922
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004299f3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0041e8bf
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ee76
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41eebe
call fcn.004299f3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41eebe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41ef01
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41eeea
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41eeea
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41eefe
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x427842
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x427889
call fcn.004299f3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x427889
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4278a5
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004273bc
mov esi, eax
test edi, edi
je 0x4278a3
test ebx, ebx
je 0x4278a3
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x428069
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4613e3
call fcn.0043ec5c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42808e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4280d4
lea ecx, [ebp - 0x10]
call fcn.0041c01b
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004278ac
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.0041b8e8
mov eax, esi
call fcn.0043ed34
ret 8

Function at 0x43ae10
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4778e0]
jne 0x43ae1a
repz ret
jmp fcn.0044266c

Function at 0x44bf80
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00441fb3
and dword [ebp - 4], 0
cmp dword [0x481120], 0
mov ebx, eax
jne 0x44c031
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44c0e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4688d8
push edi
call esi
test eax, eax
je 0x44c0e2
push eax
call fcn.00441f41
mov dword [esp], 0x4688c8
push edi
mov dword [0x481120], eax
call esi
push eax
call fcn.00441f41
mov dword [esp], 0x4688b4
push edi
mov dword [0x481124], eax
call esi
push eax
call fcn.00441f41
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x481128], eax
call esi
push eax
call fcn.00441f41
pop ecx
mov dword [0x481130], eax
test eax, eax
je 0x44c031
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00441f41
pop ecx
mov dword [0x48112c], eax
mov eax, dword [0x48112c]
cmp eax, ebx
je 0x44c089
cmp dword [0x481130], ebx
je 0x44c089
push eax
call fcn.00441fbc
push dword [0x481130]
mov esi, eax
call fcn.00441fbc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44c089
test edi, edi
je 0x44c089
call esi
test eax, eax
je 0x44c080
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44c080
test byte [ebp - 0xc], 1
jne 0x44c089
or dword [ebp + 0x10], 0x200000
jmp 0x44c0c2
mov eax, dword [0x481124]
cmp eax, ebx
je 0x44c0c2
push eax
call fcn.00441fbc
pop ecx
test eax, eax
je 0x44c0c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44c0c2
mov eax, dword [0x481128]
cmp eax, ebx
je 0x44c0c2
push eax
call fcn.00441fbc
pop ecx
test eax, eax
je 0x44c0c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x481120]
call fcn.00441fbc
pop ecx
test eax, eax
je 0x44c0e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44c0e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4588b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
and ebx, 1
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
neg ebx
sar ebx, 4
and ebx, 0x7f
shr edi, 4
xor edi, ebx
mov ebx, dword [edx + edi*4]
shl ecx, 1
add eax, ebx
cmp ecx, 0x10000
jb 0x4588c0
pop edi
pop ebx
ret

Function at 0x4588f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
shl esi, 1
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
mov ebp, dword [edi + ebx*4]
shl ecx, 1
mov ebx, ecx
xor ebx, esi
not ebx
add eax, ebp
and edx, ebx
cmp ecx, 0x10000
jb 0x458900
pop esi
pop ebp
pop ebx
ret 4

Function at 0x458a80
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, eax
mov edi, ecx
xor eax, eax
test edi, edi
mov edx, 1
je 0x458ac2
push ebx
push ebp
mov ebx, dword [esp + 0x14]
movzx ebx, word [ebx + edx*2]
mov ecx, esi
and ecx, 1
mov ebp, ecx
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [esp + 0x18]
add eax, dword [ebp + ebx*4]
add edx, edx
shr esi, 1
or edx, ecx
dec edi
jne 0x458a93
pop ebp
pop ebx
pop edi
pop esi
ret 8
Function at 0x458c36
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov ecx, dword [edx + ecx*4]
mov dword [esp], ecx
movzx ecx, word [ebx + 2]
push ebp
push esi
mov esi, ecx
xor ecx, 0x7f0
xor eax, 0x7f0
shr esi, 4
mov esi, dword [edx + esi*4]
shr ecx, 4
mov ecx, dword [edx + ecx*4]
shr eax, 4
mov eax, dword [edx + eax*4]
add esi, eax
add ecx, eax
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ecx
xor edi, edi
cmp edi, dword [esp + 0x20]
jae 0x458d95
mov eax, edi
or eax, 8
xor esi, esi
cmp eax, 1
je 0x458caa
jmp 0x458c80
mov ebp, dword [esp + 0x1c]
mov ecx, eax
and eax, 1
shr ecx, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x458c80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
add esi, eax
mov dword [ecx + edi*4], esi
inc edi
cmp edi, 8
jb 0x458c65
cmp edi, 0x10
jae 0x458d2d
lea eax, [edi - 8]
mov dword [esp + 0xc], eax
lea esp, [esp]
cmp edi, dword [esp + 0x20]
jae 0x458d95
or eax, 8
xor esi, esi
cmp eax, 1
je 0x458d11
mov ebp, dword [esp + 0x1c]
mov ecx, eax
and eax, 1
shr ecx, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x458ce4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0xc]
mov dword [ecx + edi*4], esi
inc edi
inc eax
cmp edi, 0x10
mov dword [esp + 0xc], eax
jb 0x458cd0
cmp edi, dword [esp + 0x20]
jae 0x458d95
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
or eax, 0x100
xor esi, esi
cmp eax, 1
je 0x458d76
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x458d50
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
add esi, eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + edi*4], esi
mov ecx, dword [esp + 0x20]
inc edi
inc eax
cmp edi, ecx
mov dword [esp + 0x1c], eax
jb 0x458d40
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0xc
Function at 0x45a890
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x3234c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x45a8b0
xor edx, edx
mov ecx, 1
mov dword [esp + 0xc], 4
nop
movzx ebx, word [edi + ecx*2 + 0x329f0]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
and ebp, 0x7f
shr ebx, 4
xor ebx, ebp
mov ebp, dword [edi + ebx*4 + 0x30c9c]
add ecx, ecx
or ecx, eax
mov eax, dword [esp + 0xc]
shr esi, 1
add edx, ebp
dec eax
mov dword [esp + 0xc], eax
jne 0x45a8c0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
cmp esi, 0x10
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jb 0x45a8b0
pop esi
pop ebp
mov dword [edi + 0x3238c], 0
pop ebx
add esp, 0xc
ret

Function at 0x45a930
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push edi
mov edi, 4
lea ebp, [esi + 0x30c9c]
movzx ebx, byte [esi + edi + 0x3049c]
mov ecx, ebx
mov edx, ebx
and edx, 1
shr ecx, 1
or edx, 2
dec ecx
shl edx, cl
mov eax, edi
push ebp
sub eax, edx
sub edx, ebx
lea edx, [esi + edx*2 + 0x3290a]
push edx
call fcn.00458a80
mov dword [esp + edi*4 + 0x1c], eax
inc edi
cmp edi, 0x80
jb 0x45a944
lea ebp, [esp + 0x1c]
sub ebp, esi
lea eax, [esi + 0x3270c]
lea ecx, [esi + 0x31b54]
sub ebp, 0x31b4c
lea edi, [esi + 0x3174c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x45a9b4
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x32390]
xor ebx, ebx
test eax, eax
jbe 0x45aa11
mov eax, ebx
or eax, 0x40
xor edx, edx
cmp eax, 1
je 0x45aa03
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edx, dword [esi + ebp*4 + 0x30c9c]
mov eax, ecx
cmp eax, 1
jne 0x45a9d0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
mov eax, dword [esi + 0x32390]
inc ebx
cmp ebx, eax
jb 0x45a9c0
mov edx, dword [esi + 0x32390]
mov eax, 0xe
cmp edx, eax
jbe 0x45aa3d
mov ebx, dword [edi + eax*4]
mov edx, eax
shr edx, 1
sub edx, 5
shl edx, 4
add ebx, edx
mov dword [edi + eax*4], ebx
mov edx, dword [esi + 0x32390]
inc eax
cmp eax, edx
jb 0x45aa20
mov eax, dword [edi]
mov dword [ecx - 8], eax
mov edx, dword [edi + 4]
mov dword [ecx - 4], edx
mov eax, dword [edi + 8]
mov dword [ecx], eax
mov edx, dword [edi + 0xc]
mov dword [ecx + 4], edx
mov eax, 4
add ecx, 8
jmp 0x45aa60
movzx edx, byte [esi + eax + 0x3049c]
mov edx, dword [edi + edx*4]
add edx, dword [ecx + ebp]
mov dword [ecx], edx
inc eax
add ecx, 4
cmp eax, 0x80
jb 0x45aa60
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add eax, 0x80
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
sub ebp, 0x200
add ecx, 0x200
add edi, 0x100
dec eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], eax
jne 0x45a9b0
pop edi
pop ebp
mov dword [esi + 0x3baf0], 0
pop ebx
add esp, 0x210
ret
Function at 0x45d6f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x50], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x54], edx
lea esi, [ecx + 0x6c]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
shr eax, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
shr eax, 1
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x45d717
pop esi
ret
Function at 0x402ee3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x4263b0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402f5e
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402f65
cmp dword [ebp + 0x10], ebx
jne 0x402f52
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402ee3
test eax, eax
jne 0x402f65
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x402f25
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004066e6
cmp eax, ebx
je 0x402f8a
push ebx
push dword [0x4263b0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402f5e
cmp dword [0x4263b0], ebx
jne 0x402f5b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402f5b
jmp 0x402f5e
Function at 0x4033d1
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x4033fe
mov ecx, dword [0x426358]
push edi
add eax, ecx
push edi
push eax
mov dword [0x418894], eax
push dword [0x40a670]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.004034fc
cmp eax, edi
jl 0x4034f5
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x40a670]
call ebx
test eax, eax
je 0x4034f2
cmp dword [ebp - 4], esi
jne 0x4034f2
push dword [ebp + 8]
add dword [0x418894], esi
call fcn.004034fc
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x4034f5
cmp dword [ebp + 0x10], edi
jne 0x4034c1
cmp dword [ebp + 8], edi
jle 0x4034ed
mov esi, 0x414890
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x403471
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x40a670]
call ebx
test eax, eax
je 0x4034f2
cmp edi, dword [ebp - 4]
jne 0x4034f2
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4034bd
cmp dword [ebp + 0x14], edi
jne 0x4034bd
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x418894], eax
cmp dword [ebp + 8], 0
jg 0x403464
jmp 0x4034ed
push 0xfffffffffffffffe
jmp 0x4034f4
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x4034cc
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a670]
call ebx
test eax, eax
je 0x4034f2
mov eax, dword [ebp - 4]
add dword [0x418894], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x4034f5
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10