joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008f562
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1008f53e
pop esi
leave
ret 8

Function at 0x100b015f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100df504
push 0x100df4fc
push str.FlsAlloc
push 0x1e
call fcn.100aff8c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100b0193
push dword [ebp + 8]
mov ecx, esi
call dword [0x100d73e4]
call esi
jmp 0x100b0199
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100b01dd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100df514
push 0x100df50c
push str.FlsGetValue
push 0x20
call fcn.100aff8c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100b0214
push dword [ebp + 8]
mov ecx, esi
call dword [0x100d73e4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100b3117
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10092b90
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.100b1835
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x100b3159
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100b32b5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100c0c10
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10106e18]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.100b353d
mov ecx, dword [esi*4 + 0x10106e18]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100b32ae
cmp eax, dword [edi + ecx + 0x24]
jne 0x100b32ae
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b32ae
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100b353d
add esp, 0x14
test edx, edx
jl 0x100b32ae
jg 0x100b3224
test eax, eax
jb 0x100b32ae
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100b32ae
jl 0x100b323e
cmp dword [ebp - 0x1008], eax
ja 0x100b32ae
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x100b325c
test ebx, ebx
je 0x100b3295
cmp ecx, edi
jae 0x100b3295
mov al, byte [ecx]
cmp al, 0xd
jne 0x100b3276
lea eax, [edi - 1]
cmp ecx, eax
jae 0x100b3282
cmp byte [ecx + 1], 0xa
jne 0x100b3282
inc ecx
jmp 0x100b3282
movzx eax, al
movsx eax, byte [eax + 0x100ff680]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x100b325c
cmp edx, ebx
jne 0x100b325c
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100b32b3
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10091622
leave
ret
Function at 0x100b35b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10106e18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b35f9
cmp byte [ebx], 0xa
jne 0x100b35f9
or byte [eax + edi + 0x28], 4
jmp 0x100b35fe
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100b36fc
mov al, byte [edx]
cmp al, 0x1a
je 0x100b36de
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100b362d
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100b3652
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x100b365c
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100b360f
jmp 0x100b36fc
push 0
lea eax, [ebp - 0xc]
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 0x100b36d9
cmp dword [ebp - 0xc], 0
je 0x100b36d9
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10106e18]
test byte [eax + edi + 0x28], 0x48
je 0x100b36b3
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100b369e
mov byte [esi], dl
jmp 0x100b36af
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10106e18]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100b36fc
cmp byte [ebp - 1], 0xa
jne 0x100b36c2
cmp esi, ebx
jne 0x100b36c2
mov byte [esi], 0xa
jmp 0x100b36fb
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100b355b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100b36fc
mov byte [esi], 0xd
jmp 0x100b36fb
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10106e18]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b36f8
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b36fc
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b3705
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10106e18]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100b3748
cmp word [esi], dx
jne 0x100b3748
or byte [edi + eax + 0x28], 4
jmp 0x100b374d
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x100b38a0
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x100b3880
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x100b378f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100b37c5
cmp eax, edx
jae 0x100b37d1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x100b3767
jmp 0x100b38a0
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 0x100b387c
cmp dword [ebp - 0x14], 0
je 0x100b387c
mov eax, dword [ebx*4 + 0x10106e18]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100b3854
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100b381d
mov word [esi], cx
jmp 0x100b3850
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10106e18]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10106e18]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10106e18]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x100b38a0
pop ebx
cmp word [ebp - 4], bx
jne 0x100b3865
cmp esi, dword [ebp + 0xc]
jne 0x100b3865
mov word [esi], bx
jmp 0x100b389d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100b355b
add esp, 0x10
cmp word [ebp - 4], bx
je 0x100b38a0
push 0xd
jmp 0x100b3899
mov ecx, dword [ebx*4 + 0x10106e18]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100b3897
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100b38a0
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b4290
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b3f32

Function at 0x100b429b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b40c1
Function at 0x100b9146
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100b91e3
push ebx
push esi
call fcn.100b910f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100b1388
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100b9190
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b91e2
push edi
push eax
call fcn.100b12be
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100b91b0
call fcn.100b1284
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100b91e1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100b1388
add esp, 0x20
test eax, eax
jne 0x100b91cf
push edi
call fcn.100b1284
jmp 0x100b91d7
push ebx
call fcn.100b1284
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100b91e6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100b91f7
pop esi
ret
push ebx
push edi
push esi
call fcn.100b910f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100b12be
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100b921f
push ebx
push esi
push edi
call fcn.10093720
add esp, 0xc
push 0
call fcn.100b1284
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100b95e3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b9234
Function at 0x100c0031
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]
push dword [ebp + 0xc]
push ebx
call fcn.100bffad
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100c01a9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100c01a9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100c0158
jg 0x100c008a
test eax, eax
je 0x100c014e
push 1
push 0x1000
call fcn.100b14fb
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100c00b0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100c0145
push 0x8000
push ebx
call fcn.100bfede
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100c00dc
jg 0x100c00d7
cmp ecx, 0x1000
jb 0x100c00dc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100b24b3
add esp, 0x10
cmp eax, 0xffffffff
je 0x100c0121
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 0x100c00d7
jl 0x100c0108
test ecx, ecx
jne 0x100c00c9
push dword [ebp - 0xc]
push ebx
call fcn.100bfede
push esi
call fcn.100b1284
add esp, 0xc
xor edi, edi
jmp 0x100c01ba
cmp byte [edi + 0x24], 0
je 0x100c0138
cmp dword [edi + 0x20], 5
jne 0x100c0138
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100c0143
mov edi, dword [edi + 0x18]
jmp 0x100c0145
xor edi, edi
push esi
call fcn.100b1284
pop ecx
jmp 0x100c01ba
test ecx, ecx
jg 0x100c011a
jl 0x100c0158
test eax, eax
jae 0x100c011a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100b355b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100c017b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100c011a
jmp 0x100c01b2
push ebx
call fcn.100bc15d
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100c011a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100c01ba
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100c01b7
mov edi, dword [edi + 0x18]
jmp 0x100c01ba
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.100b355b
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c0bd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100c0bfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100c0bfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x481c9f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
pushal
lea esp, [esp + 0x20]
jmp 0x46bd53

Function at 0x497832
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
pushal
mov ebx, 0x314c28ca
mov al, 0xae
jmp 0x49781b
not dx
mov dword [esp + 8], edi
sub esp, 4
add esp, 3
sub esp, 0xa
jmp 0x497840
push word [esp + 3]
mov dword [esp], ebp
lea esp, [esp + 2]
jmp 0x49780b
push dword [esp + 8]
lea esp, [esp + 3]
lea esp, [esp + 0xc]
popal
lea ebp, [ebp*4]
jmp 0x497942
lea esp, [esp + 7]
push word [esp + 8]
push word [esp + 5]
lea esp, [esp + 1]
jmp 0x4978a9
bt ebx, edx
bswap ebx
mov bl, bh
movzx ebx, byte [esi + 6]
sub esp, 0x10
jmp 0x49787c
mov ebx, dword [ebx*4 + reloc.KERNEL32.dll_CreateFileW]
call fcn.00497921
mov cl, 0x37
cmpsd dword [esi], dword es:[edi]
ret 0x8831
clc
clc
lea esp, [esp + 0x20]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_CreateFileW]
rcr ebx, 3
jmp 0x497899
lea ebp, reloc.KERNEL32.dll_CreateFileW
mov edi, dword [ebp]
pop ebp
and ebx, ecx
clc
jmp 0x4978c1

Function at 0x497af1
Capabilities:
Encrypt data using aes

Disassembly:
pop word [esp + 3]
lea esp, [esp + 2]
jmp 0x497b56
jmp 0x497adb
mov edx, dword [esi + 0xc]
push edx
pop word [esp]
pushal
lea esp, [esp + 2]
jmp 0x497b0d
lea esp, [esp + 0xc]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_CreateFileW]
jmp 0x497b32

Function at 0x497c6b
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 0x3c]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_CreateFileW]
jmp 0x497c49
pop ebp
and ebx, ecx
sub esp, 8
sub esp, 2
lea esp, [esp + 2]
jmp 0x497be8
mov ebp, edi
lea ebp, [ebp*4]
lea ebp, reloc.KERNEL32.dll_CreateFileW
mov edi, dword [ebp]
jmp 0x497bfe
movzx ebx, byte [esi + 0xe]
stc
pushal
push word [esp + 1]
lea esp, [esp + 2]
jmp 0x497c84
lea ebx, [ecx + 0xdb]
mov bx, word [esp]
mov bl, 0x4a
clc
jmp 0x497c30
push ebp
jmp 0x497c1c
lea edi, reloc.KERNEL32.dll_CreateFileW
mov ebx, dword [edi]
pop edi
call fcn.00497ca7
add cl, byte [edx + eax - 0x66af6b9b]
clc
push edi
mov edi, ebx
lea edi, [edi*4]
jmp 0x497c6e

Function at 0x497cfa
Capabilities:
Encrypt data using aes

Disassembly:
lea ebp, [ebp*4]
lea ebp, reloc.KERNEL32.dll_CreateFileW
mov edx, dword [ebp]
pop ebp
sub esp, 0xa
lea esp, [esp + 2]
jmp 0x497d04
mov dword [esp], esi
lea esp, [esp + 4]
popal
jmp 0x497cd3
and ebx, ecx
push esp
jmp 0x497e45
lea esp, [esp + 0x34]
xor edi, dword [ebx*4 + reloc.KERNEL32.dll_CreateFileW]
sub esp, 2
add esp, 1
call fcn.00497d9a

Function at 0x497d3a
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 1]
mov byte [esp + 1], bh
lea esp, [esp + 3]
jmp 0x497d3c
jmp 0x497d21
dec dword [ebp - 4]
call fcn.00497d7d
pop esp
enter 0x395e, 0xffffffffffffffc8
or edx, esi
cmc
pushfd
outsd dx, dword [esi]
fist word [edi + eax*4]
and edx, ecx
pushal
lea esp, [esp + 0x24]
xor edi, dword [edx*4 + reloc.KERNEL32.dll_CreateFileW]
call fcn.00497d3a

Function at 0x497d7d
Capabilities:
Encrypt data using aes

Disassembly:
mov dword [esi + 0xc], edi
jmp 0x497ddb
pop word [esp]
lea esp, [esp + 2]
jmp 0x497d66
jne 0x469eae
je 0x469ed7
Function at 0x498424
Capabilities:
Encrypt data using aes

Disassembly:
mov byte [esp], ch
pop word [esp]
push word [esp + 1]
jmp 0x4983ed
lea esp, [esp + 4]
jbe 0x46a02b
ja 0x46a059
mov word [esp + 2], sp
lea esp, [esp + 8]
jne 0x46a0da
je 0x46a02b
xor bh, byte [ecx + 0x78bb4829]
adc al, 0x9a
or byte [edi - 0x66], ch
pop esi
jnp 0x498472
int 0x5c
scasd eax, dword es:[edi]
mov dh, 0xeb
jmp 0x4983fd
pop ebx
retf

Function at 0x568136
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 0xf
pop di
mov dword [esp + 5], eax
jmp 0x568114

Function at 0x5686b3
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ah, byte [esp + 0xf]
xchg bx, bp
jmp 0x568705
mov si, sp
mov dl, 0x8c
mov ax, sp
lea eax, [ecx*4]
pop cx
jmp 0x5686df

Function at 0x5688bf
Capabilities:
Execute anti-debugging instructions

Disassembly:
btc edx, edi
rdtsc
mov ch, byte [esp + 3]
mov di, word [esp]
mov bh, byte [esp + 6]
jmp 0x568831

Function at 0x568e2d
Capabilities:
Execute anti-debugging instructions

Disassembly:
inc si
mov dword [esp + 2], ebp
mov byte [esp + 1], dh
add esp, 0xc
lea esp, [esp + 2]
jmp 0x568e5a
pop word [esp + 9]
mov ch, byte [esp + 3]
jmp 0x568e16

Function at 0x56d334
Capabilities:
Parse pe header

Disassembly:
mov word [esp], sp
lea esp, [esp + 3]
mov byte [esp], ch
push esp
jmp 0x56d36b
mov word [esp], bx
call fcn.0056d3c2

Function at 0x56d3c2
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push eax
jmp 0x569109
call fcn.0056910e
movzx ebx, word [eax + 0x3c]
jmp 0x56d465
call 0x56d156
jmp 0x56d49b
push esp
mov word [esp], di
lea esp, [esp + 1]
pushal
mov word [esp + 0x10], di
lea esp, [esp + 3]
jmp 0x56d411
mov word [esp + 1], di
push dword [esp + 6]
push edx
lea esp, [esp + 1]
mov dword [esp + 0x48], esi
jmp 0x56d374
mov eax, dword [eax + 0x1c]
jmp 0x56d4d0
mov dword [esp + 0x64], edi
lea esp, [esp + 0x64]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x56d3f9
sub eax, 0x10000
jmp 0x56d49f
push ds
in eax, dx
pop ebp
cdq
or al, 0x82
in eax, 0x14
mov ebp, 0x68099901
wait
daa
js 0x56d4bf
mov dl, 3
fsub dword [esi - 0x7f]
cmp edx, dword [eax + 0x45]
add ebx, eax
cmp word [ebx], 0x4550
je 0x568156
jne 0x56d449
mov ah, 0x2d
mov ebp, 0xa69c37c4
lodsb al, byte ds:[esi]
retf
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x56d080
jne 0x56d449
push es
xchg byte [ebx + esi*2], dl
mov gs, word [edi - 0x4c]
cmp ebp, dword [ebx - reloc.KERNEL32.dll_CreateFileW]
sbb al, 0xb2
aad 0x24
int 0xec
imul edi, ecx, 0xe896b98
mov bl, byte [eax]
jg 0x56d453
stosd dword es:[edi], eax
ret 0x4c7d
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x56d151
Function at 0x43b690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aae7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049ef97
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43b712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049c5bd
mov eax, dword [eax]
push 0x556280
push eax
call fcn.0048de34
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049f222
test bl, bl
je 0x43b712
push 0x556280
lea ecx, [esp + 0xc]
call fcn.0049f5b2
push 0x559e0c
lea ecx, [esp + 0xc]
call fcn.0049f5b2
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43b74e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049f222
jmp 0x43b819
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x43b7d2
lea edx, [esp + 0x7c]
push 0x559e08
push edx
call fcn.0048de34
add esp, 8
test eax, eax
je 0x43b7d2
lea eax, [esp + 0x7c]
push 0x559e04
push eax
call fcn.0048de34
add esp, 8
test eax, eax
je 0x43b7d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43b762
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049f222
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x43ca90
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x43caf2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc