joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410180
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push eax
call fcn.004100b0
mov esi, eax
test esi, esi
je 0x410270
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call edi
push eax
call fcn.0040fca0
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
mov dword [esp + 0x18], eax
call ebp
push esi
call edi
test eax, eax
jne 0x4101c4
mov dword [esp + 0x10], eax
jmp 0x4101d9
cmp dword [eax], 0x28
jne 0x4101ce
mov ebx, dword [eax + 4]
jmp 0x4101d2
movzx ebx, word [eax + 4]
push esi
call ebp
mov dword [esp + 0x10], ebx
push esi
call edi
test eax, eax
jne 0x4101e4
xor ebx, ebx
jmp 0x4101f5
cmp dword [eax], 0x28
jne 0x4101ee
mov ebx, dword [eax + 8]
jmp 0x4101f2
movzx ebx, word [eax + 6]
push esi
call ebp
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov ebp, dword [sym.imp.GDI32.dll_SelectPalette]
mov dword [ecx], edx
mov ecx, dword [esp + 0x14]
push 0
mov dword [eax], ebx
mov edx, dword [edi + 4]
push ecx
push edx
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_RealizePalette]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 0
push 0
push 0
push esi
push ebx
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.00410000
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 4]
push 1
push edx
push eax
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x410270
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
add esp, 0xc
ret

Function at 0x410620
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44abf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00401df0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401920
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4106b2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x410940
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x1c]
push 0x1108
push eax
call ebx
push eax
call fcn.0043aefc
test eax, eax
je 0x410971
lea ecx, [esi + 0x58]
call fcn.0043aebc
push 0x4001
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x44ead4
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x4109ab
push 0x2e
push str.Cannot_retrieve_the_Handle_of_SystemImageList_
lea ecx, [esi + 0x54]
call fcn.00401d50
pop esi
xor eax, eax
pop ebx
add esp, 0x160
ret
push edi
lea edi, [esi + 0x58]
push eax
mov ecx, edi
call fcn.0043af24
test eax, eax
jne 0x4109d6
push 0x24
push str.Cannot_Attach_SystemImageList_Handle
lea ecx, [esi + 0x54]
call fcn.00401d50
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x160
ret
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
test edi, edi
je 0x4109e8
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x1c]
push edi
push 0
push 0x1109
push eax
call ebx
push eax
call fcn.0043aefc
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x160
ret
Function at 0x411250
Capabilities:
Get disk information

Disassembly:
sub esp, 0x80
push ebx
push 0xffff0000
push 0
mov ebx, ecx
mov eax, dword [ebx + 0x1c]
push 0x1101
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 4]
push ecx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
jne 0x41129c
push 0x23
push str.Error_Getting_Logical_DriveStrings_
lea ecx, [ebx + 0x54]
call fcn.00401d50
xor eax, eax
pop ebx
add esp, 0x80
ret
mov al, byte [esp + 4]
test al, al
push esi
lea esi, [esp + 8]
je 0x411303
push edi
lea ebx, [ebx]
push esi
push 0xffff0000
mov ecx, ebx
call fcn.00410b70
push esi
mov ecx, ebx
mov edi, eax
call fcn.00410e10
test eax, eax
je 0x4112e9
push 0xffff0002
push edi
push 0
push 0
push 0
push 0
push 0
push 0x44e6bf
push 0x23
mov ecx, ebx
call fcn.0043ad3f
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4112f0
sub eax, edx
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4112b0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x80
ret
Function at 0x414030
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44b190
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, 0x12
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], 6
mov dword [esi + 0xe4], 0xe
call fcn.004035f0
cmp eax, 0x60
jle 0x41408f
mov dword [esi + 0xdc], 0x16
mov dword [esi + 0xe0], 8
mov dword [esi + 0xe4], edi
push 0x3b
lea eax, [esp + 0xc]
push eax
mov ecx, 0x476420
call fcn.004172f0
push eax
lea ecx, [esi + 0xbc]
mov dword [esp + 0x44], 0
call fcn.0041bcc0
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.0041bb40
push 0x3c
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x476420
call fcn.004172f0
mov edi, eax
push 0x13
lea edx, [esp + 0x24]
push edx
mov ecx, 0x476420
mov dword [esp + 0x48], 1
call fcn.004172f0
push edi
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x4c], 2
call fcn.00413c30
push eax
lea ecx, [esi + 0xc8]
mov byte [esp + 0x44], 3
call fcn.0041bcc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.0041bb40
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.0041bb40
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.0041bb40
mov eax, dword [esp + 0x48]
mov edx, dword [esi]
push eax
push 0x8c
mov ecx, esi
mov byte [esi + 0xd8], 0
call dword [edx + 0x134]
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x415750
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov cl, byte [esi + 0xd9]
xor eax, eax
cmp cl, al
je 0x4157ac
push 0x463124
push eax
push esi
push 0x4052c0
mov byte [esi + 0xd9], al
push eax
push 0x463128
mov byte [0x463146], al
mov dword [0x463128], 0xc
mov dword [0x46312c], eax
mov dword [0x463130], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100
push eax
mov dword [0x463120], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 5
mov ecx, esi
call fcn.0043c778
pop esi
ret

Function at 0x416200
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44b6b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x18]
mov dword [esp + 0x34], 0
call fcn.0041bcc0
push str..TempFile
lea ecx, [esp + 8]
call fcn.0041bcf0
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x3c], 1
call fcn.00415bc0
lea ecx, [esp + 4]
mov byte [esp + 0x30], 3
call fcn.0041bb40
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041bc50
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x24]
mov byte [esp + 0x34], 4
call fcn.0041bcc0
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.0041bb40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.0041bb40
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc

Function at 0x416e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b86b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov esi, ecx
push 0x20
mov dword [esp + 0x24], 0
call fcn.0044073c
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov byte [esp + 0x20], 1
je 0x416e66
mov ecx, eax
call fcn.0041c740
mov edi, eax
jmp 0x416e68
xor edi, edi
sub esp, 0xc
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x30], 0
call fcn.0041bc50
mov ecx, edi
call fcn.0041cd40
mov al, byte [esi + 0x10]
test al, al
jne 0x416eac
sub esp, 0xc
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0041bc50
mov ecx, esi
call fcn.00416200
mov byte [esi + 0x11], 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x14], esp
push eax
mov ecx, edi
call fcn.0041c810
mov ecx, esi
call fcn.00416800
test edi, edi
je 0x416ed0
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
push 0xf
push 4
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x1c], esp
push 0
push eax
call fcn.0040b070
add esp, 8
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.00416ba0
lea edx, [esp + 0xc]
push edx
lea ecx, [esi + 0x30]
mov byte [esp + 0x24], 2
call fcn.0041bcc0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0041bb40
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp + 0x18]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x4173d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov ebp, ecx
mov esi, dword [esp + 0x30]
lea eax, [esp + 8]
push esi
push eax
mov dword [esp + 0x30], 0
call fcn.0040c810
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.0041bb30
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041bec0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.0041bcc0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0041bb40
push esi
mov ecx, ebp
call fcn.00417140
mov esi, eax
cmp esi, 0xffffffff
jne 0x417482
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0041bb40
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], esi
call fcn.0041bb40
pop esi
pop ebp
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
mov eax, dword [ebp + 0x18]
add eax, 8
test esi, esi
jl 0x417544
cmp esi, dword [eax + 8]
jge 0x417544
mov ecx, dword [eax + 4]
push edi
lea edi, [esi + esi*2]
lea edx, [esp + 0xc]
shl edi, 2
add ecx, edi
push edx
call fcn.0041bcc0
push 0x4503bc
lea ecx, [esp + 0x1c]
call fcn.0041bcf0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x10]
add eax, 8
cmp esi, ecx
mov byte [esp + 0x2c], 3
jge 0x41753f
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, edi
push ecx
mov ecx, eax
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.0041bb40
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x10]
add eax, 8
cmp esi, ecx
jge 0x41753f
mov eax, dword [eax + 4]
add eax, edi
lea edx, [esp + 0x38]
push edx
mov ecx, eax
call fcn.0041bf50
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0041bb40
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
call fcn.0043ac4d
call fcn.0043ac4d
int3
Function at 0x4196d0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x44be2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x838]
lea edx, [esp + 0x24]
mov dword [esp + 0x82c], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x419707
lea esi, [esp + 0x24]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x419718
sub esi, ecx
test esi, esi
jle 0x419732
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x419732
dec esi
test esi, esi
jg 0x419727
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xc]
inc esi
call fcn.0041bc50
push 1
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x24], esp
lea ecx, [esi - 1]
push ecx
push 1
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x848], 1
call fcn.0041bec0
mov ecx, edi
call fcn.00419460
lea ecx, [esp + 8]
call fcn.0041bb30
sub eax, esi
push eax
inc esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.0041bec0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.0041bcc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.0041bb40
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 8]
mov byte [esp + 0x82c], 0
call fcn.0041bb40
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc

Function at 0x419800
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x44be2e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x81c
push esi
push edi
mov edi, ecx
mov eax, dword [esp + 0x838]
lea edx, [esp + 0x24]
mov dword [esp + 0x82c], 0
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x419837
lea esi, [esp + 0x24]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x419848
sub esi, ecx
test esi, esi
jle 0x419862
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x419862
dec esi
test esi, esi
jg 0x419857
lea eax, [esp + 0x834]
push eax
lea ecx, [esp + 0xc]
inc esi
call fcn.0041bc50
push 1
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x24], esp
lea ecx, [esi - 1]
push ecx
push 1
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x848], 1
call fcn.0041bec0
mov ecx, edi
call fcn.00419460
lea ecx, [esp + 8]
call fcn.0041bb30
sub eax, esi
push eax
inc esi
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.0041bec0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.0041bcc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.0041bb40
mov ecx, dword [esp + 0xc]
mov edx, dword [edi + 8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 8]
mov byte [esp + 0x82c], 0
call fcn.0041bb40
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc
Function at 0x419930
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44be67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa34
push ebx
push esi
xor ebx, ebx
push edi
mov dword [esp + 0xc], ebx
mov eax, dword [ecx + 8]
cmp eax, ebx
mov edi, 1
mov dword [esp + 0xa48], edi
jne 0x41997c
mov esi, dword [esp + 0xa50]
push 0x44e6bf
mov ecx, esi
call fcn.0041bcf0
jmp 0x4199c6
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0xa60]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x28], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
mov esi, dword [esp + 0xa50]
mov ecx, esi
jne 0x4199bc
lea eax, [esp + 0x18]
push eax
call fcn.0041bcf0
jmp 0x4199c6
push 0x44e6bf
call fcn.0041bcf0
lea ecx, [esp + 0xa54]
mov dword [esp + 0xc], edi
mov byte [esp + 0xa48], bl
call fcn.0041bb40
mov ecx, dword [esp + 0xa40]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa40
ret 0x10

Function at 0x419a00
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44be90
push eax
mov dword fs:[0], esp
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 0x14], 1
je 0x419a83
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.0041bb30
push eax
mov eax, dword [ebp + 8]
push esi
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x419a83
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], al
call fcn.0041bb40
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041bb40
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.0041bb40
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret 0x18

Function at 0x419ac0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44bea8
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 8]
test eax, eax
je 0x419b1a
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x419b1a
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.0041bb40
mov al, 1
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.0041bb40
mov ecx, dword [esp]
xor al, al
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
Function at 0x41ddb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c79e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x450f18
mov dword [esi + 4], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], ebp
call fcn.0041bd80
push 0x20
mov byte [esp + 0x34], 1
call fcn.0044073c
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x30], 2
je 0x41de17
mov ecx, eax
call fcn.0041c740
jmp 0x41de19
xor eax, eax
mov ecx, eax
mov byte [esp + 0x30], 1
mov dword [esi + 0x14], eax
call fcn.0041cab0
cmp dword [esi + 4], ebp
je 0x41de64
mov eax, dword [esi + 8]
xor edi, edi
cmp eax, ebp
jle 0x41de55
xor ebx, ebx
jmp 0x41de40
mov ecx, dword [esi + 4]
add ecx, ebx
call fcn.0041fdc0
mov eax, dword [esi + 8]
inc edi
add ebx, 0x10
cmp edi, eax
jl 0x41de40
mov eax, dword [esi + 4]
push eax
call fcn.0044076c
add esp, 4
mov dword [esi + 4], ebp
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esi + 0xc], ebp
mov dword [esi + 8], ebp
call fcn.0041eb00
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 0x1c]
mov byte [esp + 0x34], 6
call fcn.0041bcc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0041bb40
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 8]
cmp eax, ebp
jle 0x41df0b
xor ebx, ebx
lea esp, [esp]
test ebx, ebx
jl 0x41df22
cmp ebp, eax
jge 0x41df22
mov eax, dword [edi + 4]
add eax, ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00422070
mov edx, dword [esi + 8]
sub esp, 0x10
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x44], 7
mov dword [esp + 0x4c], edx
call fcn.00422070
mov ecx, dword [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0041d550
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.0041fdc0
mov eax, dword [edi + 8]
inc ebp
add ebx, 0x10
cmp ebp, eax
jl 0x41deb0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 4
call fcn.0043ac4d
int3

Function at 0x41f2b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ca68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 8]
sub esp, 0x28
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov dword [esp + 0x40], 0
call fcn.0041ddb0
push edi
mov ecx, esi
call fcn.0041efd0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0041d770
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x28
Function at 0x421ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cf49
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
lea eax, [esp + 0x40]
mov ebx, 1
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], ebx
call fcn.0041bc50
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4512b8
mov byte [esp + 0x48], 2
call fcn.0041bcf0
lea ecx, [esp + 0x24]
call fcn.0041bbd0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4512bc
mov edi, eax
call fcn.0041bcf0
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 3
call fcn.0041bb30
dec eax
push eax
push 2
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x30]
call fcn.0041bec0
mov ecx, eax
mov byte [esp + 0x44], 5
call fcn.0041bbd0
lea ecx, [esp + 0x20]
mov esi, eax
mov byte [esp + 0x34], 2
call fcn.0041bb40
inc esi
cmp edi, ebx
jl 0x421f8f
cmp esi, ebx
jl 0x421f8f
sub esi, edi
dec esi
push esi
mov esi, dword [esp + 0x40]
inc edi
push edi
push esi
lea ecx, [esp + 0x20]
call fcn.0041bec0
jmp 0x421f9f
mov esi, dword [esp + 0x3c]
push 0x44e6bf
mov ecx, esi
call fcn.0041bcf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], bl
mov dword [esp + 0xc], ebx
call fcn.0041bb40
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call fcn.0041bb40
mov ecx, dword [esp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret
Function at 0x4220f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44cff1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push 0x4512bc
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.0041bcf0
mov eax, dword [esi]
push eax
lea eax, [esp + 0x1c]
mov ebx, 1
push eax
mov dword [esp + 0x34], ebx
call fcn.0041fdd0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 2
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041bb40
push 0x4512b8
lea ecx, [esp + 0x1c]
call fcn.0041bcf0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041bb40
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00422050
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 4
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041bb40
push 0x4512c0
lea ecx, [esp + 0x1c]
call fcn.0041bcf0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 5
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041bb40
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0041fdd0
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 6
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041bb40
push 0x4512b8
lea ecx, [esp + 0x1c]
call fcn.0041bcf0
lea edx, [esp + 0x18]
mov byte [esp + 0x2c], 7
push edx
lea ecx, [esp + 0x10]
call fcn.0041bf50
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0041bb40
mov esi, dword [esp + 0x34]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.0041bc50
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x2c], 0
call fcn.0041bb40
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4