joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424d5e
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
lea eax, [ebp - 0x18]
mov edi, ecx
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x428db0
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov ecx, edi
push ebx
call fcn.0043f58e
test esi, esi
mov dword [edi + 4], ebx
mov byte [edi + 8], bl
mov dword [edi + 0xc], ebx
mov byte [edi + 0x10], bl
mov dword [edi + 0x14], ebx
mov word [edi + 0x18], bx
mov dword [edi + 0x1c], ebx
mov word [edi + 0x20], bx
mov dword [edi + 0x24], ebx
mov byte [edi + 0x28], bl
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], bl
mov dword [ebp - 0x20], edi
je 0x424ded
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.0043f8ed
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.00440317
add esp, 4
nop
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x424e1e
push eax
call fcn.0049e09d
add esp, 4
mov dword [esi + 0x2c], 0
mov eax, esi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x424e37
push eax
call fcn.0049e09d
add esp, 4
mov dword [esi + 0x24], 0
mov eax, esi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x424e50
push eax
call fcn.0049e09d
add esp, 4
mov dword [esi + 0x1c], 0
mov eax, esi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x424e69
push eax
call fcn.0049e09d
add esp, 4
mov dword [esi + 0x14], 0
mov eax, esi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x424e82
push eax
call fcn.0049e09d
add esp, 4
mov dword [esi + 0xc], 0
mov eax, esi
mov eax, dword [esi + 4]
test eax, eax
je 0x424e9b
push eax
call fcn.0049e09d
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.0043f5bf
add esp, 8
pop ebp
ret

Function at 0x424eec
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x55f9d4]
mov bl, 1
xor eax, esp
mov dword [esp + 0x24], eax
cmp dword [ecx + 0x38], 0
je 0x424f74
cmp byte [ecx + 0x3d], 0
mov esi, ecx
je 0x424f74
mov eax, dword [esi]
mov ecx, esi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x424f6a
mov ecx, dword [esi + 0x38]
lea eax, [esp + 0x24]
mov ebp, esp
lea edi, [esp + 4]
lea edx, [esi + 0x40]
mov ebx, dword [ecx]
push ebp
push eax
push edi
push edx
call dword [ebx + 0x20]
cmp eax, 3
je 0x424f6e
cmp eax, 1
je 0x424f47
test eax, eax
jne 0x424f6a
mov byte [esi + 0x3d], 0
mov ebx, dword [esp]
sub ebx, edi
je 0x424f61
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0049e781
add esp, 0x10
cmp ebx, eax
jne 0x424f6a
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x424f74
xor ebx, ebx
jmp 0x424f74
mov bl, 1
mov byte [esi + 0x3d], 0
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0043f03d
mov eax, ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4259d2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
lea esi, [ebp - 0x18]
mov dword [ebp - 0x24], ecx
mov dword [esi - 4], esp
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0x428d90
mov eax, dword fs:[0]
mov dword [esi], eax
mov dword fs:[0], esi
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
call fcn.0043efc9
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [esi + 8], 0
push 1
call fcn.0043fac7
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x34], ecx
lea ecx, [eax + 4]
mov dword [eax + 0xc], ecx
lea ecx, [eax + 8]
mov dword [eax + 0x10], ecx
lea ecx, [eax + 0x14]
mov dword [eax + 0x1c], ecx
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea ecx, [eax + 0x24]
mov dword [eax + 0x2c], ecx
lea ecx, [eax + 0x28]
mov dword [eax + 0x30], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x429b6a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x7d0
mov esi, esp
mov dword [esi + 0x7b8], ebp
lea edx, [esi + 0x7c0]
mov dword [esi + 8], ecx
mov dword [edx - 4], esp
mov dword [edx + 8], 0xffffffff
mov dword [edx + 4], 0x433750
mov eax, dword fs:[0]
mov dword [edx], eax
mov dword fs:[0], edx
push 0x53e63b
jmp loc.0250e101
Function at 0x42bcfa
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x436810
mov edx, dword fs:[0]
mov dword [eax], edx
mov dword fs:[0], eax
lea edx, [ebp + 0xc]
mov dword [ecx], 0x4b83c4
mov esi, dword [edx - 4]
mov dword [ecx + 4], esi
xor esi, esi
mov byte [ecx + 0x38], 0
mov dword [ecx + 0x30], esi
mov dword [ecx + 0x34], esi
mov dword [ecx + 0x28], esi
mov dword [ecx + 0x2c], esi
mov dword [ecx + 0x20], esi
mov dword [ecx + 0x24], esi
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x1c], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], esi
mov dword [eax + 8], esi
lea eax, [ecx + 8]
lea ecx, [ecx + 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
push edx
call fcn.0042a318
lea eax, [ebp + 8]
mov ebx, dword [ebp - 0x20]
mov al, byte [eax + 0x2c]
lea ecx, [ebx + 0x14]
mov byte [ebx + 0x68], al
lea eax, [ebp - 0x21]
mov byte [ebx + 0x70], 8
mov dword [ebx + 0x78], 0
mov byte [eax], 1
mov edx, dword [ebx + 0x20]
mov esi, edx
shr esi, 5
test edx, edx
lea edi, [esi + 0x38000000]
cmovns edi, esi
and edx, 0x1f
shl edi, 2
add edi, dword [ebx + 0x14]
xor esi, esi
add ebx, 0x78
inc esi
mov dword [ebp - 0x28], ebx
lea ebx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
push eax
push esi
push edx
push edi
push ebx
call fcn.00434458
lea esi, [ebp + 8]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x42bded
lea edx, [ebp + 0xc]
xor eax, eax
cmp ecx, edx
mov edx, dword [ecx]
setne al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x28], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret 0x30

Function at 0x42bede
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
lea edi, [ebp - 0x18]
mov ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [edi - 4], esp
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0x4367b0
mov ecx, dword fs:[0]
mov dword [edi], ecx
mov dword fs:[0], edi
mov ecx, ebx
push eax
call fcn.00436202
mov edx, dword [ebx + 4]
mov eax, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x20], ebx
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], ecx
mov dword [edi + 8], ecx
mov dword [ebp - 0x24], edx
lea ecx, [edx + 0x10]
push eax
call fcn.00414ab4
mov eax, dword [ebp - 0x24]
xor ebx, ebx
mov ecx, dword [ebp + 0xc]
mov byte [eax + 0x28], bl
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [eax + 4]
mov dword [edx + 8], ecx
mov ecx, dword [eax + 4]
mov byte [ecx + 0xc], bl
mov ecx, dword [eax + 4]
mov byte [ecx + 0xd], bl
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
Function at 0x434010
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
lea edi, [ebp - 0x18]
mov esi, ecx
mov dword [edi - 4], esp
mov dword [edi + 8], 0xffffffff
mov dword [edi + 4], 0x436690
mov eax, dword fs:[0]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword fs:[0], edi
push eax
call fcn.0042a318
xor eax, eax
lea ebx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov ecx, ebx
push dword [ebp + 8]
call fcn.0042ebd4
mov al, byte [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov byte [esi + 0x90], al
xor eax, eax
mov dword [edi + 8], eax
call fcn.0042e18c
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x44564f
Capabilities:
Parse pe header

Disassembly:
push 0
push ebp
call fcn.0248b474
test eax, eax
je 0x44568f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44568f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44568f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44568f
cmp dword [ecx + 0x74], 0xe
jbe 0x44568f
cmp dword [ecx + 0xe8], 0
je 0x44568f
mov al, 1
ret
xor al, al
ret

Function at 0x44acd0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x18
mov eax, dword [0x55f9d4]
xor eax, esp
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x44adaa
lea eax, [esp + 4]
push eax
push edi
push 2
call fcn.00464ae0
add esp, 0xc
test eax, eax
jne 0x44adaa
lea eax, [esp + 8]
push eax
push edi
push 0x17
call fcn.00464ae0
add esp, 0xc
test eax, eax
jne 0x44adaa
push ebx
push ebp
push esi
mov esi, edi
xor ebx, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x44ad25
sub esi, ecx
push esi
push 0x2e
push edi
call fcn.00464ab0
add esp, 0xc
test eax, eax
je 0x44ad59
sub eax, edi
push eax
push 0x2e
push edi
call fcn.00464ab0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44ad5b
inc ebx
mov ecx, edi
sub ecx, ebx
add esi, ecx
test ebx, ebx
cmovne edi, ebx
xor ecx, ecx
xor ebp, ebp
mov ebx, 0x1505
lea eax, [esi + edi]
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x44ad94
mov al, byte [edi]
push eax
call fcn.00458c50
movsx ecx, al
lea edi, [edi + 1]
mov eax, ebx
inc ebp
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp ebp, esi
jb 0x44ad73
pop esi
pop ebp
movzx eax, bl
pop ebx
pop edi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0043f03d
add esp, 0x18
ret
mov ecx, dword [esp + 0x18]
xor eax, eax
pop edi
xor ecx, esp
call fcn.0043f03d
add esp, 0x18
ret
Function at 0x454d90
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x610], 0
je 0x454dd4
push esi
push 1
push edi
call fcn.00446e70
push dword [edi + 0x5a4]
mov eax, dword [edi + 0x610]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00446e70
add esp, 0x24
mov eax, esi
pop esi
pop edi
ret
mov eax, dword [esp + 0xc]
cmp eax, 2
ja 0x454e0d
push dword [edi + 0x5a0]
lea eax, [eax + eax*2]
push 1
add eax, 0x532640
push 2
push eax
call fcn.0049e781
push dword [edi + 0x5a0]
push 1
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.0049e781
add esp, 0x20
xor eax, eax
pop edi
ret
Function at 0x489480
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x55fb40]
mov edi, eax
add esp, 4
test edi, edi
jne 0x4894a7
pop edi
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x4894f2
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x4894f6
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x489556
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x489515
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x489587
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x533770
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x533771
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x489560
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4ad66b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004ad676
Function at 0x220abf0
Capabilities:
Contain obfuscated stackstrings
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
sub esp, 0x48
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0x10]
cmp ebx, esi
je 0x220ad52
cmp edi, esi
je 0x220ad52
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, edi
mov dword [ebp - 0x48], 0x44434241
mov dword [ebp - 0x44], 0x48474645
mov dword [ebp - 0x40], 0x4c4b4a49
mov dword [ebp - 0x3c], 0x504f4e4d
mov dword [ebp - 0x38], 0x54535251
mov dword [ebp - 0x34], 0x58575655
mov dword [ebp - 0x30], 0x62615a59
mov dword [ebp - 0x2c], 0x66656463
mov dword [ebp - 0x28], 0x6a696867
mov dword [ebp - 0x24], 0x6e6d6c6b
mov dword [ebp - 0x20], 0x7271706f
mov dword [ebp - 0x1c], 0x76757473
mov dword [ebp - 0x18], 0x7a797877
mov dword [ebp - 0x14], 0x33323130
mov dword [ebp - 0x10], 0x37363534
mov dword [ebp - 0xc], 0x2f2b3938
mov dword [ebp - 4], esi
mov ecx, edi
mov dword [ebp - 8], eax
cmp edx, esi
jbe 0x220ad42
add edi, 4
jmp 0x220aca3
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x220acb8
mov dword [ebp - 4], 2
jmp 0x220acd9
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x220accf
mov dword [ebp - 4], 1
jmp 0x220acd9
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x220ad52
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x48]
mov byte [ecx + 1], bl
mov ebx, dword [ebp - 4]
cmp ebx, 1
jbe 0x220ad10
mov byte [ecx + 2], 0x3d
jmp 0x220ad1d
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x48]
mov byte [ecx + 2], al
add ecx, 3
add edi, 3
test ebx, ebx
je 0x220ad2c
mov byte [ecx], 0x3d
jmp 0x220ad32
mov dl, byte [ebp + edx - 0x48]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x220aca0
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, edi
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4f32b0
Capabilities:
Encode data using xor

Disassembly:
push 0x4f302c
pop ecx
inc edi
inc edi
call fcn.004f32e3
add ebx, ebx
dec edi
xor dword [eax], ecx
and edi, ebx
inc eax
add edi, edi
add ebx, 1
cmp eax, edx
jne fcn.004f32b0
add edi, edi
mov edi, 0x3de6062b
ret
Function at 0x78dcb1
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov dword [ebp - 0x28], eax
mov eax, pe_nt_image_headers32
call fcn.0079698a
test eax, eax
je 0x78dd45
mov ebx, eax
xor ecx, ecx
mov esi, 0xff
mov edi, 8
mov eax, ecx
mov edx, ecx
sar eax, 1
and eax, 0x77777777
sub edx, eax
mov eax, ecx
sar eax, 2
and eax, 0x33333333
sub edx, eax
mov eax, ecx
sar eax, 3
and eax, 0x11111111
sub edx, eax
mov eax, edx
sar eax, 4
add eax, edx
and eax, 0xf0f0f0f
cdq
idiv esi
mov eax, edi
sub eax, edx
mov byte [ebx + ecx], al
inc ecx
cmp ecx, 0x100
jne 0x78dcd9
jmp 0x78dd58
sub esp, 0xc
push dword [ebp - 0x24]
call fcn.00796b45
add esp, 0x10
sub esp, 0xc
push ebx
call fcn.00796b45
mov eax, dword [ebp - 0x38]
add esp, 0x10
or eax, dword [ebp - 0x34]
jne 0x78de87
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
jmp 0x78de91
mov eax, 0x10000
call fcn.0079698a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x78de74
push eax
mov edx, dword [ebp - 0x38]
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x28]
push 0
push 0x10000
call fcn.0078bed5
mov dword [ebp - 0x20], eax
xor eax, eax
add esp, 0x10
cmp eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
sbb eax, dword [ebp - 0x1c]
jge 0x78dd1f
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
add dword [ebp - 0x38], esi
mov edx, edi
adc dword [ebp - 0x34], edi
mov eax, esi
shrd eax, edx, 2
add eax, 0x3fffffff
mov edi, dword [ebp - 0x24]
lea ecx, [edi + eax*4]
cmp ecx, dword [ebp - 0x24]
jb 0x78de14
mov eax, dword [ecx]
movzx edx, ah
movzx edi, byte [ebx + edx]
movzx edx, al
movzx edx, byte [ebx + edx]
add edx, edi
mov edi, edx
mov edx, eax
shr edx, 0x10
movzx edx, dl
shr eax, 0x18
movzx edx, byte [ebx + edx]
movzx eax, byte [ebx + eax]
add edx, edi
add eax, edx
cdq
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
sub ecx, 4
jmp 0x78ddd8
mov eax, dword [ebp - 0x20]
and eax, 3
cmp eax, 2
je 0x78de43
cmp eax, 3
je 0x78de2d
dec eax
jne 0x78dd89
jmp 0x78de59
mov eax, dword [ebp - 0x24]
xor edx, edx
add eax, dword [ebp - 0x20]
movzx eax, byte [eax - 3]
movzx eax, byte [ebx + eax]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
xor edx, edx
add eax, dword [ebp - 0x20]
movzx eax, byte [eax - 2]
movzx eax, byte [ebx + eax]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
xor edx, edx
add eax, dword [ebp - 0x24]
movzx eax, byte [eax - 1]
movzx eax, byte [ebx + eax]
add dword [ebp - 0x30], eax
adc dword [ebp - 0x2c], edx
jmp 0x78dd89
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
jmp 0x78dd2d
cmp dword [ebp - 0x1c], 0
js 0x78dd45
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x888890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f1000]
mov dword [edi + 0x30ac48], 0x7c2da569
push edi
or ebp, 0xffffffff
jmp 0x8888ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8888c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8888b0
mov eax, 1
add ebx, ebx
jne 0x8888d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8888e4
jne 0x888903
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x888903
dec eax
add ebx, ebx
jne 0x8888f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8888c8
add ebx, ebx
jne 0x8888ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x888955
xor ecx, ecx
sub eax, 3
jb 0x88891b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88898a
sar eax, 1
mov ebp, eax
jmp 0x888926
add ebx, ebx
jne 0x888926
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8888f4
inc ecx
add ebx, ebx
jne 0x888934
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8888f4
add ebx, ebx
jne 0x888941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x888936
jne 0x888952
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x888936
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x888974
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x888966
jmp 0x8888b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x888974
add edi, ecx
jmp 0x8888b6
pop esi
mov edi, esi
mov ecx, 0xf01c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x888992
cmp byte [edi], 0x2f
jne 0x888992
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 0x888997
lea edi, [esi + 0x484000]
mov eax, dword [edi]
or eax, eax
je 0x888a06
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49294c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x492a8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8889c4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x492a90]
or eax, eax
je 0x888a00
mov dword [ebx], eax
add ebx, 4
jmp 0x8889e1
call dword [esi + 0x492aa0]
mov ebp, dword [esi + 0x492a94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x888a3a
sub esp, 0xffffff80
jmp fcn.0070addc

Function at 0x43b631
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x43b3c1
pop ebx
add edi, edi
mov edi, eax
add eax, edi
call fcn.0043b674
inc eax
add edi, 1
xor dword [edx], ebx
add edi, 0xb6af4f4
mov edi, 0x375d3909
mov edi, eax
inc edx
sub eax, eax
sub eax, eax
cmp edx, ecx
jne fcn.0043b631
sub edi, eax
sub edi, eax
dec eax
ret
Function at 0x67ef10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x6939fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x67f002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00682dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x67f002
lea edx, [esp + 0x14]
push edx
push 0x699140
call fcn.0067a6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0068320b
push 0x10
call fcn.006831d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x67efc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.0066f1c0
jmp 0x67efc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.0067eb80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x67eff0
mov ecx, edi
call fcn.0066f2c0
push edi
call fcn.006831c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x67f021
inc ebx
cmp ebx, 0x20
jb 0x67ef3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret