joyce8/EMBER2024-capa huggingface dataset:
Function at 0x37f570
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, edx
mov esi, ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
cmp byte [ebx + eax], 0
lea eax, [eax + 1]
jne 0x37f590
add eax, ebx
dec eax
mov ecx, ebx
not ecx
and ecx, eax
xor eax, ebx
add ecx, ecx
sub ecx, eax
mov dword [esp + 4], ecx
lea ebp, [ecx + 1]
mov dword [esp + 8], ebp
push ebp
call fcn.0035c880
add esp, 4
mov dword [esp], esi
mov dword [esi], eax
mov ecx, ebp
shr ecx, 2
mov edx, ebx
mov edi, eax
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
mov edx, ebp
and edx, 0xfffffffc
add eax, edx
add edx, ebx
mov esi, ebp
and esi, 3
mov ecx, esi
shr ecx, 1
mov dword [esp + 0xc], edx
mov edi, eax
mov ebp, dword [esp + 0xc]
xchg esi, ebp
rep movsw word es:[edi], word [esi]
xchg esi, ebp
mov ebp, dword [esp + 8]
mov ecx, ebp
xor ecx, 2
and ecx, esi
je 0x37f612
and ebp, 2
add edx, ebp
add eax, ebp
push ecx
push edx
push eax
call fcn.0035c8b0
add esp, 0xc
cmp dword [esp + 4], 0
je 0x37f6cb
mov ecx, 0xffffffff
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ebx + eax]
xor edi, ecx
mov ecx, edi
shr ecx, 1
mov edx, edi
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, ecx
mov esi, edx
shr esi, 1
mov ecx, edi
shl ecx, 0x1e
sar ecx, 0x1f
and ecx, 0xedb88320
xor ecx, esi
mov ebp, edi
shl ebp, 0x1d
sar ebp, 0x1f
and ebp, 0x76dc419
mov esi, edi
shl esi, 0x1c
sar esi, 0x1f
and esi, 0xedb8832
xor esi, ebp
mov ebp, edi
shl ebp, 0x1b
sar ebp, 0x1f
and ebp, 0x1db71064
shl edi, 0x1a
sar edi, 0x1f
and edi, 0x3b6e20c8
xor edi, ebp
xor edi, esi
mov esi, ecx
shr esi, 6
xor edi, esi
shl edx, 0x1a
sar edx, 0x1f
and edx, 0x76dc4190
xor edx, edi
shl ecx, 0x1a
sar ecx, 0x1f
and ecx, 0xedb88320
xor ecx, edx
inc eax
cmp dword [esp + 4], eax
jne 0x37f630
not ecx
jmp 0x37f6cd
xor ecx, ecx
mov eax, dword [esp]
mov dword [eax + 4], ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x3869a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
call fcn.0035e190
sub esp, 8
push eax
test ebx, ebx
sets al
mov ecx, ebx
sub ecx, 1
sete cl
or al, cl
mov ecx, ebx
sub ecx, 0x25
setge cl
or al, cl
test al, 1
jne 0x3869d7
jmp 0x3869dc
jmp 0x386b5e
mov ecx, edi
mov eax, dword [ebp + 0x10]
add ecx, eax
add ecx, 0xffffffff
mov byte [edi + eax - 1], 0
cmp esi, 0
jne 0x3869ff
add ecx, 0xffffffff
jmp 0x3869f5
mov byte [ecx], 0x30
jmp 0x3869fa
jmp 0x386b5a
cmp ebx, 0xa
sete al
test al, 1
jne 0x386a0e
jmp 0x386a9a
jmp 0x386a10
cmp esi, 0x64
setae al
test al, 1
jne 0x386a1c
jmp 0x386a56
mov edi, 0x64
mov eax, esi
xor edx, edx
div edi
shl edx, 1
mov al, byte [edx + 0x3976d9]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], al
mov al, byte [edx + 0x3976d8]
add edi, 0xffffffff
mov byte [ecx - 2], al
mov ecx, 0x64
mov eax, esi
xor edx, edx
div ecx
mov esi, eax
mov ecx, edi
jmp 0x386a10
cmp esi, 0xa
setb al
test al, 1
jne 0x386a62
jmp 0x386a73
mov dl, byte [esi + 0x397fd5]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
jmp 0x386a93
shl esi, 1
mov dl, byte [esi + 0x3976d9]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], dl
mov dl, byte [esi + 0x3976d8]
add eax, 0xffffffff
mov byte [ecx - 2], dl
jmp 0x386a93
mov ecx, eax
jmp 0x386b5a
cmp ebx, 0x10
je 0x386aa4
jmp 0x386b2b
jmp 0x386aa6
cmp esi, 0x100
jb 0x386adb
mov edx, esi
and edx, 0xff
shl edx, 1
mov bl, byte [edx + 0x3977a2]
mov eax, ecx
add eax, 0xffffffff
mov byte [ecx - 1], bl
mov dl, byte [edx + 0x3977a1]
add eax, 0xffffffff
mov byte [ecx - 2], dl
shr esi, 8
mov ecx, eax
jmp 0x386aa6
cmp esi, 0x10
jae 0x386aee
mov al, byte [esi + 0x397fd5]
add ecx, 0xffffffff
mov byte [ecx], al
jmp 0x386b5a
mov edx, esi
and edx, 0xfffffffd
mov eax, esi
or eax, 0xfffffffd
xor eax, 0xffffffff
imul eax, edx
mov edx, esi
and edx, 2
or esi, 2
imul esi, edx
add esi, eax
mov al, byte [esi + 0x3977a2]
mov edx, ecx
add edx, 0xffffffff
mov byte [ecx - 1], al
mov al, byte [esi + 0x3977a1]
add edx, 0xffffffff
mov byte [ecx - 2], al
mov ecx, edx
jmp 0x386b5a
cmp esi, 0
seta al
test al, 1
jne 0x386b37
jmp 0x386b58
mov eax, esi
xor edx, edx
div ebx
mov al, byte [edx + 0x397fd5]
mov edi, ecx
add edi, 0xffffffff
mov byte [ecx - 1], al
mov eax, esi
xor edx, edx
div ebx
mov esi, eax
mov ecx, edi
jmp 0x386b2b
jmp 0x386b5a
mov edi, ecx
jmp 0x386b5e
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x38e210
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x18]
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x39e10c]

Function at 0x38e2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], 0
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x6d44c02c]
xor ecx, eax
mov edx, ecx
not edx
add ecx, 0x2257c0db
or edx, ecx
and edx, 1
or ecx, 1
add ecx, edx
mov byte [esp + eax + 0x6d44c02c], cl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38e2f0
mov edi, dword [esp]
mov eax, dword [0x3a0374]
test eax, eax
je 0x38e376
xor ecx, ecx
mov edx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9abdb589
je 0x38e350
inc ecx
cmp eax, ecx
jne 0x38e340
jmp 0x38e376
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x38e376
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 5
push 4
push dword [0x3a037c]
push eax
call fcn.00390f10
add esp, 0x1c
mov edi, eax
mov dword [esp], 0xff3e393c
mov byte [esp + 4], 0
mov eax, 0x7302b58a
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x7302b58a]
xor ecx, eax
mov edx, ecx
and edx, 0x4d
xor ecx, 0x4d
lea ecx, [ecx + edx*2]
inc cl
mov byte [esp + eax - 0x7302b58a], cl
inc eax
cmp eax, 0x7302b58f
jne 0x38e390
cmp edi, dword [esp]
jne 0x38e4c5
mov dword [esp + 0xc], esi
push dword [esp + 8]
call fcn.0038e1b0
add esp, 4
mov ebp, dword [esp + 8]
mov dword [esp], 0xf4f5f6f7
mov edx, 0x92bb3fd4
nop
movzx ecx, byte [esp + edx + 0x6d44c02c]
xor ecx, edx
mov esi, ecx
not esi
add ecx, 0x2257c0db
or esi, ecx
and esi, 1
or ecx, 1
add ecx, esi
mov byte [esp + edx + 0x6d44c02c], cl
inc edx
cmp edx, 0x92bb3fd8
jne 0x38e3e0
mov edi, dword [esp]
mov edx, dword [0x3a0374]
test edx, edx
je 0x38e465
xor ecx, ecx
mov esi, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + ecx*8], 0x9abdb589
je 0x38e440
inc ecx
cmp edx, ecx
jne 0x38e430
jmp 0x38e465
mov edx, dword [esi + ecx*8 + 4]
cmp edx, edi
je 0x38e465
push 0
push ebp
push eax
push 5
push 4
push dword [0x3a037c]
push edx
mov esi, eax
call fcn.00390f10
add esp, 0x1c
mov edi, eax
mov eax, esi
test edi, edi
js 0x38e4bc
mov esi, dword [eax]
mov ecx, eax
nop
nop
nop
mov edx, dword [ecx + esi + 0x3c]
add ecx, esi
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, word [edx + edi]
movzx ebp, word [ebx + edi]
test si, si
je 0x38e495
add edi, 2
cmp si, bp
je 0x38e480
cmp si, bp
je 0x38e4a7
mov esi, dword [ecx]
test esi, esi
jne 0x38e470
mov edi, 0xc0000225
jmp 0x38e4bc
mov edx, dword [ecx + 0x44]
mov esi, dword [esp + 0xc]
mov dword [esi + 8], edx
mov ecx, dword [ecx + 0xdc]
mov dword [esi + 0xc], ecx
xor edi, edi
push eax
call fcn.0038e210
add esp, 4
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x38e510
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ecx + 8]
test esi, esi
je 0x38e5e0
xor eax, eax
cmp dword [ecx], 0
jne 0x38e60a
mov edx, dword [esp + 0x34]
mov dword [esp + 4], 0x18
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + eax + 0x6d44c02c]
xor ebx, eax
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + eax + 0x6d44c02c], bl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38e580
mov eax, dword [esp]
mov esi, dword [0x3a0374]
test esi, esi
je 0x38e60a
xor edi, edi
mov ebx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xef01f5a1
je 0x38e613
inc edi
cmp esi, edi
jne 0x38e5d0
jmp 0x38e60a
mov dword [esp + 4], 0x43020108
xor eax, eax
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0x40
xor cl, byte [esp + eax + 4]
add cl, 0xc0
mov byte [esp + eax + 4], cl
inc eax
cmp eax, 4
jne 0x38e5f0
mov eax, dword [esp + 4]
add esp, 0x24
pop esi
pop edi
pop ebx
ret 4
mov esi, dword [ebx + edi*8 + 4]
cmp esi, eax
je 0x38e60a
lea eax, [esp + 0x1c]
lea edi, [esp + 4]
push eax
push edi
push edx
push ecx
push 4
push dword [0x3a037c]
push esi
call fcn.00390f10
add esp, 0x1c
jmp 0x38e60a

Function at 0x38e650
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x38e6fa
push ebx
push edi
push esi
push eax
mov dword [esp], 0xf4f5f6f7
mov edx, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
movzx ebx, byte [esp + edx + 0x6d44c02c]
xor ebx, edx
mov esi, ebx
not esi
add ebx, 0x2257c0db
or esi, ebx
and esi, 1
or ebx, 1
add ebx, esi
mov byte [esp + edx + 0x6d44c02c], bl
inc edx
cmp edx, 0x92bb3fd8
jne 0x38e670
mov edx, dword [0x3a0374]
test edx, edx
je 0x38e6ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x38e6d0
inc edi
cmp edx, edi
jne 0x38e6c0
jmp 0x38e6ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x38e6ee
push eax
push 1
push dword [0x3a037c]
push edx
mov esi, ecx
call fcn.00390f10
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 4
pop esi
pop edi
pop ebx
ret
Function at 0x38e9d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x38ea5e
push 0xbbf966b4
push dword [0x3a0368]
call fcn.00393a90
add esp, 8
test eax, eax
je 0x38ea29
mov ecx, dword [esi]
test ecx, ecx
je 0x38ea5b
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x38ea37
cmp dword [esp], 0
je 0x38ea37
mov dword [esi + 4], 3
jmp 0x38ea5b
mov dword [esi + 4], 1
mov ecx, dword [esi]
jmp 0x38eae7
lea eax, [esp + 4]
push eax
call fcn.00394320
add esp, 4
test al, al
je 0x38ea5b
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0x38ea58
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp eax, 2
jne 0x38eae7
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38ea80
mov eax, dword [esp]
mov edx, dword [0x3a0374]
test edx, edx
je 0x38eb94
mov ebp, ebx
xor esi, esi
mov ebx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xc3cdc4a6
je 0x38eb70
inc esi
cmp edx, esi
jne 0x38ead0
jmp 0x38eb94
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38eb00
mov eax, dword [esp]
mov edx, dword [0x3a0374]
test edx, edx
je 0x38eb94
xor esi, esi
mov ebx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xae6e2b0b
je 0x38eb60
inc esi
cmp edx, esi
jne 0x38eb50
jmp 0x38eb94
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x38eb94
push ebp
push edi
push dword [esp + 0x28]
jmp 0x38eb7e
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x38eb94
push dword [esp + 0x28]
push edi
push ebp
push dword [esp + 0x28]
push ecx
push 5
push dword [0x3a037c]
push edx
call fcn.00390f10
add esp, 0x20
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x38eeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov esi, ecx
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x38eec9
lea edi, [esp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x38eeda
cmp eax, 2
je 0x38ef4c
jmp 0x38ef79
push 0xbbf966b4
push dword [0x3a0368]
call fcn.00393a90
add esp, 8
test eax, eax
je 0x38ef17
mov ecx, dword [esi]
test ecx, ecx
je 0x38ef44
mov dword [esp], 0
mov edx, esp
push edx
push ecx
call eax
test eax, eax
je 0x38ef20
cmp dword [esp], 0
je 0x38ef20
mov dword [esi + 4], 3
jmp 0x38ef44
mov dword [esi + 4], 1
jmp 0x38ef79
lea eax, [esp + 4]
push eax
call fcn.00394320
add esp, 4
test al, al
je 0x38ef44
mov eax, dword [esp + 4]
mov ecx, 2
cmp eax, 3
je 0x38ef41
mov ecx, eax
mov dword [esi + 4], ecx
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x38ef79
mov ebx, dword [ebp + 0x18]
push 0x732f71fd
push dword [0x3a8390]
call fcn.00393a90
add esp, 8
push edi
push ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call eax
jmp 0x38f014
mov ecx, dword [esi]
mov dword [esp], 0xf4f5f6f7
mov eax, 0x92bb3fd4
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax + 0x6d44c02c]
xor edx, eax
mov esi, edx
not esi
add edx, 0x2257c0db
or esi, edx
and esi, 1
or edx, 1
add edx, esi
mov byte [esp + eax + 0x6d44c02c], dl
inc eax
cmp eax, 0x92bb3fd8
jne 0x38ef90
mov eax, dword [esp]
mov edx, dword [0x3a0374]
test edx, edx
je 0x38f014
xor esi, esi
mov ebx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + esi*8], 0xfd743ac4
je 0x38eff0
inc esi
cmp edx, esi
jne 0x38efe0
jmp 0x38f014
mov edx, dword [ebx + esi*8 + 4]
cmp edx, eax
je 0x38f014
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push ecx
push 5
push dword [0x3a037c]
push edx
call fcn.00390f10
add esp, 0x20
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x18
Function at 0x3924e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ecx, ebx
add ecx, ebp
adc eax, 0
xor edx, edx
mov esi, 0xfffffffe
cmp esi, ecx
mov ecx, 0
sbb ecx, eax
mov esi, dword [esp + 0x28]
jb 0x392550
mov ecx, ebx
shr ecx, 2
mov eax, ebp
mov edi, esi
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov edx, ebx
and edx, 0xfffffffc
add esi, edx
add edx, ebp
mov ecx, ebx
shr ecx, 1
and ecx, 1
mov eax, edx
mov edi, esi
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
xor eax, eax
test bl, 1
je 0x3926ee
and ebx, 2
movzx ecx, byte [edx + ebx]
mov byte [esi + ebx], cl
jmp 0x3926ee
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
nop
nop
nop
nop
mov ebp, edx
shr ebp, 1
and ebp, 1
movzx ecx, byte [esp + edx]
mov edi, edx
and edi, 5
mov eax, edx
or eax, 0xfffffffd
inc eax
imul eax, edi
mov edi, edx
or edi, 2
imul edi, ebp
add edi, edi
sub eax, edi
add eax, edx
add eax, 0x3773c848
xor eax, ecx
mov ecx, eax
not ecx
and ecx, 1
xor eax, 0xfe
lea eax, [eax + ecx*2]
add al, 0x6c
mov byte [esp + edx], al
inc edx
cmp edx, 5
jne 0x392560
mov eax, dword [esp]
mov ecx, dword [0x3a0374]
test ecx, ecx
je 0x3925e0
xor edx, edx
mov edi, dword [0x3a0378]
mov ebp, dword [esp + 0x20]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + edx*8], 0x89c57e52
je 0x3925e6
inc edx
cmp ecx, edx
jne 0x3925d0
jmp 0x392610
mov ebp, dword [esp + 0x20]
jmp 0x392610
mov ecx, dword [edi + edx*8 + 4]
cmp ecx, eax
je 0x392610
lea eax, [esp + 8]
push 2
push 0
push 0
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 7
push dword [0x3a037c]
push ecx
call fcn.00390f10
add esp, 0x28
test eax, eax
mov edi, dword [esp + 0x24]
js 0x3926ee
push 0x732f71fd
push dword [0x3a8390]
call fcn.00393a90
add esp, 8
push 0
push 0
push ebx
push esi
push edi
push ebp
push dword [esp + 0x20]
call eax
mov ecx, dword [esp + 8]
mov dword [esp], 0x282b2a25
mov byte [esp + 4], 0
xor edx, edx
nop
mov edi, edx
shr edi, 1
and edi, 1
movzx esi, byte [esp + edx]
mov ebx, edx
and ebx, 5
mov ebp, edx
or ebp, 0xfffffffd
inc ebp
imul ebp, ebx
mov ebx, edx
or ebx, 2
imul ebx, edi
add ebx, ebx
sub ebp, ebx
lea edi, [edx + ebp]
add edi, 0x3773c848
xor edi, esi
mov esi, edi
not esi
and esi, 1
xor edi, 0xfe
lea ebx, [edi + esi*2]
add bl, 0x6c
mov byte [esp + edx], bl
inc edx
cmp edx, 5
jne 0x392650
mov edx, dword [0x3a0374]
test edx, edx
je 0x3926ee
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0x3a0378]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0xb62b8d10
je 0x3926d0
inc edi
cmp edx, edi
jne 0x3926c0
jmp 0x3926ee
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0x3926ee
push ecx
push 1
push dword [0x3a037c]
push edx
mov esi, eax
call fcn.00390f10
mov eax, esi
add esp, 0x10
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x3938c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
sub esp, 8
mov ecx, dword [esp + 0x18]
mov dword [esp], 0x717e7f8c
mov word [esp + 4], 0
mov eax, esp
mov edx, 0x4e93f7ea
nop
movzx edi, byte [eax]
mov ebx, edx
or ebx, edi
not ebx
lea esi, [edx - 0x4e93f700]
and esi, edi
or esi, ebx
mov edi, esi
and edi, 0x16
mov ebx, esi
xor ebx, 0x96
lea ebx, [ebx + edi*2]
and esi, 1
xor ebx, 1
or ebx, esi
add ebx, esi
mov byte [eax], bl
inc eax
dec edx
cmp edx, 0x4e93f7e4
jne 0x3938e0
mov eax, dword [esp]
mov eax, dword fs:[eax]
mov edx, dword [case.0x393869.8]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x3939c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
push eax
mov ecx, dword [esp + 0x14]
mov dword [esp], 0x191a1bec
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
add dl, 0x7b
xor dl, byte [esp + eax]
add dl, 0x99
mov byte [esp + eax], dl
inc eax
cmp eax, 4
jne case.default.0x393a01
mov eax, dword [esp]
mov eax, dword fs:[eax]
xor edx, edx
test ecx, ecx
sete dl
jmp dword [edx*4 + 0x39eeb4]

Function at 0x393a90
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [esp + 0x48]
movzx eax, word [eax]
mov dword [esp], 0x1065d53
mov word [esp + 4], 0
mov ecx, 0x13da8e83
mov edx, 0x7e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx - 0x13da8e83]
mov edi, esi
not edi
or edi, edx
lea esi, [esi + edi*2]
add esi, ecx
mov edi, esi
and edi, 0x7a
xor esi, 0x7a
lea ebx, [esi + edi*2]
inc bl
mov byte [esp + ecx - 0x13da8e83], bl
inc ecx
dec edx
cmp ecx, 0x13da8e89
jne 0x393ac0
xor ecx, ecx
cmp dword [esp], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x39eef4]
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x418010
Capabilities:
Query environment variable

Disassembly:
push ecx
mov al, byte [0x63104a]
mov cl, byte [0x63104d]
mov edx, dword [0x631030]
and cl, al
mov eax, dword [0x631034]
mov byte [0x63104d], cl
mov ecx, eax
push esi
shr ecx, 2
sub edx, ecx
xor ecx, ecx
mov cl, byte [0x631043]
mov dword [0x631030], edx
mov edx, dword [0x631038]
push 0x100
or edx, 7
push 0x634cd6
imul edx, ecx
and eax, edx
push str.PATH
mov dword [0x631034], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
invalid
invalid
dec ecx

Function at 0x62a51d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x6313c0
cmp edx, dword [eax]
je 0x62a53f
add eax, 8
inc ecx
cmp eax, 0x631450
jl 0x62a530
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x6313c0]
jne 0x62a66d
mov eax, dword [0x636d50]
cmp eax, 1
je 0x62a647
test eax, eax
jne 0x62a570
cmp dword [0x6312e8], 1
je 0x62a647
cmp edx, 0xfc
je 0x62a66d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x62a5a7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0062af00
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0062b390
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x62a5ea
lea eax, [ebp - 0x1a4]
push eax
call fcn.0062b390
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62f6e4
push edi
call fcn.0062d260
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0062af00
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0062af10
lea eax, [ebp - 0xa0]
push 0x62f6c4
push eax
call fcn.0062af10
push dword [esi + 0x6313c4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0062af10
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062d1d4
add esp, 0x2c
pop edi
jmp 0x62a66d
lea eax, [ebp + 8]
lea esi, [esi + 0x6313c4]
push 0
push eax
push dword [esi]
call fcn.0062b390
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x5e14a4]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [edi + 0xc]
jae 0x40112a
xor eax, eax
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0054df46
add esp, 0x20
ret 4
push ebx
push ebp
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
push esi
test eax, eax
jns 0x40113f
fadd qword [0x5b87b0]
fmul qword [0x5b87a8]
sub esp, 8
fstp qword [esp]
call fcn.0054e2e0
fnstcw word [esp + 0x16]
add esp, 8
movzx eax, word [esp + 0xe]
or eax, 0xc00
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push eax
fldcw word [esp + 0x14]
push 0x5b5390
mov dword [esp + 0x20], 0x74726956
mov dword [esp + 0x24], 0x416c6175
mov dword [esp + 0x28], 0x636f6c6c
mov byte [esp + 0x2c], 0
fistp qword [esp + 0x18]
mov esi, dword [esp + 0x18]
shl esi, 0xa
fldcw word [esp + 0x16]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x1000
push esi
push 0
call eax
mov ebp, eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x4011c5
xor ebx, ebx
jmp 0x4011ca
mov ebx, dword [edi + 8]
sub ebx, eax
push ebx
push eax
push ebp
call fcn.005519f0
mov eax, dword [edi + 4]
add esp, 0xc
test eax, eax
je 0x4011ea
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [esp + 0x28]
add ebx, ebp
mov dword [edi + 0xc], esi
mov eax, esi
pop esi
mov dword [edi + 4], ebp
pop ebp
mov dword [edi + 8], ebx
pop ebx
xor ecx, esp
call fcn.0054df46
add esp, 0x20
ret 4