joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425742
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x250
mov eax, 0x447f6d
call fcn.0042bf10
mov esi, ecx
push 7
xor eax, eax
pop ebx
xor ecx, ecx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], eax
mov dword [ebp - 0x25c], esi
mov word [esi], cx
lea edi, [esi + 0x1c]
mov dword [edi + 0x14], ebx
mov dword [edi + 0x10], eax
mov dword [ebp - 4], eax
mov word [edi], cx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], eax
mov word [esi + 0x38], cx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], eax
mov word [esi + 0x54], ax
mov byte [ebp - 4], 3
mov dword [esi + 0x70], 0xe
push dword [esi + 0x70]
lea eax, [ebp - 0x218]
push str.SOFTWAREMicrosoftOffice_ld.0ExcelInstallRoot
push eax
call fcn.0042d38b
add esp, 0xc
push 1
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x258]
call fcn.00408c60
cmp dword [ebp - 0x258], 0
je 0x425896
and dword [ebp - 0x224], 0
xor eax, eax
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x234], ax
push edi
push str.Path
lea ecx, [ebp - 0x258]
mov byte [ebp - 4], 5
call fcn.00408af0
test eax, eax
je 0x425887
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x425887
cmp dword [edi + 0x14], 8
jb 0x425818
mov eax, dword [edi]
jmp 0x42581a
mov eax, edi
cmp word [eax + ecx*2 - 2], 0x5c
je 0x42583a
push 0x453b18
call fcn.0042c321
pop ecx
push eax
push 0x453b18
mov ecx, edi
call fcn.0040d3a0
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x234]
call fcn.00409ce0
push str.excel.exe
call fcn.0042c321
pop ecx
push eax
push str.excel.exe
lea ecx, [ebp - 0x234]
call fcn.0040d3a0
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x42587b
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4258be
push 0
push 1
lea ecx, [ebp - 0x234]
call fcn.00409e40
cmp dword [ebp - 0x258], 0
mov byte [ebp - 4], 3
je 0x4258af
push dword [ebp - 0x258]
call dword [ebp - 0x24c]
dec dword [esi + 0x70]
cmp dword [esi + 0x70], 8
jg 0x425797
jmp 0x42592a
push 0xffffffffffffffff
xor edi, edi
push edi
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.00409ce0
push dword [esi + 0x70]
lea eax, [ebp - 0x218]
push str.SOFTWAREMicrosoftOffice_ld.0_
push eax
call fcn.0042d38b
lea eax, [ebp - 0x218]
push eax
call fcn.0042c321
add esp, 0x10
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x54]
call fcn.00408e20
push edi
push 1
lea ecx, [ebp - 0x234]
call fcn.00409e40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x258], edi
je 0x42592a
push dword [ebp - 0x258]
call dword [ebp - 0x24c]
or dword [esi + 0x74], 0xffffffff
mov eax, esi
call fcn.0042bf93
ret
Function at 0x425936
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x68
mov eax, 0x447fad
call fcn.0042bf10
mov edi, ecx
cmp dword [edi + 0x74], 0xffffffff
jne 0x425a2e
mov esi, str.SoftwareMicrosoftOfficeExcelAddInsLockXLSRuntime.Connect
push esi
xor ebx, ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 0x74], ebx
call fcn.004256ae
pop ecx
pop ecx
test eax, eax
jne 0x425a2e
push esi
push closesocket
call fcn.004256ae
pop ecx
pop ecx
cmp eax, ebx
je 0x425987
cmp eax, 2
jne 0x425a2e
push 1
mov esi, closesocket
push esi
push str.LockXLSRuntime.Connect
lea ecx, [ebp - 0x74]
call fcn.00408c60
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x74], ebx
je 0x425a1f
push 1
push esi
push str.CLSID36CFCB02_788B_41D9_A9A6_FCBCEC7FF987InprocServer32
lea ecx, [ebp - 0x50]
call fcn.00408c60
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
je 0x425a06
lea eax, [ebp - 0x2c]
push eax
push 0x453b30
lea ecx, [ebp - 0x50]
call fcn.00408af0
test eax, eax
je 0x425a06
cmp dword [ebp - 0x1c], ebx
je 0x425a06
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4259f3
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425a06
mov dword [edi + 0x74], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409e40
mov byte [ebp - 4], bl
cmp dword [ebp - 0x50], ebx
je 0x425a1f
push dword [ebp - 0x50]
call dword [ebp - 0x44]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x74], ebx
je 0x425a2e
push dword [ebp - 0x74]
call dword [ebp - 0x68]
xor eax, eax
cmp dword [edi + 0x74], 1
sete al
call fcn.0042bf93
ret

Function at 0x426a6c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x426a7a
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x426b35
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44f210]
add edx, 8
sub edi, 8
dec esi
jne 0x426a98
pop ebx
test edi, edi
je 0x426b4e
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x44f210]
inc edx
dec edi
jne 0x426b39
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x426b54
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x44f210]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x44f210]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x426ffc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x427030
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42702b
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x427058
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x427041
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x14]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042b4c0
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x427e85
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x427eb9
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427eb9
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx ecx, word [esi]
test cx, cx
je 0x427f63
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x427ed5
cmp cx, 0x5c
jne 0x427ed7
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x427ec9
cmp eax, esi
je 0x427f17
sub eax, esi
push edi
sar eax, 1
lea edi, [eax + eax]
push edi
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.0042b4c0
xor eax, eax
mov word [ebp + edi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push ebx
call fcn.00427e85
add esp, 0x14
pop edi
xor eax, eax
mov word [ebp - 0x20c], ax
test ebx, ebx
je 0x427f33
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042c36d
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042c33c
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x427f63
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042be98
leave
ret
Function at 0x4294e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x42958b
cmp dword [esi + 4], 0xffffffff
jne 0x42958b
push edi
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call fcn.0042c321
movzx eax, word [esi + eax*2 + 0x242]
pop ecx
cmp eax, 0x5c
je 0x429532
cmp eax, 0x2f
je 0x429532
push 0x453b18
push edi
call fcn.0042c33c
pop ecx
pop ecx
cmp dword [ebp + 0x10], 1
pop edi
jne 0x429554
push 1
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x429554
mov eax, 0x2000000
jmp 0x429590
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00426e21
add esp, 0x10
test eax, eax
jne 0x429572
mov eax, dword [ebp + 0x10]
jmp 0x429590
push eax
call fcn.00428fb5
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x429590
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x429b41
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push dword [ebp + 8]
mov ebx, ecx
call fcn.00429ad7
test eax, eax
je 0x429be9
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x429be1
push esi
push edi
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [ebx + 0x1c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x429be0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x429be0
mov eax, dword [ebp + 0x18]
cmp esi, eax
jbe 0x429be0
mov edi, dword [ebp + 0x1c]
test edi, edi
jne 0x429bab
mov edi, esi
lea ecx, [eax + edi]
cmp ecx, esi
jbe 0x429bb6
sub esi, eax
mov edi, esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, esi
call fcn.0040d9a0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x429bd9
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0x18]
push edi
push ecx
push eax
call fcn.0042b4c0
add esp, 0xc
mov dword [ebp - 4], 1
pop esi
mov ecx, ebx
call fcn.00429a95
pop edi
mov eax, dword [ebp - 4]
pop ebx
leave
ret 0x18
Function at 0x42a268
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
movsx edx, byte [ebp + 0xc]
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0x44fa48]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x44fa48]
pop esi
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x42a334
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x42a3a9
mov eax, dword [esi + 0x3c]
xor ebx, ebx
cmp eax, ebx
je 0x42a360
cmp dword [esi + 0x40], edi
jae 0x42a360
push eax
call fcn.0042c69d
pop ecx
mov dword [esi + 0x3c], ebx
cmp dword [esi + 0x3c], ebx
jne 0x42a375
lea eax, [edi + edi]
push eax
call fcn.0042b401
pop ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push dword [ebp + 8]
push dword [esi + 0x3c]
call fcn.0042b4c0
add esp, 0xc
test edi, edi
je 0x42a3a6
mov eax, dword [esi + 0x3c]
movzx eax, byte [ebx + eax]
push eax
lea eax, [esi + 0x30]
push eax
call fcn.0042a2d5
pop ecx
pop ecx
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
cmp ebx, edi
jb 0x42a388
mov edx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x42a3d8
mov eax, dword [esi + 0x24]
lea ebx, [eax + edi]
cmp ebx, dword [esi + 0x28]
jb 0x42a3c4
mov dword [esi + 0x14], 0x30000
jmp 0x42a3fa
push edi
push edx
add eax, ecx
push eax
call fcn.0042b4c0
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
jmp 0x42a3fc
mov eax, dword [esi + 4]
test eax, eax
je 0x42a3f3
push 0
lea ecx, [ebp + 8]
push ecx
push edi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
jmp 0x42a3fc
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42a597
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
inc dword [0x45fad0]
push esi
push dword [0x45fad0]
mov esi, dword [ebp + 8]
push ecx
lea eax, [ebp - 0x204]
push str._ld_ld
push eax
call fcn.0042d38b
add esp, 0x10
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x204]
push eax
push esi
call fcn.0042c33c
push 0x44fe4c
push esi
call fcn.0042c33c
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop esi
call fcn.0042be98
leave
ret 4
Function at 0x42a653
Capabilities:
Check if file exists
Delete file
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
and dword [ebp - 0x214], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], eax
test ebx, ebx
je 0x42a75d
cmp dword [ebp + 0xc], 0
je 0x42a75d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc eax
neg eax
sbb eax, eax
inc eax
jne 0x42a6b7
push esi
call edi
test eax, eax
je 0x42a75c
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042a597
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
neg eax
sbb eax, eax
inc eax
jne 0x42a6eb
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x42a741
lea eax, [ebp - 0x20c]
push 0x454e60
push eax
call fcn.0042ce2d
pop ecx
pop ecx
mov dword [ebp - 0x210], eax
test eax, eax
je 0x42a741
push eax
push dword [ebp + 0xc]
push 1
push ebx
call fcn.0042ccf5
push dword [ebp - 0x210]
call fcn.0042cb2a
mov ecx, dword [ebp - 0x218]
add esp, 0x14
push dword [ebp - 0x21c]
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042a605
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42a75c
lea eax, [ebp - 0x20c]
push eax
call edi
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042be98
leave
ret 0x10

Function at 0x42be98
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45d320]
jne 0x42bea2
repz ret
jmp fcn.0043395c
Function at 0x441ded
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45d320]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00433402
and dword [ebp - 0x14], 0
cmp dword [0x460a60], 0
mov dword [ebp - 0x18], eax
jne 0x441ea0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x441f48
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452d1c
push ebx
call edi
test eax, eax
je 0x441f48
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x460a60], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x460a64], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x460a68], eax
call edi
push eax
call esi
mov dword [0x460a70], eax
test eax, eax
je 0x441ea0
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x460a6c], eax
mov eax, dword [0x460a6c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x441ef9
cmp dword [0x460a70], ecx
je 0x441ef9
push eax
call esi
push dword [0x460a70]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x441ef9
test ebx, ebx
je 0x441ef9
call edi
test eax, eax
je 0x441ef0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x441ef0
test byte [ebp - 8], 1
jne 0x441ef9
or dword [ebp + 0x10], 0x200000
jmp 0x441f2c
mov eax, dword [0x460a64]
cmp eax, dword [ebp - 0x18]
je 0x441f2c
push eax
call esi
test eax, eax
je 0x441f2c
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x441f2c
mov eax, dword [0x460a68]
cmp eax, dword [ebp - 0x18]
je 0x441f2c
push eax
call esi
test eax, eax
je 0x441f2c
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x460a60]
call esi
test eax, eax
je 0x441f48
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x441f4a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042be98
leave
ret
Function at 0x100017b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, 0x3bf9640
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
add esi, 0xfffffffe
xor ecx, ecx
test esi, esi
jle 0x10001842
jmp 0x100017e0
movzx edi, byte [edx + ecx]
shr edi, 2
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax], bl
movsx edi, byte [edx + ecx]
movzx ebx, byte [edx + ecx + 1]
and edi, 3
shr ebx, 4
shl edi, 4
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 1], bl
movsx ebx, byte [edx + ecx + 1]
movzx edi, byte [edx + ecx + 2]
and ebx, 0xf
add ebx, ebx
shr edi, 6
add ebx, ebx
or edi, ebx
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 2], bl
movsx edi, byte [edx + ecx + 2]
and edi, 0x3f
movzx ebx, byte [ebp + edi - 0x44]
mov byte [eax + 3], bl
add ecx, 3
add eax, 4
cmp ecx, esi
jl 0x100017e0
cmp ecx, dword [ebp + 8]
jge 0x100018be
movzx esi, byte [ecx + edx]
shr esi, 2
mov bl, byte [ebp + esi - 0x44]
mov esi, dword [ebp + 8]
dec esi
mov byte [eax], bl
cmp ecx, esi
jne 0x10001881
movsx ecx, byte [ecx + edx]
and ecx, 3
add ecx, ecx
mov dl, byte [ebp + ecx*8 - 0x44]
mov byte [eax + 1], dl
pop edi
mov byte [eax + 2], 0x3d
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
lea esi, [ecx + edx + 1]
movsx ecx, byte [ecx + edx]
movzx edx, byte [esi]
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
movzx ecx, byte [ebp + ecx - 0x44]
mov byte [eax + 1], cl
movsx edx, byte [esi]
and edx, 0xf
movzx ecx, byte [ebp + edx*4 - 0x44]
pop edi
mov byte [eax + 2], cl
add eax, 3
pop esi
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10009ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x3c033f0
mov dword [ebp - 4], 0x10
call dword [0x3bf925c]
push 0x3c033f0
call dword [0x3bf9260]
or ecx, 0xffffffff
mov edx, 0x3c033f0
test eax, eax
je 0x10009f3d
movzx esi, byte [edx]
xor esi, ecx
and esi, 0xff
shr ecx, 8
xor ecx, dword [esi*4 + 0x3c02568]
inc edx
dec eax
jne 0x10009f24
mov edi, dword [0x3bf9468]
not ecx
mov esi, ecx
push esi
push 0x3c02278
push 0x3c03408
call edi
lea ebx, [esi + esi]
push ebx
push 0x3c02278
push 0x3c033b4
call edi
lea ecx, [esi + esi*2]
push ecx
push 0x3c02278
push 0x3c03480
call edi
push esi
push 0x3c02290
push 0x3c03514
call edi
push ebx
push 0x3c02290
push 0x3c034d4
call edi
push esi
push esi
push 0x3c0221c
push 0x3c03444
call edi
add esp, 0x4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a190
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x101
lea eax, [ebp - 0x104]
push eax
push ecx
call dword [0x3bf9480]
mov edx, eax
or eax, 0xffffffff
lea ecx, [ebp - 0x104]
test edx, edx
je 0x1000a1da
push esi
lea esp, [esp]
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x3c02568]
inc ecx
dec edx
jne 0x1000a1c0
pop esi
not eax
mov esp, ebp
pop ebp
ret
Function at 0x1000a270
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x3c0d628]
sub esp, 0x104
push ebx
mov ebx, dword [0x3bf9358]
push esi
push edi
push 1
push 5
push eax
call ebx
push eax
call ebx
mov edi, dword [0x3bf9388]
mov esi, eax
lea esp, [esp]
push esi
call dword [0x3bf9384]
test eax, eax
je 0x1000a337
push 0xfffffffffffffff0
push esi
call dword [0x3bf93b4]
test eax, 0x40000000
jne 0x1000a31c
push 0x101
lea ecx, [ebp - 0x104]
push ecx
push esi
call dword [0x3bf9480]
or ecx, 0xffffffff
lea edx, [ebp - 0x104]
test eax, eax
je 0x1000a2ff
nop
movzx ebx, byte [edx]
xor ebx, ecx
and ebx, 0xff
shr ecx, 8
xor ecx, dword [ebx*4 + 0x3c02568]
inc edx
dec eax
jne 0x1000a2e0
mov ebx, dword [0x3bf9358]
not ecx
test ecx, ecx
je 0x1000a316
xor eax, eax
cmp ecx, dword [eax*8 + 0x3c02228]
je 0x1000a34d
inc eax
cmp eax, 0xa
jb 0x1000a307
xor eax, eax
test al, 0x20
je 0x1000a337
push 0
push 0x1b
push 0x100
push esi
call edi
push 0xc01b0000
push 0x1b
push 0x101
push esi
call edi
push 3
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x1000a2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, word [eax*8 + 0x3c0222c]
jmp 0x1000a318

Function at 0x10012420
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
jle 0x100124b3
mov ecx, dword [ebp + 8]
push ebx
sub ecx, esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
jmp 0x10012444
mov ecx, dword [ebp - 0xc]
movzx ecx, byte [ecx + esi]
mov byte [ebp - 1], cl
mov cl, byte [eax + 0x100]
movzx edi, cl
movzx edx, byte [edi + eax]
add edi, eax
mov byte [ebp + 0xf], dl
mov dl, byte [eax + 0x101]
add dl, byte [ebp + 0xf]
mov dword [ebp - 0x10], edi
movzx edi, dl
mov bl, byte [edi + eax]
add edi, eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x10]
mov byte [edi], bl
mov edi, dword [ebp - 0x14]
mov byte [ebp + 0xb], bl
movzx ebx, byte [ebp + 0xf]
mov byte [edi], bl
movzx ebx, byte [ebp + 0xf]
movzx edi, byte [ebp + 0xb]
add edi, ebx
mov bl, byte [ebp - 1]
and edi, 0xff
xor bl, byte [edi + eax]
inc cl
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x10012441
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8