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

Disassembly:
push esi
mov esi, edx
xor eax, eax
cmp esi, 8
jb 0x44c103
push edi
shr edx, 3
mov edi, dword [ecx + 4]
sub esi, 8
xor edi, dword [ecx]
add ecx, 8
xor eax, edi
dec edx
jne 0x44c0f2
pop edi
cmp esi, 4
jb 0x44c10d
xor eax, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x44c11e
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp esi, 1
jbe 0x44c12a
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
test esi, esi
pop esi
jbe 0x44c134
movzx ecx, byte [ecx]
xor eax, ecx
ret

Function at 0x457a84
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
mov eax, 0x49703f
call fcn.00490450
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ax, word [edi]
lea ecx, [esi + 0x24]
mov word [esi], ax
mov ax, word [edi + 2]
mov word [esi + 2], ax
mov ax, word [edi + 4]
mov word [esi + 4], ax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
lea eax, [edi + 0x24]
push eax
call fcn.00402667
and dword [ebp - 4], 0
add edi, 0x30
push edi
lea ecx, [esi + 0x30]
call fcn.00457b07
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x460262
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0xc], eax
mov al, byte [edi + 2]
mov word [esi], bx
cmp byte [edi + 1], bl
mov byte [ebp + 0xf], al
je 0x4602f4
lea eax, [edi + 0x20]
lea ecx, [esi + 0x24]
push eax
call fcn.004026e9
lea eax, [edi + 0x2c]
lea ecx, [esi + 0x60]
push eax
call fcn.0042485f
cmp byte [edi + 4], bl
je 0x4602b0
or byte [esi + 1], 8
jmp 0x4602b5
and word [esi], 0xf7ff
mov eax, dword [edi + 0x10]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x7c], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x80], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x84], eax
mov al, byte [edi + 3]
mov byte [esi + 0x88], al
cmp byte [ebp + 0xf], bl
mov byte [esi + 0x41], bl
mov byte [esi + 0x40], 0x3f
mov byte [esi + 5], bl
mov word [esi + 0x42], bx
jne 0x460314
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], bl
je 0x460314
or byte [esi], 1
jmp 0x460319
and word [esi], 0xfffe
cmp byte [ebp + 8], bl
je 0x460323
or byte [esi], 8
jmp 0x460328
and word [esi], 0xfff7
cmp byte [ebp + 0xf], bl
je 0x460344
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov byte [esi + 4], 0x14
mov word [esi + 2], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
lea edi, [esi + 0x30]
mov ecx, edi
call fcn.0045ce9e
mov byte [edi + 0xe], bl
lea edi, [esi + 0x50]
mov ecx, edi
call fcn.0045ce9e
cmp byte [ebp + 0xf], bl
mov byte [edi + 0xe], bl
je 0x46037c
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov byte [esi + 4], 0x14
mov word [esi + 2], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
jmp 0x4603a8
mov eax, dword [ebp - 4]
cmp byte [eax + 0x6c], bl
je 0x4603a8
cmp byte [eax + 0x58], bl
je 0x4603a8
cmp dword [eax + 0x64], ebx
jne 0x460393
push 8
pop ecx
jmp 0x460399
mov ecx, dword [eax + 0x60]
movzx ecx, byte [ecx]
mov dl, byte [eax + 0x59]
movzx cx, cl
push ecx
mov ecx, esi
call fcn.004603af
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4603af
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, 0x4975d0
call fcn.00490450
sub esp, 0x14
mov ax, word [ebp + 8]
push esi
mov esi, ecx
mov word [ebp - 0x10], ax
xor eax, eax
mov word [ebp - 0x14], 2
mov byte [ebp - 0x12], dl
mov word [esi + 2], 0x63
mov dword [esi + 0x1c], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00460420
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x30]
push eax
call fcn.0045ce47
lea eax, [ebp - 0x20]
lea ecx, [esi + 0x50]
push eax
call fcn.0045ce47
push dword [ebp - 0x1c]
call fcn.00401c9a
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x464520
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x1c], 0xffffffff
mov edx, dword [esi + 0x78]
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov ecx, dword [eax]
add edx, 0x400
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004642c0
mov eax, dword [esi + 0x24]
mov ebp, dword [esi + 0x20]
mov edi, 0x100000
add ebp, eax
sub edi, eax
mov al, byte [esi + 0x43]
cmp al, bl
je 0x464599
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
sub eax, ecx
mov ecx, dword [esi + 0x4c]
sbb ecx, edx
xor edx, edx
cmp edx, ecx
jb 0x464599
ja 0x464593
cmp edi, eax
jb 0x464599
cmp eax, ebx
mov edi, eax
je 0x4645db
push edi
push ebp
lea ecx, [esp + 0x18]
call fcn.00464310
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x24]
sub eax, ebp
add ecx, eax
mov dword [esi + 0x50], ecx
mov ebp, dword [esi + 0x54]
adc ebp, ebx
add edx, eax
cmp eax, edi
mov dword [esi + 0x54], ebp
mov dword [esi + 0x24], edx
jb 0x4645cd
mov ecx, esi
call fcn.004644e0
cmp eax, ebx
jne 0x4645fe
cmp dword [esp + 0x18], ebx
jg 0x464561
cmp dword [esp + 0x20], ebx
je 0x4645ef
jmp 0x464561
mov cl, byte [esi + 0x42]
xor eax, eax
pop edi
cmp cl, bl
pop esi
pop ebp
setne al
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x40], 1
not eax
mov dword [esi + 0x3c], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x464529
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x1c], 0xffffffff
mov edx, dword [esi + 0x78]
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov ecx, dword [eax]
add edx, 0x400
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.004642c0
mov eax, dword [esi + 0x24]
mov ebp, dword [esi + 0x20]
mov edi, 0x100000
add ebp, eax
sub edi, eax
mov al, byte [esi + 0x43]
cmp al, bl
je 0x464599
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
sub eax, ecx
mov ecx, dword [esi + 0x4c]
sbb ecx, edx
xor edx, edx
cmp edx, ecx
jb 0x464599
ja 0x464593
cmp edi, eax
jb 0x464599
cmp eax, ebx
mov edi, eax
je 0x4645db
push edi
push ebp
lea ecx, [esp + 0x18]
call fcn.00464310
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x24]
sub eax, ebp
add ecx, eax
mov dword [esi + 0x50], ecx
mov ebp, dword [esi + 0x54]
adc ebp, ebx
add edx, eax
cmp eax, edi
mov dword [esi + 0x54], ebp
mov dword [esi + 0x24], edx
jb 0x4645cd
mov ecx, esi
call fcn.004644e0
cmp eax, ebx
jne 0x4645fe
cmp dword [esp + 0x18], ebx
jg 0x464561
cmp dword [esp + 0x20], ebx
je 0x4645ef
jmp 0x464561
mov cl, byte [esi + 0x42]
xor eax, eax
pop edi
cmp cl, bl
pop esi
pop ebp
setne al
pop ebx
add esp, 0x20
ret 4
mov eax, dword [esp + 0x1c]
mov byte [esi + 0x40], 1
not eax
mov dword [esi + 0x3c], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x466de0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x31
call fcn.00466490
push 0x41
mov ecx, esi
call fcn.00466490
push 0x59
mov ecx, esi
call fcn.00466490
push 0x26
mov ecx, esi
call fcn.00466490
push 0x53
mov ecx, esi
call fcn.00466490
push 0x59
mov ecx, esi
call fcn.00466490
mov ecx, dword [esp + 0x1c]
or eax, 0xffffffff
xor edi, edi
xor ebp, ebp
mov bl, byte [ecx]
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x1c]
cmp edi, 4
mov cl, byte [edx + ebp]
mov byte [esp + 0x14], cl
jne 0x466e70
test cl, cl
jbe 0x466e6c
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
and edx, 0xff
and ecx, 0xff
mov edi, eax
shr edi, 0x18
xor edi, edx
shl eax, 8
mov edi, dword [edi*4 + 0x4ae9f4]
xor eax, edi
dec ecx
jne 0x466e56
xor edi, edi
jmp 0x466e9f
cmp bl, cl
jne 0x466e77
inc edi
jmp 0x466e82
mov bl, cl
mov edi, 1
mov byte [esp + 0x10], bl
mov edx, dword [esp + 0x14]
mov ecx, eax
shr ecx, 0x18
and edx, 0xff
xor ecx, edx
shl eax, 8
mov ecx, dword [ecx*4 + 0x4ae9f4]
xor eax, ecx
mov ecx, dword [esp + 0x20]
inc ebp
cmp ebp, ecx
jb 0x466e2e
not eax
mov edi, eax
mov ecx, esi
push edi
call fcn.004664d0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov ecx, esi
call fcn.004665f0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x4670b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x8ce0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 8
mov byte [esp + 0x1c], bl
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x8cd4], ebx
mov eax, dword [edx + 0x174]
mov edx, dword [esi]
push edi
push eax
push ecx
push edx
mov ecx, esi
call fcn.00466ee0
mov ecx, dword [esi + 0x8ce0]
cmp byte [ecx + 0x1a0], bl
je 0x46712c
mov eax, dword [esi + 0x8cd8]
lea edx, [eax + eax*8]
shl edx, 3
sub edx, eax
mov eax, dword [ecx + 0x17c]
shl edx, 9
mov ecx, dword [edx + eax + 0x8cf0]
call fcn.00489e40
mov eax, dword [esi + 0x8cd4]
xor edx, edx
cmp eax, ebx
jbe 0x467169
lea edi, [esi + 0x7cd4]
mov eax, dword [esi + 0x8ce0]
add edi, 4
add eax, 0x178
mov ecx, dword [eax]
mov ebp, ecx
add ecx, ecx
shr ebp, 0x1f
or ebp, ecx
mov ecx, dword [edi - 4]
xor ebp, ecx
inc edx
mov dword [eax], ebp
mov eax, dword [esi + 0x8cd4]
cmp edx, eax
jb 0x46713e
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push edx
mov edx, dword [esi + 8]
lea ecx, [eax*8 + 8]
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x8ce0]
push edx
call fcn.00467240
mov edi, dword [esi + 0x8ce0]
cmp byte [edi + 0x1a0], bl
je 0x467229
mov ebp, dword [esi + 0x8cd8]
mov eax, dword [edi + 0x19c]
inc ebp
cmp ebp, eax
jne 0x4671b4
xor ebp, ebp
cmp dword [edi + 0x1b4], ebx
je 0x467205
lea ecx, [edi + 0x148]
call fcn.0040ca60
mov ebx, dword [edi + 0x140]
mov ecx, 0xf
sub ecx, ebx
xor edi, edi
shr ecx, 3
add eax, ecx
adc edx, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x8ce0]
mov eax, dword [edx + 0x1b4]
lea edx, [esp + 0x10]
push edx
lea edx, [esi + 0x8cf8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esi + 0x8ce0]
lea ecx, [ebp + ebp*8]
shl ecx, 3
mov edx, dword [eax + 0x17c]
sub ecx, ebp
shl ecx, 9
lea ecx, [edx + ecx + 0x8cf0]
call fcn.00489e90
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x474b80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x50]
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
cmp esi, 0x40
rep stosd dword es:[edi], eax
jbe 0x474bbe
mov ecx, ebx
call fcn.00488730
mov edx, dword [esp + 0x50]
push esi
mov ecx, ebx
call fcn.00488dc0
lea edx, [esp + 0xc]
mov ecx, ebx
call fcn.00488ed0
jmp 0x474bda
test esi, esi
jbe 0x474bda
mov ecx, esi
mov esi, dword [esp + 0x50]
mov eax, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x36
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x474bdc
mov ecx, ebx
call fcn.00488730
push 0x40
lea edx, [esp + 0x10]
mov ecx, ebx
call fcn.00488dc0
xor eax, eax
mov cl, byte [esp + eax + 0xc]
xor cl, 0x6a
mov byte [esp + eax + 0xc], cl
inc eax
cmp eax, 0x40
jb 0x474c03
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.00488730
push 0x40
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.00488dc0
pop edi
pop esi
pop ebx
add esp, 0x40
ret 8

Function at 0x474ca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xb4
xor eax, eax
push ebx
push esi
mov ebx, ecx
push edi
mov ecx, 0x10
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xc8]
cmp edi, 0x40
jbe 0x474d1b
lea ecx, [esp + 0x60]
call fcn.00488730
mov edx, dword [esp + 0xc4]
push edi
lea ecx, [esp + 0x64]
call fcn.00488dc0
lea edx, [esp + 0xc]
lea ecx, [esp + 0x60]
call fcn.00488ed0
xor eax, eax
xor ecx, ecx
xor edx, edx
mov ch, byte [esp + eax + 0xc]
mov dl, byte [esp + eax + 0xe]
mov cl, byte [esp + eax + 0xd]
add eax, 4
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [esp + eax + 0xb]
shl ecx, 8
or ecx, edx
cmp eax, 0x14
mov dword [esp + eax + 0x1c], ecx
jb 0x474ced
jmp 0x474d54
xor eax, eax
test edi, edi
jbe 0x474d54
push ebp
mov ebp, dword [esp + 0xc8]
mov ecx, eax
mov edx, eax
shr ecx, 2
and edx, 3
lea esi, [esp + ecx*4 + 0x24]
mov ecx, 3
sub ecx, edx
xor edx, edx
mov dl, byte [eax + ebp]
shl ecx, 3
shl edx, cl
mov ecx, dword [esi]
or ecx, edx
inc eax
cmp eax, edi
mov dword [esi], ecx
jb 0x474d29
pop ebp
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x36363636
dec ecx
mov dword [eax - 4], edi
jne 0x474d5d
mov ecx, ebx
call fcn.00488730
push 0x10
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.00488fe0
lea eax, [esp + 0x20]
mov ecx, 0x10
mov edi, dword [eax]
add eax, 4
xor edi, 0x6a6a6a6a
dec ecx
mov dword [eax - 4], edi
jne 0x474d8b
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.00488730
push 0x10
lea edx, [esp + 0x24]
mov ecx, esi
call fcn.00488fe0
pop edi
pop esi
pop ebx
add esp, 0xb4
ret 8
Function at 0x474e10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x80
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 5
call fcn.00488f90
lea ecx, [ebp + 0x60]
push 5
lea edx, [esp + 0x54]
call fcn.00488f90
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0x474e92
mov esi, eax
lea eax, [esp + 0x50]
lea edx, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00488760
lea ecx, [esp + 0x10]
lea edx, [esp + 0x50]
push ecx
lea ecx, [ebp + 0x60]
call fcn.00488760
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x474e84
dec esi
jne 0x474e56
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x475ce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa0
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x475d11
lea ecx, [esp + 0x4c]
call fcn.00488730
lea edx, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
call fcn.00488dc0
lea ecx, [esp + 0x4c]
mov edx, dword [esp + 0xb0]
call fcn.00488ed0
pop edi
pop esi
pop ebx
add esp, 0xa0
ret 4
Function at 0x476ff0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [eax]
push edi
mov ebp, ecx
xor edi, edi
and esi, 7
mov dword [esp + 0xc], ebp
cmp edx, 5
jae 0x477017
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 8
ret 0xc
add dword [esp + 0x18], 5
push ebx
lea ebx, [edx - 4]
add ebx, ebp
mov dword [esp + 0x14], ebx
lea edx, [edi + ebp]
cmp edx, ebx
jae 0x47703f
lea ecx, [ecx]
mov cl, byte [edx]
and cl, 0xfe
cmp cl, 0xe8
je 0x47703f
inc edx
cmp edx, ebx
jb 0x477030
mov ecx, edx
sub ecx, edi
mov edi, edx
sub ecx, ebp
sub edi, ebp
cmp edx, ebx
jae 0x47712b
cmp ecx, 2
jbe 0x477097
xor esi, esi
movzx ecx, byte [edx + 4]
lea eax, [ecx + 1]
test al, 0xfe
jne 0x47711c
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or eax, ecx
mov ecx, dword [esp + 0x1c]
lea ebp, [edi + ecx]
add edi, 5
cmp dword [esp + 0x24], 0
je 0x4770c0
add eax, ebp
jmp 0x4770c2
shr esi, cl
test esi, esi
je 0x477058
cmp esi, 4
ja 0x4770b5
cmp esi, 3
je 0x4770b5
mov ecx, esi
shr ecx, 1
movzx eax, byte [ecx + edx + 1]
inc eax
test al, 0xfe
jne 0x477058
or esi, 8
shr esi, 1
inc edi
jmp 0x477026
sub eax, ebp
test esi, esi
je 0x4770f6
and esi, 6
add esi, esi
add esi, esi
mov ebx, eax
mov ecx, esi
shr ebx, cl
inc ebx
test bl, 0xfe
jne 0x4770f0
mov ebx, 0x100
shl ebx, cl
dec ebx
xor eax, ebx
cmp dword [esp + 0x24], 0
je 0x4770ee
add eax, ebp
jmp 0x4770f0
sub eax, ebp
mov ebx, dword [esp + 0x14]
xor esi, esi
mov ebp, dword [esp + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + 1], al
mov byte [edx + 2], cl
mov ecx, eax
shr eax, 0x18
shr ecx, 0x10
and al, 1
neg al
mov byte [edx + 3], cl
mov byte [edx + 4], al
jmp 0x477026
mov ebp, dword [esp + 0x10]
or esi, 8
shr esi, 1
inc edi
jmp 0x477026
pop ebx
cmp ecx, 2
jbe 0x477144
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc
mov edx, dword [esp + 0x1c]
shr esi, cl
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebp
add esp, 8
ret 0xc

Function at 0x4783a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
or eax, 0xffffffff
push esi
mov dword [ecx + 0x34], edx
mov byte [ecx + 0x1f], dl
mov dword [ecx + 0x24], edx
mov dword [ecx + 0x468], eax
mov dword [ecx + 0x46c], eax
mov dword [ecx + 0x30], 0x20
mov dword [ecx + 0x48], 4
mov word [ecx + 0x1d], 1
lea esi, [ecx + 0x60]
mov eax, edx
and eax, 1
neg eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
shr ecx, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x4783d2
pop esi
ret
Function at 0x47fcc0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
or edx, 0x100
push ebx
lea esp, [esp]
mov ecx, edx
and ecx, 1
shr edx, 1
movzx ebx, word [edi + edx*2]
neg ecx
shr ecx, 4
shr ebx, 4
and ecx, 0x7f
xor ebx, ecx
add eax, dword [esi + ebx*4]
cmp edx, 2
jae 0x47fcd0
pop ebx
ret

Function at 0x47fd00
Capabilities:
Encode data using xor

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

Function at 0x480010
Capabilities:
Encode data using xor

Disassembly:
push ebp
xor edx, edx
push esi
mov esi, edx
shr esi, 1
mov ebp, esi
and ebp, 1
mov eax, edx
shr eax, 2
movzx ecx, word [ebx + eax*2 + 4]
neg ebp
shr ebp, 4
neg eax
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
movzx ebp, word [ebx + 2]
mov ecx, dword [edi + ecx*4]
and eax, 0x7f0
xor eax, ebp
shr eax, 4
add ecx, dword [edi + eax*4]
movzx eax, word [ebx + esi*2 + 8]
add ecx, dword [esp + 0xc]
mov esi, eax
shr esi, 4
mov ebp, dword [edi + esi*4]
mov esi, dword [esp + 0x10]
xor eax, 0x7f0
add ebp, ecx
shr eax, 4
mov dword [esi + edx*4], ebp
mov eax, dword [edi + eax*4]
add eax, ecx
mov dword [esi + edx*4 + 4], eax
add edx, 2
cmp edx, 8
jb 0x480014
pop esi
pop ebp
ret 8

Function at 0x480090
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
movzx edx, word [esi]
mov ecx, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push edi
mov edi, eax
mov eax, ebx
imul eax, eax, 0x440
lea eax, [eax + ecx + 0x44]
push eax
shr edx, 4
mov dword [esp + 0x10], eax
mov eax, dword [edi + edx*4]
shl ebx, 5
add ebx, esi
push eax
call fcn.00480010
movzx ecx, word [esi]
movzx eax, word [esi + 0x10]
mov edx, dword [esp + 0xc]
xor ecx, 0x7f0
shr ecx, 4
mov ebp, dword [edi + ecx*4]
shr eax, 4
mov ecx, dword [edi + eax*4]
add edx, 0x20
push edx
add ecx, ebp
push ecx
add ebx, 0x10
call fcn.00480010
movzx edx, word [esi + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
xor edx, 0x7f0
shr edx, 4
add ebp, dword [edi + edx*4]
mov edx, dword [esp + 0x1c]
mov ebx, 0x10
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
mov dword [ecx + edx*4 + 4], eax
cmp eax, ebx
jbe 0x480166
lea ecx, [ebx - 0x10]
xor edx, edx
or ecx, 0x100
jmp 0x480130
mov eax, ecx
and eax, 1
shr ecx, 1
movzx ebp, word [esi + ecx*2 + 0x200]
neg eax
shr eax, 4
shr ebp, 4
and eax, 0x7f
xor ebp, eax
add edx, dword [edi + ebp*4]
cmp ecx, 2
jae 0x480130
add edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [ecx + ebx*4], edx
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x480120
pop edi
pop ebp
pop ebx
add esp, 8
ret 8
Function at 0x483f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 1
push edi
mov dword [esi + 0x30], eax
mov dword [esi + 0x44], eax
or eax, 0xffffffff
xor edi, edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x78], edi
mov dword [esi + 0x68], edi
cmp eax, 0x20
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
jbe 0x483f7b
mov eax, 0x20
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x58], edi
cmp eax, ecx
je 0x483fbc
lea ebx, [esi + 0xc8]
mov ebp, 0x20
cmp dword [ebx + 8], edi
je 0x483fa1
mov ecx, ebx
call fcn.00483c00
add ebx, 0x28
dec ebp
jne 0x483f95
mov edx, dword [esi + 0x5c]
cmp edx, edi
je 0x483fb7
mov ecx, dword [esi + 0x14]
call dword [ecx + 4]
mov dword [esi + 0x5c], edi
mov ecx, dword [esi]
mov dword [esi + 0x20], ecx
mov edx, dword [esi + 0x10]
lea ecx, [esi + 0x98]
call fcn.00483ad0
mov eax, dword [esi + 0x58]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
lea edx, [eax + eax*4 + 0x19]
inc eax
mov dword [esi + 0x58], eax
lea ebp, [esi + edx*8]
mov ecx, ebp
call fcn.00484060
mov ebx, eax
cmp ebx, edi
jne 0x48401f
lea ecx, [ebp + 0x20]
call fcn.00489e90
mov ebx, eax
cmp ebx, edi
jne 0x48401f
lea ecx, [ebp + 0x1c]
call fcn.00489e90
mov ebx, eax
cmp ebx, edi
jne 0x48401f
push ebp
call fcn.004840b0
mov ebx, eax
cmp ebx, edi
je 0x484034
mov ecx, esi
mov dword [esi + 0x44], edi
call fcn.00484090
cmp ebx, edi
jle 0x48402f
and ebx, 0xffff
or ebx, 0x80070000
cmp ebx, edi
je 0x484034
mov dword [esi + 0x40], ebx
cmp dword [esi + 0x38], edi
jne 0x484046
cmp dword [esi + 0x40], edi
jne 0x484046
cmp dword [esi + 0x3c], edi
jne 0x484046
mov dword [esi + 0x44], edi
mov eax, dword [esi + 0x44]
pop edi
neg eax
sbb eax, eax
pop esi
not eax
and eax, ebx
pop ebp
pop ebx
ret
Function at 0x488730
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret