joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41792f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00406f80
mov eax, dword [0x432014]
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.004150bd
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x417971
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x417acd
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00421e10
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 + 0x4339f8]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0041892c
mov ecx, dword [esi*4 + 0x4339f8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x417ac6
cmp eax, dword [ecx + edi + 0x24]
jne 0x417ac6
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x417ac6
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041892c
add esp, 0x14
test edx, edx
jl 0x417ac6
jg 0x417a3c
test eax, eax
jb 0x417ac6
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x417ac6
jl 0x417a56
cmp dword [ebp - 0x1008], eax
ja 0x417ac6
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x417a74
test ebx, ebx
je 0x417aad
cmp ecx, edi
jae 0x417aad
mov al, byte [ecx]
cmp al, 0xd
jne 0x417a8e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x417a9a
cmp byte [ecx + 1], 0xa
jne 0x417a9a
inc ecx
jmp 0x417a9a
movzx eax, al
movsx eax, byte [eax + 0x4322b8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x417a74
cmp edx, ebx
jne 0x417a74
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x417acb
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00406175
leave
ret
Function at 0x417dc4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
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 + 0x4339f8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417e04
cmp byte [ebx], 0xa
jne 0x417e04
or byte [edi + eax + 0x28], 4
jmp 0x417e09
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x417f08
mov dl, byte [eax]
cmp dl, 0x1a
je 0x417eeb
inc eax
cmp dl, 0xd
je 0x417e35
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x417e5b
cmp eax, ecx
jae 0x417e69
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x417e1d
jmp 0x417f08
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 0x417ee6
cmp dword [ebp - 0x10], 0
je 0x417ee6
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4339f8]
test byte [eax + edi + 0x28], 0x48
je 0x417ec0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x417eab
mov byte [esi], dl
jmp 0x417ebc
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4339f8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x417f08
cmp byte [ebp - 1], 0xa
jne 0x417ecf
cmp esi, ebx
jne 0x417ecf
mov byte [esi], 0xa
jmp 0x417f07
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041894a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x417f08
mov byte [esi], 0xd
jmp 0x417f07
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4339f8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x417f05
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x417f08
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x417f11
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4339f8]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x417f57
cmp word [ebx], dx
jne 0x417f57
or byte [eax + edi + 0x28], 4
jmp 0x417f5c
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x4180bf
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41809f
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x417f9d
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x417fd3
cmp eax, edx
jae 0x417fe1
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
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 - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x417f78
jmp 0x4180bf
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41809a
cmp dword [ebp - 0x18], 0
je 0x41809a
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4339f8]
test byte [eax + edi + 0x28], 0x48
je 0x418070
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x418034
mov word [esi], cx
jmp 0x41806b
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4339f8]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4339f8]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4339f8]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x4180bf
pop eax
cmp word [ebp - 4], ax
jne 0x418080
cmp esi, ebx
jne 0x418080
mov word [esi], ax
jmp 0x4180bc
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041894a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x4180bf
push 0xd
pop eax
jmp 0x41807b
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4339f8]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x4180b9
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x4180bf
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41a7a4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x432014]
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 0x41a7ef
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041a93f
test al, al
jne 0x41a7e9
sub edx, 2
cmp edx, edi
jne 0x41a7cf
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41a811
lea eax, [edi + 2]
cmp edx, eax
je 0x41a811
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041a6f0
add esp, 0x10
jmp 0x41a90b
push esi
lea ecx, [ebp - 0x255]
call fcn.0041a93f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a854
push dword [ebp - 0x25c]
jmp 0x41a801
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 0x41a891
cmp word [ebp - 0x226], 0
je 0x41a8b2
cmp word [ebp - 0x226], ax
jne 0x41a891
cmp word [ebp - 0x224], 0
je 0x41a8b2
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041a6f0
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41a8fe
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41a86b
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41a8e6
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41a90b
push 0x41a520
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004208b0
add esp, 0x10
jmp 0x41a8db
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.00406175
leave
ret

Function at 0x41b217
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41b228
pop esi
ret
push ebx
push edi
push esi
call fcn.0041b1e0
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00414279
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41b250
push ebx
push esi
push edi
call fcn.00406fe0
add esp, 0xc
push 0
call fcn.00413e44
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x41b620
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041b265

Function at 0x41d91f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004130f9
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 0x41d98e
cmp esi, dword [ebp - 4]
je 0x41d989
cmp dword [ebp + 0xc], 0
je 0x41d989
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41d966
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041d45c
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41d990
xor eax, eax
inc eax
jmp 0x41d990
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41d9f5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x432014]
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.004130f9
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.004130f9
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 0x41da6c
cmp word [ecx], dx
je 0x41da6c
mov eax, dword [0x427e34]
push edi
dec eax
push eax
push 0x427d20
call fcn.0041d994
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41dadf
cmp word [eax], dx
je 0x41dadf
mov eax, dword [edi]
test eax, eax
je 0x41da90
cmp word [eax], dx
je 0x41da90
lea eax, [ebp - 0x10]
push eax
call fcn.0041d362
jmp 0x41da99
lea eax, [ebp - 0x10]
push eax
call fcn.0041d3fd
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41db09
mov eax, dword [0x427d1c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x427a10
call fcn.0041d994
add esp, 0xc
test al, al
je 0x41db09
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41dad4
cmp word [eax], di
je 0x41dad4
lea eax, [ebp - 0x10]
push eax
call fcn.0041d362
pop ecx
jmp 0x41db0b
lea eax, [ebp - 0x10]
push eax
call fcn.0041d3fd
jmp 0x41dad1
mov eax, dword [edi]
test eax, eax
je 0x41daf6
cmp word [eax], dx
je 0x41daf6
lea eax, [ebp - 0x10]
push eax
call fcn.0041d317
pop ecx
jmp 0x41db09
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 0x41dbd4
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041d819
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41dbd4
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41dbd4
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41dbd4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41db61
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00415a38
test ebx, ebx
je 0x41dbcf
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00415a38
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41dbd4
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 0x41dbd4
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0042104a
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41dbd6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406175
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x7aa25e49
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x13fd3747
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10006690
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x100066a9
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [esp + 8]
jne 0x1000669b
ret

Function at 0x1000b06c
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000b0ba
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000b0cb
push 0xd
pop eax
jmp 0x1000b0f5
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1000b0ce
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000b5af
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10006ab5
mov ebx, eax
cmp ebx, esi
je 0x1000b622
lea ecx, [ebp - 0x74]
call fcn.10009ecc
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ba56
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000b63a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000b5af
cmp eax, esi
jne 0x1000b66c
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x1000b62a
lea ecx, [ebp - 0x74]
call fcn.10009ecc
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000af95
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10009ecc
mov eax, esi
jmp 0x1000b608
Function at 0x51ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x4ab015
lea edi, [esi - 0xaa015]
mov dword [edi + 0x107484], 0x9ef7be06
push edi
or ebp, 0xffffffff
jmp 0x51ad7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51ad81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51ad70
mov eax, 1
add ebx, ebx
jne 0x51ad93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51ada4
jne 0x51adc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51adc3
dec eax
add ebx, ebx
jne 0x51adb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51ad88
add ebx, ebx
jne 0x51adbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51ae15
xor ecx, ecx
sub eax, 3
jb 0x51addb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51ae4a
sar eax, 1
mov ebp, eax
jmp 0x51ade6
add ebx, ebx
jne 0x51ade6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51adb4
inc ecx
add ebx, ebx
jne 0x51adf4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51adb4
add ebx, ebx
jne 0x51ae01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51adf6
jne 0x51ae12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51adf6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51ae34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51ae26
jmp 0x51ad76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51ae34
add edi, ecx
jmp 0x51ad76
pop esi
mov edi, esi
mov ecx, 0x3841
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51ae52
cmp byte [edi], 0x13
jne 0x51ae52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x51ae57
lea edi, [esi + 0x114000]
mov eax, dword [edi]
or eax, eax
je 0x51aec6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x11a4ec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11a528]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51ae84
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11a530]
or eax, eax
je 0x51aec0
mov dword [ebx], eax
add ebx, 4
jmp 0x51aea1
call dword [esi + 0x11a52c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51aef7
cmp al, 0xef
ja 0x51aeea
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51aecc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51aed9
mov ebp, dword [esi + 0x11a534]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x11af52]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x51af43
sub esp, 0xffffff80
jmp 0x4013f0
Function at 0x404010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebp
mov al, 0x45
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
mov al, 0x6c
push str.HeapFree
push str.kernel32.dll
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], 0x52
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x19], 0x4c
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
mov al, 0x65
mov cl, 0x73
mov byte [esp + 0x1d], al
mov byte [esp + 0x23], al
mov byte [esp + 0x27], al
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], cl
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x24], 0x47
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x27], 0x50
mov byte [esp + 0x28], 0x72
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x63
mov byte [esp + 0x2e], 0x48
mov byte [esp + 0x30], 0x61
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x30]
push edx
push 0
call eax
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x20
ret

Function at 0x4040e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, 0x6c
push ebp
mov byte [esp + 9], al
mov byte [esp + 0xa], al
mov byte [esp + 0x17], al
mov byte [esp + 0x18], al
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [esp + 8]
push edi
mov cl, 0x65
mov dl, 0x63
push eax
push str.KERNEL32.dll
mov byte [esp + 0x14], 0x48
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0x61
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0
mov byte [esp + 0x20], 0x48
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x52
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0x41
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], dl
mov byte [esp + 0x2b], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [esp + 0x18]
mov ebp, eax
push ecx
push str.KERNEL32.dll
call esi
push eax
call edi
mov esi, eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40419f
mov edx, dword [esp + 0x2c]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
pop edi
pop esi
pop ebp
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x18
ret