joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f5b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f5cb
add esp, 0xfffffff0
call fcn.00403b04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424190
mov eax, dword [0x494fdc]
cmp word [eax + 2], 0
jne 0x45f5f3
mov eax, dword [0x494fdc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460c90
mov eax, dword [0x49508c]
cmp word [eax + 2], 0
jne 0x45f60d
mov eax, dword [0x49508c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00460e88
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419cb0]
call fcn.00403770
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419cb0]
call fcn.00403770
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x426648]
call fcn.0042e0a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45f794
mov eax, dword [0x494ee0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e474
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x461408
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x494ee0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d084
test eax, eax
je 0x45f702
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408efc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d0ac
test eax, eax
je 0x45f716
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404794
mov eax, dword [0x494d94]
cmp byte [eax], 0
jne 0x45f74a
mov eax, ebx
call fcn.0045f8bc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004615e4
mov eax, ebx
call fcn.00461f94
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f78a
call fcn.00403b5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45fb30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x496c34]
cmp dword [eax + 0x30], 0
je 0x45fbda
cmp dword [ebx + 0x94], 0
jne 0x45fbd4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fac0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fbd4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45fb9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fbd4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c408
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45fba9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4606b8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4606ed
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040461c
jmp 0x4606fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404580
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4617c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461801
mov eax, esi
call fcn.00447830
test al, al
je 0x461801
mov eax, dword [ebx + 0x84]
call fcn.0044752c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461801
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044752c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46216c
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffac
mov edi, eax
mov ebx, esp
lea esi, [esp + 0x29]
push ebx
push 0x28
call sub.kernel32.dll_GetTempPathA
push esi
push 0
push 0x4621a0
push ebx
call sub.kernel32.dll_GetTempFileNameA
mov eax, edi
mov edx, esi
call fcn.0040471c
add esp, 0x54
pop edi
pop esi
pop ebx
ret
Function at 0x466bd8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x466cb0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x496ce4], 0
jne 0x466c94
lea eax, [ebp - 4]
mov edx, 0x466cc8
call fcn.004045c4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004049dc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x466c94
mov eax, ebx
call fcn.00402774
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x466c8d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x466c77
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x466cd8
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x466c77
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x496ce4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c94
mov eax, dword [ebp - 0xc]
call fcn.00402794
ret
mov ebx, dword [0x496ce4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466cb7
lea eax, [ebp - 4]
call fcn.0040452c
ret

Function at 0x46b6c0
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x496d08], 0
jne 0x46b6e3
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46b634
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496d08], eax
ret

Function at 0x47ff9c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x47ffca
mov eax, ebx
call fcn.00480a54
cmp dword [ebx + 0x3c], 0
je 0x47ffc3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48003b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x48002d
cmp dword [ebx + 8], 0
je 0x47ffec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x47fffe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48002d
cmp dword [ebx + 8], 0
je 0x47ffdf
cmp eax, 3
je 0x480011
dec eax
jne 0x47ffdf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47ffdf
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x47ffdf
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x480059
cmp dword [ebx + 0x10], 0xcc
je 0x480059
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00480064
pop ebx
ret
Function at 0x401180
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
jbe 0x4011bc
mov edx, dword [esp + 8]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edx]
movzx ebx, byte [ecx + edi]
mov ebp, eax
and ebp, 0xff
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x4210c8]
shr eax, 8
xor eax, ebp
inc ecx
cmp ecx, esi
mov dword [edx], eax
jb 0x401196
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x402ea0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4217fc]
xor eax, ebp
push ebx
mov dword [esp + 0x124], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x1c], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x20], bl
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.WININET.DLL
stosb byte es:[edi], al
call dword [0x41d048]
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x402f61
push 0x104
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [0x41d044]
test eax, eax
jbe 0x402f61
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.0041c6d6
mov edi, eax
cmp edi, ebx
jbe 0x402f61
push edi
call fcn.00412749
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push esi
push edi
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.0041c6d0
test eax, eax
je 0x402f58
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x41d38c
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0041c6ca
test eax, eax
jne 0x402f78
push esi
call fcn.0041221d
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.0041277f
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
movzx edx, word [eax + 8]
movzx eax, word [eax + 0xa]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str.MSIE__d._d
push ecx
call dword [0x41d280]
push esi
call fcn.0041221d
mov ecx, dword [esp + 0x140]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041277f
mov esp, ebp
pop ebp
ret
Function at 0x403740
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x4217fc]
push ebx
mov ebx, dword [0x41d2bc]
xor eax, ebp
push esi
mov esi, ecx
mov dword [esp + 0x128], eax
mov eax, dword [esi + 4]
test eax, eax
push edi
mov dword [esp + 0x10], 0x7530
jne 0x40384b
mov eax, dword [esi + 0x34]
test eax, eax
mov eax, dword [esi + 0x10]
push 0
je 0x403792
push str._local_
push str.proxy
push 3
jmp 0x40379a
mov ecx, dword [esi + 0x58]
push 0
push 0
push ecx
push eax
call dword [0x41d2c0]
test eax, eax
mov dword [esi + 4], eax
jne 0x4037c8
call dword [0x41d04c]
mov dword [esi + 0x54], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.0041277f
mov esp, ebp
pop ebp
ret
xor edx, edx
mov dword [esp + 0x14], edx
xor eax, eax
mov dword [esp + 0x18], edx
mov byte [esp + 0x20], dl
mov ecx, 0x40
lea edi, [esp + 0x21]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x34]
test eax, eax
mov dword [esp + 0x1c], edx
je 0x403834
movzx eax, word [esi + 0x30]
mov ecx, dword [esi + 0x2c]
push eax
push ecx
lea edx, [esp + 0x28]
push str._s:_d
push edx
mov dword [esp + 0x24], 3
call dword [0x41d280]
mov edx, dword [esi + 4]
add esp, 0x10
push 0xc
lea ecx, [esp + 0x18]
push ecx
push 0x26
lea eax, [esp + 0x2c]
push edx
mov dword [esp + 0x28], eax
call ebx
test eax, eax
je 0x4038ff
mov ecx, dword [esi + 4]
push 4
lea eax, [esp + 0x14]
push eax
push 2
push ecx
call ebx
test eax, eax
je 0x4038ff
mov eax, dword [esi + 8]
test eax, eax
jne 0x403926
mov eax, dword [esi + 0x1c]
test eax, eax
push 0
push 0
push 3
jne 0x403878
mov eax, dword [esi + 0x14]
xor edx, edx
mov dx, word [esi + 0x18]
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push eax
jmp 0x40388f
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x14]
push eax
push ecx
xor ecx, ecx
mov cx, word [esi + 0x18]
push ecx
push edx
mov edx, dword [esi + 4]
push edx
call dword [0x41d2c4]
test eax, eax
mov dword [esi + 8], eax
je 0x4038ff
push 0
call dword [0x41d2c8]
test eax, eax
jne 0x4038ff
mov ecx, dword [esi + 8]
push 4
lea eax, [esp + 0x14]
push eax
push 5
push ecx
call ebx
test eax, eax
je 0x4038ff
mov eax, dword [esi + 8]
push 4
lea edx, [esp + 0x14]
push edx
push 6
push eax
call ebx
test eax, eax
je 0x4038ff
mov eax, dword [esi + 0x38]
test eax, eax
je 0x403926
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
mov ecx, dword [esi + 8]
push eax
push 0x2b
push ecx
call ebx
test eax, eax
je 0x4038ff
mov eax, dword [esi + 0x40]
mov ecx, dword [eax - 0xc]
mov edx, dword [esi + 8]
inc ecx
push ecx
push eax
push 0x2c
push edx
call ebx
test eax, eax
jne 0x403926
call dword [0x41d04c]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.00403450
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call fcn.0041277f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0041277f
mov esp, ebp
pop ebp
ret
Function at 0x407d50
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4217fc]
xor eax, esp
push ebp
push esi
lea edx, [esp + 0x10]
push edx
push 0x2001f
mov ebp, ecx
mov ecx, dword [esp + 0x130]
push 0
mov dword [esp + 0x12c], eax
mov eax, dword [ebp]
push ecx
push eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [0x41d004]
mov esi, eax
test esi, esi
jne 0x407db7
lea ecx, [esp + 8]
call fcn.00407c40
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
je 0x407dc5
lea ecx, [esp + 8]
call fcn.00407c40
jmp 0x407e5e
push edi
mov edi, dword [0x41d01c]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x38]
push ecx
push 0
push eax
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
jne 0x407e2c
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x10]
call fcn.00407d50
mov esi, eax
test esi, esi
jne 0x407e54
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push esi
push eax
mov dword [esp + 0x30], 0x100
call edi
test eax, eax
je 0x407df2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x407e43
push eax
call dword [section..rdata]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp]
push ecx
push edx
call dword [0x41d02c]
mov esi, eax
lea ecx, [esp + 0xc]
call fcn.00407c40
pop edi
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
pop ebp
xor ecx, esp
call fcn.0041277f
add esp, 0x11c
ret 4
Function at 0x408230
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [0x41d1c0]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x408242
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [0x41d018]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x408ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [0x41d030]
test eax, eax
jne 0x408f21
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x408f03
cmp eax, 2
jne 0x408f13
test esi, esi
mov eax, dword [esp + 0x14]
je 0x408f1d
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x408f1d
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc

Function at 0x409330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4217fc]
push ebx
mov ebx, dword [0x41df18]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [0x41df14]
lea edx, [esp + 0x10]
push edx
push 0x20019
xor eax, ebp
push 0
mov dword [esp + 0x148], eax
mov eax, dword [0x41df0c]
mov dword [esp + 0x24], ecx
mov ecx, dword [0x41df10]
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push 0x80000000
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
call dword [0x41d004]
test eax, eax
jne 0x409424
mov byte [esp + 0x30], al
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi + 0x10]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x34], 0x104
mov dword [esp + 0x2c], 0
call dword [0x41d030]
test eax, eax
jne 0x4093fe
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, edi
call fcn.00409140
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
push ecx
call dword [section..rdata]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, esi
mov dword [edx], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebx
jmp 0x409439
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebx
mov ecx, dword [esp + 0x13c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041277f
mov esp, ebp
pop ebp
ret 4
Function at 0x409460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x4217fc]
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, ebp
push esi
push edi
mov dword [esp + 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], ecx
mov edx, dword [ebp + 0x10]
mov byte [esp + 0x30], 0
mov ecx, 0x40
lea edi, [esp + 0x31]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, dword [ebp + 8]
mov eax, ebx
shr eax, 0x10
movzx ecx, ah
push ecx
movzx eax, al
push eax
movzx ecx, bh
push ecx
movzx eax, bl
push eax
mov eax, edx
mov ecx, edx
shr ecx, 0x18
push ecx
shr eax, 0x10
movzx eax, al
push eax
movzx eax, word [esp + 0x36]
movzx ecx, dh
push ecx
movzx ecx, word [esp + 0x38]
mov dword [esp + 0x3c], edx
movzx edx, dl
push edx
push eax
push ecx
push esi
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
lea edx, [esp + 0x60]
push 0x104
push edx
mov dword [esp + 0x5c], ebx
call fcn.00413314
add esp, 0x38
lea eax, [esp + 0x10]
push eax
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push 0x80000000
call dword [0x41d010]
test eax, eax
je 0x409549
lea ecx, [esp + 0x10]
push ecx
push str.CLSIDCAA2D3B1_4BB5_4a45_A17A_122773379D99
push 0x80000000
call dword [0x41d014]
test eax, eax
je 0x409549
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, ebp
call fcn.0041277f
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x30]
push edx
mov esi, 1
call dword [0x41d1c0]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
inc eax
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x18]
push esi
push 0
push edx
push eax
call dword [0x41d018]
test eax, eax
je 0x40957c
xor esi, esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [section..rdata]
mov ecx, dword [esp + 0x13c]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041277f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ae80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [0x422978]
push ebp
push esi
push edi
mov ecx, 0x422978
xor ebp, ebp
call dword [eax + 0xc]
mov edi, eax
add edi, 0x10
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
call fcn.004047c0
mov edx, dword [esp + 0x20]
test edx, edx
jne 0x40aeb8
xor eax, eax
jmp 0x40aec9
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40aec0
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00403dd0
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0x2001f
push 0
push esi
push 0x80000002
mov dword [esp + 0x34], 0
call dword [0x41d004]
test eax, eax
jne 0x40b028
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push str.InstallLocation
mov ebp, eax
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], 0
call dword [0x41d030]
test eax, eax
jne 0x40b028
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x40af46
cmp eax, 2
jne 0x40b028
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x14], eax
jbe 0x40b028
lea edx, [esp + 0x14]
push edx
dec eax
push eax
lea ecx, [esp + 0x14]
call fcn.00409e30
push eax
push str.InstallLocation
lea ecx, [esp + 0x2c]
call fcn.00408ec0
test eax, eax
jne 0x40b024
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jne 0x40afae
lea ecx, [esp + 0x10]
call fcn.00403a20
lea ecx, [esp + 0xc]
call fcn.00403a20
lea ecx, [esp + 0x20]
call fcn.00409b50
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffffe
push ecx
lea ecx, [esp + 0x10]
call fcn.004039e0
cmp al, 0x5c
lea ecx, [esp + 0xc]
push 0x41d38c
je 0x40afd8
call fcn.00404640
mov edx, dword [esp + 0x24]
push edx
jmp 0x40afe2
call fcn.00404640
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00404640
mov edi, dword [esp + 0xc]
push edi
call dword [0x41d114]
cmp eax, 0xffffffff
je 0x40b028
lea ecx, [esp + 0x10]
call fcn.00403a20
lea ecx, [esp + 0xc]
call fcn.00403a20
lea ecx, [esp + 0x20]
call fcn.00409b50
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10
ret 8
mov edi, dword [esp + 0xc]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b042
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b05c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
je 0x40b067
push ebp
call dword [section..rdata]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10
ret 8