joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10184d76
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101a6818], 0
mov byte [0x101a681c], 0
mov edi, dword [0x101a6810]
add edi, 0x1248
mov dword [0x101a680c], edi
mov dword [0x101a6814], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101a680c], 0xa1e
mov eax, dword [0x101a6814]
add eax, 1
mov dword [0x101a6814], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10184dc3
xor eax, eax
mov ecx, dword [0x101a6810]
add ecx, 0x101c
mov dword [0x101a680c], ecx
mov dword [0x101a6814], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x101a6820], 0
mov dword [0x101a680c], 0x1dfc
mov edx, dword [0x101a6818]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x101a6820], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x101a6818], edx
mov dword [0x101a680c], 0x3326
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x101a681c], cl
mov dword [0x101a680c], 0x118d
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x101a681c]
mov edx, dword [0x101a6818]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x101a680c], 0x24c0
mov edx, dword [0x101a6814]
add edx, 1
mov dword [0x101a6814], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x10184e14
mov dword [0x101a680c], 0x23eb
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1018531f
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101a6810], 0xfdc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10185407
mov eax, dword [ebp - 0x34]
mov dword [0x101a6810], 0x14b6
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101a6810], 0x1f02
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10184c19
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101a680c], 0x1cb
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov dword [0x101a6810], 0x19c8
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x101a6810]
add ecx, 0xfffffc67
mov dword [0x101a6810], ecx
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x44], ecx
mov esi, dword [0x101a680c]
add esi, 0xfffff830
mov dword [0x101a680c], esi
cmp ecx, 0
mov dword [ebp - 0x3c], eax
je 0x10185496
jmp 0x10185479
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x10187140]
mov dl, byte [eax + 0x10187111]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10185407
lea eax, [ebp - 0x24]
mov dword [0x101a680c], 0x813
mov dword [0x101a6810], 0xfffff9e4
mov dword [ebp - 0x40], eax
call fcn.101861cd
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10184a84
xor ecx, ecx
mov dword [0x101a680c], 0x7b6
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
je 0x10185496
jmp 0x10185346
mov eax, dword [ebp - 0x38]
add eax, 0x2350
mov dword [0x101a6810], 0x25ea
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
jmp 0x10185496
mov eax, dword [ebp - 0x3c]
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10185583
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x101a680c], 0x1c34
mov dword [0x101a6810], 0x1ed1
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.10184ee1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], 0x142000
mov ecx, dword [0x101a67f8]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x101a67fc]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x18], eax
lea eax, [0x101851f3]
mov ecx, dword [0x101a6800]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x101a6804]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x101a6808]
mov dword [esp + 0x60], ecx
mov dword [0x101a680c], 0x2ba
mov dword [0x101a6810], 0xffffe8fe
mov dword [esp + 0x14], eax
jmp 0x10185641
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1018566e
jmp 0x10185650
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10185623
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [0x101a680c], 0xfffff2fa
mov dword [esp + 0x14], eax
jmp 0x10185641
mov eax, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov dword [0x101a6810], 0x1c0b
mov dword [0x101a680c], 0x81b
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x48], edx
call fcn.10185e30
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10185639
lea eax, [esp + 0x30]
mov ecx, dword [0x101a680c]
add ecx, 0xffffe20a
mov dword [0x101a6810], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1018531f
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101a6810], 0x1693
mov dword [esp + 8], eax
jmp 0x10185639
Function at 0x101857be
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x101a680c]
mov dword [0x101a6814], 0
mov dword [0x101a6818], 0
mov dword [0x101a6824], 0
mov ebx, edi
add ebx, 0xffffe517
mov dword [0x101a6810], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ebx
je 0x10185844
jmp 0x10185859
mov eax, 0x1fd
mov ecx, dword [0x101a6814]
mov edx, dword [0x101a6818]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
jmp 0x10185874
mov eax, dword [ebp - 0x24]
add eax, 0xffffdbf0
mov dword [0x101a6810], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffff5ed
mov edx, eax
mov esi, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
mov edi, 0xc10
mov ebx, 0x100
mov dword [0x101a6810], ecx
mov dword [0x101a680c], 0x14b6
add edx, 1
mov dword [ebp - 0x3c], eax
mov eax, edx
cdq
idiv ebx
mov dword [0x101a6814], edx
mov ecx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
add ecx, esi
mov eax, ecx
mov dword [ebp - 0x40], edx
cdq
idiv ebx
mov dword [0x101a6818], edx
mov dword [0x101a680c], 0x44
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x40]
mov cl, byte [ecx + esi]
mov byte [0x101a681c], cl
mov dword [0x101a680c], 0xe50
mov ebx, dword [ebp - 0x1c]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x101a681c]
mov edx, dword [0x101a6818]
mov byte [ebx + edx], cl
mov edx, dword [0x101a680c]
mov ecx, edx
add ecx, 0xb7f
mov dword [0x101a6810], ecx
mov ecx, dword [0x101a6814]
movzx ecx, byte [ebx + ecx]
mov esi, dword [0x101a6818]
movzx esi, byte [ebx + esi]
add esi, ecx
mov dword [0x101a6810], 0x10dd
and esi, 0xff
mov dword [0x101a6824], esi
add edx, 0xffffe052
mov dword [0x101a680c], edx
mov cl, byte [ebx + esi]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
mov ch, byte [edx + esi]
mov dword [0x101a6810], 0xfffffdd5
xor ch, cl
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], ch
mov dword [0x101a680c], 0xc10
add esi, 1
mov edx, dword [ebp - 0x10]
cmp esi, edx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], edi
je 0x10185844
jmp 0x10185822
Function at 0x10185a01
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 8]
mov dword [0x101a680c], 0x18c8
mov dword [ebp - 0x10], eax
call fcn.101848f4
xor ecx, ecx
mov edx, eax
mov dword [0x101a6810], 0x1c0b
mov esi, dword [0x101a680c]
mov edi, dword [eax + 0x3c]
mov ebx, edx
add ebx, edi
add esi, 0xffffdc58
mov dword [0x101a680c], esi
cmp dword [eax + edi], 0x4550
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jne 0x10185ab3
mov eax, dword [ebp - 0x14]
mov dword [0x101a680c], 0x81b
mov dword [ebp - 0x1c], eax
jmp 0x10185ab3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
mov edx, dword [ebp - 0x34]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x10185b44
jmp 0x10185b17
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [0x101a6810], 0x19b0
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x18]
add edx, dword [edx + eax + 0x20]
mov esi, dword [ebp - 0x18]
mov edi, dword [esi + eax + 0x24]
mov dword [0x101a680c], 0x56b
mov ebx, dword [esi + eax + 0x18]
cmp ebx, 0
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], ecx
je 0x10185bac
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov dword [ebp - 0x54], eax
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x10185a6a
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x3c]
add edx, 1
mov ah, byte [ebp - 0x3e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x38], edx
jne 0x10185a84
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x10185b77
jmp 0x10185b4d
xor eax, eax
mov ecx, dword [ebp - 0x30]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x44]
cmp edx, esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x50], eax
jb 0x10185a6a
jmp 0x10185bac
mov eax, dword [ebp - 0x30]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x48]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101a680c], 0x44e
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov dword [0x101a6810], 0x1186
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10185e30
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x101a680c], 0x9d2
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
add ecx, 0x3c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov dword [0x101a680c], 0x2420
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
jmp 0x10185f01
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10185ecb
jmp 0x10185f83
mov eax, dword [ebp - 0x1c]
mov dword [0x101a680c], 0x568
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
je 0x10185f41
jmp 0x10185f83
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x10185e7e
jmp 0x10185f83
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x10185f83
mov eax, dword [0x101a6810]
add eax, 0x1815
mov dword [0x101a6810], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x10185f6f
jmp 0x10185f83
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x10185e92
mov dword [0x101a6810], 0xffffe35a
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
jl 0x10185f01
jmp 0x10185e92
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x10185f83
mov dword [0x101a680c], 0x23ba
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10185eb7
jmp 0x10185f83
mov dword [0x101a680c], 0x263b
mov eax, 1
mov dword [ebp - 0x24], eax
jmp 0x10185f94
mov dword [0x101a6810], 0x18b8
xor eax, eax
mov dword [ebp - 0x24], eax
jmp 0x10185f94
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret
Function at 0x4019b0
Capabilities:
Encode data using xor

Disassembly:
push 3
pop ecx
push 0
loop 0x4019b3
mov ebx, 0x404b2f
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
xor ecx, ecx
mov dword [esp + 8], ecx
test byte [esp + 8], 3
jne 0x4019da
mov esi, dword [esp + 0x10]
mov ecx, dword [esi]
add ecx, edx
mov edi, ecx
and edi, 0xff
xor eax, dword [ebx + edi*4]
mov edi, ecx
shr edi, 8
and edi, 0xff
xor eax, dword [ebx + edi*4 + 0x400]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor eax, dword [ebx + edi*4 + 0x800]
shr ecx, 0x18
xor eax, dword [ebx + ecx*4 + 0xc00]
mov ecx, dword [esi + 4]
add ecx, eax
mov edi, ecx
and edi, 0xff
xor edx, dword [ebx + edi*4]
mov edi, ecx
shr edi, 8
and edi, 0xff
xor edx, dword [ebx + edi*4 + 0x400]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor edx, dword [ebx + edi*4 + 0x800]
shr ecx, 0x18
xor edx, dword [ebx + ecx*4 + 0xc00]
add esi, 8
inc dword [esp + 8]
cmp dword [esp + 8], 0xc
jne 0x4019cf
mov esi, dword [esp + 0x10]
add esi, 0x18
mov dword [esp + 8], 4
mov ecx, dword [esi + 4]
add ecx, edx
mov edi, ecx
and edi, 0xff
xor eax, dword [ebx + edi*4]
mov edi, ecx
shr edi, 8
and edi, 0xff
xor eax, dword [ebx + edi*4 + 0x400]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor eax, dword [ebx + edi*4 + 0x800]
shr ecx, 0x18
xor eax, dword [ebx + ecx*4 + 0xc00]
mov ecx, dword [esi]
add ecx, eax
mov edi, ecx
and edi, 0xff
xor edx, dword [ebx + edi*4]
mov edi, ecx
shr edi, 8
and edi, 0xff
xor edx, dword [ebx + edi*4 + 0x400]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor edx, dword [ebx + edi*4 + 0x800]
shr ecx, 0x18
xor edx, dword [ebx + ecx*4 + 0xc00]
sub esi, 8
dec dword [esp + 8]
jne 0x401a76
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
add esp, 0xc
ret

Function at 0x401b4a
Capabilities:
Hash data with md5

Disassembly:
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
mov dword [ebx + 0x10], 0x76543210
mov dword [ebx + 0x14], 0xfedcba98
mov dword [ebx + 0x18], 0x89abcdef
mov dword [ebx + 0x1c], 0x1234567
mov dword [ebx + 0x20], 0x1234567
mov dword [ebx + 0x24], 0x3c2d1e0f
ret
Function at 0x552510
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb4000]
mov dword [edi + 0xef4bc], 0x1e141e94
push edi
jmp 0x55253a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x552541
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552530
mov eax, 1
add ebx, ebx
jne 0x552553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x552564
jne 0x552583
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552583
dec eax
add ebx, ebx
jne 0x552570
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x552548
add ebx, ebx
jne 0x55257f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5525d5
xor ecx, ecx
sub eax, 3
jb 0x55259b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55260a
sar eax, 1
mov ebp, eax
jmp 0x5525a6
add ebx, ebx
jne 0x5525a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552574
inc ecx
add ebx, ebx
jne 0x5525b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x552574
add ebx, ebx
jne 0x5525c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5525b6
jne 0x5525d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5525b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5525f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5525e6
jmp 0x552536
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5525f4
add edi, ecx
jmp 0x552536
pop esi
mov edi, esi
mov ecx, 0x6de8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x552612
cmp byte [edi], 0x19
jne 0x552612
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 0x552617
lea edi, [esi + 0x14f000]
mov eax, dword [edi]
or eax, eax
je 0x55268f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x153664]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x153718]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x552644
mov ecx, edi
jns 0x552673
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 + 0x15371c]
or eax, eax
je 0x552689
mov dword [ebx], eax
add ebx, 4
jmp 0x552661
call dword [esi + 0x15372c]
mov ebp, dword [esi + 0x153720]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x5526c3
sub esp, 0xffffff80
jmp 0x401534
Function at 0x1249054
Capabilities:
Packed with generic packer

Disassembly:
lahf
invalid
clc
jae 0x1249062
xchg esi, eax
pop edx
rcl dword [edx + 0x35cdc490]
and eax, 0xf96091cf
pushal
stc
jb 0x124906c
jne 0x124908d
sbb eax, 0xe89af40a
pop es
add byte [eax], al
add cl, ah
mov edx, 0xff3348a0
pop bx
call 0x1249078
loope 0x124902d
mov al, byte [0x66ff3348]
pop ebx
jb 0x1249081
adc al, 0xc4
rol byte [edi + 0x3b], 1
ret 0xc381
add ebx, 0xffffff8f
jmp 0x124908b
cmp dword [ebx], 0
clc
add al, bh
jmp 0x1249093
je 0x12490f5
mov edi, ebx
add ebx, 4
mov edx, dword [ebx]
jmp 0x12490a7
add edx, ebx
jmp 0x12490b1
mov eax, dword [ebx + 4]
jmp 0x12490c1
sub dword [edx], 0xbac32749
add edx, 4
jmp 0x12490d7
sub eax, 1
jne 0x12490b4
add ebx, 8
jmp 0x12490e7
sub dword [edi], 1
jne 0x124909e
call fcn.012490fb
popal
jmp section..taggant
Function at 0x402798
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402830
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402810
xor eax, eax
push ebp
push 0x402809
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40284c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402810
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x403db4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403f6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403e15
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403f88
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403e82
xor eax, eax
push ebp
push 0x403e7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x403e64
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x403fa8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e82
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x403f63
cmp byte [ebp - 0xd], 0
jne 0x403ec4
cmp byte [ebp - 0x12], 0
je 0x403f63
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403edd
dec ebx
cmp byte [ebx], 0x2e
je 0x403eec
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403edc
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403f63
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403f19
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403f63
cmp byte [ebp - 0xd], 0
je 0x403f63
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403f63
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret