joyce8/EMBER2024-capa huggingface dataset:
Function at 0xf0f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00f0f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00f0f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00f0f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00f0f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xf0fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xf0fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xf2187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xf0fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xf0fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x406d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ds
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
invalid
test ebp, ebx
clc
Function at 0x401b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401b38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00403b60
pop ecx
or eax, 0xffffffff
jmp 0x401b58
test ebx, 1
je 0x401b56
test byte [esp + 0xc], 2
je 0x401b56
mov dword [0x40b544], 0xd
or eax, 0xffffffff
jmp 0x401b58
xor eax, eax
pop ebx
ret

Function at 0x402620
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp byte [esi], 0
jne 0x402652
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00402470
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00404b10
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x402685
push 1
call fcn.00402180
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [ebx + eax*4]
push eax
push ebx
push esi
call fcn.00402470
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x40b558], eax
mov dword [0x40b55c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4026c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 8], eax
test eax, eax
jne 0x4026de
mov eax, dword [0x40b628]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 8]
jmp 0x402703
mov edx, ebx
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x4026ef
lea esi, [eax + 1]
cmp byte [ebx], 0x3d
je 0x402701
add dword [ebp - 4], esi
add ebx, esi
cmp byte [ebx], 0
jne 0x4026ea
mov eax, dword [ebp - 4]
inc eax
push eax
call fcn.00404b10
pop ecx
mov edi, eax
mov dword [0x40b564], eax
cmp dword [0x40b564], 0
jne 0x40272b
push 1
call fcn.00402180
pop ecx
mov ebx, dword [ebp - 8]
jmp 0x40275a
mov edx, ebx
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x402735
lea esi, [eax + 1]
cmp byte [ebx], 0x3d
je 0x402758
mov ecx, edi
mov edx, ebx
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x40274b
pop eax
add edi, esi
add ebx, esi
cmp byte [ebx], 0
jne 0x402730
mov byte [edi], 0
mov eax, dword [0x40b628]
cmp eax, dword [ebp - 8]
je 0x402776
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
cmp eax, dword [0x40bef4]
jae 0x404e8d
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x40bdf4]
test byte [eax + edx*8 + 4], 1
jne 0x404e9f
mov dword [0x40b544], 9
or eax, 0xffffffff
jmp 0x40506b
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jne 0x404eba
xor eax, eax
jmp 0x40506b
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x40bdf4]
test byte [eax + edx*8 + 4], 0x20
je 0x404ee3
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00407580
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x40bdf4]
test byte [eax + edx*8 + 4], 0x80
je 0x404fbe
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
jmp 0x404faa
lea edi, [ebp - 0x411]
jmp 0x404f2f
mov eax, esi
inc esi
mov bl, byte [eax]
cmp bl, 0xa
jne 0x404f2a
inc dword [ebp - 4]
mov eax, edi
inc edi
mov byte [eax], 0xd
mov eax, edi
inc edi
mov byte [eax], bl
lea eax, [ebp - 0x411]
mov edx, edi
sub edx, eax
cmp edx, 0x400
jge 0x404f4f
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov eax, edx
cmp eax, dword [ebp + 0x10]
jb 0x404f17
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x411]
mov edx, edi
sub edx, eax
mov eax, edx
push eax
lea eax, [ebp - 0x411]
push eax
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x40bdf4]
mov eax, dword [eax + edx*8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404f9f
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], eax
lea edx, [ebp - 0x411]
mov ecx, edi
sub ecx, edx
cmp eax, ecx
jge 0x404faa
jmp 0x405004
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x405004
mov eax, dword [ebp + 0xc]
mov edx, esi
sub edx, eax
mov eax, edx
cmp eax, dword [ebp + 0x10]
jb 0x404f0f
jmp 0x405004
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x40bdf4]
mov eax, dword [eax + edx*8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x404ffb
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x405004
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x405065
cmp dword [ebp - 0x10], 0
je 0x405031
cmp dword [ebp - 0x10], 5
jne 0x405022
mov dword [0x40b544], 9
jmp 0x40502c
mov eax, dword [ebp - 0x10]
push eax
call fcn.00403b60
pop ecx
or eax, 0xffffffff
jmp 0x40506b
mov eax, dword [ebp + 8]
mov edx, eax
and edx, 0x1f
sar eax, 5
mov eax, dword [eax*4 + 0x40bdf4]
test byte [eax + edx*8 + 4], 0x40
je 0x405056
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x405056
xor eax, eax
jmp 0x40506b
mov dword [0x40b544], 0x1c
or eax, 0xffffffff
jmp 0x40506b
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403860
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4071ec]
jne 0x40386a
repz ret
jmp fcn.00403cbe
Function at 0x41a090
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x462100]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.0041c410
add esp, 8
test eax, eax
jne 0x41a10f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0043334b
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.0041d1d0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0043334b
add esp, 0x74
ret
Function at 0x44f630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x34000]
push edi
jmp 0x44f64a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44f651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44f640
mov eax, 1
add ebx, ebx
jne 0x44f663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44f674
jne 0x44f693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44f693
dec eax
add ebx, ebx
jne 0x44f680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44f658
add ebx, ebx
jne 0x44f68f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44f6e5
xor ecx, ecx
sub eax, 3
jb 0x44f6ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44f71a
sar eax, 1
mov ebp, eax
jmp 0x44f6b6
add ebx, ebx
jne 0x44f6b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44f684
inc ecx
add ebx, ebx
jne 0x44f6c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44f684
add ebx, ebx
jne 0x44f6d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44f6c6
jne 0x44f6e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44f6c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44f704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44f6f6
jmp 0x44f646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44f704
add edi, ecx
jmp 0x44f646
pop esi
mov edi, esi
mov ecx, 0x1521
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44f722
cmp byte [edi], 6
jne 0x44f722
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 0x44f727
lea edi, [esi + 0x4c000]
mov eax, dword [edi]
or eax, eax
je 0x44f79f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x53ec0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x53fe4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44f754
mov ecx, edi
jns 0x44f783
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 + 0x53fec]
or eax, eax
je 0x44f799
mov dword [ebx], eax
add ebx, 4
jmp 0x44f771
call dword [esi + 0x53fe8]
mov ebp, dword [esi + 0x53ff0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x44f7d3
sub esp, 0xffffff80
jmp 0x41ddc0
Function at 0x10811f28
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xec
mov eax, 0x1084c91b
call fcn.1081ea7c
mov esi, ecx
xor ebx, ebx
push ebx
sub esp, 0xc
mov dword [ebp - 0x10], ebx
mov ecx, esp
cmp byte [ebp + 8], bl
je 0x1081207e
mov byte [ebp - 0x10], bl
lea eax, [ebp - 0x71]
push dword [ebp - 0x10]
mov dword [ebp - 0xd8], 0x4e457a5a
push eax
mov dword [ebp - 0xd4], 0x2b496748
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd0], 0x79355143
mov dword [ebp - 0xcc], 0x5651684a
mov dword [ebp - 0xc8], 0x4c777a5a
mov dword [ebp - 0xc4], 0x444d7948
mov dword [ebp - 0xc0], 0x6f563349
mov dword [ebp - 0xbc], 0x536f4447
mov dword [ebp - 0xb8], 0x35736843
mov dword [ebp - 0xb4], 0x6d513250
mov dword [ebp - 0xb0], 0x6d526e42
mov dword [ebp - 0xac], 0x6538534a
mov dword [ebp - 0xa8], 0x2b343265
mov dword [ebp - 0xa4], 0x4a455265
mov dword [ebp - 0xa0], 0x4951324f
mov dword [ebp - 0x9c], 0x38457941
mov dword [ebp - 0x98], 0x4a51684b
mov dword [ebp - 0x94], 0x4b495445
mov dword [ebp - 0x90], 0x7a6b684a
mov dword [ebp - 0x8c], 0x6d777842
mov dword [ebp - 0x88], 0x69734159
mov dword [ebp - 0x84], 0x63777a66
mov dword [ebp - 0x80], 0x52306764
mov dword [ebp - 0x7c], 0x78346e64
mov dword [ebp - 0x78], 0x41417747
mov word [ebp - 0x74], 0x4541
mov byte [ebp - 0x72], 0x67
push eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.1080f7f5
lea eax, [ebp - 0xf8]
push eax
call fcn.108128eb
add esp, 0x10
mov dword [ebp - 4], ebx
inc ebx
jmp 0x10812160
mov byte [ebp - 0xdc], bl
lea eax, [ebp - 0x10]
push dword [ebp - 0xdc]
mov dword [ebp - 0x70], 0x4f776a5a
push eax
mov dword [ebp - 0x6c], 0x42675145
lea eax, [ebp - 0x70]
mov dword [ebp - 0x68], 0x73735747
mov dword [ebp - 0x64], 0x325a694e
mov dword [ebp - 0x60], 0x32417a42
mov dword [ebp - 0x5c], 0x53386865
mov dword [ebp - 0x58], 0x76496e4b
mov dword [ebp - 0x54], 0x7445434a
mov dword [ebp - 0x50], 0x30466941
mov dword [ebp - 0x4c], 0x55384243
mov dword [ebp - 0x48], 0x75384159
mov dword [ebp - 0x44], 0x52497749
mov dword [ebp - 0x40], 0x454d524c
mov dword [ebp - 0x3c], 0x77775250
mov dword [ebp - 0x38], 0x334d794d
mov dword [ebp - 0x34], 0x69745445
mov dword [ebp - 0x30], 0x4330535a
mov dword [ebp - 0x2c], 0x68597a63
mov dword [ebp - 0x28], 0x50773264
mov dword [ebp - 0x24], 0x4a6b7849
mov dword [ebp - 0x20], 0x6e52544f
mov dword [ebp - 0x1c], 0x6e597961
mov dword [ebp - 0x18], 0x416b7946
mov dword [ebp - 0x14], 0x44424141
push eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.1080f7f5
lea eax, [ebp - 0xec]
push eax
call fcn.108128eb
add esp, 0x10
push 2
mov dword [ebp - 4], 1
pop ebx
mov ecx, eax
mov dword [ebp - 0x10], ebx
call fcn.1081c38b
push eax
lea ecx, [ebp - 0xe0]
call fcn.10810218
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], 2
push eax
lea ecx, [esi + 4]
call fcn.1081d527
mov ecx, dword [ebp - 0xe0]
lea ecx, [ecx - 0x10]
call fcn.1081672b
test bl, 2
je 0x108121ad
lea ecx, [ebp - 0xec]
and ebx, 0xfffffffd
call fcn.1081c20b
test bl, 1
je 0x108121bd
lea ecx, [ebp - 0xf8]
call fcn.1081c20b
call fcn.1081ea45
ret 4
Function at 0x108127b2
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1084c96a
call fcn.1081eab0
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
mov edi, ebx
mov dword [ebp - 0x24], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x1d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x1d], dl
call fcn.1081d4d6
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1081c342
push ecx
mov ecx, esp
push eax
call fcn.10810194
call fcn.10812e47
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x10812889
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1080f6e3
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1081003e
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10810266
call fcn.10812431
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
je 0x108128bc
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.VFTFNSNZGONFQVZHQTRAEGXUNXAFQL]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x1d]
push eax
call fcn.1081d4d6
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x10812893
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
mov ecx, ebx
call fcn.1081d4d6
lea ecx, [ebp - 0x34]
call fcn.1081c188
lea ecx, [ebp - 0x1c]
call fcn.1081c188
lea ecx, [ebp + 0xc]
call fcn.1081c188
mov eax, ebx
call fcn.1081ea5a
ret
Function at 0x108128eb
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1084c9c0
call fcn.1081eab0
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], edx
mov edi, ebx
mov dword [ebp - 0x20], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x38], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x21]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x21], dl
call fcn.1081d4d6
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1081c342
push ecx
mov ecx, esp
push eax
call fcn.10810194
call fcn.10812e47
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x108129c2
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
mov byte [ebp - 0x20], 0
push dword [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1080f6e3
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1081003e
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.10810266
call fcn.10812431
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
je 0x108129fa
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.VFTFNSNZGONFQVZHQTRAEGXUNXAFQL]
cbw
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1081d5cf
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x108129cc
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.1081d5cf
lea ecx, [ebp - 0x34]
call fcn.1081c188
lea ecx, [ebp - 0x1c]
call fcn.1081c188
lea ecx, [ebp + 0xc]
call fcn.1081c188
mov eax, ebx
call fcn.1081ea5a
ret
Function at 0x10812d96
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1084c9ed
call fcn.1081eab0
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor edx, edx
push edx
push edx
push ecx
push edx
push 1
push dword [eax - 0xc]
mov dword [ebp - 4], edx
push eax
call esi
test eax, eax
je 0x10812e00
push dword [ebp - 0x14]
call fcn.1081e4ba
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.108213a0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push 0
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call esi
test eax, eax
jne 0x10812e11
push ebx
call fcn.1081e4c3
pop ecx
mov ecx, edi
call fcn.10812ae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10812e32
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.10812ed5
mov esi, eax
test esi, esi
je 0x10812e2b
mov ecx, edi
call fcn.10812ae1
push ebx
call fcn.1081e4c3
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1081672b
mov eax, esi
call fcn.1081ea5a
ret 8

Function at 0x10812e47
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1084c9ed
call fcn.1081eab0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x10812ec2
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x10812e84
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x10812eba
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1081d626
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
mov esi, dword [edi - 0xc]
push eax
push ebx
call fcn.1081c342
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x10812ec2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.1081672b
mov eax, ebx
call fcn.1081ea5a
ret
Function at 0x10812ed5
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x1084ca1d
call fcn.1081eab0
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.1081e4ba
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.108213a0
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1081da82
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x10812f4f
push esi
call fcn.1081e4c3
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.10812ae1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10812fb5
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.10814e5f
push dword [ebp - 0x120]
and dword [ebp - 4], 0
call fcn.108189b0
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call fcn.108188e7
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x10812fac
push dword [ebp - 0x120]
call fcn.108280b5
pop ecx
push esi
call fcn.1081e4c3
pop ecx
xor eax, eax
call fcn.1081ea5a
ret 0xc