joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x421140
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.ABC1
lea edi, [esi - 0x15000]
push edi
or ebp, 0xffffffff
jmp 0x421162
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421169
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421158
mov eax, 1
add ebx, ebx
jne 0x42117b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421170
jne 0x42118c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421170
xor ecx, ecx
sub eax, 3
jb 0x4211a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421212
mov ebp, eax
add ebx, ebx
jne 0x4211ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4211b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4211dc
inc ecx
add ebx, ebx
jne 0x4211c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4211bd
jne 0x4211d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4211bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4211fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4211ed
jmp 0x42115e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4211fc
add edi, ecx
jmp 0x42115e
pop esi
mov edi, esi
mov ecx, 0x558
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42121a
cmp byte [edi], 5
jne 0x42121a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42121f
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x421297
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21238]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2129c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42124c
mov ecx, edi
jns 0x42127b
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 + 0x212a0]
or eax, eax
je 0x421291
mov dword [ebx], eax
add ebx, 4
jmp 0x421269
call dword [esi + 0x212b0]
mov ebp, dword [esi + 0x212a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4212cb
sub esp, 0xffffff80
jmp 0x40473a

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
call 0x43100c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0xfa241c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0xfa243b
mov dl, byte [ecx + eax]
sub dl, 0x79
xor dl, 0x15
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0xfa2429
pop ebp
ret

Function at 0xfa28d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jle 0xfa28f5
mov dl, byte [ecx + eax]
xor dl, 0x15
add dl, 0x79
mov byte [ecx + eax], dl
inc ecx
cmp ecx, dword [ebp + 0xc]
jl 0xfa28e3
pop ebp
ret

Function at 0xfa2a15
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 0x10]
cdq
mov ecx, 0x5ab
push esi
idiv ecx
mov esi, dword [ebp + 0xc]
add dl, 0x3d
test esi, esi
jbe 0xfa2a3e
mov eax, dword [ebp + 8]
mov cl, byte [eax]
xor cl, dl
add cl, dl
mov byte [eax], cl
inc eax
dec esi
jne 0xfa2a32
pop esi
pop ebp
ret

Function at 0xfa2a41
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
call dword [fcn.00fc60d4]
lea ecx, [ebp - 4]
push ecx
push 0x28
push eax
call dword [fcn.00fc6140]
test eax, eax
je 0xfa2ae4
lea eax, [ebp - 0x10]
push ebx
push eax
lea eax, [ebp - 0x28]
xor ebx, ebx
push eax
push ebx
mov byte [ebp - 0x28], 0x53
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x65
mov byte [ebp - 0x24], 0x62
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x67
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x76
mov byte [ebp - 0x1d], 0x69
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x67
mov byte [ebp - 0x19], 0x65
mov byte [ebp - 0x18], bl
call dword [fcn.00fc6150]
test eax, eax
je 0xfa2ada
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [fcn.00fc6154]
push dword [ebp - 4]
call dword [fcn.00fc6088]
pop ebx
leave
ret

Function at 0xfa2f80
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
rdtsc
xchg ebx, eax
rdtsc
sub eax, ebx
cmp eax, dword [ebp + 8]
jg 0xfa2f96
xor eax, eax
jmp 0xfa2f99
push 1
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0xfa2fda
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xfba3e8
push 0xfb492a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0xfa303a
or dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0xfa31fc
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xfba418
push 0xfb492a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
and dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
jmp 0xfa325c
or dword [ebp - 4], 0xffffffff
movzx eax, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0xfa3306
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
inc eax
dec ebx
dec eax
inc ebx
push 0xfc2284
or esi, 0xffffffff
call dword [fcn.00fba144]
test eax, eax
je 0xfa33dc
push 0xfc2294
push eax
call dword [fcn.00fba148]
mov dword [ebp - 0x18], eax
inc eax
dec ebx
dec eax
inc ebx
cmp dword [ebp - 0x18], 0
jne 0xfa334b
mov eax, esi
jmp 0xfa33e4
push 0
push 2
call dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
inc eax
dec ebx
dec eax
inc ebx
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], pe_nt_image_headers32
push eax
push dword [ebp - 0x14]
call fcn.00fb5300
test eax, eax
je 0xfa33dc
inc eax
dec ebx
dec eax
inc ebx
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x11c]
push eax
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x78
mov byte [ebp - 0xe], 0x70
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xb], 0x72
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call dword [0xfba264]
pop ecx
test eax, eax
pop ecx
je 0xfa33d6
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x14]
call fcn.00fb52fa
jmp 0xfa3372
mov esi, dword [ebp - 0x138]
mov ecx, esi
inc eax
dec ebx
dec eax
inc ebx
mov eax, ecx
pop esi
pop ebx
leave
ret

Function at 0xfa34b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x78
mov byte [ebp - 5], 0x65
call fcn.00fac789
test eax, eax
pop ecx
je 0xfa3509
push 0
push 0xfc22f0
call dword [fcn.00fc603c]
leave
ret
Function at 0xfa4c29
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
xor esi, esi
push edi
push esi
lea eax, [ebp - 0x10c]
push 0x1c
push eax
push esi
call dword [fcn.00fc61a4]
lea eax, [ebp - 0x10c]
push eax
call dword [fcn.00fc61b0]
test eax, eax
je 0xfa4c82
lea eax, [ebp - 0x10c]
push 0xfc2ee0
push eax
call fcn.00fb553c
lea eax, [ebp - 0x10c]
push 0xfc5f3c
push eax
call fcn.00fb553c
push 0xfc2ee4
jmp 0xfa4cb6
lea eax, [ebp - 0x10c]
push eax
call dword [0xfba300]
lea eax, [ebp - 0x10c]
push 0xfc2eec
push eax
call fcn.00fb553c
lea eax, [ebp - 0x10c]
push 0xfc5f3c
push eax
call fcn.00fb553c
push 0xfc2ef8
lea eax, [ebp - 0x10c]
push eax
call fcn.00fb553c
add esp, 0x18
lea eax, [ebp - 0x10c]
push esi
push 0x80
push 4
push esi
push 2
push 0x40000000
push eax
call dword [fcn.00fba138]
push esi
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esi
call dword [0xfba0ac]
cmp eax, 0x3200000
jae 0xfa4d04
push 2
push esi
push esi
push dword [ebp - 4]
call dword [0xfba0a8]
push dword [ebp + 8]
mov esi, dword [fcn.00fba064]
call esi
mov ebx, eax
push ebx
call fcn.00fb5312
test ebx, ebx
pop ecx
mov edi, eax
jle 0xfa4d2f
mov ecx, dword [ebp + 8]
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec ebx
jne 0xfa4d23
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 8]
call esi
push eax
push edi
push dword [ebp - 4]
call dword [0xfba0a4]
push dword [ebp - 4]
call dword [fcn.00fc6088]
push edi
call fcn.00fb530c
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0xfa66fc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
push ebx
push esi
push dword [ebp + 8]
call dword [fcn.00fc615c]
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0xfa6878
lea esi, [eax + 1]
push esi
call dword [0xfba25c]
push esi
mov dword [ebp - 0x24], eax
push dword [ebp + 8]
push eax
call dword [fcn.00fc6160]
push 0x2f
push dword [ebp - 0x24]
call dword [0xfba288]
mov esi, eax
add esp, 0x18
inc esi
je 0xfa6878
push edi
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x223]
mov byte [ebp - 0x224], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x328]
push 0x2e
push eax
push ebx
call dword [fcn.00fc61a4]
lea eax, [ebp - 0x328]
push 0xfc31b8
push eax
call fcn.00fb553c
lea eax, [ebp - 0x328]
push esi
push eax
lea eax, [ebp - 0x224]
push eax
call dword [fcn.00fc60ec]
add esp, 0x14
lea eax, [ebp - 0x20]
mov byte [ebp - 0xc], 0x75
mov byte [ebp - 0xb], 0x72
push eax
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6d
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], bl
mov byte [ebp - 0x20], 0x55
mov byte [ebp - 0x1f], 0x52
mov byte [ebp - 0x1e], 0x4c
mov byte [ebp - 0x1d], 0x44
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], 0x77
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], 0x6c
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0xe], bl
call dword [fcn.00fba144]
push eax
call dword [fcn.00fba148]
push ebx
lea ecx, [ebp - 0x224]
push ebx
push ecx
push dword [ebp - 0x24]
push ebx
call eax
cmp eax, ebx
pop edi
jne 0xfa6878
lea eax, [ebp - 0x224]
push eax
call fcn.00fad1a8
test eax, eax
pop ecx
je 0xfa6878
push 5
push ebx
lea eax, [ebp - 0x224]
push ebx
push eax
push ebx
push ebx
call dword [0xfc61a8]
cmp eax, 0x20
ja 0xfa6873
lea eax, [ebp - 0x224]
push 5
push eax
call fcn.00fa656a
pop ecx
pop ecx
push 1
pop eax
jmp 0xfa687a
xor eax, eax
pop esi
pop ebx
leave
ret 4
Function at 0xfa88a5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
xor ebx, ebx
push edi
push ebx
lea eax, [ebp - 0x110]
push 0x1c
push eax
mov dword [ebp - 0xc], ecx
push ebx
xor edi, edi
mov dword [ebp - 8], ebx
call dword [fcn.00fc61a4]
lea eax, [ebp - 0x110]
push eax
call dword [fcn.00fc61b0]
test eax, eax
je 0xfa8905
lea eax, [ebp - 0x110]
push 0xfc37a8
push eax
call fcn.00fb553c
lea eax, [ebp - 0x110]
push 0xfc5f3c
push eax
call fcn.00fb553c
push 0xfc37ac
jmp 0xfa8939
lea eax, [ebp - 0x110]
push eax
call dword [0xfba300]
lea eax, [ebp - 0x110]
push 0xfc37b4
push eax
call fcn.00fb553c
lea eax, [ebp - 0x110]
push 0xfc5f3c
push eax
call fcn.00fb553c
push 0xfc37c0
lea eax, [ebp - 0x110]
push eax
call fcn.00fb553c
add esp, 0x18
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [fcn.00fba138]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0xfa89b4
push esi
push ebx
push eax
call dword [0xfba0ac]
mov edi, eax
push edi
call fcn.00fb5312
pop ecx
mov esi, eax
lea eax, [ebp - 8]
push ebx
push eax
push edi
push esi
push dword [ebp - 4]
call dword [0xfba0dc]
xor eax, eax
cmp edi, ebx
jbe 0xfa89a0
xor byte [eax + esi], 0x62
inc eax
cmp eax, edi
jb 0xfa8997
mov ecx, dword [ebp - 0xc]
push edi
push esi
call fcn.00fa885a
push esi
mov edi, eax
call fcn.00fb530c
pop ecx
pop esi
push dword [ebp - 4]
call dword [fcn.00fc6088]
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0xfaaa5b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
mov byte [ebp - 0x34], 0x68
mov byte [ebp - 0x33], 0x74
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x3a
mov byte [ebp - 0x2f], 0x2f
mov byte [ebp - 0x2e], 0x2f
mov byte [ebp - 0x2d], 0x77
mov byte [ebp - 0x2c], 0x77
mov byte [ebp - 0x2b], 0x77
mov byte [ebp - 0x2a], 0x2e
mov byte [ebp - 0x29], 0x74
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x62
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x2e
mov byte [ebp - 0x22], 0x63
mov byte [ebp - 0x21], 0x6f
mov byte [ebp - 0x20], 0x6d
mov byte [ebp - 0x1f], 0x2f
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x2f
mov byte [ebp - 0x19], 0x67
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x69
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x2e
mov byte [ebp - 0x13], 0x70
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0x11], 0x70
mov byte [ebp - 0x10], bl
call dword [0xfba364]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 8], edi
je 0xfaabf4
push ebx
push 0x80000000
push ebx
lea eax, [ebp - 0x34]
push ebx
push eax
push edi
call dword [0xfba360]
mov esi, eax
cmp esi, ebx
jne 0xfaab36
push edi
call dword [0xfba35c]
jmp 0xfaabf4
push ebx
lea eax, [ebp - 4]
push ebx
push eax
push esi
call dword [0xfba358]
test eax, eax
jne 0xfaab58
push esi
mov esi, dword [0xfba35c]
call esi
push edi
call esi
jmp 0xfaabf4
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00fb5312
mov edi, eax
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push edi
call dword [fcn.00fc6164]
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push edi
push esi
call dword [0xfba368]
test eax, eax
jne 0xfaab9e
push edi
call fcn.00fb530c
mov edi, dword [0xfba35c]
pop ecx
push esi
call edi
push dword [ebp - 8]
call edi
jmp 0xfaabf4
push esi
mov esi, dword [0xfba35c]
call esi
push dword [ebp - 8]
call esi
push 0x22
push edi
call dword [0xfba294]
push 0x22
push edi
mov esi, eax
call dword [0xfba288]
add esp, 0x10
cmp esi, ebx
je 0xfaabed
cmp eax, ebx
je 0xfaabed
inc esi
mov byte [eax], bl
push esi
call dword [0xfba380]
push edi
mov esi, eax
call fcn.00fb530c
cmp esi, 0xffffffff
pop ecx
je 0xfaabed
mov eax, dword [ebp + 8]
push 1
mov dword [eax], esi
pop eax
jmp 0xfaabf6
push edi
call fcn.00fb530c
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xfaba5f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
cmp word [eax], 0x5a4d
jne 0xfabb70
mov esi, dword [eax + 0x3c]
add esi, eax
cmp dword [esi], 0x4550
jne 0xfabb70
mov edi, 0x2000
push 4
push edi
push dword [esi + 0x50]
push dword [esi + 0x34]
call dword [0xfc6074]
mov ebx, eax
test ebx, ebx
jne 0xfabab6
push 4
push edi
push dword [esi + 0x50]
push eax
call dword [0xfc6074]
mov ebx, eax
test ebx, ebx
je 0xfabb70
push 0x14
push 0
call dword [0xfba0ec]
push eax
call dword [0xfba0e8]
mov edi, eax
xor eax, eax
push 4
push 0x1000
mov dword [edi + 4], ebx
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
push dword [esi + 0x50]
push ebx
call dword [0xfc6074]
push 4
push 0x1000
push dword [esi + 0x54]
push ebx
call dword [0xfc6074]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, dword [esi + 0x54]
push ecx
push eax
push dword [ebp - 4]
call dword [fcn.00fc6160]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push esi
mov eax, dword [ecx + 0x3c]
push ecx
add eax, edx
mov dword [edi], eax
mov dword [eax + 0x34], ebx
call fcn.00fabb7e
mov eax, ebx
add esp, 0x18
sub eax, dword [esi + 0x34]
je 0xfabb3b
push eax
push edi
call fcn.00fabce4
pop ecx
pop ecx
push edi
call fcn.00fabd5e
test eax, eax
pop ecx
je 0xfabb69
push edi
call fcn.00fabc27
mov eax, dword [edi]
pop ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0xfabb77
add eax, ebx
test eax, eax
je 0xfabb69
push 0
push 1
pop esi
push esi
push ebx
call eax
test eax, eax
jne 0xfabb74
push edi
call fcn.00fabf1d
pop ecx
xor eax, eax
jmp 0xfabb79
mov dword [edi + 0x10], esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0xfabb7e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
and dword [ebp - 4], 0
push esi
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebx]
movzx ecx, word [eax + 0x14]
cmp word [eax + 6], 0
lea esi, [ecx + eax + 0x18]
jbe 0xfabc23
push edi
add esi, 0x10
mov edi, 0x1000
cmp dword [esi], 0
jne 0xfabbe4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
test eax, eax
mov dword [ebp - 0xc], eax
jle 0xfabc11
push 4
push edi
push eax
mov eax, dword [esi - 4]
add eax, dword [ebp - 8]
push eax
call dword [0xfc6074]
push dword [ebp - 0xc]
mov dword [esi - 8], eax
push 0
push eax
call dword [fcn.00fc6164]
add esp, 0xc
jmp 0xfabc11
mov eax, dword [esi - 4]
push 4
add eax, dword [ebp - 8]
push edi
push dword [esi]
push eax
call dword [0xfc6074]
push dword [esi]
mov ebx, eax
mov eax, dword [esi + 4]
add eax, dword [ebp + 8]
push eax
push ebx
call dword [fcn.00fc6160]
mov dword [esi - 8], ebx
mov ebx, dword [ebp + 0x10]
add esp, 0xc
mov eax, dword [ebx]
inc dword [ebp - 4]
add esi, 0x28
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jl 0xfabbad
pop edi
pop esi
pop ebx
leave
ret
Function at 0xfac95f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xfba460
push 0xfb492a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
push 0xfc472c
call dword [fcn.00fba144]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x44], 0x4f
mov byte [ebp - 0x43], 0x70
mov byte [ebp - 0x42], 0x65
mov byte [ebp - 0x41], 0x6e
mov byte [ebp - 0x40], 0x49
mov byte [ebp - 0x3f], 0x6e
mov byte [ebp - 0x3e], 0x70
mov byte [ebp - 0x3d], 0x75
mov byte [ebp - 0x3c], 0x74
mov byte [ebp - 0x3b], 0x44
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x73
mov byte [ebp - 0x38], 0x6b
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x6f
mov byte [ebp - 0x35], 0x70
xor ebx, ebx
mov byte [ebp - 0x34], bl
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x24]
mov esi, dword [fcn.00fba148]
call esi
mov dword [ebp - 0x1c], eax
push str..PAX
push dword [ebp - 0x24]
call esi
mov edi, eax
push str..PAD
push dword [ebp - 0x24]
call esi
mov esi, eax
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
push 0x1ff
push ebx
push ebx
je 0xfaca1c
push dword [ebp + 8]
call edi
jmp 0xfaca1f
call dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp eax, ebx
je 0xfaca36
push eax
call fcn.00fac861
pop ecx
test eax, eax
jne 0xfaca39
push dword [ebp - 0x2c]
call esi
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
call fcn.00faca56
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0xfaea22
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0xfaea30
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0xfaeb11
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0xfbb864]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0xfbb864]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0xfbb864]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0xfbb864]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0xfbb864]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0xfbb864]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0xfbb864]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0xfbb864]
xor eax, esi
inc edx
dec edi
jne 0xfaea4d
pop ebx
cmp dword [ebp + 0x10], 0
je 0xfaeb32
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0xfbb864]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0xfaeb17
pop edi
pop esi
not eax
pop ebp
ret

Function at 0xfaeb38
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
push edi
mov edx, 0xff
mov esi, dword [ecx]
movzx edi, byte [ebp + 0xc]
mov eax, esi
and eax, edx
xor eax, edi
shr esi, 8
mov eax, dword [eax*4 + 0xfbb864]
xor eax, esi
mov esi, dword [ecx + 8]
mov dword [ecx], eax
and eax, edx
add eax, dword [ecx + 4]
mov edi, esi
and edi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr esi, 8
mov eax, dword [eax*4 + 0xfbb864]
xor eax, esi
pop esi
mov dword [ecx + 8], eax
pop ebp
ret