joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423d85
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0041d93c
and dword [ebp - 4], 0
cmp dword [0x44b378], 0
mov ebx, eax
jne 0x423e36
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x423ee7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x423ee7
push eax
call fcn.0041d8ca
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44b378], eax
call esi
push eax
call fcn.0041d8ca
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44b37c], eax
call esi
push eax
call fcn.0041d8ca
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44b380], eax
call esi
push eax
call fcn.0041d8ca
pop ecx
mov dword [0x44b388], eax
test eax, eax
je 0x423e36
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041d8ca
pop ecx
mov dword [0x44b384], eax
mov eax, dword [0x44b384]
cmp eax, ebx
je 0x423e8e
cmp dword [0x44b388], ebx
je 0x423e8e
push eax
call fcn.0041d945
push dword [0x44b388]
mov esi, eax
call fcn.0041d945
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x423e8e
test edi, edi
je 0x423e8e
call esi
test eax, eax
je 0x423e85
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x423e85
test byte [ebp - 0xc], 1
jne 0x423e8e
or dword [ebp + 0x10], 0x200000
jmp 0x423ec7
mov eax, dword [0x44b37c]
cmp eax, ebx
je 0x423ec7
push eax
call fcn.0041d945
pop ecx
test eax, eax
je 0x423ec7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x423ec7
mov eax, dword [0x44b380]
cmp eax, ebx
je 0x423ec7
push eax
call fcn.0041d945
pop ecx
test eax, eax
je 0x423ec7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44b378]
call fcn.0041d945
pop ecx
test eax, eax
je 0x423ee7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x423ee9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100015a0
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp + 0x14], edi
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
mov esi, dword [edi + 0xf0]
lea esi, [esi + esi - 2]
lea esi, [edi + esi*8]
mov dword [esp + 0x18], esi
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 3]
mov edi, ecx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, edx
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8]
movzx edi, ch
xor esi, dword [ebp + edi*8 + 3]
mov edi, edx
shr edi, 0x10
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
mov edi, eax
shr edi, 0x18
xor esi, dword [ebp + edi*8 + 1]
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8]
movzx edi, dh
xor esi, dword [ebp + edi*8 + 3]
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
xor esi, dword [ebp + edi*8 + 2]
movzx edi, bh
xor esi, dword [ebp + edi*8 + 1]
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + edx*8]
movzx eax, ah
xor edx, dword [ebp + eax*8 + 3]
mov eax, dword [esp + 4]
and ebx, 0xff
xor edx, dword [ebp + ebx*8 + 2]
mov ebx, dword [esp + 8]
xor edx, dword [ebp + ecx*8 + 1]
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x14], edi
jb 0x100015c0
mov esi, eax
and esi, 0xff
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, bh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 4], esi
mov esi, ebx
and esi, 0xff
shr ebx, 0x10
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, ch
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov dword [esp + 8], esi
mov esi, ecx
and esi, 0xff
shr ecx, 0x18
mov esi, dword [ebp + esi*8 + 2]
and esi, 0xff
movzx edi, dh
mov edi, dword [ebp + edi*8]
and edi, 0xff00
xor esi, edi
mov edi, eax
shr edi, 0x10
and edx, 0xff
and edi, 0xff
mov edi, dword [ebp + edi*8]
and edi, 0xff0000
xor esi, edi
movzx edi, bh
mov edi, dword [ebp + edi*8 + 2]
and edi, 0xff000000
xor esi, edi
mov edi, dword [esp + 0x14]
and edx, 0xff
mov edx, dword [ebp + edx*8 + 2]
and edx, 0xff
movzx eax, ah
mov eax, dword [ebp + eax*8]
and eax, 0xff00
xor edx, eax
mov eax, dword [esp + 4]
and ebx, 0xff
mov ebx, dword [ebp + ebx*8]
and ebx, 0xff0000
xor edx, ebx
mov ebx, dword [esp + 8]
mov ecx, dword [ebp + ecx*8 + 2]
and ecx, 0xff000000
xor edx, ecx
mov ecx, esi
add edi, 0x10
xor eax, dword [edi]
xor ebx, dword [edi + 4]
xor ecx, dword [edi + 8]
xor edx, dword [edi + 0xc]
ret
Function at 0x10003b30
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov ecx, dword [esp + 0x1c]
cmp ecx, 0
je 0x10003d15
call fcn.10003b46
Function at 0x10005250
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.1006c120
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x10006320
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.1006d450
mov eax, dword [0x100adb80]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x10006385
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10006385
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.1006e2cb
add eax, 0x40
push eax
call fcn.1006e103
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1006bd1f
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.1006e03c
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x10006414
call fcn.100061e0
test eax, eax
jle 0x10006414
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1006bd1f
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.1006bd1f
add esp, 0x108
ret

Function at 0x100079b0
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xd4], 0x40
lea eax, [ecx + 1]
ret
Function at 0x10018540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24
call fcn.1006d450
mov eax, dword [0x100adb80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, esi
push edi
mov dword [ebp - 0x18], esi
lea ecx, [eax + 1]
jmp 0x10018570
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10018570
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
sub eax, ecx
lea edi, [eax + 1]
push edi
push esi
push 8
push 0xfde9
mov dword [ebp - 0x20], 8
call ebx
mov esi, eax
test esi, esi
jg 0x100185e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3ec
jne 0x100185ca
mov ecx, dword [ebp - 0x18]
push 0
push 0
push edi
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x20], 0
call ebx
mov esi, eax
test esi, esi
jg 0x100185e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x459
jne 0x1001867a
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
push edx
push eax
jmp 0x10018668
lea eax, [esi + esi]
call fcn.1006e010
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
mov eax, esp
push esi
push eax
push edi
push ecx
push edx
push 0xfde9
mov dword [ebp - 0x24], eax
call ebx
test eax, eax
je 0x1001867a
mov esi, dword [ebp - 0x1c]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10018613
push 8
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
inc eax
push eax
push esi
push 0
push 0xfde9
call ebx
test eax, eax
je 0x1001867a
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.10070cd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10018708
call fcn.10070c7c
cmp dword [eax], 2
je 0x10018660
call fcn.10070c7c
cmp dword [eax], 9
jne 0x1001867a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
push ecx
push edx
call fcn.100703c6
mov esi, eax
add esp, 8
test esi, esi
jne 0x10018708
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.100073b0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 0x10093de0
push eax
push 0x10093ddc
push ecx
push str.fopen_
push 5
call fcn.10007670
add esp, 0x2c
call fcn.10070c7c
cmp dword [eax], 2
push 0
push 0
jne 0x100186e4
push 0x80
push 0x6d
push 0x20
call fcn.100073b0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
push 2
push 0x6d
push 0x20
call fcn.100073b0
add esp, 0x14
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
push 0x100ac4f4
call fcn.10018020
mov edi, eax
add esp, 4
test edi, edi
jne 0x1001873a
push esi
call fcn.1006fc03
add esp, 4
xor eax, eax
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
push 0
push edi
call fcn.10017a10
push esi
push 1
push 0x6a
push edi
call fcn.10017db0
add esp, 0x18
mov eax, edi
lea esp, [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
Function at 0x10028810
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.1006c120
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret

Function at 0x100349e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1c
call fcn.1006d450
mov eax, dword [0x100adb80]
xor eax, esp
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [esp + 0x14], edx
test ecx, ecx
jle 0x10034ae7
mov ebx, dword [ebp + 0x10]
lea edi, [ebx + 3]
lea esi, [eax + 2]
sub ebx, eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.10033760
movzx eax, byte [edi - 3]
movzx edx, byte [esp + 0x28]
movzx ecx, byte [esp + 0x29]
xor eax, edx
movzx edx, byte [esp + 0x2a]
mov byte [esi - 2], al
mov byte [esp + 0x20], al
movzx eax, byte [edi - 2]
xor eax, ecx
movzx ecx, byte [esp + 0x2b]
mov byte [esi - 1], al
mov byte [esp + 0x21], al
movzx eax, byte [esi + ebx]
xor eax, edx
movzx edx, byte [esp + 0x2c]
mov byte [esi], al
mov byte [esp + 0x22], al
movzx eax, byte [edi]
xor eax, ecx
movzx ecx, byte [esp + 0x2d]
mov byte [esi + 1], al
mov byte [esp + 0x23], al
movzx eax, byte [edi + 1]
xor eax, edx
movzx edx, byte [esp + 0x2e]
mov byte [esi + 2], al
mov byte [esp + 0x24], al
movzx eax, byte [edi + 2]
xor eax, ecx
movzx ecx, byte [esp + 0x2f]
mov byte [esi + 3], al
mov byte [esp + 0x25], al
movzx eax, byte [edi + 3]
xor eax, edx
mov byte [esi + 4], al
mov byte [esp + 0x26], al
movzx eax, byte [edi + 4]
xor eax, ecx
mov byte [esi + 5], al
add esp, 0xc
add edi, 8
add esi, 8
dec dword [esp + 0xc]
mov byte [esp + 0x1b], al
jne 0x10034a32
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1006bd1f
mov esp, ebp
pop ebp
ret
Function at 0x10035f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.1006d450
mov eax, dword [0x100adb80]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
mov ebx, dword [esp + 0x78]
mov edx, dword [ebx + 4]
push ebp
mov ebp, dword [ebx]
push esi
push edi
lea esi, [ebx + 0x10]
mov ecx, 8
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x30]
mov ecx, 8
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
test ecx, ecx
je 0x1003607a
xor eax, eax
push ecx
lea ecx, [ebx + 0x50]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.1006c980
mov eax, dword [ebx + 8]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x6c]
call fcn.10035790
add esp, 0x10
xor ecx, ecx
xor eax, eax
mov edi, edi
movzx esi, byte [esp + eax + 0x1c]
movzx edx, byte [esp + eax + 0x3c]
add esi, ecx
movzx ecx, byte [esp + eax + 0x1d]
add edx, esi
mov byte [esp + eax + 0x3c], dl
sar edx, 8
add ecx, edx
movzx edx, byte [esp + eax + 0x3d]
add ecx, edx
movzx edx, byte [esp + eax + 0x1e]
mov byte [esp + eax + 0x3d], cl
sar ecx, 8
add edx, ecx
movzx ecx, byte [esp + eax + 0x3e]
add edx, ecx
movzx ecx, byte [esp + eax + 0x1f]
mov byte [esp + eax + 0x3e], dl
sar edx, 8
add ecx, edx
movzx edx, byte [esp + eax + 0x3f]
add ecx, edx
mov byte [esp + eax + 0x3f], cl
add eax, 4
sar ecx, 8
cmp eax, 0x20
jl 0x10036010
mov eax, dword [ebx + 0xc]
cdq
add ebp, eax
adc dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
xor eax, eax
shld edx, ebp, 3
add ebp, ebp
add ebp, ebp
mov ecx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea esi, [esp + 0x1c]
lea eax, [ebp + ebp]
test ecx, ecx
jl 0x100360d4
jg 0x100360c0
test eax, eax
je 0x100360d4
jmp 0x100360c0
mov byte [esi], al
shrd eax, ecx, 8
sar ecx, 8
inc esi
test ecx, ecx
jg 0x100360c0
jl 0x100360d4
test eax, eax
jne 0x100360c0
mov eax, dword [ebx + 8]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x60]
call fcn.10035790
mov ecx, dword [ebx + 8]
push ecx
lea edx, [esp + 0x44]
lea ecx, [esp + 0x64]
call fcn.10035790
mov edi, dword [esp + 0x18]
add esp, 8
mov ecx, 8
lea esi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1006bd1f
add esp, 0x70
ret
Function at 0x10045660
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x10045743
push esi
mov esi, dword [esp + 0x14]
inc esi
lea ebx, [ebx]
movzx edx, byte [esi - 1]
cmp edi, 3
jl 0x100456dd
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], al
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 3], dl
jmp 0x1004572e
shl edx, 0x10
cmp edi, 2
jne 0x100456ed
movzx eax, byte [esi]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
cmp edi, 1
jne 0x1004571a
lea edx, [edi + 0x3c]
jmp 0x10045727
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
sub edi, 3
add ecx, 4
add ebp, 4
add esi, 3
test edi, edi
jg 0x10045680
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x1005b920
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x1005b939
mov esi, edi
mov edi, eax
jmp 0x1005b93b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x1005b94b
mov eax, ebx
jmp 0x1005b955
push eax
push ebx
call fcn.100088e0
add esp, 8
test eax, eax
jne 0x1005b95d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x1005b979
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x1005b964
cmp eax, dword [esi + 4]
jge 0x1005b990
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x1005b980
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x1005b9b1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x1005b9ae
dec eax
test eax, eax
jg 0x1005b9a0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret

Function at 0x10061ea0
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0x400
mov dword [0x100b1b2c], 0
mov dword [0x100b1b20], 1
push 0x10061e70
call fcn.10071eb5
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
push 0x10
call esi
mov dword [0x100b1b20], 0
push 1
call esi
mov ecx, dword [0x100b1b2c]
mov eax, dword [0x100b1b2c]
shr ecx, 3
xor eax, ecx
mov ecx, dword [0x100b1b28]
shr eax, 3
xor ecx, eax
xor dword [0x100b1b2c], ecx
and dword [0x100b1b2c], 7
mov eax, dword [0x100b1b2c]
mov dword [0x100b1b28], eax
mov eax, dword [0x100b1b24]
mov ecx, dword [0x100b1b2c]
add eax, eax
add eax, eax
add eax, eax
xor ecx, eax
mov dword [0x100b1b24], ecx
mov eax, dword [0x100b1b24]
pop esi
ret
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
call 0x10061ea0
jmp 0x10061ea0
Function at 0x10063240
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
test eax, eax
je 0x10063315
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x10063315
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10063284
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x100632a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x100632dd
cmp dword [ebp + 8], 0
jne 0x100632dd
push ebx
mov ecx, edi
call fcn.100627a0
test eax, eax
je 0x100632dd
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push ebx
push dword [edi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100632ed
mov ecx, edi
call fcn.10062250
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
je 0x10063309
mov ecx, edi
call fcn.10062250
pop ebx
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
pop ebx
pop esi
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100633e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movdqu xmm0, xmmword [0x100832f0]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
movdqu xmmword [ebp - 0x14], xmm0
test ebx, ebx
je 0x1006345c
mov eax, dword [ebp + 8]
dec ebx
push esi
shr ebx, 4
lea esi, [edx + 8]
push edi
inc ebx
jmp 0x10063410
movdqu xmm0, xmmword [eax]
lea edi, [esi - 8]
push edi
push eax
push ecx
movdqu xmmword [ebp - 0x24], xmm0
call fcn.10063bf0
mov eax, dword [ebp - 0x14]
lea esi, [esi + 0x10]
xor dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x10]
xor dword [esi - 0x14], eax
mov eax, dword [ebp - 0xc]
xor dword [esi - 0x10], eax
mov eax, dword [ebp - 8]
xor dword [esi - 0xc], eax
mov eax, dword [ebp + 8]
movdqu xmm0, xmmword [ebp - 0x24]
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ebp + 8], eax
movdqu xmmword [ebp - 0x14], xmm0
dec ebx
jne 0x10063410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8