joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407d2b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10bc
call fcn.004b70d0
mov eax, dword [0x54c494]
xor eax, ebp
mov dword [ebp - 8], eax
call fcn.00407bf4
movzx eax, al
test eax, eax
jne 0x407d55
xor al, al
jmp 0x407eb3
push 0x9c
push 0
lea eax, [ebp - 0xa8]
push eax
call fcn.004b7050
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x407d8d
xor al, al
jmp 0x407eb3
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControl
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407e28
mov dword [ebp - 0x10ac], 1
mov dword [ebp - 0x10b0], 0x1000
lea eax, [ebp - 0x10b0]
push eax
lea eax, [ebp - 0x10a8]
push eax
lea eax, [ebp - 0x10ac]
push eax
push 0
push str.SystemStartOptions
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407e1f
mov eax, dword [ebp - 0x10b0]
and word [ebp + eax*2 - 0x10a8], 0
push str._MININT
lea eax, [ebp - 0x10a8]
push eax
call fcn.00407ebf
pop ecx
pop ecx
test eax, eax
je 0x407e1f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x407eb3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SYSTEMSetup
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407eaa
mov dword [ebp - 0x10b4], 4
and dword [ebp - 0x10bc], 0
mov dword [ebp - 0x10b8], 4
lea eax, [ebp - 0x10b8]
push eax
lea eax, [ebp - 0x10bc]
push eax
lea eax, [ebp - 0x10b4]
push eax
push 0
push str.FactoryPreInstallInProgress
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x407ea1
cmp dword [ebp - 0x10bc], 0
je 0x407ea1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x407eb3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, word [ebp - 0x10]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b596a
leave
ret
Function at 0x40d5c9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40d5e9
xor al, al
jmp 0x40d71d
mov eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0xc]
jne 0x40d602
xor al, al
jmp 0x40d71d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40d622
xor al, al
jmp 0x40d71d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
cdq
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
adc ecx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
and word [ebp - 0x40], 0
jmp 0x40d679
mov ax, word [ebp - 0x40]
add ax, 1
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x3c]
add eax, 0x28
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x40]
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + 6]
cmp eax, ecx
jge 0x40d71b
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
cmp eax, dword [ecx + 8]
jbe 0x40d6b3
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x54], eax
jmp 0x40d6bc
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
xor ecx, ecx
add eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
adc edx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x44]
jb 0x40d716
ja 0x40d6e1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x48]
jb 0x40d716
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x4c]
ja 0x40d716
jb 0x40d6f3
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x50]
jae 0x40d716
movzx eax, word [ebp - 0x40]
inc eax
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
sbb ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, 1
jmp 0x40d71d
jmp 0x40d664
xor al, al
leave
ret
Function at 0x41a2a0
Capabilities:
Terminate thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
xor ecx, ecx
test eax, eax
mov dword [esp + 4], ecx
je 0x41a359
mov edx, dword [eax + 0x2c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [esp + 8]
push ecx
push edx
call ebx
test eax, eax
je 0x41a33d
cmp dword [esp + 8], 0x103
jne 0x41a33d
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x2c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x7d0
push ecx
call edi
cmp eax, 0x102
jne 0x41a30d
mov edx, dword [esi + 0x60]
mov eax, dword [edx + 0x2c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x2c]
push 0xffffffffffffffff
push edx
call edi
jmp 0x41a33c
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x2c]
lea eax, [esp + 0xc]
push eax
push edx
call ebx
cmp dword [esp + 0xc], 0x103
jne 0x41a33c
push str.exit_code___STILL_ACTIVE
push 0x441
push str...GhostExpDoc.cpp
call fcn.00407f63
add esp, 0xc
pop edi
mov ecx, dword [esi + 0x60]
test ecx, ecx
pop ebx
je 0x41a34e
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, dword [esp + 4]
mov dword [esi + 0x60], 0
xor eax, eax
test ecx, ecx
mov dword [esi + 0x78], ecx
sete al
pop esi
pop ecx
ret

Function at 0x421e70
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x244
mov eax, dword [0x54c494]
xor eax, esp
mov dword [esp + 0x240], eax
cmp dword [esp + 0x248], 0
je 0x421f1b
xor eax, eax
push pe_nt_image_headers32
push eax
mov word [esp + 8], ax
mov byte [esp + 0xa], al
lea eax, [esp + 0x48]
push eax
call fcn.004b7050
lea ecx, [esp + 0x14c]
push ecx
push 0
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004b923a
add esp, 0x20
cmp byte [esp], 0
je 0x421efc
cmp byte [esp + 0x40], 0
je 0x421efc
cmp byte [esp + 0x144], 0
jne 0x421efc
push 4
lea ecx, [esp + 0x144]
push str..exe
push ecx
call fcn.004cb3bf
add esp, 0xc
test eax, eax
je 0x421f1b
push 3
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004b596a
add esp, 0x244
ret
push 0x3c
lea edx, [esp + 8]
push 0
push edx
call fcn.004b7050
add esp, 0xc
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x400
mov dword [esp + 0x14], str.open
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 0xa
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004b596a
add esp, 0x244
ret
Function at 0x428e62
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
add ebx, 0x1801b
sub ebx, 0x5864
xor ebx, 0x16488
and ebx, 0x8b22
pop ebx
mov ecx, dword [ebp - 0x408]
add ecx, 0xe
mov dword [ebp - 0x1a14], ecx
push eax
call 0x428d5a
add byte [ebp + 0x42], cl
push eax
dec ebp
xor al, 0x35
inc ebp
inc ecx
inc ebp
xor eax, dword [ebx - 0x3f7efb3c]
push cs
add dword es:[eax], eax
pop eax
push eax
jmp 0x428d6e
add eax, 0x149d7
and eax, 0x11316
pop eax
cmp dword [ebp - 0x408], 0
je 0x428d8d
cmp dword [ebp - 0xae8], 0
jne 0x428dd3
push edi
push esi
add esp, 4
call 0x428d9f
add byte [ecx + 0x32], cl
inc edi
dec edi
inc esi
xor edi, dword [ebx]
add esp, 4
jmp 0x428daa
pop edi
push eax
xor eax, 0x12831
and eax, 0x937
and eax, 0x123fb
pop eax
mov edx, dword [ebp - 0x7ac]
mov dword [ebp - 0x19c8], edx
push 0
call dword [ebp - 0x19c8]
mov dword [ebp - 0x2050], 0xa
push ecx
push ecx
add esp, 4
sub ecx, 0xfb2a
or ecx, 0x13927
jmp 0x428df6
sub ecx, 0x16849
pop ecx
push edi
push esi
add esp, 4
and edi, 0x10e68
sub edi, 0x14ff2
pop edi
mov eax, dword [ebp - 0x408]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3c2], cl
mov edx, dword [ebp - 0xae8]
sub edx, dword [ebp - 0x408]
mov dword [ebp - 0x16c0], edx
mov dword [ebp - 0xd04], 0
push eax
push esi
add esp, 4
sub eax, 0x7d7c
xor eax, 0x13559
jmp 0x428e52
pop eax
push eax
call 0x428e62
add byte [edi + 0x41], al
aaa
xor dh, byte [edx]
inc eax
dec eax
xor al, byte [ebx - 0xf7efb3c]
stc
pop es
add byte [eax], al
pop eax
mov byte [ebp - 0x9f4], 0x56
mov byte [ebp - 0x9f3], 0x69
mov byte [ebp - 0x9f2], 0x72
mov byte [ebp - 0x9f1], 0x74
mov byte [ebp - 0x9f0], 0x75
mov byte [ebp - 0x9ef], 0x61
mov byte [ebp - 0x9ee], 0x6c
mov byte [ebp - 0x9ed], 0x50
mov byte [ebp - 0x9ec], 0x72
mov byte [ebp - 0x9eb], 0x6f
mov byte [ebp - 0x9ea], 0x74
mov byte [ebp - 0x9e9], 0x65
Function at 0x444de0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
push esi
mov esi, 0x80
call edx
movzx eax, al
test al, 4
je 0x444df9
mov esi, 0x84
test al, 0x20
je 0x444e00
or esi, 0x20
test al, 2
je 0x444e07
or esi, 2
test al, 1
je 0x444e0e
or esi, 1
mov eax, dword [esp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret 4
Function at 0x44a840
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x50081b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x54c494]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54c494]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x44a896
push str.false
push 0x7b
push str...SpanStream.cpp
call fcn.00407f63
add esp, 0xc
push 1
call fcn.004b8f96
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
push ebx
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00448360
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov dword [esp + 0x64], ebx
jne 0x44a8bc
xor eax, eax
jmp 0x44a8c4
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
movzx ecx, byte [esi + 0x40]
push ecx
add eax, 1
push eax
mov ecx, edi
call edx
test al, al
jne 0x44a8f5
push 0x53620c
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004b63ed
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x20]
mov edx, 7
lea edi, [eax + 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x38], esp
lea ecx, [eax + 4]
mov dword [eax], 1
push 0xffffffffffffffff
mov dword [ecx + 0x18], edx
push ebx
lea edx, [esp + 0x48]
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x90], 1
mov word [ecx + 4], bx
call fcn.0041ba00
mov eax, dword [esp + 0x60]
mov ebp, 0x10
cmp dword [esp + 0x74], ebp
jae 0x44a95d
lea eax, [esp + 0x60]
mov ecx, dword [esi + 4]
push ebx
push eax
call fcn.0044a500
cmp dword [esp + 0x38], 8
mov byte [esp + 0x17], al
mov byte [esp + 0x64], bl
jb 0x44a983
mov eax, dword [esp + 0x24]
push eax
call fcn.00487d62
add esp, 4
cmp byte [esp + 0x17], bl
je 0x44aa24
mov ecx, dword [esi + 4]
push edi
push ecx
mov ecx, esi
call fcn.0044a6b0
test al, al
je 0x44aa10
push 0x30
call fcn.00487d37
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x64], 2
je 0x44a9e9
cmp dword [esp + 0x54], 0x10
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebx
push 1
push edi
push ebx
push ebx
push edx
push eax
mov eax, dword [esp + 0x5c]
jae 0x44a9d3
lea eax, [esp + 0x5c]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004048a0
mov ecx, ebp
call fcn.0043f1d0
jmp 0x44a9eb
xor eax, eax
mov ecx, dword [esi + 8]
push eax
mov byte [esp + 0x68], bl
call fcn.0043c660
mov ecx, dword [esi + 8]
call fcn.0043c0a0
lea ecx, [esp + 0x3c]
mov dword [esi + 0x1c], eax
call fcn.00402910
mov al, 1
jmp 0x44aa39
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
lea ecx, [esp + 0x3c]
call fcn.00402910
jmp 0x44aa37
cmp dword [esp + 0x54], ebp
jb 0x44aa37
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00487d62
add esp, 4
xor al, al
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b596a
add esp, 0x54
ret
Function at 0x44a880
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x50081b
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x54c494]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54c494]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xc], ebx
jne 0x44a896
push str.false
push 0x7b
push str...SpanStream.cpp
call fcn.00407f63
add esp, 0xc
push 1
call fcn.004b8f96
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 8]
push ebx
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, esi
call fcn.00448360
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
mov dword [esp + 0x64], ebx
jne 0x44a8bc
xor eax, eax
jmp 0x44a8c4
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov edi, dword [esi + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
movzx ecx, byte [esi + 0x40]
push ecx
add eax, 1
push eax
mov ecx, edi
call edx
test al, al
jne 0x44a8f5
push 0x53620c
lea eax, [esp + 0x1b]
push eax
mov byte [esp + 0x1f], bl
call fcn.004b63ed
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x20]
mov edx, 7
lea edi, [eax + 1]
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
sub esp, 0x20
mov eax, esp
mov dword [esp + 0x38], esp
lea ecx, [eax + 4]
mov dword [eax], 1
push 0xffffffffffffffff
mov dword [ecx + 0x18], edx
push ebx
lea edx, [esp + 0x48]
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x90], 1
mov word [ecx + 4], bx
call fcn.0041ba00
mov eax, dword [esp + 0x60]
mov ebp, 0x10
cmp dword [esp + 0x74], ebp
jae 0x44a95d
lea eax, [esp + 0x60]
mov ecx, dword [esi + 4]
push ebx
push eax
call fcn.0044a500
cmp dword [esp + 0x38], 8
mov byte [esp + 0x17], al
mov byte [esp + 0x64], bl
jb 0x44a983
mov eax, dword [esp + 0x24]
push eax
call fcn.00487d62
add esp, 4
cmp byte [esp + 0x17], bl
je 0x44aa24
mov ecx, dword [esi + 4]
push edi
push ecx
mov ecx, esi
call fcn.0044a6b0
test al, al
je 0x44aa10
push 0x30
call fcn.00487d37
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
cmp ebp, ebx
mov byte [esp + 0x64], 2
je 0x44a9e9
cmp dword [esp + 0x54], 0x10
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
push ebx
push 1
push edi
push ebx
push ebx
push edx
push eax
mov eax, dword [esp + 0x5c]
jae 0x44a9d3
lea eax, [esp + 0x5c]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004048a0
mov ecx, ebp
call fcn.0043f1d0
jmp 0x44a9eb
xor eax, eax
mov ecx, dword [esi + 8]
push eax
mov byte [esp + 0x68], bl
call fcn.0043c660
mov ecx, dword [esi + 8]
call fcn.0043c0a0
lea ecx, [esp + 0x3c]
mov dword [esi + 0x1c], eax
call fcn.00402910
mov al, 1
jmp 0x44aa39
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
lea ecx, [esp + 0x3c]
call fcn.00402910
jmp 0x44aa37
cmp dword [esp + 0x54], ebp
jb 0x44aa37
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00487d62
add esp, 4
xor al, al
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b596a
add esp, 0x54
ret
Function at 0x44af10
Capabilities:
Encode data using xor

Disassembly:
push edi
call fcn.0044ad90
mov edi, dword [esp + 0xc]
movzx ecx, word [esp + 0x10]
xor eax, eax
test edi, edi
jbe 0x44af59
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x44af30
xor byte [eax + esi], cl
mov dl, byte [eax + esi]
movzx ebx, cx
movzx edx, dl
shr ebx, 8
xor ebx, edx
xor edx, edx
mov dh, cl
add eax, 1
xor dx, word [ebx*2 + 0x54ea50]
cmp eax, edi
movzx ecx, dx
jb 0x44af30
pop esi
pop ebx
pop edi
ret

Function at 0x44af60
Capabilities:
Encode data using xor

Disassembly:
push esi
call fcn.0044ad90
movzx ecx, word [esp + 0x10]
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x44afbb
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
lea ebx, [ebx]
movzx eax, byte [esi + edi]
movzx ebp, al
mov dword [esp + 0x1c], eax
xor eax, eax
mov ah, cl
movzx ebx, cx
shr ebx, 8
xor ebx, ebp
movzx edx, cx
xor ax, word [ebx*2 + 0x54ea50]
add esi, 1
movzx ecx, ax
mov eax, dword [esp + 0x1c]
xor al, dl
cmp esi, dword [esp + 0x18]
mov byte [esi + edi - 1], al
jb 0x44af80
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x44fcc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500da8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54c494]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
call edx
mov edi, eax
mov eax, dword [esi + 0x10]
mov cl, byte [eax]
mov byte [eax], 0
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
mov byte [esp + 0x17], cl
mov ecx, edi
call eax
mov ecx, dword [esi + 0x10]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push edi
mov ecx, esi
call eax
mov ebp, dword [edi]
push 0
mov ecx, esi
call fcn.00446ca0
add eax, 0x200
adc edx, 0
push edx
mov edx, dword [ebp + 0x10]
push eax
mov ecx, edi
call edx
test eax, eax
jne 0x44fda6
push eax
push eax
push 1
mov ecx, esi
call fcn.00459c40
test al, al
je 0x44fda6
mov ecx, dword [esi + 0x48]
call fcn.0045cec0
lea ecx, [esp + 0x16]
push ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov byte [esp + 0x1e], 0
call fcn.004404f0
mov ebp, dword [esp + 0x24]
test ebp, ebp
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x38], 0
je 0x44fd83
mov edx, ebx
sub edx, ebp
jne 0x44fd88
call fcn.004b601e
lea eax, [esp + 0x18]
push eax
push ebp
mov ecx, esi
call fcn.00459830
test al, al
jne 0x44fdbc
test ebp, ebp
je 0x44fda6
push ebp
call fcn.00487d62
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
test ebp, ebp
je 0x44fdc4
sub ebx, ebp
jne 0x44fdc9
call fcn.004b601e
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x48]
push ebp
call fcn.0045cc40
test al, al
jne 0x44fdfa
lea ecx, [esp + 0x20]
call fcn.00438290
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
mov ecx, esi
call fcn.00446ba0
test al, al
je 0x44fe35
movzx ebp, word [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.004595a0
push ebp
push 0
lea ecx, [esp + 0x28]
call fcn.0043e0c0
push eax
push 0xffffffffffffffff
call fcn.0044ae90
not eax
add esp, 0xc
cmp dword [esp + 0x1c], eax
jne 0x44fddb
mov eax, dword [esi + 0x10]
mov cl, byte [esp + 0x17]
mov byte [eax], cl
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov dword [esi + 0xbc], edx
mov edx, dword [esi]
mov dword [esi + 0xb8], eax
mov eax, dword [edx + 0x34]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esi + 0xbc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0xb8]
push ecx
mov ecx, eax
call edx
test eax, eax
lea ecx, [esp + 0x20]
jne 0x44fddf
call fcn.00438290
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x451b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x500f28
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x54c494]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xc]
xor edi, edi
xor ebx, ebx
test eax, eax
jne 0x451bb6
xor edx, edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
push eax
lea ecx, [esp + 0x14]
call fcn.004e64d0
mov esi, dword [esp + 0x14]
test esi, esi
mov dword [esp + 0x38], 0
je 0x451c13
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x10]
call edx
push 0
push 0x548eb4
push 0x5478f8
push 0
push esi
call fcn.004b877b
add esp, 0x14
test eax, eax
je 0x451c0b
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
test al, al
jne 0x451c0b
add edi, 1
adc ebx, 0
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x451bd0
lea ecx, [esp + 0x18]
call fcn.0044d530
mov eax, edi
mov edx, ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret

Function at 0x456380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x501453
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x54c494]
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.InterleavedStream.0
mov dword [esp + 0x14], 1
call fcn.00456230
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4563cb
push eax
call fcn.00487d62
add esp, 4
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi], vtable.AbstractStream.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x456790
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5014c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x54c494]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [esp + 0x20]
mov dword [esi], vtable.InterleavedStream.0
mov dword [esi + 8], ecx
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
xor edi, edi
mov dword [esp + 0x18], edi
call edx
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 8