joyce8/EMBER2024-capa huggingface dataset:
Function at 0x584e3c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x584e7b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x584e7b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x584e7b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x584e7b
cmp dword [ecx + 0x74], 0xe
jbe 0x584e7b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x594a4a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x632a28]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x594a8c
cmp byte [ebx], 0xa
jne 0x594a8c
or byte [edi + eax + 0x28], 4
jmp 0x594a91
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x594b94
mov cl, byte [eax]
cmp cl, 0x1a
je 0x594b6f
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x594ac0
mov eax, dword [ebp - 8]
jmp 0x594ae0
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x594afc
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x594ada
add eax, 2
mov cl, 0xa
jmp 0x594add
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x594aa2
jmp 0x594b94
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x594b6a
cmp dword [ebp - 0x10], 0
je 0x594b6a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x632a28]
test byte [eax + edi + 0x28], 0x48
je 0x594b49
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x594b39
mov byte [esi], 0xa
jmp 0x594b93
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x632a28]
mov byte [eax + edi + 0x2a], cl
jmp 0x594b93
cmp byte [ebp - 1], 0xa
jne 0x594b53
cmp esi, ebx
je 0x594b34
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0059ffa8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x594b94
mov byte [esi], 0xd
jmp 0x594b93
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x632a28]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x594b91
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x594b94
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x594b9d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x632a28]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x594be1
push 0xa
pop esi
cmp word [ebx], si
jne 0x594be1
or byte [eax + edi + 0x28], 4
jmp 0x594be6
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x594d51
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x594d29
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x594c33
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x594c5d
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x594c7c
push 0xa
pop ebx
cmp word [edx], bx
jne 0x594c4a
push ebx
add eax, 4
pop edx
jmp 0x594c52
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x594bf8
jmp 0x594d51
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x594d24
cmp dword [ebp - 0x14], 0
je 0x594d24
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x632a28]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x594d00
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x594cc8
mov word [esi], ax
jmp 0x594d4e
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x632a28]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x632a28]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x632a28]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x594d4e
cmp word [ebp - 4], ax
jne 0x594d0a
cmp esi, ebx
je 0x594cc0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0059ffa8
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x594d51
push 0xd
pop eax
jmp 0x594cc0
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x632a28]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x594d4b
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x594d51
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x598927
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x598941
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x598958
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x5989b0
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0059fd56
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x5989b0
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x5989b0
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x5989b0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x5989aa
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x5989ac
xor bl, bl
mov al, bl
jmp 0x5989b2
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x59edfb
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00598301
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x59ee6a
cmp esi, dword [ebp - 4]
je 0x59ee65
cmp dword [ebp + 0xc], 0
je 0x59ee65
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x59ee42
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0059e938
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x59ee6c
xor eax, eax
inc eax
jmp 0x59ee6c
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x59eed7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00598301
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00598301
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x59ef4e
cmp word [ecx], dx
je 0x59ef4e
mov eax, dword [0x5cc924]
push edi
dec eax
push eax
push 0x5cc810
call fcn.0059ee70
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x59efc1
cmp word [eax], dx
je 0x59efc1
mov eax, dword [edi]
test eax, eax
je 0x59ef72
cmp word [eax], dx
je 0x59ef72
lea eax, [ebp - 0x10]
push eax
call fcn.0059e83e
jmp 0x59ef7b
lea eax, [ebp - 0x10]
push eax
call fcn.0059e8d9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x59efeb
mov eax, dword [0x5cc80c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x5cc500
call fcn.0059ee70
add esp, 0xc
test al, al
je 0x59efeb
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x59efb6
cmp word [eax], di
je 0x59efb6
lea eax, [ebp - 0x10]
push eax
call fcn.0059e83e
pop ecx
jmp 0x59efed
lea eax, [ebp - 0x10]
push eax
call fcn.0059e8d9
jmp 0x59efb3
mov eax, dword [edi]
test eax, eax
je 0x59efd8
cmp word [eax], dx
je 0x59efd8
lea eax, [ebp - 0x10]
push eax
call fcn.0059e7f3
pop ecx
jmp 0x59efeb
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x59f0b6
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0059ecf5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x59f0b6
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x59f0b6
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x59f0b6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x59f043
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0059928c
test ebx, ebx
je 0x59f0b1
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0059928c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x59f0b6
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x59f0b6
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0058803e
add esp, 0x10
xor eax, eax
inc eax
jmp 0x59f0b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00583f9f
leave
ret
Function at 0x5a01b6
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.005a0132
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x5a0325
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x5a0325
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5a02da
jg 0x5a0212
test eax, eax
je 0x5a02d0
push 1
push 0x1000
call fcn.00598d20
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5a0235
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5a02c7
push 0x8000
push ebx
call fcn.0059770f
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x5a025e
jg 0x5a0259
cmp ecx, 0x1000
jb 0x5a025e
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00595ec8
add esp, 0x10
cmp eax, 0xffffffff
je 0x5a02a3
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x5a0259
jl 0x5a028a
test ecx, ecx
jne 0x5a024b
push dword [ebp - 0xc]
push ebx
call fcn.0059770f
push esi
call fcn.00598d80
add esp, 0xc
xor ebx, ebx
jmp 0x5a0333
cmp byte [edi + 0x24], 0
je 0x5a02ba
cmp dword [edi + 0x20], 5
jne 0x5a02ba
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5a02c5
mov ebx, dword [edi + 0x18]
jmp 0x5a02c7
xor ebx, ebx
push esi
call fcn.00598d80
pop ecx
jmp 0x5a0333
test ecx, ecx
jg 0x5a029c
jl 0x5a02da
test eax, eax
jae 0x5a029c
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0059ffa8
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x5a02fa
cmp byte [edi + 0x1c], 0
je 0x5a029c
jmp 0x5a032b
push ebx
call fcn.0059fd56
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5a029c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5a0333
cmp byte [edi + 0x1c], 0
je 0x5a0330
mov ebx, dword [edi + 0x18]
jmp 0x5a0333
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0059ffa8
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a05d4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x5a061f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.005a076d
test al, al
jne 0x5a0619
sub edx, 2
cmp edx, edi
jne 0x5a05ff
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x5a0641
lea eax, [edi + 2]
cmp edx, eax
je 0x5a0641
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.005a0520
add esp, 0x10
jmp 0x5a0739
push esi
lea ecx, [ebp - 0x255]
call fcn.005a076d
sub edx, edi
xor ecx, ecx
sar edx, 1
inc edx
test al, al
lea eax, [ebp - 0x254]
cmovne ecx, edx
xor ebx, ebx
push ebx
push ebx
push ebx
push eax
push ebx
push edi
mov dword [ebp - 0x260], ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5a0682
push dword [ebp - 0x25c]
jmp 0x5a0631
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x5a06bf
cmp word [ebp - 0x226], 0
je 0x5a06e0
cmp word [ebp - 0x226], ax
jne 0x5a06bf
cmp word [ebp - 0x224], 0
je 0x5a06e0
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.005a0520
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x5a072c
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x5a0699
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x5a0714
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x5a0739
push 0x5a0350
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0058df10
add esp, 0x10
jmp 0x5a0709
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00583f9f
leave
ret

Function at 0x5a5140
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x5a516d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x5a516d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406e68
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push 0
push 0
push 0
cld
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub eax, 3
mov edx, dword [ecx]
imul eax, edx
cmp al, 0x7c
je 0x406eb6
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp eax, dword [edx + ebp]
je 0x406ef9
mov eax, 0x406eb1
lea eax, [edx + eax]
push ebp
push eax
push 0
call sub.KERNEL32.dll_EnumResourceTypesA
test eax, eax
jne 0x406ecf
jmp 0x406ef9
retf
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
cld
add dword [ebx], esp
add esp, edi
or eax, 7
xchg dword [esp + 0xc], edx
lea eax, es:[eax + 0x789690]
nop
xchg esi, eax
js 0x406ed3
add eax, 0xff87c9b8
add dword es:[edx - 0x1b4], eax
mov ecx, dword [esp]
sub esp, 0xffffffec
mov eax, 0
push cs
pop dx
push dx
push ecx
jmp 0x406eb4
add byte [eax], al
add byte [eax], al
xchg ebx, eax
test byte [eax], al
imul esi, ebp, 0xa0b5cf37
add byte [eax + eax], al
loop 0x406f0b
jnp 0x406ec1
add byte [edx + 0xb20f69], bh
lodsb al, byte [esi]
xor dword [ebx], 0x6a8b0022
adc dword [ecx + 0x79], 0xc9070014
cmp byte [ebx], dh
call 0xebbcf486
add al, byte [eax]
mov ebp, dword [eax + 0x78]
pushfd
push edi
and al, byte [eax]
mov esi, dword [ebp - 0x61]
invalid
Function at 0x40f44e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword fs:[eax]
stc
nop
jb 0x40f6e0
xor eax, 0x3b0000e9
mov eax, dword [0xf9c08ba9]
xor eax, eax
stc
nop
jb 0x40ec41
add byte [eax], al
add byte [edx], ch
mov word [edx], ss
xor eax, 0xf9fa2bdf
mov dword fs:[eax], esp

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

Disassembly:
rep movsb byte es:[edi], byte [esi]
push edi
mov edi, 0x40ebf2
xchg dword [esp], edi
ret
jmp fcn.0040dc99
mov ecx, ebx
stc
nop
jb 0x40f1f3
retf
mov ecx, dword [ecx + 0x38]
stc
nop
jb 0x40d907
add byte [eax], al
pop es
add byte [eax], al
add byte [0x4078b948], ah
add dword [eax], eax
stc
nop
jb 0x40d766
add byte [ebp - 0xe10000], bh
jne 0x40ef23
push edi
mov edi, 0x40fde3
xchg dword [esp], edi
ret
add ecx, dword [ecx + 0x3c]
stc
nop
jb 0x40eef9
dec ecx
mov byte [0xb00000], al
dec esi
pushal
stc
nop
jb 0x40db3c
call [eax]
cmp eax, 0xf5
aaa
dec edi
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0xffca460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xffca860]
xor edx, dword [ebx*4 + 0xffcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xffca460]
add ecx, 4
xor edx, dword [eax*4 + 0xffcb060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xffca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xffcac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xffca460]
add ecx, 4
xor eax, dword [edx*4 + 0xffcb060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xffca860]
xor edx, dword [ebx*4 + 0xffcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xffca460]
xor edx, dword [eax*4 + 0xffcb060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xffca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xffcac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xffca460]
xor eax, dword [edx*4 + 0xffcb060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xffca860]
xor edx, dword [ebx*4 + 0xffcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xffca460]
xor edx, dword [eax*4 + 0xffcb060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xffca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xffcac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xffca460]
and edx, 0xff
xor eax, dword [edx*4 + 0xffcb060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0xffca860]
xor edx, dword [ebx*4 + 0xffcac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0xffca460]
add ecx, 4
xor edx, dword [eax*4 + 0xffcb060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0xffca860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0xffcac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0xffca460]
and edx, 0xff
xor eax, dword [edx*4 + 0xffcb060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0xffca860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0xffcac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0xffca460]
and eax, 0xff
xor edi, dword [eax*4 + 0xffcb060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0xffca460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret
Function at 0x100011a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1000a10c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
movq qword [esi + edi], xmm0
movq qword [esi + edi + 8], xmm0
mov byte [ebp - 0x14], 0
movq qword [ebp - 0x13], xmm0
mov dword [ebp - 0xb], 0
mov word [ebp - 7], 0
mov byte [ebp - 5], 0
mov byte [esi + edi], 0x80
test edi, edi
js 0x1000121e
add edi, 0x10
add esi, 4
shr edi, 4
mov eax, dword [esi - 4]
xor dword [ebp - 0x14], eax
mov eax, dword [esi]
xor dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
xor dword [ebp - 0xc], eax
mov eax, dword [esi + 8]
xor dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
call fcn.10001250
add esp, 4
lea esi, [esi + 0x10]
dec edi
jne 0x100011f5
movq xmm0, qword [ebp - 0x14]
mov ecx, dword [ebp - 4]
movq qword [ebx], xmm0
movq xmm0, qword [ebp - 0xc]
pop edi
pop esi
movq qword [ebx + 8], xmm0
xor ecx, ebp
pop ebx
call fcn.10002076
mov esp, ebp
pop ebp
ret

Function at 0x10001300
Capabilities:
Create new key via cryptacquirecontext
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0xf0000000
push 0x18
xor esi, esi
push esi
push esi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x10001378
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x1c
push 0x100090e0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x10001378
push esi
push dword [ebp + 8]
push 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x10001378
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push 1
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov eax, dword [ebp - 4]
test eax, eax
je 0x10001386
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 8]
test eax, eax
je 0x10001396
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret