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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x1c]
push edi
push 0x20
push dword [esp + 0x48]
mov esi, dword [ebp + 4]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.004f3cbb
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x4e29fd
cmp ebx, dword [ebp + 4]
jg 0x4e2b61
cmp edi, esi
jge 0x4e29ea
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x4e29e6
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x4e29c6
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x4e29f0
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x4e29b1
cmp ebx, dword [ebp + 4]
jg 0x4e2b61
mov edi, 0x43e198
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + 0x43e098]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x23], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edi
cmp esi, 8
je 0x4e2a8e
cmp esi, 1
jle 0x4e2a82
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4e2a70
sub dword [esp + 0x14], 1
jne 0x4e2a6d
xor edi, edi
test esi, esi
jle 0x4e2b54
jmp 0x4e2b0c
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4e2a9d
sub dword [esp + 0x14], 1
jne 0x4e2a9a
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 3
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + 0x43e098]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4e2afa
sub dword [esp + 0x14], 1
jne 0x4e2af7
cmp ebx, dword [ebp + 4]
jg 0x4e2b57
cmp edi, esi
jge 0x4e2b41
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x4e2b3d
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x4e2b1d
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x4e2b47
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x4e2b0c
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x4e2a0b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x4e2cdf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x4481d0]
test esi, esi
jne 0x4e2cfd
mov ecx, 0x4481c8
call fcn.004e2c60
mov esi, dword [0x4481d0]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
and eax, 0xfffffff0
cmp byte [ebp + 0x10], 0
je 0x4e2d48
test esi, esi
je 0x4e2d6c
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [fcn.00433278]
call esi
test eax, eax
jne 0x4e2d90
push 0x433abc
mov esi, 0x441098
push esi
call fcn.004da5d1
pop ecx
pop ecx
mov ecx, esi
call fcn.004da766
push 2
mov ecx, esi
call fcn.004da5cc
jmp 0x4e2d90
mov esi, dword [0x4481d4]
test esi, esi
je 0x4e2d6c
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [fcn.00433278]
call esi
test eax, eax
jne 0x4e2d90
push 0x433af0
jmp 0x4e2d29
push ebx
call dword [int.00433094]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x4e2d8f
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x4b]
add al, dl
lea ecx, [edx + esi]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x4e2d7f
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x4e3737
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x1c], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x4e39b1
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4
Function at 0x4e3a52
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x148]
xor esi, esi
lea ebx, [edi + 0x28]
push dword [ebx]
call fcn.004fa27f
mov dword [esp + esi*4 + 0x48], eax
lea ebx, [ebx + 4]
inc esi
pop ecx
cmp esi, 0x10
jb 0x4e3a68
push 0x30
lea ebx, [esp + 0x80]
pop ebp
mov ecx, dword [ebx - 0x34]
mov esi, ecx
mov edx, dword [ebx]
mov eax, ecx
rol esi, 0xe
lea ebx, [ebx + 4]
ror eax, 7
xor esi, eax
shr ecx, 3
xor esi, ecx
mov eax, edx
mov ecx, edx
rol eax, 0xd
rol ecx, 0xf
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add esi, ecx
add esi, dword [ebx - 0x3c]
add esi, dword [ebx - 0x18]
mov dword [ebx + 4], esi
sub ebp, 1
jne 0x4e3a87
mov eax, dword [edi]
xor ebx, ebx
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0x14]
mov ebp, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x1c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov eax, ebp
rol eax, 7
mov dword [esp + 0x3c], esi
mov esi, ebp
ror esi, 0xb
xor esi, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, ebp
mov edx, dword [esp + 0x1c]
mov ecx, ebp
ror eax, 6
not ecx
and ecx, dword [esp + 0x10]
xor esi, eax
mov eax, edx
mov dword [esp + 0x1c], ebp
and eax, ebp
mov dword [esp + 0x38], ebp
xor ecx, eax
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
add esi, ecx
add esi, dword [ebx + 0x433b28]
add esi, dword [esp + ebx + 0x44]
add ebx, 4
add esi, dword [esp + 0x24]
mov dword [esp + 0x24], eax
add ebp, esi
mov dword [esp + 0x10], edx
mov eax, edi
rol eax, 0xa
mov edx, edi
ror edx, 0xd
xor edx, eax
mov dword [esp + 0x20], edi
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, dword [esp + 0x14]
xor ecx, dword [esp + 0x14]
and ecx, edi
xor ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
lea edi, [edx + esi]
mov esi, dword [esp + 0x1c]
mov edx, eax
cmp ebx, 0x100
jb 0x4e3afe
mov eax, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x148]
add dword [edi + 4], ecx
mov ecx, dword [esp + 0x30]
add dword [edi + 8], ecx
mov ecx, dword [esp + 0x34]
add dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x38]
add dword [edi + 0x14], ecx
mov ecx, dword [esp + 0x3c]
add dword [edi + 0x18], ecx
add dword [edi + 0x10], ebp
mov ecx, dword [esp + 0x40]
add dword [edi + 0x1c], ecx
mov dword [edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 4
Function at 0x4f332e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [fcn.00433084]
test eax, eax
je 0x4f336d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4f336d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4f336d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4f336d
cmp dword [ecx + 0x74], 0xe
jbe 0x4f336d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x505aeb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x505b18
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x505b18
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401175
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2120
push ebx
push esi
push edi
push ecx
and ecx, 0x1573
jmp 0x40118e
pop ecx
push ecx
push ecx
add esp, 4
jmp 0x40119d
add ecx, 0x8db2
pop ecx
push edi
xor edi, 0x8ef
jmp 0x4011b2
pop edi
mov eax, 0x4d
mov word [ebp - 0x204c], ax
mov ecx, 0x42
mov word [ebp - 0x204a], cx
mov edx, 0x53
mov word [ebp - 0x2048], dx
mov eax, 0x65
mov word [ebp - 0x2046], ax
mov ecx, 0x72
mov word [ebp - 0x2044], cx
mov edx, 0x76
mov word [ebp - 0x2042], dx
mov eax, 0x69
mov word [ebp - 0x2040], ax
mov ecx, 0x63
mov word [ebp - 0x203e], cx
mov edx, 0x65
mov word [ebp - 0x203c], dx
mov eax, 0x2e
mov word [ebp - 0x203a], ax
mov ecx, 0x65
mov word [ebp - 0x2038], cx
mov edx, 0x78
mov word [ebp - 0x2036], dx
mov eax, 0x65
mov word [ebp - 0x2034], ax
xor ecx, ecx
mov word [ebp - 0x2032], cx
mov dword [ebp - 0x1060], 1
push edi
push ebx
add esp, 4
and edi, 0xba56
pop edi
push eax
push edx
add esp, 4
sub eax, 0xe9c4
sub eax, 0x15e5c
pop eax
push edi
xor edi, 0x105e2
pop edi
push eax
push esi
add esp, 4
sub eax, 0xd304
pop eax
imul edx, dword [ebp - 0x1060], 0x70
add edx, 0x44f3663b
imul eax, dword [ebp - 0x1060], 0x70
sub edx, eax
xor edx, 0xaa6272
imul edx, dword [ebp - 0x1060]
imul ecx, dword [ebp - 0x1060], 0x70
sub edx, ecx
mov dword [ebp - 0x1064], edx
push eax
add eax, 0xbba1
xor eax, 0x157a1
jmp 0x4012dc
or eax, 0x16efb
pop eax
push eax
sub eax, 0x90e3
jmp 0x4012f1
or eax, 0x79cb
pop eax
mov dword [ebp - 0x10], 1
push edx
push edi
add esp, 4
or edx, 0x153b2
sub edx, 0xf55a
pop edx
push edx
or edx, 0x18546
and edx, 0x1303a
call fcn.0040132d
add byte [ecx], bh
cmp bh, byte [ebx]
inc esi
xor al, 0x48
dec esi
inc ebx
inc ebx

Function at 0x40132d
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
imul edx, dword [ebp - 0x10], 0x70
add edx, 0x44f3663b
imul eax, dword [ebp - 0x10], 0x70
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x70
sub edx, ecx
mov dword [ebp - 0x14], edx
push edx
xor edx, 0x17284
sub edx, 0x13f45
add edx, 0x11524
pop edx
push ebx
push edi
add esp, 4
add ebx, 0x98ea
pop ebx
push edi
push edi
add esp, 4
or edi, 0x12f68
or edi, 0x17bb3
pop edi
push esi
xor esi, 0x9022
pop esi
push esi
push esi
add esp, 4
and esi, 0x14448
and esi, 0x10582
pop esi
push edi
push edx
add esp, 4
sub edi, 0x2880
sub edi, 0x124f6
and edi, 0xed9f
pop edi
mov dword [ebp - 0x2c], 1
push ebx
push ecx
add esp, 4
add ebx, 0x16b18
or ebx, 0xf307
pop ebx
push edx
push edx
add esp, 4
and edx, 0x1aae
or edx, 0x1384a
jmp 0x4013ea
or edx, 0x17cb7
pop edx
imul edx, dword [ebp - 0x2c], 0x70
add edx, 0x44f3663b
imul eax, dword [ebp - 0x2c], 0x70
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x70
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x4015ae
Function at 0x4048bd
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0xc80], 0
jle 0x4049a7
push eax
or eax, 0x2ea0
and eax, 0x1152b
and eax, 0x262e
and eax, 0x160df
pop eax
push ebx
add ebx, 0x5e7d
call fcn.004048bd
add byte [eax], bh
dec eax
inc esi
cmp dword ss:[edx + 0x4d], eax
add esp, 4
pop ebx
mov edx, dword [ebp - 0xacc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x404943
push edi
push ebx
add esp, 4
add edi, 0x49c6
sub edi, 0xee7e
pop edi
push esi
push edi
add esp, 4
call 0x4048fc
add byte [ebx], dh
xor edi, dword [esi]
inc ebx
dec ebx
xor al, byte [edx + 0x45]
add esp, 4
jmp 0x404908
pop esi
mov eax, dword [ebp - 0xacc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x40492b
mov dword [ebp - 0x15cc], 1
jmp 0x404935
mov dword [ebp - 0x15cc], 0xffffffff
mov ecx, dword [ebp - 0x15cc]
mov dword [ebp - 0xc84], ecx
jmp 0x4049a7
push ecx
and ecx, 0x10bda
add ecx, 0x3592
pop ecx
push ecx
push edi
add esp, 4
sub ecx, 0x1429c
jmp 0x404962
or ecx, 0x12151
pop ecx
push esi
push esi
add esp, 4
sub esi, 0x24ce
pop esi
mov edx, dword [ebp - 0xc80]
sub edx, 1
mov dword [ebp - 0xc80], edx
mov eax, dword [ebp - 0xacc]
add eax, 1
mov dword [ebp - 0xacc], eax
mov ecx, dword [ebp - 0xa60]
add ecx, 1
mov dword [ebp - 0xa60], ecx
jmp 0x404882
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15d0], edx

Function at 0x4048fc
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
cmp dword [ebp - 0xc80], 0
jle 0x4049a7
push eax
or eax, 0x2ea0
and eax, 0x1152b
and eax, 0x262e
and eax, 0x160df
pop eax
push ebx
add ebx, 0x5e7d
call fcn.004048bd
add byte [eax], bh
dec eax
inc esi
cmp dword ss:[edx + 0x4d], eax
add esp, 4
pop ebx
mov edx, dword [ebp - 0xacc]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa60]
movzx edx, byte [ecx]
cmp eax, edx
je 0x404943
push edi
push ebx
add esp, 4
add edi, 0x49c6
sub edi, 0xee7e
pop edi
push esi
push edi
add esp, 4
call 0x4048fc
add byte [ebx], dh
xor edi, dword [esi]
inc ebx
dec ebx
xor al, byte [edx + 0x45]
add esp, 4
jmp 0x404908
pop esi
mov eax, dword [ebp - 0xacc]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa60]
movzx eax, byte [edx]
cmp ecx, eax
jle 0x40492b
mov dword [ebp - 0x15cc], 1
jmp 0x404935
mov dword [ebp - 0x15cc], 0xffffffff
mov ecx, dword [ebp - 0x15cc]
mov dword [ebp - 0xc84], ecx
jmp 0x4049a7
push ecx
and ecx, 0x10bda
add ecx, 0x3592
pop ecx
push ecx
push edi
add esp, 4
sub ecx, 0x1429c
jmp 0x404962
or ecx, 0x12151
pop ecx
push esi
push esi
add esp, 4
sub esi, 0x24ce
pop esi
mov edx, dword [ebp - 0xc80]
sub edx, 1
mov dword [ebp - 0xc80], edx
mov eax, dword [ebp - 0xacc]
add eax, 1
mov dword [ebp - 0xacc], eax
mov ecx, dword [ebp - 0xa60]
add ecx, 1
mov dword [ebp - 0xa60], ecx
jmp 0x404882
mov edx, dword [ebp - 0xc84]
mov dword [ebp - 0x15d0], edx
Function at 0x405760
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ebx
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x405790
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x405546
mov dword [ebp - 0x750], 0
Function at 0x43fce5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push 0x20019
push 0
push 0x4ca238
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x43fd40
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0xb
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 8
push eax
push esi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x43fd45
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push 0x4ca238
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43fd9e
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push edi
push str.iSpeedLauncherLogonTime
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
test esi, esi
pop esi
cmove edi, eax
mov eax, edi
pop edi
leave
ret

Function at 0x43fda3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43fdca
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ebx
push dword [ebp - 4]
xor ebx, ebx
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret
Function at 0x443cd9
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global_MSIExecute
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
je 0x443cfa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x443cf6
xor eax, eax
ret
Function at 0x444c53
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xc
mov eax, 0x4aa710
call fcn.00468fa8
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x444d33
xor ebx, ebx
mov ecx, edi
push ebx
push str.ArmUI.ini
call fcn.0040944e
cmp eax, 0xffffffff
je 0x444cdd
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.GlobalPdfOnershipInProcessEvent
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
test ebx, ebx
je 0x444cdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xb7
jne 0x444cdd
push str.pdf_ownership_takeover_in_process__will_not_cleanup_ArmUI.ini_file
lea ecx, [ebp - 0x10]
call fcn.00402829
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push 0
push 2
pop ecx
call fcn.004137d1
pop ecx
mov ecx, dword [ebp - 0x10]
jmp 0x444d2b
push 0x80
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x444d33
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
je 0x444d33
push edi
lea eax, [ebp - 0x14]
push str.Delete_file_failed_for:
push eax
call fcn.004023f1
add esp, 0xc
push esi
push 2
mov edx, eax
mov dword [ebp - 4], 1
pop ecx
call fcn.00413882
pop ecx
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e64
call fcn.00468f71
ret

Function at 0x445d77
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x50f554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x20a
lea eax, [ebp - 0x41c]
push ebx
xor esi, esi
mov edi, ecx
push esi
push eax
call fcn.00481750
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00481750
add esp, 0x18
mov dword [ebp - 0x420], esi
mov ecx, 0x105
mov dword [ebp - 0x428], esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], esi
push ecx
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x420]
push eax
push ecx
lea eax, [ebp - 0x41c]
push eax
push 0x4cdb30
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x445e30
mov ecx, dword [ebp - 0x420]
cmp esi, 0x103
je 0x445e2a
mov eax, ecx
xor edx, edx
push 0xa
pop ecx
div ecx
mov ecx, eax
mov ax, word [edx*2 + str.0123456789]
mov word [edi + esi*2], ax
inc esi
test ecx, ecx
jne 0x445e06
xor eax, eax
mov word [edi + esi*2], ax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x10
jge 0x445e4d
push str.thsnYaVieBoda
mov edx, 0x104
mov ecx, edi
call fcn.0040cb3f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004689ca
leave
ret
Function at 0x453350
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4533a3
push esi
push dword [ebp + 8]
call fcn.00453544
mov edi, eax
test edi, edi
je 0x45339e
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x45339e
mov eax, dword [ebp - 8]
jmp 0x4533b5
mov eax, dword [ebp + 0x10]
jmp 0x4533b5
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x454d50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x84], ebx
test ebx, 0xffff0000
jne 0x454d7b
cmp dword [edi + 0x80], 0
jne 0x454d7b
movzx eax, bx
mov dword [edi + 0x80], eax
call fcn.0045d583
push 5
push ebx
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00454fb6
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x45860f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x45864e
call fcn.0045d583
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45864e
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x458656
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0044e497
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x458d73
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x458dff
cmp dword [esi + 0x20], 0
je 0x458dff
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x458dff
cmp dword [ebp + 8], 0
je 0x458dff
xor edi, edi
mov ebx, edi
call fcn.0045d583
push 0x4bc650
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x458de3
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x458dff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.00466c8d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x458dfb
mov ecx, esi
call fcn.00458b41
mov eax, edi
jmp 0x458e01
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4