joyce8/EMBER2024-capa huggingface dataset:
Function at 0x31413ae4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x74], 0
jne 0x31413afc
mov eax, ebx
call fcn.314132e4
cmp dword [ebx + 0x70], 0
jne 0x31413b09
mov eax, ebx
call fcn.3141327c
mov eax, dword [ebx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [esp], eax
mov eax, dword [ebx + 0x74]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.314130e0
lea eax, [esp + 0x10]
xor edx, edx
call fcn.3141428c
cmp eax, dword [esp]
je 0x31413b77
lea eax, [esp + 0x10]
xor edx, edx
call fcn.314142a0
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x31413b53
adc edx, 0
push edx
lea eax, [esp + 0x14]
xor edx, edx
call fcn.3141428c
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x31413b6c
adc edx, 0
push edx
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_EnumWindows
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x31413b92
push 3
mov eax, dword [esi + 0x10]
call fcn.312e1c94
push eax
call sub.user32.dll_DestroyMenu
mov esi, eax
jmp 0x31413b9f
push 3
mov eax, dword [ebx + 0x58]
push eax
call sub.user32.dll_DestroyMenu
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x70]
call fcn.31305a88
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x70]
call fcn.31305ac4
mov edx, dword [esp]
mov eax, dword [ebx + 0x70]
call fcn.312d838c
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x70]
call fcn.312d83c0
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.3123aa68
mov eax, ebp
mov edx, dword [0x3143f664]
mov byte [edx + 2], al
mov eax, dword [0x3143f664]
mov byte [eax], 0
mov eax, dword [0x3143f664]
mov byte [eax + 1], 0
mov eax, dword [0x3143f664]
mov byte [eax + 3], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.312e1c94
push eax
call sub.user32.dll_IsWindow
push 0
call sub.user32.dll_CallWindowProcW
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x70]
call fcn.312e1c94
push eax
call sub.user32.dll_EnableMenuItem
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x70]
call fcn.312e1c94
push eax
call sub.user32.dll_IsIconic
push 2
mov eax, dword [0x3143f664]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x74]
call fcn.3128d578
call fcn.31287ce0
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x70]
call fcn.312e1c94
push eax
mov eax, dword [0x3143f608]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x70]
call fcn.312e1c94
push eax
call sub.user32.dll_LoadBitmapW
push esi
push 0
call sub.user32.dll_GetScrollInfo
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x31414dec
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffd48
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.3124461c
test al, al
je 0x31414e73
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x2b4
call fcn.31234a28
or esi, 0x100
test esi, esi
jns 0x31414e27
call fcn.31234f7c
push esi
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.31236e7c
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
je 0x31414e73
mov dl, 1
mov eax, dword [0x31283f5c]
call fcn.3128f270
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.3128f704
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
je 0x31414e73
mov eax, esp
call fcn.3124bdd0
mov eax, dword [esp]
add esp, 0x2b8
pop esi
pop ebx
ret

Function at 0x3141e900
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x31445d00
test esi, esi
jne 0x3141e91a
xor eax, eax
jmp 0x3141ea0b
cmp dword [ebp], 0
jne 0x3141e925
call fcn.3141e890
xor ebx, 0xffffffff
cmp edi, 8
jb 0x3141e9e5
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x3141e931
test edi, edi
jbe 0x3141ea06
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x3141e9e9
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x403e59
pop dword [ebp - 0x38]
mov eax, 0x22b84bf9
sub eax, 0x22780da0
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x4e93d697
sub dword [ebp - 0x48], 0x41914c
mov dword [ebp - 0x44], 0xd807f458
add dword [ebp - 0x44], 0x5a2b57ed
mov dword [ebp - 0x40], 0xdf402b85
add dword [ebp - 0x40], 0x6d0c18a9
mov dword [ebp - 0x3c], 0xc97c710f
add dword [ebp - 0x3c], 0x36838ef1
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xc0823ac8
sub dword [ebp - 0x48], 0x4c0fd172
mov dword [ebp - 0x44], 0x97f64d2e
sub dword [ebp - 0x44], 0x5689ebb9
mov dword [ebp - 0x40], 0xea7dfa9
sub dword [ebp - 0x40], 0xab38733d
mov dword [ebp - 0x3c], 0x55efbfa9
sub dword [ebp - 0x3c], 0x55efbfa9
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xbc769019
add eax, 0x43c9e08f
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x34c8d
push 0
call eax
mov ecx, 0x4026
xor ebx, ebx
add ebx, eax
mov esi, 0x3b7dc018
sub esi, 0x3b3cc018
add esi, dword [ebp - 0x38]
mov edx, 0x9a1270a4
sub edx, 0xeb795ed2
add dword [ebp - 0x34], 0x601c93c7
mov edi, dword [esi]
xor dword [ebp - 0x34], edx
sub edi, edx
xor dword [ebp - 0x14], 0x46407cdf
mov dword [ebx], edi
add dword [ebp - 8], ecx
add ebx, 0x523b564a
sub ebx, 0x523b5646
add esi, 0x950af0e
add esi, 0xf6af50f6
loop 0x403f72
add eax, 0xb372346b
add eax, 0x4c8ebf00
xor ebx, ebx
add ebx, eax
add eax, 0x5ee8ff0c
add eax, 0xa11700f9
mov ecx, 0x40850e1f
add ecx, 0xbfbaf1e1
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x489801
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x59ca20
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x5eda30], 1
jge 0x59ca8f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x59ca65
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x59ca65
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x59ca42
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x59ca7b
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x59ca82
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x59cb7f
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x59cb50
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x59cb45
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x59cb39
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x59cb40
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x59cb7f
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x59cb7a
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x59cb63
mov eax, dword [ebx + 8]
jmp 0x59cb7f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x59cb71
xor eax, eax
jmp 0x59cb7f
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x59caaf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x48be1c
Capabilities:
Query environment variable

Disassembly:
jmp 0x585940
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x585954
xor edi, edi
jmp 0x585998
push ebx
push esi
call fcn.00585836
push 0x40
mov ebx, eax
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
sub ebx, esi
and ebx, 0xfffffffe
push 2
push ebx
call fcn.0048c722
mov edi, eax
add esp, 0x14
test edi, edi
je 0x585985
push ebx
push esi
push edi
call fcn.0048bfb6
add esp, 0xc
push 2
push 0
call fcn.0048cfc4
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00409a27
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00409a27
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00409a27
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00409a27
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00409a27
mov dword [0x41203c], eax
call fcn.00409a27
test eax, eax
jge 0x402550
push 8
call fcn.00409a27
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00409a27
pop ecx
push 1
call fcn.00409a27
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00409a27
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00409a27
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00409a27
jmp 0x402495

Function at 0x409a27
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x409a36
pop dword [ebp - 0x50]
mov eax, 0x972b714
add eax, 0xf6cde322
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x3c36a
push 0
mov eax, 0x5a75f5b7
add eax, 0xa5caeb21
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xaf6626d6
sub ecx, 0xaf65d2f0
mov ebx, eax
mov esi, 0x413bc4
add esi, dword [ebp - 0x50]
mov edi, 0xed54c485
xor dword [ebp - 4], 0xfae76d84
mov edx, dword [esi]
add dword [ebp - 0x38], 0xaa2f7707
xor edx, edi
sub dword [ebp - 0x1c], eax
mov dword [ebx], edx
xor dword [ebp - 0x24], 0xc28c1bab
add ebx, 4
add esi, 0xe18b159e
sub esi, 0xe18b159a
loop 0x409a89
add eax, 0xeff9f698
sub eax, 0xeff8b42d
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5093784e
add ecx, 0xafac87b2
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x4028a2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x4028b1
pop dword [ebp - 0x34]
mov eax, 0xa516222b
sub eax, 0xa4d5f97a
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xfcf92d33
add dword [ebp - 0x44], 0x51591818
mov dword [ebp - 0x40], 0x72b8f127
add dword [ebp - 0x40], 0xbf7a5b1e
mov dword [ebp - 0x3c], 0x9033104e
sub dword [ebp - 0x3c], 0x43e6cc20
mov dword [ebp - 0x38], 0x4c1a4259
sub dword [ebp - 0x38], 0x4c1a4259
lea eax, [ebp - 0x44]
push eax
mov eax, 0x5011f5f1
add eax, 0xb02e7a2b
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xc4676a32
sub dword [ebp - 0x44], 0x4ff500dc
mov dword [ebp - 0x40], 0x67d5dc85
add dword [ebp - 0x40], 0xd99684f0
mov dword [ebp - 0x3c], 0xb6b82dee
sub dword [ebp - 0x3c], 0x5348c182
mov dword [ebp - 0x38], 0xb6daf62f
add dword [ebp - 0x38], 0x492509d1
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xc39a5395
add eax, 0x3ca61c8b
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3756c
push 0
call eax
mov ecx, 0x5d401fc4
sub ecx, 0x5d3fd946
xor esi, esi
add esi, eax
mov edi, 0x265f7715
add edi, 0xd9e150eb
add edi, dword [ebp - 0x34]
mov edx, 0xf8368147
xor dword [ebp - 0x2c], 0xefda04ce
mov ebx, dword [edi]
xor dword [ebp - 4], 0xc855c53f
sub ebx, edx
add dword [ebp - 0x1c], 0x7736d9bf
mov dword [esi], ebx
add dword [ebp - 0x20], edi
add esi, 4
add edi, 0x6f2f04ad
add edi, 0x90d0fb57
loop 0x4029cf
add eax, 0x5e6f2765
sub eax, 0x5e6e1a9a
xor ebx, ebx
add ebx, eax
add eax, 0xf513e063
add eax, 0xaec1fa2
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4045aa
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4068f8
call fcn.0040545b
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x4045c9
mov al, 1
jmp 0x404692
test esi, esi
je 0x404690
xor ebx, ebx
cmp word [esi], bx
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404690
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004028a2
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x404684
lea eax, [ebp - 0x28]
push eax
call fcn.004028a2
pop ecx
test al, al
jne 0x404684
cmp dword [ebp - 0x18], esi
jbe 0x404684
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404684
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x404684
push 0x407628
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401780
mov al, bl
jmp 0x404692
xor al, al
call fcn.00405416
ret
Function at 0x429eea
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x429ef9
pop dword [ebp - 0x18]
mov eax, 0x14691b80
add eax, 0xebd98379
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x4e177
push 0
mov eax, 0xa753aa24
add eax, 0x58f1088c
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0x7d6d86fc
add ecx, 0x8292b902
xor edx, edx
add edx, eax
mov ebx, 0x988229e1
sub ebx, 0x983acbe1
add ebx, dword [ebp - 0x18]
mov edi, 0xb0ca3c83
add edi, 0x6e920720
xor dword [ebp - 0x10], edx
mov esi, dword [ebx]
add dword [ebp - 0x14], 0xe9de74f6
sub esi, edi
sub dword [ebp - 0x10], 0xeb2e1d77
mov dword [edx], esi
add edx, 4
add ebx, 0x87d58bb6
sub ebx, 0x87d58bb2
loop 0x429f5a
add eax, 0x16718595
sub eax, 0x167092ca
xor ebx, ebx
add ebx, eax
add eax, 0x74420d00
sub eax, 0x74420cfb
mov ecx, 0xee3ab3c4
add ecx, 0x12054c3c
add ecx, dword [ebp - 0x18]
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 0x614af0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x15e000]
push edi
or ebp, 0xffffffff
jmp 0x614b12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x614b19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b08
mov eax, 1
add ebx, ebx
jne 0x614b2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x614b3c
jne 0x614b5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b5b
dec eax
add ebx, ebx
jne 0x614b48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x614b20
add ebx, ebx
jne 0x614b57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x614bad
xor ecx, ecx
sub eax, 3
jb 0x614b73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x614be2
sar eax, 1
mov ebp, eax
jmp 0x614b7e
add ebx, ebx
jne 0x614b7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b4c
inc ecx
add ebx, ebx
jne 0x614b8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x614b4c
add ebx, ebx
jne 0x614b99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x614b8e
jne 0x614baa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x614b8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x614bcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x614bbe
jmp 0x614b0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x614bcc
add edi, ecx
jmp 0x614b0e
pop esi
mov edi, esi
mov ecx, 0x7fe2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x614bea
cmp byte [edi], 0x22
jne 0x614bea
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 0x614bef
lea edi, [esi + 0x20b000]
mov eax, dword [edi]
or eax, eax
je 0x614c67
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2141dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x214254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x614c1c
mov ecx, edi
jns 0x614c4b
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 + 0x21425c]
or eax, eax
je 0x614c61
mov dword [ebx], eax
add ebx, 4
jmp 0x614c39
call dword [esi + 0x214258]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x614c98
cmp al, 0xef
ja 0x614c8b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x614c6d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x614c7a
mov ebp, dword [esi + 0x214260]
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 0x614ccc
sub esp, 0xffffff80
jmp 0x50164b
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x1b540646
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x72c578c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219