joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427aa0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 0x10
mov edi, eax
call fcn.004aa505
mov esi, eax
mov eax, dword [edi]
add eax, eax
add eax, eax
push eax
call fcn.004aa505
mov ecx, eax
mov dword [esi], ecx
mov edx, ecx
add edx, dword [edi]
add esp, 8
mov dword [esi + 4], edx
mov eax, dword [edi]
lea edx, [ecx + eax*2]
mov dword [esi + 8], edx
mov eax, dword [edi]
lea eax, [eax + eax*2]
add eax, ecx
xor edx, edx
mov dword [esi + 0xc], eax
mov ecx, dword [edi]
mov dword [esp + 0x10], edx
mov ebp, esi
xor eax, eax
test ecx, ecx
jle 0x427b0a
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, dword [ebp]
mov bl, byte [edx]
mov byte [eax + ecx], bl
mov ecx, dword [edi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x427af4
mov edx, dword [esp + 0x10]
inc edx
add ebp, 4
cmp edx, 4
mov dword [esp + 0x10], edx
jl 0x427ae8
mov edx, dword [esp + 0x24]
push edx
push edi
mov eax, esi
call fcn.00427e80
mov eax, dword [edi + 8]
dec eax
cmp eax, 1
mov dword [esp + 0x1c], 1
jl 0x427bda
lea esp, [esp]
mov eax, esi
call fcn.00427cb0
push 1
push 1
push esi
mov ebx, edi
call fcn.00427d00
push 2
push 2
push esi
call fcn.00427d00
push 3
push 3
push esi
call fcn.00427d00
mov ebx, esi
call fcn.00427e00
mov ecx, dword [edi]
mov eax, dword [esp + 0x24]
mov edx, ecx
imul edx, dword [esp + 0x1c]
lea edx, [eax + edx*4]
xor ebp, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
mov edx, esi
lea ebx, [ebx]
xor eax, eax
test ecx, ecx
jle 0x427bb8
mov ecx, dword [esp + 0x14]
add ebp, ecx
lea esp, [esp]
mov ecx, dword [edx]
mov bl, byte [ebp]
xor byte [ecx + eax], bl
add ecx, eax
mov ecx, dword [edi]
inc eax
add ebp, 4
cmp eax, ecx
jl 0x427ba0
mov ebp, dword [esp + 0x10]
inc ebp
add edx, 4
cmp ebp, 4
mov dword [esp + 0x10], ebp
jl 0x427b90
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 8]
inc eax
dec edx
cmp eax, edx
mov dword [esp + 0x1c], eax
jle 0x427b40
mov eax, esi
call fcn.00427cb0
push 1
push 1
push esi
mov ebx, edi
call fcn.00427d00
push 2
push 2
push esi
call fcn.00427d00
push 3
push 3
push esi
call fcn.00427d00
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x24]
imul eax, ecx
lea eax, [edx + eax*4]
xor ebp, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
mov edx, esi
lea esp, [esp]
xor eax, eax
test ecx, ecx
jle 0x427c48
mov ecx, dword [esp + 0x1c]
add ebp, ecx
lea esp, [esp]
mov ecx, dword [edx]
mov bl, byte [ebp]
xor byte [ecx + eax], bl
add ecx, eax
mov ecx, dword [edi]
inc eax
add ebp, 4
cmp eax, ecx
jl 0x427c30
mov ebp, dword [esp + 0x24]
inc ebp
add edx, 4
cmp ebp, 4
mov dword [esp + 0x24], ebp
jl 0x427c20
mov ecx, dword [edi]
xor ebx, ebx
mov ebp, esi
jmp 0x427c60
xor eax, eax
test ecx, ecx
jle 0x427c82
mov edx, dword [esp + 0x20]
add edx, ebx
lea esp, [esp]
mov ecx, dword [ebp]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov ecx, dword [edi]
inc eax
add edx, 4
cmp eax, ecx
jl 0x427c70
inc ebx
add ebp, 4
cmp ebx, 4
jl 0x427c60
mov edx, dword [esi]
push edx
call fcn.004ab10c
push esi
call fcn.004ab10c
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x427d70
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push edi
lea edi, [esp + 0xc]
lea ebp, [esp + 0x10]
sub edi, esi
mov eax, esi
sub ebp, esi
mov edx, 4
lea esp, [esp]
mov cl, byte [eax]
mov bl, cl
sar bl, 7
mov byte [edi + eax], cl
and bl, 0x1b
add cl, cl
xor bl, cl
mov byte [eax + ebp], bl
inc eax
sub edx, 1
jne 0x427d90
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dl, byte [esp + 0xf]
mov bl, ch
xor bl, ah
xor bl, byte [esp + 0xe]
pop edi
xor bl, dl
xor bl, al
mov al, byte [esp + 0xf]
mov byte [esi], bl
mov bl, byte [esp + 0xe]
xor bl, cl
xor bl, ah
xor bl, byte [esp + 0xa]
pop ebp
xor bl, dl
mov dl, al
xor dl, byte [esp + 0xa]
xor al, cl
xor dl, cl
xor al, ch
xor al, byte [esp + 6]
xor dl, ch
xor dl, byte [esp + 7]
xor al, byte [esp + 8]
mov byte [esi + 1], bl
mov byte [esi + 2], dl
mov byte [esi + 3], al
pop ebx
add esp, 8
ret

Function at 0x427e80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [ebp]
push esi
push edi
xor edx, edx
mov edi, eax
nop
xor eax, eax
test ecx, ecx
jle 0x427eb4
mov ecx, dword [esp + 0x18]
lea esi, [edx + ecx]
lea ecx, [ecx]
mov ecx, dword [edi]
mov bl, byte [esi]
xor byte [ecx + eax], bl
add ecx, eax
mov ecx, dword [ebp]
inc eax
add esi, 4
cmp eax, ecx
jl 0x427ea0
inc edx
add edi, 4
cmp edx, 4
jl 0x427e90
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x427f60
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push 4
call fcn.004aa505
push 4
mov esi, eax
call fcn.004aa505
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
add esp, 8
xor edi, edi
test eax, eax
jle 0x427fa6
mov ecx, dword [esp + 0x14]
mov eax, ebp
sub ecx, ebp
mov dl, byte [ecx + eax]
mov byte [eax], dl
mov edx, dword [ebx + 4]
add edx, edx
inc edi
add edx, edx
inc eax
cmp edi, edx
jl 0x427f94
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 4]
inc eax
imul eax, dword [ebx]
add edi, edi
add eax, eax
add edi, edi
add eax, eax
cmp edi, eax
jge 0x4280f5
movzx ecx, byte [edi + ebp - 4]
mov byte [esi], cl
mov dl, byte [edi + ebp - 3]
mov byte [esi + 1], dl
mov al, byte [edi + ebp - 2]
mov byte [esi + 2], al
movzx ecx, byte [edi + ebp - 1]
mov eax, edi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov byte [esi + 3], cl
mov ecx, dword [ebx + 4]
cdq
idiv ecx
test edx, edx
jne 0x428075
movzx edx, byte [esi + 1]
mov al, byte [esi]
mov cl, byte [esi + 2]
mov byte [esi], dl
movzx edx, byte [esi + 3]
mov byte [esi + 3], al
mov eax, esi
mov byte [esi + 1], cl
mov byte [esi + 2], dl
call fcn.00427ed0
mov ecx, dword [ebx + 4]
add ecx, ecx
mov eax, edi
add ecx, ecx
cdq
idiv ecx
mov byte [esp + 0x18], 1
mov cl, byte [esp + 0x18]
dec eax
test eax, eax
jle 0x428047
mov dword [esp + 0x14], eax
mov al, cl
shr al, 7
mov dl, 0x1b
imul dl
add cl, cl
xor cl, al
sub dword [esp + 0x14], 1
jne 0x428033
mov eax, dword [esp + 0xc]
mov byte [eax], cl
mov byte [eax + 3], 0
mov byte [eax + 2], 0
mov byte [eax + 1], 0
movzx ecx, cl
xor byte [esi], cl
movzx edx, byte [eax + 1]
xor byte [esi + 1], dl
movzx ecx, byte [eax + 2]
xor byte [esi + 2], cl
movzx edx, byte [eax + 3]
xor byte [esi + 3], dl
jmp 0x428086
cmp ecx, 6
jle 0x428086
cmp edx, 4
jne 0x428086
mov eax, esi
call fcn.00427ed0
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
mov ecx, edi
sub ecx, eax
movzx edx, byte [ecx + ebp]
xor dl, byte [esi]
mov ecx, edi
mov byte [edi + ebp], dl
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
sub ecx, eax
movzx edx, byte [ecx + ebp + 1]
xor dl, byte [esi + 1]
mov ecx, edi
mov byte [edi + ebp + 1], dl
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
sub ecx, eax
movzx edx, byte [ecx + ebp + 2]
xor dl, byte [esi + 2]
mov ecx, edi
mov byte [edi + ebp + 2], dl
mov eax, dword [ebx + 4]
add eax, eax
add eax, eax
sub ecx, eax
movzx edx, byte [ecx + ebp + 3]
xor dl, byte [esi + 3]
add edi, 4
mov byte [edi + ebp - 1], dl
mov eax, dword [ebx + 8]
inc eax
imul eax, dword [ebx]
add eax, eax
add eax, eax
cmp edi, eax
jl 0x427fc0
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004ab10c
push esi
call fcn.004ab10c
add esp, 8
pop edi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x428220
Capabilities:
Check for peb beingdebugged flag
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x4cd909
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], ebx
xor eax, eax
mov word [esp + 0x38], ax
mov eax, ebp
mov dword [esp + 0x30], edi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
lea ecx, [eax + 2]
jmp 0x428280
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x428280
sub eax, ecx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x3c]
call fcn.004092d0
mov dword [esp + 0x5c], 1
push ebx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
xor ecx, ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
add esi, 2
mov word [edi + 4], cx
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x10], 1
neg ecx
or ecx, eax
push ecx
call fcn.004aa505
add esp, 4
push esi
mov ebx, eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, 7
test eax, eax
je 0x428354
push esi
xor eax, eax
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.004092d0
mov byte [esp + 0x5c], 2
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00407c60
mov byte [esp + 0x5c], 1
cmp dword [esp + 0x2c], 8
jb 0x428341
mov edx, dword [esp + 0x18]
push edx
call fcn.0045a597
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
push ebx
call fcn.004ab10c
add esp, 4
mov byte [esp + 0x5c], 0
cmp dword [esp + 0x4c], 8
jb 0x428376
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0045a597
add esp, 4
xor edx, edx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], 0
mov word [esp + 0x38], dx
mov eax, edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004aa641
add esp, 0x50
ret
Function at 0x428780
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d27b9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebx
lea ebp, [esi + 4]
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x30], esi
mov word [ebp], ax
mov dword [esp + 0x40], ebx
mov eax, ecx
mov dword [esp + 0x10], 1
lea edi, [eax + 2]
jmp 0x4287e0
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4287e0
sub eax, edi
sar eax, 1
je 0x428897
push ecx
lea edi, [esp + 0x18]
call fcn.00428220
add esp, 4
mov dword [esp + 0x40], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00407c60
mov byte [esp + 0x40], bl
mov edi, 8
cmp dword [esp + 0x2c], edi
jb 0x428831
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045a597
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esi + 0x18], edi
jb 0x42884c
mov ebp, dword [ebp]
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004283b0
add esp, 8
mov dword [esp + 0x40], 2
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
call fcn.00407c60
mov byte [esp + 0x40], bl
cmp dword [esp + 0x2c], edi
jb 0x428884
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0045a597
add esp, 4
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x42c390
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4cd87d
mov eax, dword fs:[0]
push eax
mov eax, 0x202c
call fcn.004ae340
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x2028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x2040]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x2048], ebx
mov edi, edx
mov dword [esp + 0x18], ebx
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x1c], edi
mov word [edi + 4], ax
mov dword [esp + 0x2048], ebx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ebx
push ecx
lea edx, [esp + 0x44]
push edx
push ebx
mov dword [esp + 0x28], 1
call esi
test eax, eax
je 0x42c4d1
mov ebp, dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0x1000
lea eax, [esp + 0x40]
push eax
mov ecx, eax
push ecx
call ebp
test eax, eax
je 0x42c4d1
lea eax, [esp + 0x3c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42c440
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, edi
call fcn.004092d0
push ebx
push 0x28
lea eax, [esp + 0x44]
push eax
push ebx
call esi
test eax, eax
je 0x42c4cc
push 0x1000
lea ecx, [esp + 0x40]
push ecx
mov edx, ecx
push edx
call ebp
test eax, eax
je 0x42c4cc
lea eax, [esp + 0x3c]
push 0x104
push eax
call fcn.004abca2
mov ecx, dword [edi + 0x14]
sub ecx, eax
add esp, 8
lea edx, [eax + 1]
lea eax, [esp + 0x20]
push eax
dec ecx
push edi
call fcn.0042de00
mov dword [esp + 0x2048], 1
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00407c60
mov byte [esp + 0x2048], bl
lea ecx, [esp + 0x20]
call fcn.00405c80
jmp 0x42c4d1
call fcn.00427320
mov eax, edi
mov ecx, dword [esp + 0x2040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2028]
xor ecx, esp
call fcn.004aa641
add esp, 0x2038
ret

Function at 0x42c500
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4cd822
mov eax, dword fs:[0]
push eax
mov eax, 0x200c
call fcn.004ae340
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x2008], eax
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x2014]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x201c], edi
mov dword [esp + 8], edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [esp + 0xc], esi
mov word [esi + 4], ax
mov dword [esp + 0x201c], edi
push edi
push ecx
lea edx, [esp + 0x18]
push edx
push edi
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42c5bc
push 0x1000
lea eax, [esp + 0x14]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
je 0x42c5bc
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42c5a0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.004092d0
mov eax, esi
mov ecx, dword [esp + 0x2014]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2008]
xor ecx, esp
call fcn.004aa641
add esp, 0x2018
ret
Function at 0x42c5f0
Capabilities:
Get user security identifier

Disassembly:
push 0xffffffffffffffff
push 0x4d0b38
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x25c]
xor edi, edi
push 0x44
push edi
mov esi, ecx
mov dword [esp + 0x24], eax
xor bl, bl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x28], 0x104
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebp, eax
cmp ebp, edi
je 0x42c7e5
push 0xc
call fcn.004ab619
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x254], edi
cmp eax, edi
je 0x42c6a6
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [esp + 0x254], 1
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [eax], vtable.StartupAreas::FreeProcPtr_void_____stdcall___void____void__.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebp
mov byte [esp + 0x254], 0
mov edi, eax
or ebx, 0xffffffff
mov dword [esp + 0x254], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x254], 2
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
mov ecx, esi
call fcn.00407d60
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x42c709
mov dword [esp + 0x254], ebx
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
xor al, al
jmp 0x42c7e7
lea esi, [esp + 0x30]
call fcn.0042ec10
mov edx, dword [eax + 8]
lea ecx, [esp + 0x14]
push ecx
push ebp
call edx
test eax, eax
sete al
test al, al
jne 0x42c6e8
mov esi, dword [esp + 0x14]
push 0xc
call fcn.004ab619
add esp, 4
mov dword [esp + 0x24], eax
mov cl, 3
mov byte [esp + 0x254], cl
test eax, eax
je 0x42c770
mov dword [eax], vtable.StartupAreas::IFreeProcPtr.0
mov byte [esp + 0x254], 4
mov edx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [eax], vtable.StartupAreas::FreeProcPtr_void_____stdcall___void____unsigned_short_int__.0
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov byte [esp + 0x254], cl
mov esi, eax
jmp 0x42c772
xor esi, esi
mov byte [esp + 0x254], 2
mov dword [esp + 0x24], esi
mov byte [esp + 0x254], 5
mov edx, dword [esp + 0x14]
mov eax, edx
lea ebp, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42c790
mov ecx, dword [esp + 0x1c]
sub eax, ebp
sar eax, 1
push eax
push edx
call fcn.004092d0
mov bl, 1
mov byte [esp + 0x254], 2
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x254], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 4]
push 1
mov ecx, edi
call edx
mov al, bl
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.004aa641
add esp, 0x244
ret
Function at 0x42c810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2e7c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x5000f4]
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 edi, edx
xor bl, bl
mov dword [ebp - 0x248], 0x104
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], eax
mov word [ebp - 0x238], ax
push 0x38
push 0x4e9a10
lea ecx, [ebp - 0x23c]
call fcn.004092d0
mov dword [ebp - 4], 0
push 1
push 0x4e9a0c
lea eax, [ebp - 0x23c]
call fcn.0042f030
push 0
push esi
or eax, 0xffffffff
lea esi, [ebp - 0x23c]
call fcn.0042ef20
cmp dword [ebp - 0x224], 8
mov eax, dword [ebp - 0x238]
jae 0x42c8c1
lea eax, [ebp - 0x238]
lea ecx, [ebp - 0x244]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c9f1
mov edx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
mov eax, dword [ebp - 0x244]
push eax
lea esi, [ebp - 0x24c]
call fcn.00430460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
push ecx
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x250]
push eax
push 0
push str.ProfileImagePath
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c9d4
mov eax, dword [ebp - 0x250]
cmp eax, 1
je 0x42c945
cmp eax, 2
jne 0x42c9d4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x248]
shr ecx, 1
lea edx, [ebp - 0x220]
lea esi, [ebp - 0x26c]
call fcn.0042dd80
mov bl, 3
mov byte [ebp - 4], bl
cmp dword [eax + 0x18], 8
jb 0x42c972
mov ecx, dword [eax + 4]
jmp 0x42c975
lea ecx, [eax + 4]
lea esi, [ebp - 0x288]
call fcn.00428780
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00407c60
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.00405c80
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.00405c80
mov bl, 1
mov byte [ebp - 0x23d], bl
mov dword [ebp - 4], 1
jmp 0x42c9d4
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x24c]
mov edx, dword [esi]
mov ecx, esi
mov eax, dword [edx]
call eax
mov edx, dword [esi]
push 1
mov ecx, esi
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x224], 8
jb 0x42ca10
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.0045a597
add esp, 4
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], 0
xor edx, edx
mov word [ebp - 0x238], dx
mov al, bl
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.004aa641
mov esp, ebp
pop ebp
ret
Function at 0x4352f0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
test eax, eax
je 0x435339
movzx esi, word [eax + 6]
test esi, esi
je 0x435339
movzx ecx, word [eax + 0x14]
lea ebx, [ecx + eax + 0x18]
xor eax, eax
test esi, esi
jbe 0x435339
lea ecx, [ebx + 0x10]
mov edx, dword [ecx - 4]
cmp edi, edx
jb 0x43531f
mov ebp, dword [ecx]
add ebp, edx
cmp edi, ebp
jb 0x43532f
inc eax
add ecx, 0x28
cmp eax, esi
jb 0x435310
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
lea edx, [eax + eax*4]
lea ecx, [ebx + edx*8]
test ecx, ecx
jne 0x435341
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
add eax, dword [esp + 0xc]
pop ebp
add eax, edi
pop ebx
ret 4

Function at 0x4353f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
xor ecx, ecx
test edi, edi
jl 0x435430
jg 0x43540a
cmp dword [ebp + 8], eax
jbe 0x435430
mov edx, dword [ebp + 0x10]
lea ecx, [ecx]
lea ebx, [edx + eax]
and ebx, 0xf
mov bl, byte [ebx + 0x513ae0]
xor byte [eax + esi], bl
add eax, 1
adc ecx, 0
cmp ecx, edi
jl 0x435410
jg 0x435430
cmp eax, dword [ebp + 8]
jb 0x435410
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x435440
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x60
mov eax, dword [0x5000f4]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push str.2d5704bf1e2641ea8f86477905614a0c
mov eax, 0x21
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004557a0
add esp, 4
lea esi, [esp + 8]
mov edi, 0x513ae0
call fcn.00455840
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.004aa641
mov esp, ebp
pop ebp
ret
Function at 0x435de0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4c9ca3
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov dword [esi], vtable.CAttrBase.0
mov dword [esi + 4], ecx
mov dword [esi + 0x18], eax
mov edx, dword [eax + 8]
mov dx, word [edx + 8]
mov word [esi + 8], dx
mov edx, dword [eax + 8]
mov edx, dword [edx + 0xc]
mov dword [esi + 0xc], edx
mov edx, dword [eax + 8]
mov edx, dword [edx + 0x14]
mov dword [esi + 0x10], edx
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x20]
mov dword [esi + 0x14], edx
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esi], vtable.CAttrNonResident.0
mov dword [esi + 0x20], vtable.CSList_struct_tagDataRun_Entry_.0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 1
mov eax, dword [esi + 0xc]
push eax
mov dword [esi + 0x1c], ecx
call fcn.004aa505
add esp, 4
push esi
mov dword [esi + 0x38], eax
call fcn.00435fe0
mov dword [esi + 0x34], eax
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 8

Function at 0x4367f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cad7b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5000f4]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CAttr_FileName.0
mov dword [esi + 0x28], vtable.CAttr_FileName.1.0
mov dword [esp + 0x14], 0
mov eax, dword [esi + 0x30]
mov dword [esi + 0x28], vtable.CFileName.0
test eax, eax
je 0x436844
push eax
call fcn.0045a597
add esp, 4
or eax, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CAttrResident.0
mov dword [esp + 0x14], eax
mov dword [esi], vtable.CAttrBase.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret