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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x531d90]
lea ecx, [esi + 2]
lea eax, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 9
jne 0x4425be
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov dword [0x531d90], esi
cmp byte [0x532789], 0
jne 0x442687
xor eax, eax
mov word [ebp - 8], ax
mov eax, esi
imul eax, esi
imul eax, esi
cdq
mov ecx, 0xe
idiv ecx
mov dword [ebp - 0x24], 0x30000
mov dword [ebp - 0x20], 0x1f
mov dword [ebp - 0x1c], 0x90042
mov dword [ebp - 0x18], 0x1a
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x10], 0xf004d
mov dword [ebp - 0xc], 0x9000b
cmp edx, 5
jne 0x44264d
push edi
push 0x28
call fcn.004a90f9
add esp, 4
mov edi, eax
xor esi, esi
call fcn.004aa2d7
add eax, dword [0x531d90]
inc esi
mov dword [edi + esi*4 - 4], eax
cmp esi, 0xa
jl 0x442626
mov eax, dword [edi + 0x24]
push edi
mov dword [0x531d90], eax
call fcn.004aa18b
add esp, 4
pop edi
xor eax, eax
nop
movzx ecx, byte [eax + 0x52e360]
xor cx, word [ebp + eax*2 - 0x24]
add eax, 2
mov word [eax*2 + 0x52eaf0], cx
movzx ecx, byte [eax + 0x52e35f]
xor cx, word [ebp + eax*2 - 0x26]
mov word [eax*2 + 0x52eaf2], cx
cmp eax, 0xe
jl 0x442650
mov byte [0x532789], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x52eaf4
pop esi
call fcn.004a992a
mov esp, ebp
pop ebp
ret

Function at 0x4426a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x532766], 0
jne 0x442747
xor eax, eax
mov dword [ebp - 0x34], 0x90009
mov dword [ebp - 0x30], 0x2c001d
mov dword [ebp - 0x2c], 0x80000
mov dword [ebp - 0x28], 0x1e001d
mov dword [ebp - 0x24], 0x3a0009
mov dword [ebp - 0x20], 0x60002
mov dword [ebp - 0x1c], 0x30006
mov dword [ebp - 0x18], 0x3b000c
mov dword [ebp - 0x14], 0xe0021
mov dword [ebp - 0x10], 0x4001f
mov dword [ebp - 0xc], 0x520059
mov word [ebp - 8], ax
movzx ecx, byte [eax + 0x52e360]
xor cx, word [ebp + eax*2 - 0x34]
add eax, 2
mov word [eax*2 + 0x52e6dc], cx
movzx ecx, byte [eax + 0x52e35f]
xor cx, word [ebp + eax*2 - 0x36]
mov word [eax*2 + 0x52e6de], cx
cmp eax, 0x16
jl 0x442710
mov byte [0x532766], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x52e6e0
call fcn.004a992a
mov esp, ebp
pop ebp
ret
Function at 0x442760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x532798], 0
jne 0x442853
push esi
mov dword [ebp - 0x38], 0x1a0000
mov dword [ebp - 0x34], 0x3e0019
mov dword [ebp - 0x30], 0x2001a
mov dword [ebp - 0x2c], 0xa000d
mov dword [ebp - 0x28], 0x17001c
mov dword [ebp - 0x24], 0x1c0000
mov dword [ebp - 0x20], 0xb0007
mov dword [ebp - 0x1c], 0x190036
mov dword [ebp - 0x18], 0x9001a
mov dword [ebp - 0x14], 0x40012
mov dword [ebp - 0x10], 0x1a003c
mov dword [ebp - 0xc], 0x1f0014
mov dword [ebp - 8], 4
xor eax, eax
pop esi
lea esp, [esp]
movzx ecx, byte [eax + 0x52e360]
xor cx, word [ebp + eax*2 - 0x38]
add eax, 5
mov word [eax*2 + 0x52e7d6], cx
movzx ecx, byte [eax + 0x52e35c]
xor cx, word [ebp + eax*2 - 0x40]
mov word [eax*2 + 0x52e7d8], cx
movzx ecx, byte [eax + 0x52e35d]
xor cx, word [ebp + eax*2 - 0x3e]
mov word [eax*2 + 0x52e7da], cx
movzx ecx, byte [eax + 0x52e35e]
xor cx, word [ebp + eax*2 - 0x3c]
mov word [eax*2 + 0x52e7dc], cx
movzx ecx, byte [eax + 0x52e35f]
xor cx, word [ebp + eax*2 - 0x3a]
mov word [eax*2 + 0x52e7de], cx
cmp eax, 0x19
jl 0x4427e0
mov byte [0x532798], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x52e7e0
call fcn.004a992a
mov esp, ebp
pop ebp
ret

Function at 0x442870
Capabilities:
Encode data using xor
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x531d90]
mov ecx, 0x15
lea eax, [esi + 1]
imul eax, esi
cdq
idiv ecx
cmp edx, 0xd
jne 0x4428ac
push 4
call fcn.004aa1ba
mov esi, dword [0x531d90]
add esp, 4
mov dword [eax], esi
cmp byte [0x53276e], 0
jne 0x442949
xor eax, eax
push edi
mov dword [ebp - 0x2c], 0x2d0038
mov dword [ebp - 0x28], 0xd0005
mov dword [ebp - 0x24], 0xf0000
mov edi, 0xf
mov dword [ebp - 0x20], 0xa002d
mov dword [ebp - 0x1c], 0x3c005e
mov dword [ebp - 0x18], 0x450017
mov dword [ebp - 0x14], 0x1a0031
mov dword [ebp - 0x10], 0x16000a
mov dword [ebp - 0xc], 0x190010
mov dword [ebp - 8], eax
movzx ecx, byte [eax + 0x52e360]
xor cx, word [ebp + eax*2 - 0x2c]
inc eax
mov word [eax*2 + 0x52ed02], cx
cmp eax, 0x13
jl 0x442903
lea eax, [esi + 2]
lea ecx, [esi + 1]
imul eax, ecx
imul eax, esi
cdq
idiv edi
mov byte [0x53276e], 1
pop edi
cmp edx, 2
jne 0x442949
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x52ed04
pop esi
call fcn.004a992a
mov esp, ebp
pop ebp
ret
Function at 0x442960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x532778], 0
jne 0x442a1f
push esi
xor eax, eax
mov dword [ebp - 0x28], 0xd001e
mov dword [ebp - 0x24], 0x4001b
mov dword [ebp - 0x20], 0x180001
mov dword [ebp - 0x1c], 0x20048
mov dword [ebp - 0x18], 0x1d001e
mov dword [ebp - 0x14], 0x480000
mov dword [ebp - 0x10], 0xe000c
mov dword [ebp - 0xc], 0x100004
mov word [ebp - 8], ax
pop esi
lea ecx, [ecx]
movzx ecx, byte [eax + 0x52e360]
xor cx, word [ebp + eax*2 - 0x28]
add eax, 4
mov word [eax*2 + 0x52eb6c], cx
movzx ecx, byte [eax + 0x52e35d]
xor cx, word [ebp + eax*2 - 0x2e]
mov word [eax*2 + 0x52eb6e], cx
movzx ecx, byte [eax + 0x52e35e]
xor cx, word [ebp + eax*2 - 0x2c]
mov word [eax*2 + 0x52eb70], cx
movzx ecx, byte [eax + 0x52e35f]
xor cx, word [ebp + eax*2 - 0x2a]
mov word [eax*2 + 0x52eb72], cx
cmp eax, 0x10
jl 0x4429c0
mov byte [0x532778], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x52eb74
call fcn.004a992a
mov esp, ebp
pop ebp
ret

Function at 0x442ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x532768], 0
jne 0x442b6f
xor eax, eax
mov dword [ebp - 0x28], 0x1c0021
mov dword [ebp - 0x24], 0xf000c
mov dword [ebp - 0x20], 0x1e003f
mov dword [ebp - 0x1c], 0x110007
mov dword [ebp - 0x18], 0x10009
mov dword [ebp - 0x14], 0x480010
mov dword [ebp - 0x10], 0xa0011
mov dword [ebp - 0xc], 0x130005
mov word [ebp - 8], ax
jmp 0x442b10
movzx ecx, byte [eax + 0x52e360]
xor cx, word [ebp + eax*2 - 0x28]
add eax, 4
mov word [eax*2 + 0x52e59c], cx
movzx ecx, byte [eax + 0x52e35d]
xor cx, word [ebp + eax*2 - 0x2e]
mov word [eax*2 + 0x52e59e], cx
movzx ecx, byte [eax + 0x52e35e]
xor cx, word [ebp + eax*2 - 0x2c]
mov word [eax*2 + 0x52e5a0], cx
movzx ecx, byte [eax + 0x52e35f]
xor cx, word [ebp + eax*2 - 0x2a]
mov word [eax*2 + 0x52e5a2], cx
cmp eax, 0x10
jl 0x442b10
mov byte [0x532768], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x52e5a4
call fcn.004a992a
mov esp, ebp
pop ebp
ret
Function at 0x4464e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d5988
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x52cc80]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
mov eax, dword [0x52cc80]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x20028
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
call fcn.00421fb0
mov edx, esi
mov ecx, eax
call fcn.00433f50
test eax, eax
jne 0x446571
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.0043f390
mov dword [esp + 0x58], 0
push eax
call fcn.00440560
push eax
lea ecx, [esp + 0x18]
call fcn.00442c60
push 0x516bbc
lea eax, [esp + 0x14]
push eax
call fcn.004b183b
lea eax, [esp + 0x18]
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x4465c9
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.0043f390
mov dword [esp + 0x58], 1
push eax
call fcn.00440ad0
push eax
lea ecx, [esp + 0x18]
call fcn.00442c60
push 0x516bbc
lea eax, [esp + 0x14]
push eax
call fcn.004b183b
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
neg eax
push 0
sbb eax, eax
push 0
and eax, 2
push 0
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push 0
push dword [esp + 0x20]
mov dword [esp + 0x38], 1
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0xc]
test eax, eax
jne 0x44664c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x30]
call fcn.0043f390
mov dword [esp + 0x58], 2
push eax
call fcn.0043fce0
push eax
lea ecx, [esp + 0x18]
call fcn.00442c60
push 0x516bbc
lea eax, [esp + 0x14]
push eax
call fcn.004b183b
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004a992a
mov esp, ebp
pop ebp
ret 4
Function at 0x447950
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6080
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x52cc80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x5c
push dword [edi + 0xdc]
call fcn.004ac1f4
add esp, 8
test eax, eax
jne 0x447993
or eax, 0xffffffff
jmp 0x44799b
sub eax, dword [edi + 0xdc]
sar eax, 1
inc eax
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0xdc]
call fcn.004213c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x2001f
push 0
push dword [edi + 0xdc]
push dword [edi + 0x194]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or esi, 0xffffffff
test eax, eax
jne 0x447a31
call fcn.004409f0
push eax
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x18]
call fcn.00417410
add esp, 4
mov byte [ebp - 4], 1
push 0x20
push dword [ebp + 8]
push 3
push 0
push dword [eax]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
mov edx, esi
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447a29
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x447a31
mov bl, 1
jmp 0x447a70
call fcn.004410a0
push eax
lea ecx, [ebp + 8]
call fcn.004024a0
mov byte [ebp - 4], 3
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.004484f0
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447a6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x447a91
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x44c020
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d72b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x52cc80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx + 8], 0
je 0x44c05d
call fcn.0044c170
test al, al
je 0x44c155
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x1000
push dword [ebx + 0x34]
mov dword [ebp - 0x10], 0
push dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44c0d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x44c11c
cmp eax, 0x3e5
je 0x44c0cd
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], str.Channel_read_failure
call fcn.004acc08
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], 0x513be8
mov dword [ebp - 4], 0xffffffff
push 0x516ca4
lea eax, [ebp - 0x2c]
push eax
call fcn.004b183b
mov byte [ebx + 8], 1
cmp byte [ebx + 8], 0
jne 0x44c155
mov edi, dword [ebx + 0x2c]
sub edi, dword [ebx + 0x28]
mov eax, dword [ebp - 0x10]
add eax, edi
push eax
lea ecx, [ebx + 0x28]
call fcn.00423110
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x28]
push dword [ebx + 0x34]
add eax, edi
push eax
call fcn.004ae4a0
add esp, 0xc
push dword [ebx + 0x20]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.004acc6b
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x513be8
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0x5142c8
mov dword [ebp - 4], 0xffffffff
push 0x516c78
lea eax, [ebp - 0x20]
push eax
call fcn.004b183b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
mov ebx, edx
mov edi, ecx
cmp dword [ebp + 8], esi
jle 0x44d68a
sub ebx, edi
mov dword [ebp - 4], 0xc8
jmp 0x44d670
mov eax, esi
cdq
idiv dword [ebp - 4]
lea ecx, [esi + edi]
inc esi
mov al, byte [edx + str._every_plant_of_the_field_before_it_was_in_the_earth__and_every_herb_of_the_field_before_it_grew:_for_the_LORD_God_had_not_caused_it_to_rain_upon_the_earth__and_there_was_not_a_man_to_till_the_ground.]
xor al, byte [ebx + ecx]
mov byte [ecx], al
cmp esi, dword [ebp + 8]
jl 0x44d670
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450570
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7c32
mov eax, dword fs:[0]
push eax
mov eax, 0x1018
call fcn.004aeba0
mov eax, dword [0x52cc80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push str._ver
lea ecx, [ebp - 0x1018]
call fcn.00417410
mov dword [ebp - 4], 0
push 0xfff
lea eax, [ebp - 0x100f]
push 0
push eax
mov dword [ebp - 0x1020], 0
mov byte [ebp - 0x1010], 0
call fcn.004aee10
add esp, 0x10
lea eax, [ebp - 0x1024]
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x101c]
push eax
push 0
push dword [ebp - 0x1018]
mov dword [ebp - 0x1024], 0x1000
push dword [esi]
mov dword [ebp - 0x101c], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
or edi, 0xffffffff
test eax, eax
jne 0x4506a7
cmp dword [ebp - 0x101c], 3
jne 0x4506a7
cmp dword [ebp - 0x1024], 0x1000
je 0x4506a7
mov eax, dword [ebp - 0x1010]
inc eax
push 4
mov dword [ebp - 0x1020], eax
lea eax, [ebp - 0x1020]
push eax
push 3
push 0
push dword [ebp - 0x1018]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x4506a0
push str.error_writing_ver
lea ecx, [ebp - 0x1014]
call fcn.004033a0
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0x1014]
push eax
call fcn.004484f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1014]
call fcn.00402550
jmp 0x450730
mov bl, 1
jmp 0x450732
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1014], eax
mov byte [ebp - 4], 1
mov eax, str.error_reading_ver
test eax, 0xffff0000
jne 0x4506ea
movzx esi, ax
mov ecx, esi
call fcn.00401b90
test eax, eax
je 0x4506fa
push esi
push eax
lea ecx, [ebp - 0x1014]
call fcn.00402900
jmp 0x4506fa
push str.error_reading_ver
lea ecx, [ebp - 0x1014]
call fcn.00403540
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x20]
lea eax, [ebp - 0x1014]
push eax
call fcn.004484f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1014]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x450730
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1018]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x450756
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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 - 0x10]
xor ecx, ebp
call fcn.004a992a
mov esp, ebp
pop ebp
ret 8
Function at 0x450b60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x450b79
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x450b85
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x450b80
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x451190
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7f56
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x52cc80]
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 edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x45123c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x45123c
call fcn.00404590
mov edi, eax
jmp 0x451367
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45125f
call fcn.00404590
jmp 0x45135a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x45127d
call fcn.00404590
jmp 0x45135a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x420], edi
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x45129e
mov edi, 0x8007000e
jmp 0x45135c
mov byte [ebp - 4], 2
xor eax, eax
shld eax, ecx, 1
add ecx, ecx
test eax, eax
jne 0x4512e5
cmp ecx, 0xffffffff
ja 0x4512e5
cmp ecx, 0x400
jbe 0x4512d0
push ecx
lea ecx, [ebp - 0x418]
call fcn.00453410
mov dword [ebp - 4], 1
jmp 0x45130e
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x45130e
push 0x80070216
call fcn.00401a60
mov eax, 0x4512f5
ret
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x45131f
mov edi, 0x8007000e
jmp 0x45135c
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x45133a
call fcn.00404590
jmp 0x45135a
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.004520d0
mov edi, eax
test esi, esi
je 0x451367
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x451384
lea ecx, [ebp - 0x418]
call fcn.00453400
mov dword [ebp - 4], 0xffffffff
mov eax, edi
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.004a992a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45c500
Capabilities:
Access the windows event log

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.004aeba0
mov eax, dword [0x52cc80]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x45c565
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x45c565
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.004af259
add eax, 0x40
push eax
call fcn.004af091
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a992a
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004aefcc
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x45c5f4
call fcn.0045c3c0
test eax, eax
jle 0x45c5f4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a992a
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004a992a
add esp, 0x108
ret

Function at 0x45c650
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x45c674
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
sub edi, 1
jne 0x45c666
pop esi
movzx eax, cl
pop edi
ret

Function at 0x45ef70
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x45efb7
mov al, byte [edx]
test al, al
je 0x45efb7
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x45ef87
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret