joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401a20
Capabilities:
Persist via default file association registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x426004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00406ca0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401a74
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040583f
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00406ca0
add esp, 0xc
xor ecx, ecx
nop dword [eax]
mov al, byte [ebp + ecx - 0x20c]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x109], al
test al, al
jne 0x401a90
push esi
push edi
push 0x103
lea eax, [ebp - 0x108]
push str.___1_
push eax
call fcn.0040becf
add esp, 0xc
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.CnvMir3Res.DAT_shellopencommand
push 0x80000000
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x401b62
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x31c], 0x104
push eax
lea eax, [ebp - 0x310]
push eax
push 0
push 0
push 0x423a08
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401b3c
push 0x423a08
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x401b62
push dword [ebp - 0x314]
call esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0040c013
add esp, 8
test eax, eax
je 0x401c46
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.CnvMir3Res.DAT_shellopencommand
push 0x80000000
call edi
test eax, eax
jne 0x401bc6
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x423a08
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401bc6
push dword [ebp - 0x314]
call esi
jmp 0x401bcf
cmp eax, 5
je 0x401c58
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push str.Local_SettingsSoftwareMicrosoftWindowsShellMuiCache
push 0x80000000
call edi
test eax, eax
jne 0x401c41
push 0x423a60
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push 0x423a60
push 1
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x314]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x401c41
push dword [ebp - 0x314]
call esi
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040583f
mov esp, ebp
pop ebp
ret
cmp eax, 5
je 0x401c58
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040583f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
xor ecx, ebp
pop esi
call fcn.0040583f
mov esp, ebp
pop ebp
ret
Function at 0x40db6c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0041ba80
mov eax, dword [0x426004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00408a47
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x40dbae
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x40dd0a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041b9d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x427158]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0040f827
mov ecx, dword [esi*4 + 0x427158]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x40dd03
cmp eax, dword [edi + ecx + 0x24]
jne 0x40dd03
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40dd03
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040f827
add esp, 0x14
test edx, edx
jl 0x40dd03
jg 0x40dc79
test eax, eax
jb 0x40dd03
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x40dd03
jl 0x40dc93
cmp dword [ebp - 0x1008], eax
ja 0x40dd03
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x40dcb1
test ebx, ebx
je 0x40dcea
cmp ecx, edi
jae 0x40dcea
mov al, byte [ecx]
cmp al, 0xd
jne 0x40dccb
lea eax, [edi - 1]
cmp ecx, eax
jae 0x40dcd7
cmp byte [ecx + 1], 0xa
jne 0x40dcd7
inc ecx
jmp 0x40dcd7
movzx eax, al
movsx eax, byte [eax + 0x426208]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x40dcb1
cmp edx, ebx
jne 0x40dcb1
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x40dd08
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040583f
leave
ret
Function at 0x4105f0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x427158]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x410630
cmp byte [ebx], 0xa
jne 0x410630
or byte [eax + edi + 0x28], 4
jmp 0x410635
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x410733
mov al, byte [edx]
cmp al, 0x1a
je 0x410715
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x410664
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x410689
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x410693
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x410646
jmp 0x410733
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410710
cmp dword [ebp - 0xc], 0
je 0x410710
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x427158]
test byte [eax + edi + 0x28], 0x48
je 0x4106ea
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4106d5
mov byte [esi], dl
jmp 0x4106e6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x427158]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x410733
cmp byte [ebp - 1], 0xa
jne 0x4106f9
cmp esi, ebx
jne 0x4106f9
mov byte [esi], 0xa
jmp 0x410732
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040f845
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x410733
mov byte [esi], 0xd
jmp 0x410732
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x427158]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41072f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x410733
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41073c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x427158]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41077f
cmp word [esi], dx
jne 0x41077f
or byte [edi + eax + 0x28], 4
jmp 0x410784
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4108bd
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41089d
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4107c6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x4107fc
cmp eax, edx
jae 0x410808
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41079e
jmp 0x4108bd
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x410899
cmp dword [ebp - 0x14], 0
je 0x410899
mov eax, dword [ebx*4 + 0x427158]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x410871
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x4108b7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x427158]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x427158]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x427158]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x4108ba
pop ebx
cmp word [ebp - 4], bx
jne 0x410882
cmp esi, dword [ebp + 0xc]
jne 0x410882
mov word [esi], bx
jmp 0x4108ba
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040f845
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4108bd
push 0xd
jmp 0x4108b6
mov ecx, dword [ebx*4 + 0x427158]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4108b4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4108bd
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4110de
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00410f4f
Function at 0x414bc8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x414c65
push ebx
push esi
call fcn.00414b91
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00414ada
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x414c12
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x414c64
push edi
push eax
call fcn.00411f53
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x414c32
call fcn.0040fa95
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x414c63
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00414ada
add esp, 0x20
test eax, eax
jne 0x414c51
push edi
call fcn.0040fa95
jmp 0x414c59
push ebx
call fcn.0040fa95
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4155bd
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41fc38
push 0x41fc30
push str.FlsAlloc
push 0x1e
call fcn.004154db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4155f1
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d144]
call esi
jmp 0x4155f7
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41563b
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41fc48
push 0x41fc40
push str.FlsGetValue
push 0x20
call fcn.004154db
mov esi, eax
add esp, 0x10
test esi, esi
je 0x415672
push dword [ebp + 8]
mov ecx, esi
call dword [0x41d144]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x419875
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004197f1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4199ed
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4199ed
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x41999c
jg 0x4198ce
test eax, eax
je 0x419992
push 1
push 0x1000
call fcn.004137e3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4198f4
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x419989
push 0x8000
push ebx
call fcn.0040d018
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x419920
jg 0x41991b
cmp ecx, 0x1000
jb 0x419920
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004119d6
add esp, 0x10
cmp eax, 0xffffffff
je 0x419965
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x41991b
jl 0x41994c
test ecx, ecx
jne 0x41990d
push dword [ebp - 0xc]
push ebx
call fcn.0040d018
push esi
call fcn.0040fa95
add esp, 0xc
xor edi, edi
jmp 0x4199fe
cmp byte [edi + 0x24], 0
je 0x41997c
cmp dword [edi + 0x20], 5
jne 0x41997c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x419987
mov edi, dword [edi + 0x18]
jmp 0x419989
xor edi, edi
push esi
call fcn.0040fa95
pop ecx
jmp 0x4199fe
test ecx, ecx
jg 0x41995e
jl 0x41999c
test eax, eax
jae 0x41995e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0040f845
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4199bf
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x41995e
jmp 0x4199f6
push ebx
call fcn.0040f4b7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x41995e
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x4199fe
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x4199fb
mov edi, dword [edi + 0x18]
jmp 0x4199fe
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0040f845
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4155f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
cmp dword [ecx + 4], 0
je 0x415667
mov eax, dword [edi]
and al, 8
mov eax, dword [0x2bf1c45]
add byte [eax], al
add byte [ecx], bh
invalid

Function at 0x430a40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push edi
pop eax
sub esp, 0x4b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x4b]
and al, 0x4b
mov esi, dword [0xe6f018]
xor esi, esp
mov dword [esp - 0x2d], esi
mov dword [esp], 4
mov dword [esi], esi
lea edi, [esp + 4]
adc edx, dword [edx + 0x57]
push 0x43
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp]
xor ecx, 0xffffffc9
or ecx, eax
loop 0x430ac6
pop ds
add al, 0x6f
invalid
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor esi, esi
test eax, eax
jne 0x430a83
cmp dword [esp + 4], 0xffffffbb
jne 0x430b3f
mov ebp, dword [ebp + 0x24]
add ebp, 1
xor eax, dword [eax]
push 1
push ecx
call fcn.00413370
add esp, 0xc
mov ecx, edi
ljmp 0x2444
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.0046c040
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebp
retf 0xefcc

Function at 0x47e7ab
Capabilities:
Encode data using xor

Disassembly:
sbb byte [eax - 1], dl
jne 0x47e7b8
push ecx
call 0xccb6ff
lodsd eax, dword [esi]
push eax
call 0x9a48a015
mov esp, dword [esi]
add esp, 0x10
cmp edi, 0xffffffff
je 0x47e82f
adc eax, dword [ebp - 8]
mov edi, dword [ebp - 0x24]
imul esi, dword [ebx + 0x56], 0xffffffa4

Function at 0x480400
Capabilities:
Encode data using xor

Disassembly:
cmp al, al
and al, 0xc
push edi
test ecx, ecx
je 0x4803cf
push esi
push ebx
mov ebx, ecx
mov esi, dword [esp + 0x14]
test esi, 0x7f0003
mov edi, dword [esp + 0x10]
jne 0x48035c
shr ecx, 2
jne 0xb048b6df
jmp 0x480383
mov eax, dword [esp + 8]
das
int 0x89
pop ss
mov dword [edi], edx
add edi, 0xffffff8e
sub ecx, 1
int1
lahf
mov edx, 0x7efe270a
nop
push es
push ebp
rol byte [ebx - 0x3dcc0010], 1
xor al, 0x16
add esi, 4
test eax, 0x8e2a0100
je 0x4803d5
test dl, dl
je 0x480429
test dh, dh
loope 0x48041f
idiv dword [ebp + 0x870000]
je 0x480415
idiv dword [ebp]
fdivr qword [ecx - 1]
jne 0x4803d5
mov dword [edi], edx
jmp 0x48042d
and edx, 0xc500ff7a
mov dword [edi], edx
jmp 0x480465
and edx, 0xfe3b00ff
mov dword [edi], edx
jmp 0x48042d
xor edx, edx
inc edi
pop ss
leave
mov dword [ebx + esi], 0x1f983c0
xor eax, 0x89c0330c
pop es
mov dword [edi], eax
add edi, 4
sub ecx, 0x24
jne 0x480439
and ebx, 3
adc byte [ebp - 0x89], al
mov eax, dword [edi + ebp*2 + 0x35]
pop ebx
push cs
mov ebx, 0xccccccc3
int3
rcr dl, 0x50
invalid

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x405e30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4a2600]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
nop dword [eax + eax]
mov cl, byte [edx + esi]
lea eax, [ecx - 0x41]
cmp al, 0x19
ja 0x405e62
movsx eax, cl
sub eax, 0x41
jmp 0x405ea4
lea eax, [ecx - 0x61]
cmp al, 0x19
ja 0x405e71
movsx eax, cl
sub eax, 0x47
jmp 0x405ea4
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x405e80
movsx eax, cl
add eax, 4
jmp 0x405ea4
cmp cl, 0x2b
jne 0x405e8c
mov eax, 0x3e
jmp 0x405ea4
cmp cl, 0x2f
jne 0x405e98
mov eax, 0x3f
jmp 0x405ea4
cmp cl, 0x3d
jne 0x405f21
or eax, 0xffffffff
mov dword [ebp + edx*4 - 0x14], eax
inc edx
cmp edx, 4
jl 0x405e50
mov edx, dword [ebp - 0x14]
cmp edx, 0xffffffff
je 0x405f21
mov esi, dword [ebp - 0x10]
cmp esi, 0xffffffff
je 0x405f21
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
cmp ecx, 0xffffffff
jne 0x405ed2
cmp eax, ecx
jne 0x405f21
lea ebx, [ecx + 2]
jmp 0x405edd
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
add ebx, 2
shl edx, 6
and ecx, 0x3f
or edx, esi
and eax, 0x3f
shl edx, 6
or edx, ecx
shl edx, 6
or edx, eax
mov eax, edx
shr eax, 0x10
mov byte [edi], al
cmp ebx, 1
jbe 0x405f06
mov ecx, edx
shr ecx, 8
mov byte [edi + 1], cl
cmp ebx, 2
jbe 0x405f0e
mov byte [edi + 2], dl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c22
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00429c22
mov esp, ebp
pop ebp
ret

Function at 0x406c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
test esi, esi
je 0x406c95
push ebx
mov ebx, dword [ebp + 0xc]
sub ebx, eax
nop word [eax + eax]
movzx edx, byte [ebx + eax]
lea eax, [eax + 1]
movzx ecx, byte [eax - 1]
xor edx, ecx
or edi, edx
sub esi, 1
jne 0x406c80
pop ebx
mov eax, pe_nt_image_headers32
sub eax, edi
pop edi
shr eax, 8
pop esi
pop ebp
ret
Function at 0x407380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4a2600]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x40], edi
movups xmm0, xmmword [edi + 0x3c8]
movups xmmword [ebp - 0x34], xmm0
test ebx, ebx
jle 0x4074e5
dec ebx
add edx, 3
shr ebx, 4
inc ebx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ebx
push esi
movzx ecx, byte [edx - 3]
lea esi, [edx - 1]
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
movzx ecx, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
call fcn.00407360
add esp, 8
xor edi, edi
mov edx, dword [ebp + edi - 0x34]
lea esi, [esi + 4]
mov ebx, dword [ebp + edi - 0x14]
mov ecx, edx
shr ecx, 0x18
mov eax, ebx
shr eax, 0x18
xor cl, al
mov eax, ebx
mov byte [esi - 6], cl
mov ecx, edx
shr ecx, 0x10
shr eax, 0x10
xor cl, al
mov eax, ebx
mov byte [esi - 5], cl
mov ecx, edx
shr eax, 8
xor dl, bl
shr ecx, 8
xor cl, al
mov byte [esi - 3], dl
mov eax, dword [ebp + edi - 0x24]
mov dword [ebp + edi - 0x34], eax
add edi, 4
mov byte [esi - 4], cl
cmp edi, 0x10
jl 0x407464
mov edx, dword [ebp - 0x38]
mov edi, dword [ebp - 0x40]
add edx, 0x10
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], edx
jne 0x4073c0
movups xmm0, xmmword [ebp - 0x34]
mov eax, edi
pop esi
pop edi
pop ebx
movups xmmword [eax + 0x3c8], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00429c22
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
movups xmmword [edi + 0x3c8], xmm0
pop edi
xor ecx, ebp
pop ebx
call fcn.00429c22
mov esp, ebp
pop ebp
ret