joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b23d
Capabilities:
Create thread

Disassembly:
sub esp, 0x624
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x61c], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, edx
push 0x33
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, eax
call fcn.0040b1ec
movzx ebp, ax
xor eax, eax
push 0x104
mov word [esp + 0x11c], ax
lea eax, [esp + 0x11c]
push eax
push 0x37
push edi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
cmp word [esp + 0x118], 0
jne 0x40b29e
xor al, al
jmp 0x40b3cc
cmp byte [esi + 0x311], 0
je 0x40b335
lea eax, [esp + 0x118]
push eax
call fcn.00419cdb
pop ecx
test al, al
je 0x40b335
mov ecx, dword [0x521818]
lea eax, [esp + 0x18]
mov ebx, 0x80
push ebx
push eax
push 0x3a
call fcn.0041c148
test eax, eax
jne 0x40b2f8
movzx edx, word [0x517722]
lea eax, [esp + 0x18]
push ebx
push eax
xor edx, 0xc7c7
mov ecx, 0x517724
call fcn.00415bfb
pop ecx
pop ecx
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x328]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x320]
push 0x34
push 0x4e8940
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
je 0x40b297
mov ecx, esi
call fcn.0040ae18
lea eax, [esp + 0x118]
push eax
lea ebx, [esi + 0x102]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
and dword [esi + 0x344], 0
push 5
push edi
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
dec eax
mov ecx, esi
neg eax
push edi
sbb al, al
inc al
push ebp
mov byte [esi + 0x312], al
call fcn.00409e69
test al, al
je 0x40b297
mov ecx, dword [0x52181c]
movzx eax, byte [esi + 0x312]
shl eax, 0xa
push ebx
xor eax, dword [ecx + 0x14]
and eax, 0x400
xor dword [ecx + 0x14], eax
call fcn.004096c0
mov ecx, dword [0x52181c]
call fcn.00408721
lea eax, [esp + 0x14]
push eax
xor eax, eax
push eax
push esi
push 0x40a4e3
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x568], eax
setne al
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x624
ret

Function at 0x40b3e5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5107c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [ecx]
push ebx
push esi
push edi
push 0x3a
mov word [ebp - 0xc], ax
lea esi, [ecx + 2]
pop eax
push 0x5c
mov word [ebp - 0xa], ax
xor ebx, ebx
pop eax
push ebx
push ebx
mov word [ebp - 8], ax
xor eax, eax
push ebx
push ebx
mov word [ebp - 6], ax
mov word [esi], ax
lea eax, [ebp - 0x10]
push eax
push 0x80
push esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edi, eax
test edi, edi
je 0x40b464
cmp word [esi], bx
jne 0x40b464
push 0x5f1fb724
mov edx, 0xe5acd170
mov ecx, 0xf419aa1f
call fcn.004013e8
pop ecx
sub esi, eax
movzx ecx, word [eax]
mov word [esi + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x40b455
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b35e5
mov esp, ebp
pop ebp
ret
Function at 0x40c97f
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
sub esp, 0x42c
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x424], eax
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, ecx
push edi
push 0x32
push ebp
mov dword [esp + 0x18], ebp
call esi
push 0x33
push ebp
mov edi, eax
call esi
mov ebx, eax
call fcn.004031c6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x1303
push edi
call esi
and dword [esp + 0x1c], 0
lea edx, [esp + 0x14]
mov ecx, fcn.0040c6d8
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], edi
call fcn.004073c1
push 0
push 0
push 0x1304
push edi
call esi
test eax, eax
jle 0x40ca19
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.0040c8e1
push 0
push dword [esp + 0x20]
push 0x130c
push edi
call esi
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40caed
push 5
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x20]
xor edi, edi
push eax
push edi
push 0xb2
push ebx
call esi
push 0xfffffffffffffff9
push 0xfffffffffffffff9
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
lea eax, [esp + 0x20]
push eax
push edi
push 0xb4
push ebx
call esi
push 0xf9f9f9
push edi
push 0x443
push ebx
call esi
mov ecx, dword [0x521818]
lea eax, [esp + 0x30]
mov esi, 0x100
push esi
push eax
push 0xd
pop eax
push eax
call fcn.0041c148
test eax, eax
jne 0x40ca9a
movzx edx, word [0x516d3e]
lea eax, [esp + 0x30]
push esi
push eax
xor edx, 0xc7c7
mov ecx, 0x516d40
call fcn.00415bfb
pop ecx
pop ecx
lea ecx, [esp + 0x30]
lea eax, [esp + 0x230]
cmp word [esp + 0x30], di
je 0x40cad7
push 0xa
pop ebx
push 2
pop esi
push 0xd
pop ebp
movzx edx, word [ecx]
cmp dx, bx
jne 0x40cac7
mov word [eax], bp
add eax, esi
mov word [eax], bx
jmp 0x40caca
mov word [eax], dx
add ecx, esi
add eax, esi
cmp word [ecx], di
jne 0x40cab5
mov ebp, dword [esp + 0x10]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x230]
push eax
push 0x33
push ebp
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov eax, dword [0x521820]
mov ecx, dword [esp + 0x434]
pop edi
pop esi
mov dword [eax + 0xc], ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x42c
ret
Function at 0x40cbec
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edx
push 0x32
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
mov esi, eax
push 0x1304
push esi
call ebx
mov ecx, dword [esp + 0x44]
movzx eax, cx
dec eax
je 0x40cd0b
dec eax
je 0x40ccae
dec eax
jne 0x40cca6
mov dl, byte [esp + 0x14]
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.0040cb0e
mov ebp, eax
pop ecx
cmp ebp, 0xffffffff
je 0x40cca6
push dword [esp + 0x14]
mov edx, ebp
mov ecx, esi
push dword [esp + 0x48]
call fcn.0040c249
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
shr eax, 0x10
pop ecx
pop ecx
test ax, ax
jne 0x40cc7d
push 0
push ebp
push 0x130c
push esi
call ebx
mov edx, ebp
mov ecx, esi
call fcn.0040c8e1
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push ebp
push 0x133d
push esi
mov dword [esp + 0x34], 2
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
push ebp
push ebp
push 0x130b
push esi
call ebx
mov dl, byte [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x44]
mov ecx, esi
push eax
call fcn.0040cb0e
mov ebp, eax
pop ecx
cmp ebp, 0xffffffff
je 0x40cca6
push 0
push ebp
push 0x1308
push esi
call ebx
push dword [esp + 0x44]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp edi, ebp
jl 0x40ccec
dec edi
test edi, edi
js 0x40cca6
push 0
push edi
push 0x130c
push esi
call ebx
mov edx, edi
pop edi
mov ecx, esi
pop esi
pop ebp
pop ebx
add esp, 0x30
jmp fcn.0040c8e1
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
push dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
call fcn.0040c6d8
pop ecx
pop ecx
push ebp
push dword [esp + 0x24]
push 0x130c
push esi
call ebx
mov edx, dword [esp + 0x20]
jmp 0x40ccfd
Function at 0x40ce07
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x10c
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
cmp word [edi], 0x2f
jne 0x40cf40
push 0xa54db25b
mov edx, 0x7f12bbab
mov ecx, 0x1a1a168a
add edi, 2
call fcn.004014a6
pop ecx
mov ecx, edi
mov dx, word [ecx]
xor ebp, ebp
inc ebp
xor esi, esi
cmp dx, word [eax]
jne 0x40ce72
test dx, dx
je 0x40ce6e
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40ce72
add ecx, 4
add eax, 4
test dx, dx
jne 0x40ce47
mov eax, esi
jmp 0x40ce76
sbb eax, eax
or eax, ebp
test eax, eax
jne 0x40ce8d
mov ecx, ebx
call fcn.0040cd3a
mov ecx, ebp
call fcn.00404ade
jmp 0x40d001
push 0xaf85baef
mov edx, 0x75dab31f
mov ecx, 0x10d21e4e
call fcn.004014a6
pop ecx
mov ecx, edi
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40ceca
test dx, dx
je 0x40cec6
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40ceca
add ecx, 4
add eax, 4
test dx, dx
jne 0x40cea4
mov eax, esi
jmp 0x40cece
sbb eax, eax
or eax, ebp
test eax, eax
jne 0x40cedf
push ebp
push ebx
call fcn.004165d0
pop ecx
jmp 0x40cf6b
push 0x40b65fee
mov edx, 0x9ae95611
mov ecx, 0xffe1fb50
call fcn.004014a6
pop ecx
mov cx, word [edi]
cmp cx, word [eax]
jne 0x40cf18
test cx, cx
je 0x40cf1c
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x40cf18
add edi, 4
add eax, 4
test cx, cx
jne 0x40cef4
jmp 0x40cf1c
sbb esi, esi
or esi, ebp
test esi, esi
jne 0x40d001
push 0x95097f15
mov edx, 0x4f5676eb
mov ecx, 0x2a5edb98
call fcn.00401485
pop ecx
mov ecx, eax
jmp 0x40cffc
push 4
push 0x4c29c56b
mov edx, 0x9676cc99
mov ecx, 0xf37e61e6
call fcn.004014a6
pop ecx
push eax
push edi
call fcn.004b5445
add esp, 0xc
test eax, eax
jne 0x40cf71
push edi
call fcn.004199b5
pop ecx
jmp 0x40d001
cmp word [edi + 2], 0x3a
jne 0x40cfbd
push edi
call fcn.00419cee
pop ecx
test al, al
je 0x40cfa9
push 5
xor esi, esi
mov edx, 0xe840c990
push esi
push esi
push edi
push 0x321fc062
mov ecx, 0x8d4864fb
call fcn.004014a6
pop ecx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40d001
push edi
call fcn.00419cdb
pop ecx
test al, al
je 0x40d001
mov ecx, edi
call fcn.00412034
jmp 0x40d001
push 0x21dceef7
mov edx, 0xfb83e706
mov ecx, 0x9e8b4b91
call fcn.004014a6
pop ecx
push eax
push edi
call fcn.004b547b
pop ecx
pop ecx
test eax, eax
je 0x40d001
xor esi, esi
lea eax, [esp + 0x10]
push esi
push esi
push 0x100
push eax
push 0xffffffffffffffff
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x10]
call fcn.0040329c
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x10c
ret
Function at 0x40ede7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5107c0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xaf4250cb
mov edx, 0x751d5935
mov ecx, 0x1015f278
call fcn.004014a6
lea edx, [ebp - 0x224]
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x40ee17
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.004288a7
mov edx, 0xc63a74a3
mov dword [esp], 0x1c657d5d
mov ecx, 0xa332dfc2
mov esi, eax
call fcn.004014a6
pop ecx
sub esi, eax
movzx ecx, word [eax]
mov word [esi + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x40ee4e
push 1
push 0
lea eax, [ebp - 0x224]
mov edx, 0x240c76d7
push eax
push 0xfe537f29
mov ecx, 0x4104dc56
call fcn.004014a6
pop ecx
push eax
push 0x1fa214a5
mov edx, 0xc5fd1d57
mov ecx, 0xa0f5b7c2
call fcn.004014a6
pop ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b35e5
mov esp, ebp
pop ebp
ret
Function at 0x40f58a
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x16c
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov eax, ecx
push 0x33
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ebx, eax
mov dword [esp + 0x14], 0x30
push 0xa
xor eax, eax
mov dword [esp + 0x1c], 0x43
pop ecx
lea edi, [esp + 0x1c]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x70]
inc esi
mov dword [esp + 0x38], eax
cmp esi, 0xc
je 0x40f624
mov ecx, dword [esi*4 + 0x515600]
lea edx, [esp + 0x70]
push 0x80
and ecx, 0x3f
call fcn.0040d8b2
mov eax, dword [esi*4 + 0x515600]
shr eax, 9
and eax, 8
mov dword [esp + 0x28], esi
pop ecx
mov dword [esp + 0x20], eax
lea eax, [esp + 0x14]
push eax
push 1
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
inc esi
cmp esi, 0x15
jb 0x40f5e1
call dword [sym.imp.USER32.dll_GetMessagePos]
xor edi, edi
mov ecx, eax
push edi
push dword [esp + 0x14]
shr ecx, 0x10
push edi
movsx ecx, cx
push ecx
cwde
push eax
push 0x180
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push ebx
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
test esi, esi
jle 0x40f70c
cmp esi, 0x15
ja 0x40f70c
mov ebx, edi
mov eax, edi
mov ecx, 0x1000
test esi, esi
jle 0x40f685
test dword [eax*4 + 0x515600], ecx
je 0x40f680
inc ebx
inc eax
cmp eax, esi
jl 0x40f676
mov eax, dword [esi*4 + 0x515600]
mov edx, eax
not edx
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esi*4 + 0x515600], edx
test ecx, edx
je 0x40f6fe
push 0xa
xor eax, eax
lea edi, [esp + 0x4c]
pop ecx
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x44], 0xe
shr edx, 0xd
lea eax, [esp + 0x70]
and edx, 0x1ffff
mov dword [esp + 0x50], eax
and ecx, 0x3f
mov dword [esp + 0x4c], edx
push 0x80
mov edx, eax
mov dword [esp + 0x5c], ecx
call fcn.0040d8b2
pop ecx
lea eax, [esp + 0x44]
push eax
push ebx
push 0x1061
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x10]
mov edx, ebp
call fcn.0040e15f
jmp 0x40f70c
push edi
push ebx
push 0x101c
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x16c
ret
Function at 0x412034
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e8
mov eax, dword [0x5107c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push ecx
push 0x71fa850b
mov edx, 0xaba58ced
mov ecx, 0xcead2474
call fcn.004014a6
pop ecx
push eax
lea eax, [ebp - 0x290]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x40
xor esi, esi
lea eax, [ebp - 0x2e4]
xorps xmm0, xmm0
push esi
push eax
movdqu xmmword [ebp - 0x2a0], xmm0
call fcn.004b6030
add esp, 0x18
mov dword [ebp - 0x2e8], 0x44
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2dc], esi
xor ebx, ebx
inc ebx
push eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x2bc], ebx
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x290]
mov word [ebp - 0x2b8], bx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
jne 0x4120e8
push dword [ebp - 0x2a0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x29c]
call esi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004b35e5
mov esp, ebp
pop ebp
ret
Function at 0x414060
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x108
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, 0x4f511d30
push 0x748bd60a
mov ecx, 0x250705d4
call fcn.00401534
pop ecx
lea edx, [esp + 0x14]
push 2
sub edx, eax
pop ebp
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, ebp
test cx, cx
jne 0x414098
lea esi, [esp + 0x14]
xor ebx, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, ebp
cmp ax, bx
jne 0x4140af
sub esi, ecx
mov edx, 0x17374c2e
push 0x2ced872d
mov ecx, 0x7d6154a6
sar esi, 1
call fcn.00401534
lea edx, [esp + 0x18]
lea edx, [edx + esi*2]
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, ebp
test cx, cx
jne 0x4140db
test edi, edi
je 0x4141b6
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4141c6
push 0x80
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, ebp
cmp ax, bx
jne 0x414126
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [esp + 0x18]
push eax
push 1
push ebx
push ebx
push dword [esp + 0x24]
call esi
lea eax, [esp + 0x14]
push 0x5c
push eax
call fcn.004b3fe0
pop ecx
pop ecx
test eax, eax
je 0x4141aa
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [esp + 0x14]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, ebp
cmp ax, bx
jne 0x414170
sub ecx, edx
mov edx, 0x6e225cda
sar ecx, 1
lea eax, [ecx*2 + 2]
mov ecx, 0x47444b8
push eax
lea eax, [esp + 0x18]
push eax
push 1
push ebx
push 0x55f897d0
call fcn.00401534
pop ecx
push eax
push dword [esp + 0x24]
call esi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4141c6
lea eax, [esp + 0x14]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x108
ret
Function at 0x4141df
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
mov edx, 0x29018eab
mov ecx, 0x43579685
push esi
push eax
push 1
xor esi, esi
push esi
push 0x12db45ea
call fcn.00401534
pop ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x41421b
xor eax, eax
jmp 0x4142be
lea eax, [ebp - 4]
mov edx, 0x25e3cd6
push eax
push esi
lea eax, [ebp - 0xc]
mov ecx, 0x6808255a
push eax
push esi
push 0x3984f7d4
call fcn.00401534
pop ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4142b3
cmp dword [ebp - 4], esi
jbe 0x4142b3
push edi
push dword [ebp - 4]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
mov edx, 0x29b75c02
lea eax, [ebp - 4]
mov ecx, 0x43e14562
push eax
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push 0x126d9700
call fcn.00401534
pop ecx
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4142b2
jmp 0x4142a8
push 0x4e8940
push edi
call fcn.004b3e74
pop ecx
pop ecx
test eax, eax
je 0x4142af
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [edi + eax*2]
add edi, 2
cmp word [edi], si
jne 0x41428a
jmp 0x4142b2
xor esi, esi
inc esi
pop edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4142c3
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x424
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
mov ebx, 0x4e8940
mov edx, 0x2d95b7b4
push ebx
push 0x164f7ca3
mov ecx, 0x47c3aef0
xor edi, edi
call fcn.00401534
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
push eax
lea eax, [esp + 0x230]
push eax
call esi
add esp, 0xc
mov edx, 0xf4c4a999
mov ecx, 0x9e92b0af
push ebx
push 0xcf1e62b3
call fcn.00401534
pop ecx
push eax
lea eax, [esp + 0x28]
push eax
call esi
add esp, 0xc
lea eax, [esp + 0x14]
xor ebp, ebp
inc ebp
push eax
push ebp
push edi
lea eax, [esp + 0x2c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4143f4
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x208
push eax
lea eax, [esp + 0x24]
mov edx, 0x719a37b9
push eax
lea eax, [esp + 0x20]
mov ecx, 0x1bcc2d43
push eax
push edi
push 0x4a40fcbc
call fcn.00401534
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop ecx
push eax
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x4143ea
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004b3e74
pop ecx
pop ecx
test eax, eax
jne 0x4143ea
push 4
pop ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x20]
mov edx, 0x79511617
push eax
lea eax, [esp + 0x20]
mov ecx, 0x13070cc7
push eax
push edi
push 0x428bdd1e
call fcn.00401534
pop ecx
push eax
push dword [esp + 0x28]
call esi
test eax, eax
jne 0x4143ea
cmp dword [esp + 0x18], ebx
jne 0x4143ea
cmp dword [esp + 0x1c], 3
cmove edi, ebp
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x430]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x424
ret
Function at 0x41440f
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5107c0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
push edi
mov ebx, 0x4e8940
mov esi, ecx
push ebx
push 0x8c0ed017
mov edx, 0xb7d41b3d
mov ecx, 0xdd82019b
call fcn.00401534
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
pop ecx
push eax
lea eax, [esp + 0x1c]
push eax
call edi
add esp, 0xc
test esi, esi
je 0x41459a
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x41447c
xor eax, eax
jmp 0x4145af
push ebp
push ebx
push 0x2d82008f
mov edx, 0x1658cb98
mov ecx, 0x7c0ed1f2
call fcn.00401534
pop ecx
push eax
lea eax, [esp + 0x20]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [esp + 0x24]
add esp, 0xc
push eax
call esi
xor ebp, ebp
mov edx, 0xce24b3d3
mov ecx, 0xa472a9f7
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0x1c]
push eax
push 2
push ebp
push 0xf5fe78d6
call fcn.00401534
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ecx
push eax
push dword [esp + 0x24]
call edi
push ebx
call esi
mov edx, 0x724500f8
mov ecx, 0x18131aca
lea eax, [eax*2 + 2]
push eax
push ebx
xor ebx, ebx
inc ebx
push ebx
push ebp
push 0x499fcbfb
call fcn.00401534
pop ecx
push eax
push dword [esp + 0x24]
call edi
push 4
pop esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push esi
push ebp
push 0xabfa09b4
mov edx, 0x9020c2b6
mov ecx, 0xfa76d8a2
call fcn.00401534
pop ecx
push eax
push dword [esp + 0x24]
call edi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 3
push eax
push esi
push ebp
push 0x75d249ea
mov edx, 0x4e0882e3
mov ecx, 0x245e990b
call fcn.00401534
pop ecx
push eax
push dword [esp + 0x24]
call edi
mov dword [esp + 0x14], ebx
push esi
lea eax, [esp + 0x18]
mov edx, 0x6723571
push eax
push esi
push ebp
push 0x3da8fe7b
mov ecx, 0x6c242e8f
call fcn.00401534
pop ecx
push eax
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebp
jmp 0x4145af
lea eax, [esp + 0x14]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b35e5
add esp, 0x20c
ret