joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66c348
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
neg edx
rdtsc
bsf ax, cx
push ebp
jmp 0x66c358
mov dx, word [esp + 0x27]
mov dh, 0xf6
lea edx, [ecx*4]
lea esp, [esp + 0xe]
sub esp, 0x11
jmp 0x66c38e
mov word [esp + 0x2a], dx
bsf ax, ax
stc
mov esi, 0x10ca4871
setg ah
add esp, 0x17
jmp 0x66c3ed
or edx, 0x5871e0ba
xchg edx, esi
pop dword [esp]
push word [esp + 4]
xchg ah, dh
pop dword [esp]
jmp 0x66c41b
add esp, 4
mov word [esp + 0x12], ax
setg al
pop dword [esp + 0xa]
add esp, 7
mov dword [esp + 1], esp
jmp 0x66c3c9
xchg byte [esp], dl
neg ax
bswap eax
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
pushal
jmp 0x66c563
mov dl, byte [esp + 2]
add esp, 3
mov al, 0x54
lea edx, [ebx + ebp]
lea esp, [esp]
mov dx, word [esp]
jmp 0x66c405
pop word [esp + 0x19]
lea eax, [edx + ebx]
mov ax, bp
mov word [esp + 2], sp
call fcn.0066c491
test dword [edi - reloc.iphlpapi.dll_GetAdaptersInfo], eax
xchg dword [esp + 0x1a], esi
cld
mov dx, di
pop dx
mov byte [esp + 6], ch
lea edx, reloc.iphlpapi.dll_GetAdaptersInfo
jmp 0x66c448
xchg word [esp + 2], dx
mov si, 0xed0e
mov dword [esp + 0xa], edx
not si
pop word [esp + 0x18]
mov eax, 0x1453b52e
jmp 0x66c45e
mov al, byte [esp + 0x13]
mov byte [esp + 0xf], al
mov si, 0xcb36
rdtsc
push word [esp + 0x1c]
xchg dword [esp + 0x1a], edx
jmp 0x66c4c5
Function at 0x66c491
Capabilities:
Execute anti-debugging instructions

Disassembly:
not si
mov dh, byte [esp + 0xa]
pop edx
mov si, word [esp + 1]
dec edx
pop dx
jmp 0x66c4ae
lea esp, [esp + 8]
stc
jmp 0x66c474
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
mov dh, byte [esp + 5]
mov ax, word [esp + 0xd]
jmp 0x66c4fa
not edx
mov al, byte [esp + 0xe]
pop dword [esp]
push word [esp + 0xe]
jmp 0x66c498
cmp esi, 0x99faf11a
sub esp, 3
inc edx
mov dword [esp + 0xd], edx
jmp 0x66c527
push dword [esp + 0xf]
not eax
pop word [esp + 7]
lea esi, [ebx + esi]
rcr ax, 8
xchg byte [esp], al
jmp 0x66c4e4
or dh, 0x19
xchg dword [esp + 0x11], eax
cld
pop dword [esp + 8]
pop dword [esp + 3]
jmp 0x66c543
mov dx, word [esp + 2]
not ax
add edx, 0x89136bf5
mov word [esp], si
lea esi, [edi + edi]
mov si, word [esp + 0xb]
jmp 0x66c511
bsf edx, eax
lea esp, [esp + 0xc]
xchg ah, al
pushfd
mov eax, 0x7522eba9
add esp, 3
jmp 0x66c769
mov si, word [esp]
cmp dh, 0x6a
rol ax, cl
xchg si, dx
sbb ah, 0x22
neg esi
jmp 0x66c5ab
mov edx, dword [esp]
not ah
mov dl, byte [esp]
xchg si, ax
mov dh, byte [esp]
mov ax, word [esp]
jmp 0x66c57f
xchg byte [esp], al
mov dh, byte [esp]
bsr eax, esi
lea esp, [esp]
mov byte [esp], dl
inc dl
jmp 0x66c5f0
mov dl, 0xc4
inc ax
mov dx, si
xchg dx, si
mov edx, 0x218f5e2e
mov dh, 0xac
jmp 0x66c597
lea esp, [esp + 1]
mov dh, ch
mov dx, word [esp + 0x2b]
mov ax, 0xc339
jmp 0x66c6a2
xchg dx, ax
cld
bswap esi
sub esp, 0x11
pushal
mov word [esp + 0x2f], dx
jmp 0x66c5da
mov eax, 0x5f2306ce
mov si, dx
add esp, 0
sbb dh, bl
mov eax, ecx
rdtsc
jmp 0x66c5c7
inc edx
setp dl
bsf eax, edx
xchg word [esp + 7], si
not dh
jmp 0x66c683
btr esi, ebp
mov dx, bp
mov word [esp], ax
mov dx, 0xf044
mov al, dl
pop word [esp + 4]
jmp 0x66c623
mov eax, 0xffb83227
pop eax
pop eax
setns dh
mov edx, 0xf403b73a
bswap edx
jmp 0x66c639
mov edx, 0xfd8f1b3c
rdtsc
mov ah, byte [esp + 1]
mov si, 0x22af
jmp 0x66c6dc
mov dl, 0x23
mov byte [esp + 9], dh
cmc
pop dword [esp]
mov dword [esp], edi
pop dword [esp]
jmp 0x66c66d
xchg si, ax
mov dh, byte [esp + 0xf]
pop dword [esp + 0x1d]
mov eax, dword [esp]
setnp dh
add esp, 0x17
jmp 0x66c65a
mov byte [esp + 0x17], dh
xchg edx, eax
lea edx, [edx + edi]
sub esp, 0x1b
push word [esp + 0x29]
pop edx
jmp 0x66c710
neg eax
neg eax
sub esp, 0x17
sub esp, 8
lea esi, [eax + ecx]
pop edx
jmp 0x66c6b7
xchg dword [esp + 0x1d], esi
xchg dx, ax
xchg dword [esp + 0x2d], esi
sbb eax, ecx
xchg word [esp + 0x14], dx
pop dword [esp + 0x23]
jmp 0x66c73e
setno dh
mov word [esp + 0xa], ax
lea eax, [edi*4]
mov eax, ecx
xchg si, ax
not eax
jmp 0x66c6ec
sub esp, 7
push word [esp + 5]
pop dx
not ax
call fcn.0066c74f
mov ebx, 0x669c0d92
push esi
push si
mov dh, 0x33
add esp, 0x33
mov edx, dword [esp]
cmc
mov word [esp], cx
jmp 0x66c728
pop ax
lea esi, reloc.iphlpapi.dll_GetAdaptersInfo
mov ax, 0x7a22
bswap edx
rdtsc
neg al
jmp 0x66c610

Function at 0x66c835
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 9]
mov eax, dword [esp]
push word [esp]
Function at 0x66c92e
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 7], di
mov ax, 0xc35b
mov eax, 0x640988b9
xchg edx, eax
jmp 0x66c966
push sp
not edx
pop dx
mov dword [esp + 8], ecx
mov al, byte [esp + 1]
jmp 0x66c918
xchg word [esp + 0xa], si
xchg byte [esp + 0xd], dh
xchg byte [esp + 9], al
btr esi, ecx
mov byte [esp], bh
mov dx, ax
jmp 0x66c950

Function at 0x670b21
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 1]
push word [esp + 4]
lea esp, [esp + 2]
mov dword [esp + 8], edi
lea esp, [esp + 8]
jmp 0x670acf
Function at 0x41ce03
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41ce42
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41ce42
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41ce42
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41ce42
cmp dword [ecx + 0x74], 0xe
jbe 0x41ce42
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42efa0
Capabilities:
Parse pe header

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

Function at 0x5d8aae
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x5d87dc
inc eax
add eax, 0x694fce1a
add eax, eax
call fcn.005d8aef
add eax, 0xa96ffc1d
xor dword [ecx], edx
mov edi, 0xa942ff61
add ecx, 2
sub edi, 0xe93d7a11
cmp ecx, ebx
jl fcn.005d8aae
or eax, eax
and eax, eax
sub edi, 0x6ec0d25a
ret
Function at 0x71e420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x200000]
lea eax, [edi + 0x2fdadc]
push dword [eax]
mov dword [eax], 0xf7d60670
push eax
push edi
jmp 0x71e44a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x71e451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e440
mov eax, 1
add ebx, ebx
jne 0x71e463
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x71e474
jne 0x71e493
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e493
dec eax
add ebx, ebx
jne 0x71e480
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x71e458
add ebx, ebx
jne 0x71e48f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x71e4e5
xor ecx, ecx
sub eax, 3
jb 0x71e4ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x71e51a
sar eax, 1
mov ebp, eax
jmp 0x71e4b6
add ebx, ebx
jne 0x71e4b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e484
inc ecx
add ebx, ebx
jne 0x71e4c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x71e484
add ebx, ebx
jne 0x71e4d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x71e4c6
jne 0x71e4e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x71e4c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x71e504
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x71e4f6
jmp 0x71e446
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x71e504
add edi, ecx
jmp 0x71e446
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0xec55
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x71e526
cmp byte [edi], 0x1e
jne 0x71e526
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 0x71e52b
lea edi, [esi + 0x312000]
mov eax, dword [edi]
or eax, eax
je 0x71e5a3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x31e1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31e3dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x71e558
mov ecx, edi
jns 0x71e587
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 + 0x31e3e4]
or eax, eax
je 0x71e59d
mov dword [ebx], eax
add ebx, 4
jmp 0x71e575
call dword [esi + 0x31e3e0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x71e5d4
cmp al, 0xef
ja 0x71e5c7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x71e5a9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x71e5b6
mov ebp, dword [esi + 0x31e3e8]
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 0x71e608
sub esp, 0xffffff80
jmp 0x5a7aee
Function at 0x43b717
Capabilities:
Encode data using xor

Disassembly:
pop ss
aad 0xfd
and dword [ebp - 0x4a], edx
push ss
push 0x289326f0
outsd dx, dword [esi]
jae 0x43b78d
mov dh, bh
add al, 0x6b
and eax, 0xc2aff5c3
or dword [ecx - 0x53], ebp
xchg ecx, eax
ficomp dword [edx + ebp*2]
cmpsd dword [esi], dword es:[edi]
fcmovbe st(0), st(5)
and eax, 0xb504743
out dx, eax
das
push eax
and ch, byte [edx + 0x67db622b]
sub eax, 0x3112a84
pop esi
pushal
inc esi
jp 0x43b77f
std
sub eax, 0x254a7404
mov eax, dword [0x18c2192e]
sbb al, 0xef
and bl, dl
sbb byte [edx], cl
popfd
aas
or eax, 0xa2f2d03f
jl 0x43b729
cwde
adc esp, dword [esi - 0x38fae8ae]
xor eax, 0x25873338
hlt
or dword [edi], ebx
outsd dx, dword [esi]

Function at 0x44a3c0
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x4cf880
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov word [0x4cfb6c], 0x7f
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov esi, eax
and esi, 0xff
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
call fcn.0044a380
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp esi, 6
mov ebx, eax
setae cl
cmp esi, 6
mov byte [0x4cfb39], cl
jb 0x44a47a
mov edx, dword [0x4cc048]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetThreadPreferredUILanguages
push eax
call edi
test ebx, ebx
mov dword [0x4cf8a0], eax
je 0x44a449
mov eax, dword [0x4cfa2c]
push 0x4cf70c
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ecx, dword [0x4cc048]
push ecx
call esi
push str.SetThreadPreferredUILanguages
push eax
call edi
mov edx, dword [0x4cc048]
mov dword [0x4cf89c], eax
push edx
call esi
push str.GetThreadUILanguage
push eax
call edi
pop edi
pop esi
mov dword [0x4cf898], eax
pop ebx
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4ba653
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x7e
mov ecx, 0x2dc78aa5
bound ebp, qword [eax + 0x2c]
ret
cld
dec eax
test al, 0x95
sub dword [edx - 0x63204412], 0x22e3d93e
inc dword [ecx + 0x1d]
cli
mov edi, esi
aaa
push edx
out dx, eax
jecxz 0x4ba603
mov bl, 0x9e
pop ebp
or dh, byte [ebx + esi*8]
mov dl, 0x39
aas
xor edi, esp
sub ecx, dword [ebx]
rol al, 0xb5
sbb dword [ebx - 0x12], 0xffffffa6
xchg dword [edi + 0x6c56f3c1], ebx
and dword [ebp - 0x39f86937], edx
loopne 0x4ba644
sbb al, 0x3e
push ebx
mov ebx, 0x1c2ae289
jo 0x4ba6df
invalid
jno 0x4ba756
ljmp 0xb5f:0xb67934ec
fcompi st(1)
or eax, 0x49ab6378
lodsd eax, dword [esi]
in eax, 0x8e
aas
test dword [edi + edi*8 + 0x21], esp
xor ah, byte [edi + 0x36]
fsubr st(0)
xor byte [ebp + 0x17], 0x96
stosd dword es:[edi], eax
cdq
sbb dword [edx + eax*2 - 0x18], edi
xor ecx, dword [eax - 0x16e0f940]
xchg dword [edx - 0x2d579b29], esp
mov byte [0xd2a864d7], al
cwde
mov dl, 0x24
pop ss
loopne 0x4ba731
lea esi, [eax + 0x3cd804a4]
sbb byte [eax - 0x7f9afecd], cl
fild word [ebx + edi*4 + 0x3b]
wait
js 0x4ba7c7
pop edi
in eax, dx
xlatb
pop ecx
sbb eax, 0x8b16f82e
cwde
push ecx
cmp esi, dword [eax + ecx*8]
call 0xb6de231c
stosb byte es:[edi], al
das
stosd dword es:[edi], eax
stc
stc
mov edi, 0x551ec9a3
push ecx
push ebp
cmp byte [edx + 8], ch
push ss
pushal
sub al, byte [ebp - 0xd4106a2]
popfd
jbe 0x4ba7c4
or edx, dword [ecx - 0x56]
fstpnce st(5), st(0)
cmp al, 0x68
cmpsd dword [esi], dword es:[edi]
mov eax, 0xb2df1e8c
mov esi, 0xf46a1028
mov byte [esi - 0xa382bda], bl
out 0x24, al
fisubr word [esi + 0x3b4045a6]
insd dword es:[edi], dx
retf
mov ch, 0x49
inc esi
pop es
inc ecx
adc ah, byte [edi]
or dl, byte [esi + 0xed0377c]
xor ebp, dword [esi + 0x18cb40e0]
pop ds
or al, 0x3a
mov edi, 0x451fb241
mov eax, dword [0xfcb34396]
mov eax, 0xa1b85953
adc al, 0x16
cmpsb byte [esi], byte es:[edi]
stosd dword es:[edi], eax
push eax
retf
Function at 0x4c52f2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4cc5b8
cmp edx, dword [eax]
je 0x4c5314
add eax, 8
inc ecx
cmp eax, 0x4cc648
jl 0x4c5305
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4cc5b8]
jne 0x4c5442
mov eax, dword [0x4d0cc0]
cmp eax, 1
je 0x4c541c
test eax, eax
jne 0x4c5345
cmp dword [0x4cc4fc], 1
je 0x4c541c
cmp edx, 0xfc
je 0x4c5442
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c537c
lea eax, [ebp - 0x1a4]
push 0x4c97fc
push eax
call fcn.004c5a10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c5c40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c53bf
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c5c40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c97f8
push edi
call fcn.004c7410
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c97dc
push eax
call fcn.004c5a10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c5a20
lea eax, [ebp - 0xa0]
push 0x4c97d8
push eax
call fcn.004c5a20
push dword [esi + 0x4cc5bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c5a20
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c97b0
push eax
call fcn.004c7384
add esp, 0x2c
pop edi
jmp 0x4c5442
lea eax, [ebp + 8]
lea esi, [esi + 0x4cc5bc]
push 0
push eax
push dword [esi]
call fcn.004c5c40
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 0x4017a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4017b1
pop dword [ebp - 0x2c]
mov eax, 0xcf31454f
sub eax, 0xcef12d9e
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x4e10d
push 0
mov eax, 0x427e9de4
sub eax, 0x4239eb34
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x1492dbef
sub ecx, 0x14929c10
mov esi, eax
mov edi, 0xc231bd2e
add edi, 0x3e16d0d2
add edi, dword [ebp - 0x2c]
mov ebx, 0xa51d5580
sub dword [ebp - 0x28], 0xe1e28598
mov edx, dword [edi]
add dword [ebp - 0x28], ebx
sub edx, ebx
xor dword [ebp - 8], 0x39b0bd89
mov dword [esi], edx
mov dword [ebp - 0x28], 0x2bf06c85
add esi, 4
add edi, 0xfe95a731
add edi, 0x16a58d3
loop 0x40180a
add eax, 0xf24f
mov ebx, eax
add eax, 5
mov ecx, 0xaf359d40
sub ecx, 0xaef59d40
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x526130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc5000]
lea eax, [edi + 0xd0338]
push dword [eax]
mov dword [eax], 0x81d00156
push eax
push edi
jmp 0x52615a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x526161
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x526150
mov eax, 1
add ebx, ebx
jne 0x526173
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x526184
jne 0x5261a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5261a3
dec eax
add ebx, ebx
jne 0x526190
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x526168
add ebx, ebx
jne 0x52619f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5261f5
xor ecx, ecx
sub eax, 3
jb 0x5261bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52622a
sar eax, 1
mov ebp, eax
jmp 0x5261c6
add ebx, ebx
jne 0x5261c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x526194
inc ecx
add ebx, ebx
jne 0x5261d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x526194
add ebx, ebx
jne 0x5261e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5261d6
jne 0x5261f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5261d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x526214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x526206
jmp 0x526156
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x526214
add edi, ecx
jmp 0x526156
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x3e61
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x526236
cmp byte [edi], 0x17
jne 0x526236
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 0x52623b
lea edi, [esi + 0x123000]
mov eax, dword [edi]
or eax, eax
je 0x5262aa
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1370c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13718c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x526268
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x137194]
or eax, eax
je 0x5262a4
mov dword [ebx], eax
add ebx, 4
jmp 0x526285
call dword [esi + 0x137190]
mov ebp, dword [esi + 0x137198]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5262de
sub esp, 0xffffff80
jmp 0x45f40d
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x40a690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
inc word [edi + 0xa4fc]
push edi
or ebp, 0xffffffff
jmp 0x40a6ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a6c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a6b0
mov eax, 1
add ebx, ebx
jne 0x40a6d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a6c8
jne 0x40a6e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a6c8
xor ecx, ecx
sub eax, 3
jb 0x40a6f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a76a
mov ebp, eax
add ebx, ebx
jne 0x40a703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a710
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a734
inc ecx
add ebx, ebx
jne 0x40a720
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a715
jne 0x40a731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a715
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a754
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a745
jmp 0x40a6b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a754
add edi, ecx
jmp 0x40a6b6
pop esi
mov edi, esi
mov ecx, 0x72
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a772
cmp byte [edi], 0
jne 0x40a772
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 0x40a777
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a7e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa804]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa840]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a7a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa848]
or eax, eax
je 0x40a7e0
mov dword [ebx], eax
add ebx, 4
jmp 0x40a7c1
call dword [esi + 0xa844]
mov ebp, dword [esi + 0xa84c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x40a81a
sub esp, 0xffffff80
jmp 0x4025c2
Function at 0xc17370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0xc1738e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0xc40074
push ecx
mov edi, eax
call fcn.00c2b198
mov esi, eax
add esp, 8
test esi, esi
jne 0xc173cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.00c2b02e
push esi
call fcn.00c2afb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret