joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43be726f
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov word [ebp - 0xf6], dx
mov edi, ecx
mov dword [ebp - 0xfc], eax
xor esi, esi
movzx edx, byte [esi + str.80_]
mov eax, edx
sar edx, 3
and eax, 7
movzx ecx, word [eax*2 + 0x43c25f10]
movsx eax, byte [edx + edi]
test eax, ecx
setne al
mov byte [ebp + esi - 0x74], al
inc esi
cmp esi, 0x38
jl 0x43be7299
push 0x1e
xor ebx, ebx
pop edi
cmp word [ebp - 0xf6], 1
mov esi, edi
je 0x43be72d7
lea esi, [ebx + ebx]
and dword [ebp + esi*4 - 0xf0], 0
movzx eax, byte [ebx + 0x43c25e30]
and dword [ebp + esi*4 - 0xf4], 0
mov ecx, eax
xor edx, edx
mov dword [ebp - 0x100], eax
cmp ecx, 0x1c
jge 0x43be7303
mov al, byte [ebp + ecx - 0x74]
jmp 0x43be730a
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x1c
jl 0x43be72f8
mov ecx, dword [ebp - 0x100]
push 0x1c
pop edx
add ecx, edx
cmp ecx, 0x38
jge 0x43be732b
mov al, byte [ebp + ecx - 0x74]
jmp 0x43be7332
mov al, byte [ebp + ecx - 0x90]
mov byte [ebp + edx - 0x3c], al
inc edx
inc ecx
cmp edx, 0x38
jl 0x43be7320
xor ecx, ecx
movzx eax, byte [ecx + 0x43c25e40]
cmp byte [ebp + eax - 0x3c], 0
je 0x43be735b
mov eax, dword [ecx*4 + 0x43c25e70]
or dword [ebp + esi*4 - 0xf4], eax
movzx eax, byte [ecx + 0x43c25e58]
cmp byte [ebp + eax - 0x3c], 0
je 0x43be7377
mov eax, dword [ecx*4 + 0x43c25e70]
or dword [ebp + esi*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x43be733f
sub edi, 2
inc ebx
cmp edi, 0xfffffffe
jg 0x43be72c8
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.43be7178
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.43bfad82
mov esp, ebp
pop ebp
ret
Function at 0x43be8c33
Capabilities:
Set registry value

Disassembly:
push 0x10
mov eax, 0x43c1a94c
call fcn.43bfae26
mov edi, edx
mov dword [ebp - 0x10], ecx
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], esi
push eax
mov ecx, edi
call fcn.43be8cd9
test eax, eax
je 0x43be8cc9
cmp dword [ebp - 0x18], esi
jbe 0x43be8cc9
mov eax, dword [edi + 4]
dec eax
je 0x43be8c82
dec eax
je 0x43be8c7d
dec eax
je 0x43be8c79
dec eax
jne 0x43be8cc9
push 0xb
jmp 0x43be8c7f
push 4
jmp 0x43be8c7f
push 3
pop edi
jmp 0x43be8c85
xor edi, edi
inc edi
mov ebx, dword [ebp + 8]
call fcn.43bd2660
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x70]
test al, al
je 0x43be8cb5
call fcn.43bd2660
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
je 0x43be8cb5
cmp edi, 2
cmovne ebx, dword [ebp + 0xc]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edi
push esi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.43be839c
mov eax, esi
call fcn.43bfadf4
ret
Function at 0x43be8fbb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.43be87f8
mov esi, eax
test esi, esi
jne 0x43be9172
mov eax, 0x400
mov dword [ebp - 8], ebx
push edi
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp + 8], eax
call fcn.43be8369
lea eax, [ebp + 8]
mov dword [ebp - 0x10], ebx
push eax
mov edi, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x20]
lea eax, [ebp - 8]
push ebx
push eax
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43be9071
cmp eax, 0xea
jne 0x43be9062
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x18]
jbe 0x43be9039
push eax
lea ecx, [ebp - 0x20]
call fcn.43be83b8
mov ebx, dword [ebp - 0x20]
jmp 0x43be903f
mov dword [ebp - 0x1c], eax
xor eax, eax
inc eax
test eax, eax
je 0x43be9069
test ebx, ebx
je 0x43be9069
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43be9071
mov esi, eax
jmp 0x43be9161
push 8
pop esi
jmp 0x43be9161
mov eax, dword [ebp - 8]
dec eax
je 0x43be90cd
push 2
pop ecx
sub eax, ecx
je 0x43be90c8
dec eax
je 0x43be9095
sub eax, 7
mov eax, dword [ebp + 0x18]
je 0x43be908d
mov dword [eax], ecx
jmp 0x43be90d6
mov dword [eax], 4
jmp 0x43be909e
mov eax, dword [ebp + 0x18]
mov dword [eax], 3
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp dword [edi], eax
jge 0x43be90af
mov esi, 0xea
jmp 0x43be90c1
push eax
push ebx
push dword [edi]
push dword [ebp + 0x10]
call fcn.43bfa224
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [edi], eax
jmp 0x43be9161
mov eax, dword [ebp + 0x18]
jmp 0x43be9089
mov eax, dword [ebp + 0x18]
mov dword [eax], 1
mov edx, dword [ebp + 8]
lea eax, [edx + 1]
mov dword [ebp + 0x18], eax
test eax, eax
je 0x43be90f4
push eax
lea ecx, [ebp - 0x14]
call fcn.43be83b8
mov edx, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
jmp 0x43be90fa
mov dword [ebp - 0x10], eax
xor eax, eax
inc eax
test eax, eax
je 0x43be9161
lea eax, [ebp + 0x18]
mov ecx, ebx
push eax
push edi
call fcn.43bebb6e
pop ecx
pop ecx
test eax, eax
jne 0x43be9161
mov edi, dword [ebp + 0x18]
push 4
pop ecx
cmp edi, ecx
jle 0x43be9161
and dword [ebp + 0x18], eax
sub edi, ecx
mov eax, dword [ebp - 0x14]
push ecx
add eax, edi
push eax
push ecx
lea eax, [ebp + 0x18]
push eax
call fcn.43bfa224
add esp, 0x10
cmp dword [ebp + 0x18], edi
jne 0x43be9161
cmp dword [ebp - 8], 1
mov ebx, dword [ebp + 0x14]
jne 0x43be9143
shl dword [ebx], 1
cmp dword [ebx], edi
jge 0x43be914e
mov esi, 0xea
jmp 0x43be915f
push edi
push dword [ebp - 0x14]
push dword [ebx]
push dword [ebp + 0x10]
call fcn.43bfa224
add esp, 0x10
mov dword [ebx], edi
lea ecx, [ebp - 0x14]
call fcn.43be839c
lea ecx, [ebp - 0x20]
call fcn.43be839c
pop edi
cmp dword [ebp - 4], 0
je 0x43be9181
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43be9828
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x118], 0x104
mov dword [ebp - 0x114], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], ecx
call edi
test eax, eax
jne 0x43be99d6
push ebx
push str._sConnection
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.43be9e95
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43be99ce
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.MediaSubType
push dword [ebp - 0x110]
call ebx
test eax, eax
jne 0x43be99c6
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], 1
push eax
mov dword [ebp - 0x118], 0x103
call fcn.43bfa2b0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.PnpInstanceID
push dword [ebp - 0x110]
call ebx
test eax, eax
jne 0x43be99c6
mov eax, dword [ebp - 0x10c]
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x43be99c0
push esi
lea eax, [ebp - 0x108]
push 0x43c2f310
push eax
call fcn.43bfff50
add esp, 0xc
test eax, eax
jne 0x43be9992
xor esi, esi
jmp 0x43be99c6
mov eax, dword [ebp - 0x10c]
cmp eax, ebx
jne 0x43be99c0
push esi
lea eax, [ebp - 0x108]
push 0x43c2f310
push eax
call fcn.43bfff50
add esp, 0xc
test eax, eax
je 0x43be99ba
push 2
pop esi
jmp 0x43be99c6
mov eax, dword [ebp - 0x10c]
cmp eax, 2
cmove esi, ebx
push dword [ebp - 0x110]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.43bfad82
mov esp, ebp
pop ebp
ret
Function at 0x43be9c4a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2aa8
call fcn.43bfb2f0
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x20c], ax
mov edi, ecx
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x2a98], edi
push ebx
push eax
call fcn.43bfa2b0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov esi, 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43be9ca8
sub ecx, edx
sar ecx, 1
test ecx, ecx
jle 0x43be9ced
push 0x5c
pop eax
cmp ax, word [ebp + ecx*2 - 0x20e]
je 0x43be9ced
mov word [ebp + ecx*2 - 0x20c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, 0x208
jae 0x43be9e66
xor eax, eax
mov word [ebp + ecx - 0x20c], ax
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43be9cf6
sub ecx, edx
mov eax, esi
sar ecx, 1
sub eax, ecx
push eax
push str.iphlpapi.dll
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.43bfffc8
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x2aa4], eax
test eax, eax
jne 0x43be9d3d
xor al, al
jmp 0x43be9e55
push str.GetAdaptersInfo
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43be9e2e
lea ecx, [ebp - 0x2aa8]
mov dword [ebp - 0x2aa8], 0x2880
push ecx
lea ecx, [ebp - 0x2a8c]
push ecx
call eax
test eax, eax
jne 0x43be9e2e
push 3
pop eax
mov dword [ebp - 0x2a9c], eax
lea esi, [ebp - 0x2a8c]
mov ebx, edi
lea eax, [ebp - 0x2a94]
sub ebx, eax
lea ecx, [esi + 8]
call fcn.43be9828
xor ecx, ecx
mov dword [ebp - 0x2aa0], eax
mov dword [ebp - 0x2a94], ecx
mov edi, ecx
mov word [ebp - 0x2a90], cx
lea edx, [ebp - 0x2a94]
add edx, edi
mov cl, byte [ebx + edx]
cmp cl, byte [edx]
jne 0x43be9dc2
inc edi
cmp edi, 6
jb 0x43be9dab
jmp 0x43be9dd3
cmp dword [esi + 0x1a0], 6
jne 0x43be9e1c
cmp dword [ebp - 0x2a9c], eax
jle 0x43be9e1c
mov edi, dword [ebp - 0x2a98]
mov al, byte [esi + 0x194]
mov byte [edi], al
mov al, byte [esi + 0x195]
mov byte [edi + 1], al
mov al, byte [esi + 0x196]
mov byte [edi + 2], al
mov al, byte [esi + 0x197]
mov byte [edi + 3], al
mov al, byte [esi + 0x198]
mov byte [edi + 4], al
mov al, byte [esi + 0x199]
mov byte [edi + 5], al
mov eax, dword [ebp - 0x2aa0]
mov dword [ebp - 0x2a9c], eax
jmp 0x43be9e22
mov edi, dword [ebp - 0x2a98]
mov esi, dword [esi]
test esi, esi
jne 0x43be9d8c
xor ebx, ebx
push dword [ebp - 0x2aa4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x2a94]
mov dword [ebp - 0x2a94], ebx
push eax
mov ecx, edi
mov word [ebp - 0x2a90], bx
call fcn.43be97fd
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.43bfad82
mov esp, ebp
pop ebp
ret
call fcn.43bfdffb
int3
Function at 0x43bea564
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor bl, bl
mov dword [ebp - 0xd38], edx
push edi
mov dword [ebp - 0xd34], ecx
xor esi, esi
mov dword [ebp - 0xd3c], eax
test bl, bl
jne 0x43bea7c8
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.43bfa2b0
push esi
push str..PhysicalDrive_d
lea eax, [ebp - 0x50c]
push 0xff
push eax
call fcn.43beaaad
add esp, 0x1c
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd40], eax
cmp eax, 0xffffffff
je 0x43bea7be
xor eax, eax
lea edi, [ebp - 0xd18]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0xd44], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd0c]
mov edi, 0x800
mov dword [ebp - 0xd18], ecx
push edi
push ecx
push eax
mov dword [ebp - 0xd14], ecx
call fcn.43bfa2b0
add esp, 0xc
lea eax, [ebp - 0xd44]
push 0
push eax
push edi
mov edi, dword [ebp - 0xd40]
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd18]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43bea7b1
push 0xff
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
push 0
push eax
call fcn.43bfa2b0
push 0xff
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push 0
push eax
call fcn.43bfa2b0
push 0xff
lea eax, [ebp - 0x30b]
mov byte [ebp - 0x30c], bl
push 0
push eax
call fcn.43bfa2b0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.43be9fc3
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.43be9fc3
call fcn.43bc5f4f
mov edx, dword [ebp - 0xcf4]
lea ecx, [ebp - 0x10c]
cmp eax, 0xb
push ecx
setl al
lea ecx, [ebp - 0xd0c]
movzx eax, al
push eax
call fcn.43be9fc3
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.43c002e6
add esp, 0x40
test eax, eax
jne 0x43bea727
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.43c002e6
pop ecx
test eax, eax
je 0x43bea7b7
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.43bc6497
mov ecx, dword [ebp - 0xd34]
push eax
call fcn.43bc38fe
xor ebx, ebx
lea ecx, [ebp - 0xd30]
push ebx
push 1
call fcn.43bc2382
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.43bc6497
mov ecx, dword [ebp - 0xd38]
push eax
call fcn.43bc38fe
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.43bc2382
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd30]
call fcn.43bc6497
mov ecx, dword [ebp - 0xd3c]
push eax
call fcn.43bc38fe
push ebx
push 1
lea ecx, [ebp - 0xd30]
call fcn.43bc2382
mov bl, 1
jmp 0x43bea7b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x43bea593
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.43bfad82
mov esp, ebp
pop ebp
ret
Function at 0x43beb73f
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
push esi
push edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
xor ecx, ecx
push 0x10
pop ebx
mov eax, dword [ecx + str.sDf434ol123_KD]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + ecx - 0x14], eax
add ecx, 4
cmp ecx, ebx
jl 0x43beb788
mov edx, 0xe3779b90
mov ecx, esi
mov eax, esi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + esi]
xor ecx, eax
sub edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 0x10]
shl eax, 4
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
lea edx, [edx + 0x61c88647]
sub esi, ecx
dec ebx
jne 0x43beb7b1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x18]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x24]
xchg al, ah
ror eax, 0x10
xchg al, ah
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
xor ecx, ebp
pop edi
pop esi
mov dword [edx + 4], eax
pop ebx
call fcn.43bfad82
mov esp, ebp
pop ebp
ret
Function at 0x43beba4e
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
push edi
mov edi, ecx
lea eax, [ebx + 2]
test eax, eax
js 0x43bebb65
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x43bebb65
push esi
mov esi, dword [ebp + 8]
cmp ebx, 2
jle 0x43bebaee
lea eax, [ebx - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add ebx, ecx
mov dword [ebp - 4], ebx
pop ebx
movzx ecx, byte [edi]
shr ecx, 2
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, ebx
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx ecx, byte [edi + 1]
movzx eax, byte [edi + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
movzx eax, byte [edi + 2]
add edi, ebx
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 3], al
add esi, 4
dec edx
jne 0x43beba92
mov ebx, dword [ebp - 4]
push 3
pop ecx
test ebx, ebx
je 0x43bebb4f
movzx eax, byte [edi]
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
cmp ebx, 1
jle 0x43bebb35
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
and ecx, 3
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
movzx eax, byte [edi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
jmp 0x43bebb4c
movzx eax, byte [edi]
and eax, ecx
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43bebb5d
mov eax, esi
sub eax, dword [ebp + 8]
mov dword [ecx], eax
mov byte [esi], 0
xor eax, eax
pop esi
jmp 0x43bebb68
or eax, 0xffffffff
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bec590
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edi
mov ebx, dword [edi + 0x2c]
mov dword [ebp - 0x10], ebx
mov esi, dword [edi + 0x3c]
mov ecx, dword [edi + 0x6c]
sub esi, ecx
sub esi, dword [edi + 0x74]
mov dword [ebp - 4], esi
jne 0x43bec5c1
test ecx, ecx
jne 0x43bec5cd
cmp dword [edi + 0x74], ecx
jne 0x43bec5cd
mov esi, ebx
jmp 0x43bec5ca
push 0xfffffffffffffffe
cmp esi, 0xffffffff
pop eax
cmove esi, eax
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x2c]
add eax, 0xfffffefa
add eax, ebx
cmp ecx, eax
jb 0x43bec64a
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.43bf9be0
mov ecx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
mov esi, ecx
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
mov dword [ebp - 0xc], ecx
lea edi, [eax + ecx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x43bec603
mov edi, dword [ebp - 8]
mov esi, ebx
mov eax, dword [edi + 0x40]
lea edi, [eax + ebx*2]
lea edi, [edi - 2]
xor ecx, ecx
movzx edx, word [edi]
mov eax, edx
sub eax, ebx
cmp edx, ebx
movzx eax, ax
cmovae ecx, eax
mov word [edi], cx
dec esi
jne 0x43bec628
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
add esi, ebx
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x43bec706
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, esi
mov ecx, eax
cmova ecx, esi
mov dword [ebp - 0xc], ecx
test ecx, ecx
jne 0x43bec677
xor esi, esi
jmp 0x43bec6c6
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x43bec694
mov edx, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.43befcd5
jmp 0x43bec6ac
cmp eax, 2
jne 0x43bec6b0
mov edx, dword [ebx]
test edx, edx
jne 0x43bec6a3
xor eax, eax
jmp 0x43bec6ad
push ecx
mov ecx, dword [ebx + 0x30]
call fcn.43becf2f
pop ecx
mov dword [ebx + 0x30], eax
mov esi, dword [ebp - 0xc]
push esi
push dword [ebx]
push dword [ebp - 4]
call fcn.43bf9be0
add dword [ebx], esi
add esp, 0xc
add dword [ebx + 8], esi
add dword [edi + 0x74], esi
cmp dword [edi + 0x74], 3
jb 0x43bec6ee
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x43bec706
mov eax, dword [edi]
mov ebx, dword [ebp - 0x10]
cmp dword [eax + 4], 0
jne 0x43bec5a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43bf2c33
Capabilities:
Check if file exists

Disassembly:
push 0x34
mov eax, 0x43c1ae4b
call fcn.43bfae59
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea eax, [ebp - 0x28]
push eax
call fcn.43bf38de
pop ecx
cmp dword [eax + 0x14], 8
jb 0x43bf2c5e
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, eax
lea ecx, [ebp - 0x28]
push 0
neg ebx
push 1
sbb bl, bl
call fcn.43bc1f54
inc bl
jne 0x43bf2cb7
lea eax, [ebp - 0x40]
push eax
call fcn.43bf38de
and dword [ebp - 4], 0
push eax
call fcn.43bc27a0
or dword [ebp - 4], 0xffffffff
mov bl, al
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.43bc1f54
test bl, bl
jne 0x43bf2cb7
push 0x1f4
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x64
jl 0x43bf2c4c
call fcn.43bfae08
ret

Function at 0x43bf405a
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x24
mov eax, 0x43c1b111
call fcn.43bfae59
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x43bf4089
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43bf40a6
mov esi, ebx
jmp 0x43bf4106
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x43bf40ec
push ebx
call fcn.43bf8c5e
and dword [ebp - 0x30], 0
mov edi, eax
pop ecx
push 0
lea eax, [ebp - 0x30]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43bf40e5
push edi
call fcn.43bc24a2
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.43bc2429
push edi
call fcn.43bf9bc0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push eax
call fcn.43bf3d65
xor esi, esi
pop ecx
inc esi
xor ebx, ebx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x28]
call fcn.43bc2382
mov eax, esi
call fcn.43bfae08
ret

Function at 0x43bf42e7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x43c3a250]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, 5
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push eax
push ecx
push str._S__handle_u__installmode_d
lea eax, [ebp - 0x804]
push 0x400
push eax
call fcn.43bfd0ef
push 0x38
lea eax, [ebp - 0x83c]
push 0
push eax
call fcn.43bfa2b0
add esp, 0x20
mov dword [ebp - 0x840], 0x3c
cmp dword [esi + 0x14], 8
jb 0x43bf4348
mov esi, dword [esi]
and dword [ebp - 0x824], 0
lea eax, [ebp - 0x804]
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x840]
push eax
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x83c], 0x440
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x43bf4384
mov ecx, dword [ebp - 0x808]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.43bfad82
mov esp, ebp
pop ebp
ret