joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a14a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x1c], 0
push esi
push edi
jne 0x4a14b3
call fcn.004a1150
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 4]
test eax, eax
je 0x4a1516
mov esi, dword [edi + 8]
sub esi, eax
je 0x4a1516
test esi, esi
ja 0x4a14ce
call fcn.005416ed
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 0x10
mov edi, dword [edi + 4]
jb 0x4a14e0
mov eax, dword [eax + 4]
jmp 0x4a14e3
add eax, 4
push esi
push edi
push 3
push 0
push eax
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4a1565
push 0x50000
push eax
lea ecx, [esp + 0x14]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 0x10]
push ecx
call fcn.00541706
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x28], 0
jb 0x4a152a
mov eax, dword [eax + 4]
jmp 0x4a152d
add eax, 4
push 0
lea edx, [esp + 0x2c]
push edx
push 3
push 0
push eax
mov eax, dword [ebx + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4a1565
push 0x50000
push eax
lea ecx, [esp + 0x14]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 0x10]
push ecx
call fcn.00541706
pop edi
pop esi
pop ebx
add esp, 0x14
ret 8

Function at 0x4a1570
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4a1581
call fcn.004a1150
mov edx, dword [esp + 0x24]
test edx, edx
je 0x4a15d6
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4a15d6
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x4a15a0
mov eax, dword [eax + 4]
jmp 0x4a15a3
add eax, 4
push edx
push ecx
push 3
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4a1625
push 0x50000
push eax
lea ecx, [esp + 0xc]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 8]
push ecx
call fcn.00541706
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x24], 0
jb 0x4a15ea
mov eax, dword [eax + 4]
jmp 0x4a15ed
add eax, 4
push 0
lea edx, [esp + 0x28]
push edx
push 3
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4a1625
push 0x50000
push eax
lea ecx, [esp + 0xc]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 8]
push ecx
call fcn.00541706
pop esi
add esp, 0x14
ret 0xc
Function at 0x4a1660
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push esi
mov esi, dword [esp + 0x24]
push edi
mov edi, ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
push esi
mov ecx, edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004a11c0
cmp dword [esp + 8], 4
je 0x4a16b6
push 0x50000
push 0x65d
lea ecx, [esp + 0x18]
call fcn.00494a70
push 0x5dd43c
lea edx, [esp + 0x14]
push edx
call fcn.00541706
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x28], 0
jb 0x4a16c9
mov esi, dword [esi + 4]
jmp 0x4a16cc
add esi, 4
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4a1707
push 0x50000
push eax
lea ecx, [esp + 0x18]
call fcn.00494a70
push 0x5dd43c
lea eax, [esp + 0x14]
push eax
call fcn.00541706
mov eax, dword [esp + 0x28]
pop edi
pop esi
add esp, 0x1c
ret 4

Function at 0x4a1720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push ebx
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push esi
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.004a11c0
cmp dword [esp + 0xc], 0xb
je 0x4a1771
push 0x50000
push 0x65d
lea ecx, [esp + 0x24]
call fcn.00494a70
push 0x5dd43c
lea edx, [esp + 0x20]
push edx
call fcn.00541706
cmp dword [esi + 0x18], 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jb 0x4a1784
mov esi, dword [esi + 4]
jmp 0x4a1787
add esi, 4
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebx
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4a17c0
push 0x50000
push eax
lea ecx, [esp + 0x24]
call fcn.00494a70
push 0x5dd43c
lea eax, [esp + 0x20]
push eax
call fcn.00541706
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4

Function at 0x4a1800
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4a1811
call fcn.004a1150
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x4a1820
mov eax, dword [eax + 4]
jmp 0x4a1823
add eax, 4
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
pop esi
je 0x4a1851
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 4]
push ecx
call fcn.00541706
add esp, 0x14
ret 4

Function at 0x4a1860
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x4a1871
call fcn.004a1150
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0x10
jb 0x4a1880
mov eax, dword [eax + 4]
jmp 0x4a1883
add eax, 4
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
pop esi
je 0x4a18b1
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 4]
push ecx
call fcn.00541706
add esp, 0x14
ret 4
Function at 0x4a1b40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x585f38
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x60]
mov ebp, ecx
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
jne 0x4a1b8e
call fcn.004a1150
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
mov ecx, esi
mov dword [esp + 0x54], 0
xor edi, edi
call fcn.00486f00
test eax, eax
jbe 0x4a1c1b
xor ebp, ebp
lea ebx, [ebx]
mov eax, dword [esi + 4]
test eax, eax
je 0x4a1be3
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4a1be8
call fcn.005416ed
mov eax, dword [esi + 4]
push 0xffffffffffffffff
add eax, ebp
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00484a70
push 0
push 1
mov ecx, eax
call fcn.004849c0
mov ecx, esi
add edi, 1
add ebp, 0x1c
call fcn.00486f00
cmp edi, eax
jb 0x4a1bc0
mov ebp, dword [esp + 0x14]
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004849c0
mov ecx, dword [esp + 0x30]
mov esi, 0x10
cmp dword [esp + 0x44], esi
jae 0x4a1c3b
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], esi
jb 0x4a1c49
mov eax, dword [eax + 4]
jmp 0x4a1c4c
add eax, 4
mov edx, dword [esp + 0x40]
push edx
push ecx
push 7
push 0
push eax
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4a1c83
push 0x50000
push eax
lea ecx, [esp + 0x20]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 0x1c]
push ecx
call fcn.00541706
cmp dword [esp + 0x44], esi
jb 0x4a1c96
mov edx, dword [esp + 0x30]
push edx
call fcn.00506f62
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0053fab2
add esp, 0x48
ret 8
Function at 0x4a1f20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x585fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
mov ecx, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.004a11c0
cmp dword [esp + 0x18], 1
je 0x4a1f96
push 0x50000
push 0x65d
lea ecx, [esp + 0x24]
call fcn.00494a70
push 0x5dd43c
lea edx, [esp + 0x20]
push edx
call fcn.00541706
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x58]
push ecx
add eax, 1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x60], bl
call fcn.004852b0
mov esi, dword [esp + 0x20]
cmp esi, ebx
mov dword [esp + 0x4c], ebx
je 0x4a1fc4
mov edx, dword [esp + 0x24]
sub edx, esi
jne 0x4a1fc9
call fcn.005416ed
cmp dword [ebp + 0x18], 0x10
jb 0x4a1fd4
mov eax, dword [ebp + 4]
jmp 0x4a1fd7
lea eax, [ebp + 4]
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push ebx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4a200c
push 0x50000
push eax
lea ecx, [esp + 0x38]
call fcn.00494a70
push 0x5dd43c
lea eax, [esp + 0x34]
push eax
call fcn.00541706
cmp esi, ebx
je 0x4a2018
mov eax, dword [esp + 0x24]
sub eax, esi
jne 0x4a201d
call fcn.005416ed
mov edi, dword [esp + 0x54]
push esi
mov ecx, edi
call fcn.0040c6b0
cmp esi, ebx
je 0x4a2036
push esi
call fcn.00506f62
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 8
Function at 0x4a2050
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x585ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.004a11c0
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov byte [esp + 0x50], bl
jne 0x4a20be
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x50]
push edx
push ebx
mov ecx, esi
call fcn.0048abca
jmp 0x4a214e
lea ecx, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0048abca
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
mov dword [esp + 0x44], ebx
je 0x4a20e1
mov edx, dword [esp + 0x20]
sub edx, ecx
jne 0x4a20ea
call fcn.005416ed
mov ecx, dword [esp + 0x1c]
cmp dword [edi + 0x18], 0x10
jb 0x4a20f5
mov eax, dword [edi + 4]
jmp 0x4a20f8
lea eax, [edi + 4]
lea edx, [esp + 0x10]
push edx
push ecx
push ebx
push ebx
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4a212d
push 0x50000
push eax
lea ecx, [esp + 0x30]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 0x2c]
push ecx
call fcn.00541706
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.004a1e90
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4a214e
push eax
call fcn.00506f62
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret 8
Function at 0x4a22e0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x58604d
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x14c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x15c]
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x18], ebx
cmp dword [ebp + 0x1c], ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x38], esi
jne 0x4a233f
call fcn.004a1150
xor edi, edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x1c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x58]
push edx
push ebx
push eax
mov dword [esp + 0x174], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
jne 0x4a2423
jmp 0x4a2390
lea eax, [esp + 0x44]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4a23a7
sub eax, edx
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x24]
call fcn.0040c2f0
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x158], 1
call fcn.004a2230
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x154], bl
jb 0x4a23f3
mov eax, dword [esp + 0x20]
push eax
call fcn.00506f62
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [ebp + 0x1c]
push ebx
push ebx
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x58]
push eax
add edi, 1
push edi
push ecx
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
je 0x4a2390
cmp eax, 0x103
jne 0x4a2456
mov eax, esi
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.0053fab2
add esp, 0x144
ret 4
push 0x50000
push eax
lea ecx, [esp + 0x24]
call fcn.00494a70
push 0x5dd43c
lea edx, [esp + 0x20]
push edx
call fcn.00541706
int3
Function at 0x4a2480
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5860ad
mov eax, dword fs:[0]
push eax
mov eax, 0x402c
call fcn.005401e0
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x4028], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x4040]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4050]
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x18], ebx
cmp dword [ebp + 0x1c], ebx
mov dword [esp + 0x4048], ebx
mov dword [esp + 0x38], esi
jne 0x4a24e3
call fcn.004a1150
xor edi, edi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [ebp + 0x1c]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
push ebx
push edx
mov dword [esp + 0x4068], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x34], 0x4000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x4a25bf
jmp 0x4a2530
lea eax, [esp + 0x3c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4a2547
sub eax, edx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.0040c2f0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x404c], 1
call fcn.004a2230
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0x4048], bl
jb 0x4a2593
mov edx, dword [esp + 0x20]
push edx
call fcn.00506f62
add esp, 4
mov edx, dword [ebp + 0x1c]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
add edi, 1
push edi
push edx
mov dword [esp + 0x34], 0x4000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
je 0x4a2530
cmp eax, 0x103
jne 0x4a25f2
mov eax, esi
mov ecx, dword [esp + 0x4040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4028]
xor ecx, esp
call fcn.0053fab2
add esp, 0x4038
ret 4
push 0x50000
push eax
lea ecx, [esp + 0x24]
call fcn.00494a70
push 0x5dd43c
lea eax, [esp + 0x20]
push eax
call fcn.00541706
int3
Function at 0x4a2620
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x586109
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x2c], ebx
push esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
call fcn.004a11c0
cmp dword [esp + 0x20], 7
je 0x4a26b6
push 0x50000
push 0x65d
lea ecx, [esp + 0x34]
call fcn.00494a70
push 0x5dd43c
lea eax, [esp + 0x30]
push eax
call fcn.00541706
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x17]
push ecx
add eax, 2
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1f], bl
call fcn.004852b0
mov edi, dword [esp + 0x30]
cmp edi, ebx
mov dword [esp + 0x80], 1
je 0x4a26eb
mov edx, dword [esp + 0x34]
sub edx, edi
jne 0x4a26f0
call fcn.005416ed
cmp dword [esi + 0x18], 0x10
jb 0x4a26fb
mov esi, dword [esi + 4]
jmp 0x4a26fe
add esi, 4
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4a2737
push 0x50000
push eax
lea ecx, [esp + 0x4c]
call fcn.00494a70
push 0x5dd43c
lea eax, [esp + 0x48]
push eax
call fcn.00541706
cmp edi, ebx
je 0x4a2743
mov ecx, dword [esp + 0x34]
sub ecx, edi
jne 0x4a2748
call fcn.005416ed
mov esi, edi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x80], 2
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
cmp byte [edi], bl
mov dword [esp + 0x24], 1
je 0x4a27ca
mov eax, dword [esp + 0x34]
sub eax, edi
mov dword [esp + 0x1c], eax
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4a2786
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x60]
call fcn.0040c2f0
lea edx, [esp + 0x58]
push edx
mov ecx, ebp
call fcn.004a2230
cmp dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x6c]
lea esi, [esi + eax + 1]
ja 0x4a27bb
call fcn.005416ed
mov ecx, dword [esp + 0x18]
lea edx, [edi + ecx]
cmp esi, edx
ja 0x4a27ca
cmp byte [esi], bl
jne 0x4a2781
cmp dword [esp + 0x70], 0x10
jb 0x4a27de
mov eax, dword [esp + 0x5c]
push eax
call fcn.00506f62
add esp, 4
push edi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
call fcn.00506f62
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0053fab2
add esp, 0x70
ret 8
Function at 0x4a2820
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x586150
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x60bd28]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60bd28]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x7c]
push ebp
lea eax, [esp + 0x40]
push eax
mov dword [esp + 0x1c], ecx
call fcn.004a1df0
lea ecx, [esp + 0x18]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x40]
mov dword [esp + 0x78], ebx
call fcn.004a22e0
mov byte [esp + 0x74], 1
xor esi, esi
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4a28ba
mov ecx, dword [esp + 0x20]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x4a28ba
lea edx, [ebx + edi]
push edx
lea ecx, [esp + 0x40]
call fcn.004a2820
add esi, 1
add ebx, 0x1c
jmp 0x4a2880
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x1c], 0
jne 0x4a28cb
mov ecx, esi
call fcn.004a1150
mov ebx, 0x10
cmp dword [ebp + 0x18], ebx
jb 0x4a28da
mov eax, dword [ebp + 4]
jmp 0x4a28dd
lea eax, [ebp + 4]
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor edi, edi
cmp eax, edi
je 0x4a290c
push 0x50000
push eax
lea ecx, [esp + 0x30]
call fcn.00494a70
push 0x5dd43c
lea ecx, [esp + 0x2c]
push ecx
call fcn.00541706
mov eax, dword [esp + 0x1c]
cmp eax, edi
je 0x4a2936
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call fcn.0048728c
mov eax, dword [esp + 0x2c]
push eax
call fcn.00506f62
add esp, 0x14
mov eax, dword [esp + 0x58]
cmp eax, edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x4a2957
push eax
call esi
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x64]
cmp eax, edi
je 0x4a2966
push eax
call esi
mov dword [esp + 0x64], edi
cmp dword [esp + 0x54], ebx
jb 0x4a2979
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00506f62
add esp, 4
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0053fab2
add esp, 0x64
ret 4

Function at 0x4ac63f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x60bd28]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0xffffffff
je 0x4ac67e
call fcn.004ac4dc
push 7
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4ac67e
lea eax, [ebp - 0xc]
push eax
call fcn.00541939
pop ecx
jmp 0x4ac680
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053fab2
leave
ret
Function at 0x4acab9
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x60bd28]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4acae8
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x4acb65
push esi
push eax
call fcn.0054035d
mov esi, eax
test esi, esi
pop ecx
jne 0x4acafe
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x4acb64
push esi
push dword [ebp - 0x18]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4acb1e
push esi
call fcn.0054020b
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x4acb63
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5961cc
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4acb0e
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004ac8c5
push esi
call fcn.0054020b
lea esi, [ebp - 0x10]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0053fab2
leave
ret

Function at 0x4afcf7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4afd63
push edi
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4afd62
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4afd5b
and esi, 0xf
jmp 0x4afd3f
movzx ecx, cx
dec esi
lea eax, [eax + ecx*2]
movzx ecx, word [eax]
inc eax
inc eax
test esi, esi
jne 0x4afd38
test cx, cx
je 0x4afd5b
movzx ecx, cx
push ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.004a7f55
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
ret