joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, ebx
mov eax, esi
xor eax, eax
mov esi, eax
mov ebx, eax
xor ebx, ebx
xor ebx, eax
mov esi, esi
xor esi, esi
inc esi
rcr eax, 0xc5
rcl edi, 0x95
neg edi
not ebx
or edi, 0xbd
dec eax
and esi, 0x3e
add esi, 0x59
ror ebx, 0xc2
sub eax, 0x9d
dec edx
dec esi
mov esi, 1
and ebx, 0x85
dec edi
and edx, 0xce
bswap esi
neg esi
neg esi
dec esi
neg esi
dec ebx
ror esi, 0x26
imul esi
inc esi
rol eax, 0x29
neg eax
rol edi, 0xe3
or ebx, 0xf1
bswap eax
rol edx, 0x89
rcr edi, 0xa
sbb esi, 0xa3
dec ebx
bswap edx
and esi, 0xf0
rcr ebx, 0xd3
or eax, 0x36
not ebx
rcr edi, 0x60
or edx, 4
or edx, 0x20
not esi
inc edx
add eax, 0xdc
inc edi
sbb edi, 0xa2
sub edx, 0xce
not ebx
xor ecx, ecx
xor edi, edi
xor ebx, eax
mov ebx, ebx
mov eax, esi
xor ebx, ebx
mov esi, esi
mov ebx, ebx
rcr edi, 0x96
inc eax
rol edx, 0xa8
neg eax
neg esi
not ebx
sub ebx, 0x7d
sbb edx, 0x44
dec edi
not edx
neg esi
sub edi, 0x96
and ebx, 0x9d
bswap eax
not edx
not eax
neg ebx
ror esi, 0x48
rcl edi, 0x57
mov esi, 0xa0
neg eax
dec edi
neg edi
inc edx
and eax, 0xf0
not esi
not eax
inc edi
mov eax, 0xc4
rcl eax, 0xec
and esi, 0x3b
rcr ebx, 0x81
rol esi, 0x22
not esi
rcr edi, 0xba
bswap ebx
add edx, 0xb
sub ebx, 0x1e
ror esi, 0xb0
and eax, 0xf7
imul ebx
sub edx, 0xe
sbb eax, 7
dec edi
dec edi
not edx
sub edx, 0xc7
ror eax, 0x81
rcl eax, 0x66
rcl edi, 0xf2
mov eax, esi
xor esi, ebx
mov ebx, ebx
mov esi, eax
mov eax, esi
mov ebx, ebx
mov eax, esi
xor ebx, eax
mov eax, eax
mov ecx, dword [ebp + 0xc]
inc edi
rcl edi, 0xf4
rol esi, 0x3c
rcr edx, 0x59
dec edi
not esi
dec ebx
or ebx, 0x55
and ebx, 0x70
add esi, 0x96
or eax, 0x80
sbb ebx, 0xc2
neg edi
and esi, 0x5b
neg edx
rol edx, 0xe4
inc eax
mov eax, 0xbe
sub edi, 0xb6
bswap eax
not eax
rol edi, 0x73
rcl edi, 0x78
not esi
neg esi
inc edi
neg edi
not edi
imul eax
bswap edi
imul eax
not edi
add ebx, 0x18
imul edi
inc eax
sub edx, 0xd
not esi
or esi, 0x89
and edx, 0x9b
not eax
add esi, 0xde
mov eax, 0x44
bswap edx
or edx, 0xf8
dec eax
rcr eax, 0x61
rcl ebx, 0xd6
rcl edx, 0x98
bswap edi
dec eax
mov edi, dword [ebp + 8]
xor eax, esi
mov ebx, esi
xor ebx, ebx
mov esi, ebx
mov eax, esi
mov ebx, esi
xor eax, esi
xor eax, esi
mov esi, ebx
not byte [edi]
mov eax, eax
mov eax, ebx
mov eax, eax
mov eax, ebx
xor eax, esi
mov ebx, esi
mov esi, eax
xor ebx, ebx
xor ebx, eax
xor esi, eax
mov eax, eax
mov ebx, esi
add byte [edi], 0x25
sub byte [edi], 0x18
mov ebx, esi
mov esi, ebx
mov eax, eax
xor esi, esi
xor esi, eax
xor eax, esi
mov esi, eax
mov esi, eax
mov ebx, esi
imul byte [edi]
inc edi
loop 0x4011ee
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402a22
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x494e5c]
jne 0x402a2c
repz ret
jmp fcn.00404725
Function at 0x405f63
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.00402aa3
and dword [ebp - 4], 0
cmp dword [0x49644c], 0
mov ebx, eax
jne 0x406014
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4060c5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4060c5
push eax
call fcn.00402a31
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x49644c], eax
call esi
push eax
call fcn.00402a31
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x496450], eax
call esi
push eax
call fcn.00402a31
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x496454], eax
call esi
push eax
call fcn.00402a31
pop ecx
mov dword [0x49645c], eax
test eax, eax
je 0x406014
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402a31
pop ecx
mov dword [0x496458], eax
mov eax, dword [0x496458]
cmp eax, ebx
je 0x40606c
cmp dword [0x49645c], ebx
je 0x40606c
push eax
call fcn.00402aac
push dword [0x49645c]
mov esi, eax
call fcn.00402aac
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40606c
test edi, edi
je 0x40606c
call esi
test eax, eax
je 0x406063
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406063
test byte [ebp - 0xc], 1
jne 0x40606c
or dword [ebp + 0x10], 0x200000
jmp 0x4060a5
mov eax, dword [0x496450]
cmp eax, ebx
je 0x4060a5
push eax
call fcn.00402aac
pop ecx
test eax, eax
je 0x4060a5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4060a5
mov eax, dword [0x496454]
cmp eax, ebx
je 0x4060a5
push eax
call fcn.00402aac
pop ecx
test eax, eax
je 0x4060a5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49644c]
call fcn.00402aac
pop ecx
test eax, eax
je 0x4060c5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4060c7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x59d369
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5aab14]
jne 0x59d373
repz ret
jmp fcn.0059e79d

Function at 0x59ec61
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.0059cd8f
and dword [ebp - 4], 0
cmp dword [0x5ac758], 0
mov ebx, eax
jne 0x59ed12
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x59edc3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x59edc3
push eax
call fcn.0059cd1d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x5ac758], eax
call esi
push eax
call fcn.0059cd1d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5ac75c], eax
call esi
push eax
call fcn.0059cd1d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5ac760], eax
call esi
push eax
call fcn.0059cd1d
pop ecx
mov dword [0x5ac768], eax
test eax, eax
je 0x59ed12
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0059cd1d
pop ecx
mov dword [0x5ac764], eax
mov eax, dword [0x5ac764]
cmp eax, ebx
je 0x59ed6a
cmp dword [0x5ac768], ebx
je 0x59ed6a
push eax
call fcn.0059cd98
push dword [0x5ac768]
mov esi, eax
call fcn.0059cd98
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x59ed6a
test edi, edi
je 0x59ed6a
call esi
test eax, eax
je 0x59ed61
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x59ed61
test byte [ebp - 0xc], 1
jne 0x59ed6a
or dword [ebp + 0x10], 0x200000
jmp 0x59eda3
mov eax, dword [0x5ac75c]
cmp eax, ebx
je 0x59eda3
push eax
call fcn.0059cd98
pop ecx
test eax, eax
je 0x59eda3
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x59eda3
mov eax, dword [0x5ac760]
cmp eax, ebx
je 0x59eda3
push eax
call fcn.0059cd98
pop ecx
test eax, eax
je 0x59eda3
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5ac758]
call fcn.0059cd98
pop ecx
test eax, eax
je 0x59edc3
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x59edc5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a1600
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x5aa744], 0x1554
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x5aa744], 0x1692
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x5a1667
xor eax, eax
mov dword [0x5aa744], 0x25b9
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x18], eax
je 0x5a16e7
jmp 0x5a175d
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x5a169e
mov dword [0x5aa748], 0x1592
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x5a1667
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x5aa744], 0x1ca7
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jne 0x5a175d
xor eax, eax
mov dword [0x5aa744], 0xc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x18], eax
je 0x5a1640
jmp 0x5a175d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x18], eax
jne 0x5a175d
xor eax, eax
mov dword [0x5aa744], 0x117f
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x18], eax
jne 0x5a175d
xor eax, eax
mov dword [0x5aa744], 0x109a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x18], eax
jne 0x5a175d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x5a175d
mov eax, 1
mov dword [0x5aa744], 0x25d4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x20
pop ebp
ret

Function at 0x5a1c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.005a1c50]
mov dword [ebp - 4], eax
jmp 0x5a1c61
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x5a1c85
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x5a1c85
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov dword [0x5aa744], 0x205d
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
jmp 0x5a1c61
Function at 0x5a1d90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x5aa750], 0
mov byte [0x5aa754], 0
mov dword [0x5aa744], 0x2573
mov dword [0x5aa74c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [0x5aa74c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x5aa748], 0x1ba
mov eax, dword [0x5aa74c]
add eax, 1
mov dword [0x5aa74c], eax
cmp eax, 0x100
jl 0x5a1dd0
mov dword [0x5aa74c], 0
mov eax, 0x100
mov dword [0x5aa758], 0
mov ecx, dword [0x5aa750]
mov edx, dword [0x5aa74c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x1c], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x5aa758], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x1c]
idiv edi
mov dword [0x5aa750], edx
mov ecx, dword [0x5aa74c]
mov bl, byte [esi + ecx]
mov byte [0x5aa754], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov dword [0x5aa748], 0xfb9
mov bl, byte [0x5aa754]
mov ecx, dword [0x5aa750]
mov byte [esi + ecx], bl
mov ecx, dword [0x5aa74c]
add ecx, 1
mov dword [0x5aa74c], ecx
cmp ecx, 0x100
jl 0x5a1e09
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x5a2010
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x5aa74c], 0
mov dword [0x5aa750], 0
mov dword [0x5aa75c], 0
mov dword [0x5aa748], 0x16e1
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x5a215a
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x5aa744], 0xbcd
mov edx, eax
add edx, 1
mov esi, dword [0x5aa74c]
add esi, 1
mov dword [ebp - 0x24], eax
mov eax, esi
mov dword [ebp - 0x28], edx
cdq
idiv ecx
mov dword [0x5aa74c], edx
mov dword [0x5aa748], 0x136b
mov esi, dword [0x5aa750]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x5aa750], edx
mov ecx, dword [0x5aa74c]
mov bl, byte [edi + ecx]
mov byte [0x5aa754], bl
mov dword [0x5aa744], 0xd53
mov bl, byte [edi + edx]
mov ecx, dword [0x5aa74c]
mov byte [edi + ecx], bl
mov bl, byte [0x5aa754]
mov ecx, dword [0x5aa750]
mov byte [edi + ecx], bl
mov ecx, dword [0x5aa74c]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x5aa750]
movzx edx, byte [edi + edx]
add edx, ecx
mov dword [0x5aa744], 0x45a
and edx, 0xff
mov dword [0x5aa75c], edx
mov bl, byte [edi + edx]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
movzx esi, byte [ecx + edx]
mov dword [esp], esi
movzx esi, bl
mov dword [esp + 4], esi
call fcn.00401000
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov byte [ecx + edx], al
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x10]
cmp esi, edi
mov dword [ebp - 0x20], esi
jne 0x5a2069
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x4085a6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4085b5
pop dword [ebp - 8]
mov eax, 0x43d961b
sub eax, 0x3fd1066
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xbc2c3724
sub dword [ebp - 0x18], 0x6dd9f1d9
mov dword [ebp - 0x14], 0x1adb009c
add dword [ebp - 0x14], 0x17584ba9
mov dword [ebp - 0x10], 0xc2abb58c
sub dword [ebp - 0x10], 0x765f715e
mov dword [ebp - 0xc], 0xd4700bd5
sub dword [ebp - 0xc], 0xd4700bd5
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x5da13e8b
add dword [ebp - 0x18], 0x16d12acb
mov dword [ebp - 0x14], 0x16d7dbf4
sub dword [ebp - 0x14], 0xd56b7a7f
mov dword [ebp - 0x10], 0x37a6bb24
add dword [ebp - 0x10], 0x2bc8b148
mov dword [ebp - 0xc], 0x1253e591
add dword [ebp - 0xc], 0xedac1a6f
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xec1317a4
sub eax, 0xebd0e680
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x39c94
push 0
call eax
mov ecx, 0x384a
mov esi, eax
mov edi, 0x513e8002
sub edi, 0x50fb3c02
add edi, dword [ebp - 8]
mov ebx, 0x5832dd08
add ebx, 0x3708c8e8
sub dword [ebp - 4], 0x2a44aee3
mov edx, dword [edi]
mov dword [ebp - 4], 0xcdfcb748
xor edx, ebx
add dword [ebp - 4], eax
mov dword [esi], edx
sub dword [ebp - 4], 0xaa02a651
add esi, 4
add edi, 0x169603db
sub edi, 0x169603d7
loop 0x4086cc
add eax, 0xd3fb
xor ebx, ebx
add ebx, eax
add eax, 0xf4a859c0
sub eax, 0xf4a859bb
mov ecx, 0xc3283677
sub ecx, 0xc2e83677
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1725d10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xeb7000]
push edi
or ebp, 0xffffffff
jmp 0x1725d32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1725d39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1725d28
mov eax, 1
add ebx, ebx
jne 0x1725d4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1725d5c
jne 0x1725d7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1725d7b
dec eax
add ebx, ebx
jne 0x1725d68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1725d40
add ebx, ebx
jne 0x1725d77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1725dcd
xor ecx, ecx
sub eax, 3
jb 0x1725d93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1725e02
sar eax, 1
mov ebp, eax
jmp 0x1725d9e
add ebx, ebx
jne 0x1725d9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1725d6c
inc ecx
add ebx, ebx
jne 0x1725dac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1725d6c
add ebx, ebx
jne 0x1725db9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1725dae
jne 0x1725dca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1725dae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1725dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1725dde
jmp 0x1725d2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1725dec
add edi, ecx
jmp 0x1725d2e
pop esi
mov edi, esi
mov ecx, 0xe9fe81
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1725e27
cmp byte [edi], 0x6e
jne 0x1725e0c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1725e0a
lea edi, [esi + 0x1321000]
mov eax, dword [edi]
or eax, eax
je 0x1725e78
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13294e8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1329664]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1725e2d
mov ecx, edi
jns 0x1725e5c
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 + 0x1329668]
or eax, eax
je 0x1725e72
mov dword [ebx], eax
add ebx, 4
jmp 0x1725e4a
call dword [esi + 0x1329678]
mov ebp, dword [esi + 0x132966c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1725eac
sub esp, 0xffffff80
jmp 0x8a9179

Function at 0x40894a
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
call fcn.0040897f
sub edx, ebx
xor dword [edi], eax
sub edx, ebx
or edx, ebx
add edi, 1
sub edx, edx
sub edx, ebx
cmp edi, ecx
jne fcn.0040894a
sub ebx, 1
sub edx, 0x2340c512
ret
Function at 0x42a060
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push 0xca62c1d6
push 0x8f1bbcdc
push 0x6ed9eba1
push 0x5a827999
push edx
call fcn.0042a410
ret 0x18

Function at 0x42a2f0
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0xfffffff
imul eax, eax, 8
jo 0x42a310
test ecx, 0x10000000
je 0x42a30d
or eax, 0x80000000
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x42a320
Capabilities:
Hash data using sha1

Disassembly:
mov ecx, dword [esp + 4]
mov eax, ecx
and eax, 0x3fffffff
imul eax, eax, 2
jo 0x42a34a
test ecx, 0x40000000
je 0x42a33d
or eax, 0x80000000
test ecx, 0x80000000
je 0x42a347
or al, 1
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]

Function at 0x42a350
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
mov ecx, esi
mov eax, esi
and ecx, 0x3ffffff
imul ecx, ecx, 0x20
jo 0x42a38e
and eax, 0xf8000000
cdq
and edx, 0x7ffffff
add eax, edx
sar eax, 0x1b
and eax, 0x1f
or ecx, eax
test esi, 0x4000000
pop esi
je 0x42a389
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x42a3a0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
xor edx, ecx
jge 0x42a3b5
add eax, ecx
jo 0x42a3c6
ret 8
xor eax, 0x80000000
add eax, ecx
jo 0x42a3c6
xor eax, 0x80000000
ret 8
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop

Function at 0x42a3d0
Capabilities:
Hash data using sha1

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
mov eax, ebx
and ecx, 1
imul ecx, ecx, 0x40000000
jo 0x42a407
and al, 0xfc
cdq
and edx, 3
add eax, edx
sar eax, 2
and eax, 0x3fffffff
or ecx, eax
test bl, 2
pop ebx
je 0x42a402
or ecx, 0x80000000
mov eax, ecx
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
Function at 0x10001c00
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x4f40
call 0x100562ff
movdqa xmm0, xmmword [0x4186000]
movdqa xmm1, xmmword [0x4186010]
mov ebx, dword [edx + 4]
mov dword [esp + 0x9c], ecx
mov ecx, dword [edx]
mov edi, edx
call fcn.10001c36
Function at 0x1001ac70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x1001acc0
cmp edi, esi
jb 0x1001ad2b
cmp edi, dword [ebp + 0x10]
ja 0x1001ad3e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x1001acc2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x1001acb0
jmp 0x1001ad1f
ja 0x1001acc9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x1001ac85
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x1001ad00
mov ebx, esi
sub ecx, edx
jns 0x1001ad17
jmp 0x1001ad21
cmp esi, edi
je 0x1001ad52
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x1001ad21
xor al, 1
cmp ebx, edi
jne 0x1001ace0
jmp 0x1001ad21
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x4186d6c
call fcn.10019880
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x4186d6c
call fcn.10018fb0
add esp, 4
ud2
mov ecx, 0x418d3e4
mov edx, 0x2b
push 0x4186d5c
call fcn.100194a0
add esp, 4
ud2
Function at 0x1002f900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
movzx esi, byte [ebp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or esi, edx
mov edx, dword [ebp + 0xc]
and ecx, 0xfffff000
or esi, ecx
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10034d00
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1002f952
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 8], esi
jmp 0x1002fa29
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
xor edi, edi
lea esi, [0x41883f5]
mov ecx, 0xfffffff9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [0x41883f6]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, eax
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jb 0x1002f9a1
or bl, 0x20
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x1002fa31
add bl, 0xa9
mov eax, ebx
mov edx, edi
movzx ebx, al
lea eax, [esi + 1]
shl edx, 4
or ebx, edx
test ecx, ecx
cmove eax, esi
je 0x1002f9c1
shld dword [ebp - 0x18], edi, 4
inc ecx
test esi, esi
mov edi, ebx
jne 0x1002f980
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002f9e2
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
and eax, 0xfff
movzx eax, byte [ecx + eax]
mov byte [edx + 4], al
mov dword [edx], 0
jmp 0x1002fa29
mov ecx, 0x418d2c9
mov edx, 0x13
xor ebx, 0x2c7
call fcn.1001cfa0
mov ecx, 0x418d2a5
mov edx, 6
mov edi, eax
call fcn.1001cfa0
mov edx, dword [ebp - 0x10]
test eax, eax
mov ecx, 1
cmove eax, ecx
test edi, edi
cmove edi, ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x418beb4
mov edx, 0xe
push 0x4187700
call fcn.100194a0
add esp, 4
ud2
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x416b91
Capabilities:
Encode data using xor

Disassembly:
pop ecx
ret
push ebp
mov ebp, esp
jnp 0x416b82
and byte [ebx + 0x57560845], cl
push 8
fnstsw word [esi + 0x419860]
lea edi, [ebp - 0x20]
xor al, 0x89
inc ebp
clc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test dword [ebp - 0xc], 0xf075ff50
push dword [ebp - 0x1c]
invalid