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

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

Function at 0x440340
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edi
movzx esi, word [edi]
movzx ecx, word [edi + 2]
mov eax, esi
shr eax, 4
xor esi, 0x7f0
shr esi, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + esi*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [ebx + esi*4]
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x10], esi
cmp esi, dword [ebp + 8]
jae 0x4404b4
mov edx, esi
mov dword [ebp - 8], 0
mov esi, dword [ebp - 8]
or edx, 8
nop dword [eax]
mov eax, dword [ebp - 4]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x4403b0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x10], esi
cmp esi, 8
jb 0x440394
cmp esi, 0x10
jae 0x44045a
lea eax, [esi - 8]
mov dword [ebp - 8], eax
nop dword [eax + eax]
cmp esi, dword [ebp + 8]
jae 0x4404b4
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp - 4]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x440410
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], eax
cmp esi, 0x10
jb 0x440400
cmp esi, dword [ebp + 8]
jae 0x4404b4
lea eax, [esi - 0x10]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0x14]
xor edi, edi
or eax, 0x100
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x440470
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], eax
cmp esi, dword [ebp + 8]
jb 0x440465
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
mov dword [ebp - 0x10], ecx
lea edx, [ecx + 0x32550]
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32bf4]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edx*4 + 0x30ea0]
sub dword [ebp - 4], 1
jne 0x441ff0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x441fe0
pop edi
pop esi
mov dword [ecx + 0x32590], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x442050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x544070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, 4
push edi
mov edi, ecx
mov dword [ebp - 0x208], ebx
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [edi + ebx + 0x306a0]
mov esi, 1
mov eax, ecx
mov dword [ebp - 0x218], ecx
mov edx, ecx
shr eax, 1
dec eax
mov dword [ebp - 0x20c], 0
and edx, 1
mov dword [ebp - 0x210], eax
or edx, 2
mov ecx, eax
shl edx, cl
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0x214], edx
test eax, eax
je 0x442120
mov ebx, eax
mov eax, esi
mov edx, ecx
sub eax, dword [ebp - 0x218]
and edx, 1
add eax, dword [ebp - 0x214]
add esi, esi
shr ecx, 1
or esi, edx
mov dword [ebp - 0x210], ecx
movzx ecx, word [edi + eax*2 + 0x32b0e]
mov eax, edx
neg eax
shr ecx, 4
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edi + ecx*4 + 0x30ea0]
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x20c], eax
sub ebx, 1
jne 0x4420c4
mov ebx, dword [ebp - 0x208]
jmp 0x442122
xor eax, eax
mov dword [ebp + ebx*4 - 0x204], eax
inc ebx
mov dword [ebp - 0x208], ebx
cmp ebx, 0x80
jb 0x442080
lea eax, [ebp - 0x204]
mov dword [ebp - 0x21c], edi
sub eax, edi
mov dword [ebp - 0x210], 4
lea esi, [edi + 0x31950]
sub eax, 0x31d50
lea edx, [edi + 0x31d58]
mov dword [ebp - 0x208], esi
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], eax
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 0x214], ebx
cmp dword [edi + 0x32594], ebx
jbe 0x4421f0
mov eax, ebx
xor esi, esi
mov ebx, dword [ebp - 0x21c]
or eax, 0x40
nop dword [eax]
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [ebx + edx*2 + 0x32910]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [edi + ecx*4 + 0x30ea0]
cmp eax, 1
jne 0x4421a0
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x208]
mov dword [eax + ebx*4], esi
inc ebx
mov dword [ebp - 0x214], ebx
cmp ebx, dword [edi + 0x32594]
jb 0x442190
mov edx, dword [ebp - 0x20c]
mov esi, eax
mov ecx, 0xe
cmp dword [edi + 0x32594], ecx
jbe 0x442216
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x32594]
jb 0x442200
mov eax, dword [esi]
mov ecx, 4
mov ebx, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [edi + ecx + 0x306a0]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + ebx - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x442240
mov edx, dword [ebp - 0x20c]
add esi, 0x100
sub dword [ebp - 0x21c], 0xffffff80
add edx, 0x200
sub ebx, 0x200
mov dword [ebp - 0x208], esi
sub dword [ebp - 0x210], 1
mov dword [ebp - 0x20c], edx
mov dword [ebp - 0x218], ebx
jne 0x442180
mov ecx, dword [ebp - 4]
mov dword [edi + 0x3bcf8], 0
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0045bdad
mov esp, ebp
pop ebp
ret
Function at 0x443300
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0
mov edi, ecx
push 0
push 0
mov dword [edi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 4], eax
test eax, eax
jne 0x443346
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
je 0x443346
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 8], eax
test eax, eax
jne 0x443368
call ebx
test eax, eax
mov ecx, esi
cmovne ecx, eax
test ecx, ecx
jne 0x44333d
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x443290
push 0
push 0
call fcn.00484670
add esp, 0x18
mov dword [edi], eax
test eax, eax
je 0x443391
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
test eax, eax
pop edi
cmovne esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
mov dword [ecx + 0x30], 0
lea esi, [ecx + 0x70]
mov dword [ecx + 0x4c], 0
xor edx, edx
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], 0
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
dec ecx
shr eax, 1
not ecx
inc edx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x444da7
pop esi
ret

Function at 0x445e20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push dword [ebp + 8]
push edx
push 0
push 0
call fcn.00484670
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x445e4a
xor eax, eax
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x449ff5
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x49f576
call fcn.0045c64d
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x44a112
cmp byte [ebx + 0x3e], 0
je 0x44a112
mov eax, dword [ebx]
mov edi, 0xffff
push edi
mov esi, dword [eax + 0xc]
mov ecx, esi
call fcn.0045c6f5
mov ecx, ebx
call esi
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x44a041
xor al, al
jmp 0x44a114
xor eax, eax
mov dword [ebp - 0x14], 0xf
push eax
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004048c0
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x44a071
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [ebx + 0x38]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebx + 0x40]
mov ecx, dword [esi + 0x20]
push eax
call fcn.0045c6f5
mov ecx, edi
call dword [esi + 0x20]
sub eax, 0
je 0x44a0a6
sub eax, 1
je 0x44a0aa
dec eax
sub eax, 1
je 0x44a100
xor bl, bl
jmp 0x44a102
mov byte [ebx + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x44a0ba
lea edx, [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
sub esi, edx
je 0x44a0e2
cmp eax, 0x10
jae 0x44a0c9
lea ecx, [ebp - 0x28]
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0047bc0c
add esp, 0x10
cmp esi, eax
jne 0x44a0a2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
cmp byte [ebx + 0x3e], 0
je 0x44a100
test esi, esi
jne 0x44a065
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004054c0
jmp 0x44a05f
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402c20
mov al, bl
jmp 0x44a114
mov al, 1
call fcn.0045c5f7
ret
Function at 0x44a2e9
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x49f5a3
call fcn.0045c64d
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x44a30e
xor eax, eax
jmp 0x44a487
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x44a33a
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x44a33a
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x44a487
cmp dword [esi + 0x4c], 0
je 0x44a484
mov ecx, esi
call fcn.0044a1fe
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x44a36d
push dword [esi + 0x4c]
push edi
call fcn.00449e08
pop ecx
pop ecx
test al, al
je 0x44a484
movzx ebx, di
jmp 0x44a484
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.004048c0
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x44a3a5
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.0045c6f5
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x44a478
cmp eax, 1
jg 0x44a453
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x44a3ee
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x44a41b
cmp eax, 0x10
jae 0x44a3fd
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.0047bc0c
add esp, 0x10
cmp edi, eax
jne 0x44a44e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x44a41e
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x44a448
test edi, edi
jne 0x44a399
cmp dword [ebp - 0x18], 0x20
jae 0x44a472
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.004054c0
jmp 0x44a393
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x44a472
cmp eax, 3
jne 0x44a478
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.00449e08
pop ecx
pop ecx
test al, al
je 0x44a472
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402c20
mov ax, bx
call fcn.0045c5f7
ret 4

Function at 0x45bdb5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
Function at 0x45bdf1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x10], dl
mov word [ebp - 0x5a], dx
push ebp
cmpsb byte [esi], byte es:[edi]
mov word [ebp - 0x54], dx
mov word [ebp - 0x4c], ax
xor eax, eax
pop edx
mov word [ebp - 0x52], cx
mov word [ebp - 0x48], cx
mov word [ebp - 0x46], cx
mov ecx, 0x3d0900
mov dword [ebp - 0x1c], 0x2558746a
mov dword [ebp - 0x18], 0x3c55366a
mov word [ebp - 0x14], 0x3556
mov byte [ebp - 0x12], 0x69
mov word [ebp - 0xf], 0x2836
mov byte [ebp - 0xd], 0x6a
mov byte [ebp - 0xc], bl
mov word [ebp - 0xb], 0x24
mov word [ebp - 0x4e], bx
mov word [ebp - 0x4a], dx
mov word [ebp - 0x44], ax
xor eax, eax
mov byte [ebp + eax - 0xcc], al
inc eax
cmp eax, edx
jb 0x45be4d
sub ecx, 1
jne 0x45be4b
cmp byte [ebp - 0xcc], cl
jne 0x45be93
call fcn.0045c119
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
mov esi, edi
push ecx
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0x5c]
call fcn.0045c135
pop ecx
test eax, eax
je 0x45be8e
mov esi, dword [esi]
cmp esi, edi
jne 0x45be73
xor esi, esi
jmp 0x45be96
mov esi, dword [esi + 0x18]
jmp 0x45be96
mov esi, dword [ebp - 0x40]
mov edx, 0xe3142
mov ecx, esi
call fcn.0045c1ee
mov ebx, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [ebp - 0x34], ebx
call fcn.0045c1ee
mov edx, 0x348bfa
mov dword [ebp - 0x64], eax
mov ecx, esi
call fcn.0045c1ee
push 4
push 0x3000
push 0x2ea00
push 0
mov dword [ebp - 0x3c], eax
call ebx
mov ebx, eax
mov edi, resource.0
xor esi, esi
mov dword [ebp - 0x68], ebx
sub edi, ebx
xor edx, edx
mov dword [ebp - 4], 0x13
mov eax, esi
lea ecx, [esi + ebx]
div dword [ebp - 4]
mov al, byte [ebp + edx - 0x1c]
xor al, byte [ecx + edi]
inc esi
mov byte [ecx], al
cmp esi, 0x2ea00
add byte [edx - 0x23], dh
mov eax, dword [ebx + 0x3c]
push 0x40
push 0x3000
push dword [eax + ebx + 0x50]
push 0
call dword [ebp - 0x34]
mov esi, eax
test esi, esi
test byte [edi], 0x84
aam 1
add byte [eax], al
mov edi, dword [ebx + 0x3c]
mov edx, ebx
add edi, ebx
mov ecx, esi
mov dword [ebp - 8], edi
movzx eax, word [edi + 0x14]
push dword [edi + 0x54]
add eax, edi
mov dword [ebp - 0x60], eax
mov eax, esi
sub eax, dword [edi + 0x34]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x34], esi
call fcn.0045c0fe
mov eax, dword [edi + 0xa4]
and dword [ebp - 0x20], 0
mov edx, dword [edi + 0xa0]
Function at 0x45bdf6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x10], dl
mov word [ebp - 0x5a], dx
push ebp
cmpsb byte [esi], byte es:[edi]
mov word [ebp - 0x54], dx
mov word [ebp - 0x4c], ax
xor eax, eax
pop edx
mov word [ebp - 0x52], cx
mov word [ebp - 0x48], cx
mov word [ebp - 0x46], cx
mov ecx, 0x3d0900
mov dword [ebp - 0x1c], 0x2558746a
mov dword [ebp - 0x18], 0x3c55366a
mov word [ebp - 0x14], 0x3556
mov byte [ebp - 0x12], 0x69
mov word [ebp - 0xf], 0x2836
mov byte [ebp - 0xd], 0x6a
mov byte [ebp - 0xc], bl
mov word [ebp - 0xb], 0x24
mov word [ebp - 0x4e], bx
mov word [ebp - 0x4a], dx
mov word [ebp - 0x44], ax
xor eax, eax
mov byte [ebp + eax - 0xcc], al
inc eax
cmp eax, edx
jb 0x45be4d
sub ecx, 1
jne 0x45be4b
cmp byte [ebp - 0xcc], cl
jne 0x45be93
call fcn.0045c119
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0xc]
mov esi, edi
push ecx
mov ecx, dword [esi + 0x30]
lea edx, [ebp - 0x5c]
call fcn.0045c135
pop ecx
test eax, eax
je 0x45be8e
mov esi, dword [esi]
cmp esi, edi
jne 0x45be73
xor esi, esi
jmp 0x45be96
mov esi, dword [esi + 0x18]
jmp 0x45be96
mov esi, dword [ebp - 0x40]
mov edx, 0xe3142
mov ecx, esi
call fcn.0045c1ee
mov ebx, eax
mov edx, 0xd5786
mov ecx, esi
mov dword [ebp - 0x34], ebx
call fcn.0045c1ee
mov edx, 0x348bfa
mov dword [ebp - 0x64], eax
mov ecx, esi
call fcn.0045c1ee
push 4
push 0x3000
push 0x2ea00
push 0
mov dword [ebp - 0x3c], eax
call ebx
mov ebx, eax
mov edi, resource.0
xor esi, esi
mov dword [ebp - 0x68], ebx
sub edi, ebx
xor edx, edx
mov dword [ebp - 4], 0x13
mov eax, esi
lea ecx, [esi + ebx]
div dword [ebp - 4]
mov al, byte [ebp + edx - 0x1c]
xor al, byte [ecx + edi]
inc esi
mov byte [ecx], al
cmp esi, 0x2ea00
add byte [edx - 0x23], dh
mov eax, dword [ebx + 0x3c]
push 0x40
push 0x3000
push dword [eax + ebx + 0x50]
push 0
call dword [ebp - 0x34]
mov esi, eax
test esi, esi
test byte [edi], 0x84
aam 1
add byte [eax], al
mov edi, dword [ebx + 0x3c]
mov edx, ebx
add edi, ebx
mov ecx, esi
mov dword [ebp - 8], edi
movzx eax, word [edi + 0x14]
push dword [edi + 0x54]
add eax, edi
mov dword [ebp - 0x60], eax
mov eax, esi
sub eax, dword [edi + 0x34]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x34], esi
call fcn.0045c0fe
mov eax, dword [edi + 0xa4]
and dword [ebp - 0x20], 0
mov edx, dword [edi + 0xa0]
Function at 0x45c1ee
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, esi
mov ebx, dword [eax + 0x1c]
add edx, esi
mov eax, dword [eax + 0x18]
add ebx, esi
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
test eax, eax
je 0x45c24e
mov edx, dword [edx + ecx*4]
add edx, esi
xor edi, edi
jmp 0x45c23a
movzx eax, al
inc edx
or eax, 0x60
add edi, eax
add edi, edi
mov al, byte [edx]
test al, al
jne 0x45c22f
cmp edi, dword [ebp - 4]
je 0x45c255
mov edx, dword [ebp - 0xc]
inc ecx
cmp ecx, dword [ebp - 8]
jb 0x45c226
xor eax, eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
mov eax, dword [ebx + eax*4]
add dword [ebx], 0xffffffc6

Function at 0x45c5d9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045bdbe

Function at 0x45ec4a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x48e761
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048e424

Function at 0x48e76c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0048e5a5

Function at 0x4922eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00491fab
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x8b3d40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x363000]
mov dword [edi + 0x3707a0], 0xeb250a9c
push edi
or ebp, 0xffffffff
jmp 0x8b3d6a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8b3d71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b3d60
mov eax, 1
add ebx, ebx
jne 0x8b3d83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8b3d94
jne 0x8b3db3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b3db3
dec eax
add ebx, ebx
jne 0x8b3da0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8b3d78
add ebx, ebx
jne 0x8b3daf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8b3e05
xor ecx, ecx
sub eax, 3
jb 0x8b3dcb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8b3e3a
sar eax, 1
mov ebp, eax
jmp 0x8b3dd6
add ebx, ebx
jne 0x8b3dd6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b3da4
inc ecx
add ebx, ebx
jne 0x8b3de4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8b3da4
add ebx, ebx
jne 0x8b3df1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8b3de6
jne 0x8b3e02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8b3de6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8b3e24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8b3e16
jmp 0x8b3d66
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8b3e24
add edi, ecx
jmp 0x8b3d66
pop esi
mov edi, esi
mov ecx, 0x30bb3f
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x8b3e5f
cmp byte [edi], 0xa6
jne 0x8b3e44
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x8b3e42
lea edi, [esi + 0x4af000]
mov eax, dword [edi]
or eax, eax
je 0x8b3ea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4b889c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4b89dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8b3e65
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4b89e0]
or eax, eax
je 0x8b3ea1
mov dword [ebx], eax
add ebx, 4
jmp 0x8b3e82
call dword [esi + 0x4b89f0]
mov ebp, dword [esi + 0x4b89e4]
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 0x8b3edb
sub esp, 0xffffff80
jmp fcn.00770a84
Function at 0x40435e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x404396
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x404384
mov al, 1
jmp 0x4043f5
cmp dword [ebx + 0x54], ecx
jne 0x40438d
mov al, 2
jmp 0x4043f5
cmp dword [ebx + 0x7c], ecx
jne 0x4043f5
mov al, 3
jmp 0x4043f5
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4043ab
mov al, 4
jmp 0x4043f5
cmp ecx, 5
jne 0x4043cb
cmp ebx, 0
jne 0x4043b9
mov al, 5
jmp 0x4043f5
cmp ebx, 1
jne 0x4043c2
mov al, 6
jmp 0x4043f5
cmp ebx, 2
jne 0x4043cb
mov al, 7
jmp 0x4043f5
cmp ecx, 6
jne 0x4043f3
cmp ebx, 0
jne 0x4043d9
mov al, 8
jmp 0x4043f5
cmp ebx, 1
jne 0x4043e0
mov al, 9
cmp ebx, 2
jne 0x4043e7
mov al, 0xa
cmp ebx, 3
jne 0x4043ee
mov al, 0xb
cmp ebx, 4
jne 0x4043f5
mov al, 0xc
pop ebx
leave
ret