joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100af1c7
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3b98
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100aef70
pop ecx
pop ecx
and dword [ebp - 4], 0
or dword [ebp - 0x10], 0xffffffff
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.10004c91
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100af2bb
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100aef70
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100ac852
pop ecx
movzx eax, al
test eax, eax
jne 0x100af292
lea eax, [ebp - 0x50]
push eax
call fcn.100ac852
pop ecx
movzx eax, al
test eax, eax
je 0x100af292
push 0
lea ecx, [ebp - 0x30]
call fcn.10004c91
push eax
lea ecx, [ebp - 0x50]
call fcn.10004c91
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100af292
lea ecx, [ebp - 0x50]
call fcn.10004c91
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x50]
call fcn.10004c91
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.1000174b
cmp dword [ebp - 0x10], 0xffffffff
je 0x100af309
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100af300
cmp dword [ebp - 0x54], 0xffffffff
je 0x100af300
push 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x54]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100af300
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100af300
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x59], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000174b
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e261
leave
ret 4
Function at 0x100b0050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fc8a8]
and eax, 1
jne 0x100b0096
mov eax, dword [0x100fc8a8]
or eax, 1
mov dword [0x100fc8a8], eax
mov ecx, 0x100fc8a4
call fcn.10010348
push 0x100b955f
call fcn.1006e7cb
pop ecx
mov ecx, 0x100fc8a4
call fcn.10030367
movzx eax, al
test eax, eax
je 0x100b00e9
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070f00
add esp, 0xc
push 1
push 0x24
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x100fc8a4
call fcn.10003b4c
push 0x100fc8a4
mov ecx, dword [ebp + 8]
call fcn.10003a9e
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e261
leave
ret

Function at 0x100b0114
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fc8b0]
and eax, 1
jne 0x100b015a
mov eax, dword [0x100fc8b0]
or eax, 1
mov dword [0x100fc8b0], eax
mov ecx, 0x100fc8ac
call fcn.10010348
push 0x100b9550
call fcn.1006e7cb
pop ecx
mov ecx, 0x100fc8ac
call fcn.10030367
movzx eax, al
test eax, eax
je 0x100b01ad
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070f00
add esp, 0xc
push 1
push 0x25
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x100fc8ac
call fcn.10003b4c
push 0x100fc8ac
mov ecx, dword [ebp + 8]
call fcn.10003a9e
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e261
leave
ret
Function at 0x100b05d3
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004a56
movzx eax, al
test eax, eax
jne 0x100b0602
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004c91
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x102306d4
Capabilities:
Enumerate processes

Disassembly:
pushal
inc dword [esp + 0x3c]
clc
cmp dword [esp + 0x3c], 7
jmp 0x10232527
mov word [esp + 4], bp
lea esp, [esp + 0x2c]
jb 0x1021dc72
push esi
pushfd
setle ah
lea eax, [esp + 0xa4]
mov word [esp + 4], 0x4724
lea esp, [esp + 8]
jo 0x10226a94
pushal
mov dword [esp + 0x1c], eax
jmp loc.10220f3b
jmp 0x1022d885
push edi
jmp 0x1022fcb4

Function at 0x10239ed7
Capabilities:
Enumerate processes

Disassembly:
mov dword [esp], ebp
mov byte [esp], al
lea esp, [esp + 8]
call sub.KERNEL32.dll_Process32NextW
clc
clc
cmc
test cl, ch
test eax, eax
jmp loc.1021b032
Function at 0x10001000
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10002330
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10004004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x208
mov dword [ebp - 4], 0
call fcn.1000148b
add esp, 4
mov esi, eax
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1000106d
cmp eax, 0x104
jae 0x1000106d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 2
push esi
call fcn.100014b7
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100010a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10002350
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10004004]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, str.NVFBCWRP_PRIVDATA_FILE
mov dword [ebp - 0x24], esi
call fcn.10001000
mov ebx, eax
test ebx, ebx
je 0x10001138
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push 2
push ebx
mov dword [ebp - 0x28], edi
call fcn.100014b7
add esp, 8
cmp edi, 0xffffffff
je 0x10001138
push 2
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
movlpd qword [ebp - 0x30], xmm0
mov ebx, dword [ebp - 0x2c]
push ebx
push dword [ebp - 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1000114c
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, esi
mov dword [esi + 4], 0
jmp 0x100011f5
cmp dword [ebp - 0x1c], 0
jne 0x10001131
push 0
push 0
push ebx
push dword [ebp - 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10001131
mov dword [ebp - 4], 0
push dword [ebp - 0x20]
call fcn.1000148b
add esp, 4
mov dword [ebp - 0x18], 0
mov ebx, eax
lea eax, [ebp - 0x18]
push 0
push eax
push dword [ebp - 0x20]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100011b0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jne 0x100011b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, esi
mov dword [esi], ebx
jmp 0x100011f5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push ebx
call fcn.100014b7
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
jmp 0x100011f5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000147a
mov esp, ebp
pop ebp
ret
Function at 0x10001220
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov eax, dword [0x10004004]
xor eax, esp
mov dword [esp + 0xc], eax
cmp dword [ebp + 0xc], 1
push esi
push edi
jne 0x10001333
push str..NvFBC_.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000134b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10003190
push esi
call edi
mov dword [0x10004438], eax
test eax, eax
je 0x1000134b
push 0x100031a0
push esi
call edi
mov dword [0x1000441c], eax
test eax, eax
je 0x1000134b
push 0x100031b0
push esi
call edi
mov dword [0x10004434], eax
test eax, eax
je 0x1000134b
push 0x100031c0
push esi
call edi
mov dword [0x10004430], eax
test eax, eax
je 0x1000134b
push 0x100031d4
push esi
call edi
mov dword [0x1000442c], eax
test eax, eax
je 0x1000134b
push 0x100031e4
push esi
call edi
mov dword [0x10004428], eax
test eax, eax
je 0x1000134b
push 0x100031f8
push esi
call edi
mov dword [0x10004424], eax
test eax, eax
je 0x1000134b
push 0x10003210
push esi
call edi
mov dword [0x10004420], eax
test eax, eax
je 0x1000134b
mov ecx, str.NVFBCWRP_DUMP_DIR
call fcn.10001000
mov ecx, dword [0x10004418]
test eax, eax
cmovne ecx, eax
mov dword [0x10004418], ecx
lea ecx, [esp + 8]
call fcn.100010a0
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x10001333
mov dword [0x1000401c], eax
mov dword [0x10004018], ecx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1000147a
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.1000147a
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001360
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10004004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x210], eax
test eax, eax
jne 0x100013c3
cmp dword [esi + 0x14], eax
jne 0x1000142f
mov eax, dword [0x10004018]
mov dword [esi + 0x18], eax
mov eax, dword [0x1000401c]
push esi
mov dword [esi + 0x14], eax
call dword [0x1000441c]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000147a
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x1000142e
mov eax, dword [0x10004418]
test eax, eax
je 0x1000142e
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0x10003248
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1000142e
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000142d
push 0
push 0
push dword [ebp - 0x210]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
push esi
call dword [0x1000441c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1000147a
mov esp, ebp
pop ebp
ret 4
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d10
Capabilities:
Encode data using base64
Parse credit card information
Query or enumerate registry key
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x432de8]
push ebx
push esi
cmp eax, 0x38
push edi
je fcn.00403d37
jmp loc.0045b4a5

Function at 0x42e2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [0x432df4]
xor ecx, ecx
push esi
cmp ebx, 0x27
push edi
mov edi, dword [0x432e00]
sete cl
sar edi, cl
mov dword [0x432e00], edi
mov dword [0x432e40], 0x432488
mov dword [0x432e40], 0x432490
mov dword [0x432e40], 0x432498
mov dword [0x432e40], 0x4324a0
mov dword [0x432e40], 0x4324a8
mov dword [0x432e40], 0x4324b0
mov dword [0x432e40], 0x4324b8
mov dword [0x432e40], 0x4324c0
mov dword [0x432e40], 0x4324c8
mov dword [0x432e40], 0x4324d0
mov dword [0x432e40], 0x4324d8
mov dword [0x432e40], 0x4324e0
mov dword [0x432e40], 0x4324e8
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov dword [0x432e40], 0x4324f0
mov dword [0x432e40], 0x4324f8
add eax, ebx
mov dword [0x432e40], 0x432500
mov dword [0x432e40], 0x432508
mov dword [0x432e40], 0x432510
mov eax, dword [eax + 0x78]
mov dword [0x432e40], 0x432518
mov dword [0x432e40], 0x432520
add eax, ebx
mov dword [ebp - 8], eax
mov dword [0x432e40], 0x432528
mov esi, dword [eax + 0x20]
or edx, 0xffffffff
add esi, ebx
mov dword [ebp + 8], esi
mov dword [0x432e40], 0x432530
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x10], ecx
mov dword [0x432e40], 0x432538
or eax, 0xffffffff
mov dword [ebp - 4], 0
test ecx, ecx
jmp loc.0045aa9f

Function at 0x42e960
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4316c8
push 0x42eae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
jmp loc.0045b615

Function at 0x42eaca
Capabilities:
Packed with generic packer

Disassembly:
push 0x30000
push 0x10000
jmp loc.0045a7e2
Function at 0x3c3310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x3c3350
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x3ce494]
test eax, eax
jne 0x3c3374
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.003c3e60
mov dword [0x3ce494], eax
call eax
mov ebx, eax
mov eax, dword [0x3cdd18]
test eax, eax
jne 0x3c339c
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.003c3e60
mov dword [0x3cdd18], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x3c3452
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x3c3442
cmp ebx, 8
jb 0x3c3427
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x3c33e6
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x3c3427
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x3c3400
cmp edx, ebx
jae 0x3c3442
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x3c3430
mov edx, dword [esp + 0x18]
test edx, edx
je 0x3c3450
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x3c34c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x3c34e9
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3ce494]
test eax, eax
jne 0x3c350d
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.003c3e60
mov dword [0x3ce494], eax
call eax
mov edi, eax
mov eax, dword [0x3cdd18]
test eax, eax
jne 0x3c3535
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.003c3e60
mov dword [0x3cdd18], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x3c35b5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x3c35aa
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x3c3570
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x3c35c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x3c35ea
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x3ce494]
test eax, eax
jne 0x3c360e
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0x7facde30
mov ecx, eax
call fcn.003c3e60
mov dword [0x3ce494], eax
call eax
mov edi, eax
mov eax, dword [0x3cdd18]
test eax, eax
jne 0x3c3636
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0x9ff0609c
mov ecx, eax
call fcn.003c3e60
mov dword [0x3cdd18], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x3c36a2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x3c369a
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x3c3670
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x3c3bb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp], 0x4090
or dword [esp], 0x31656b5b
imul eax, dword [esp], 0x51
push ebx
mov ebx, ecx
mov dword [esp + 4], eax
mov eax, 0xb02c0b03
mov edx, dword [esp + 4]
mul edx
shr edx, 6
mov dword [esp + 4], edx
shl dword [esp + 4], 0x10
or dword [esp + 4], 0xecb0ddf8
add dword [esp + 4], 0x637e
xor dword [esp + 4], 0xeef54176
mov dword [esp + 8], 0x5ef
add dword [esp + 8], 0x6fab
or dword [esp + 8], 0x1ac9183b
shl dword [esp + 8], 8
shr dword [esp + 8], 2
xor dword [esp + 8], 0x325f6ec6
mov dword [esp + 8], 0xc1f4
add dword [esp + 8], 0x1c7b
or dword [esp + 8], 0x28c630b6
add dword [esp + 8], 0xffff17a2
shl dword [esp + 8], 0xb
xor dword [esp + 8], 0x30b50810
cmp byte [ebx], 0
je 0x3c3cf3
push esi
push edi
lea ecx, [ecx]
mov edi, dword [esp + 0xc]
lea ebx, [ebx + 1]
mov dword [esp + 0x10], 0x5ef
add dword [esp + 0x10], 0x6fab
or dword [esp + 0x10], 0x1ac9183b
shl dword [esp + 0x10], 8
shr dword [esp + 0x10], 2
xor dword [esp + 0x10], 0x325f6ec6
movzx ecx, byte [esp + 0x10]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], 0xc1f4
add dword [esp + 0x10], 0x1c7b
or dword [esp + 0x10], 0x28c630b6
add dword [esp + 0x10], 0xffff17a2
shl dword [esp + 0x10], 0xb
xor dword [esp + 0x10], 0x30b50810
shl esi, cl
movzx ecx, byte [esp + 0x10]
mov edx, dword [esp + 0xc]
movsx eax, byte [ebx - 1]
mov dword [esp + 0xc], eax
add dword [esp + 0xc], esi
shl edx, cl
add dword [esp + 0xc], edx
sub dword [esp + 0xc], edi
cmp byte [ebx], 0
jne 0x3c3c60
pop edi
pop esi
mov eax, dword [esp + 4]
pop ebx
add esp, 8
ret
Function at 0x3c3e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x3c3ebc
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.003c3bb0
xor eax, 0x3b993195
cmp eax, dword [esp + 0x10]
je 0x3c3ec6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3c3ea0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x3c3ef4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3c3ef4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x3c40b0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x3c40d6
cmp al, 0x2e
je 0x3c40d3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x3c40c3
jmp 0x3c40d6
mov byte [edx], 0
mov eax, dword [0x3ce470]
test eax, eax
jne 0x3c40fa
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0xcca18ea2
mov ecx, eax
call fcn.003c3e60
mov dword [0x3ce470], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3c4141
mov eax, dword [0x3ce2f4]
test eax, eax
jne 0x3c412b
mov ecx, 0x9bab0b12
call fcn.003c3f00
mov edx, 0xe4b28a79
mov ecx, eax
call fcn.003c3e60
mov dword [0x3ce2f4], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3c4141
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.003c3bb0
xor eax, 0x3b993195
mov ecx, edi
mov edx, eax
call fcn.003c3e60
pop edi
pop esi
add esp, 0x104
ret