joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46238b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x20
call fcn.0042a466
add esp, 4
mov dword [esp + 0x10], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x28], edi
je 0x40baaf
mov ecx, eax
call fcn.00422de0
mov esi, eax
jmp 0x40bab1
xor esi, esi
push esi
push 9
push 1
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
push 0x16
push eax
mov dword [esp + 0x48], 0xffffffff
call fcn.0040d2b0
add esp, 8
mov ecx, 0x493500
call fcn.0041a5d0
xor ebx, ebx
cmp dword [esi + 0x1c], edi
jle 0x40bb36
mov ebp, dword [sym.imp.KERNEL32.dll_WinExec]
lea esp, [esp]
test edi, edi
push 5
jl 0x40bb53
cmp ebx, dword [esi + 0x10]
jge 0x40bb53
mov eax, dword [esi + 0xc]
sub esp, 0xc
add eax, edi
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.004224b0
lea ecx, [esp + 0x24]
push ecx
call fcn.004042f0
mov edx, dword [eax + 4]
add esp, 0x10
push edx
call ebp
lea ecx, [esp + 0x14]
call fcn.004222c0
add ebx, 1
add edi, 0xc
cmp ebx, dword [esi + 0x1c]
jl 0x40baf0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
jmp fcn.0042bad0
Function at 0x4125e0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
push esi
push eax
call fcn.00412520
mov esi, eax
test esi, esi
je 0x4126d0
push ebx
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
call edi
push eax
call fcn.00412100
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 0x412624
mov dword [esp + 0x10], eax
jmp 0x412639
cmp dword [eax], 0x28
jne 0x41262e
mov ebx, dword [eax + 4]
jmp 0x412632
movzx ebx, word [eax + 4]
push esi
call ebp
mov dword [esp + 0x10], ebx
push esi
call edi
test eax, eax
jne 0x412644
xor ebx, ebx
jmp 0x412655
cmp dword [eax], 0x28
jne 0x41264e
mov ebx, dword [eax + 8]
jmp 0x412652
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.00412480
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 0x4126d0
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
add esp, 0xc
ret

Function at 0x412c80
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 + 0x20]
push 0x1108
push eax
call ebx
push eax
call fcn.00436cf7
test eax, eax
je 0x412cb1
lea ecx, [esi + 0x5c]
call fcn.00436cb8
push 0x4001
push 0x160
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x469dc0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x412ceb
push 0x2e
push str.Cannot_retrieve_the_Handle_of_SystemImageList_
lea ecx, [esi + 0x58]
call fcn.004026b0
pop esi
xor eax, eax
pop ebx
add esp, 0x160
ret
push edi
lea edi, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.00436d1f
test eax, eax
jne 0x412d16
push 0x24
push str.Cannot_Attach_SystemImageList_Handle
lea ecx, [esi + 0x58]
call fcn.004026b0
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 0x412d28
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x20]
push edi
push 0
push 0x1109
push eax
call ebx
push eax
call fcn.00436cf7
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x160
ret
Function at 0x413590
Capabilities:
Get disk information

Disassembly:
sub esp, 0x80
push ebx
push 0xffff0000
push 0
mov ebx, ecx
mov eax, dword [ebx + 0x20]
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 0x4135dc
push 0x23
push str.Error_Getting_Logical_DriveStrings_
lea ecx, [ebx + 0x58]
call fcn.004026b0
xor eax, eax
pop ebx
add esp, 0x80
ret
cmp byte [esp + 4], 0
push esi
lea esi, [esp + 8]
je 0x413646
push edi
lea esp, [esp]
push esi
push 0xffff0000
mov ecx, ebx
call fcn.00412ed0
push esi
mov ecx, ebx
mov edi, eax
call fcn.00413170
test eax, eax
je 0x413629
push 0xffff0002
push edi
push 0
push 0
push 0
push 0
push 0
push 0x469780
push 0x23
mov ecx, ebx
call fcn.00436a19
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x413630
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x4135f0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x80
ret

Function at 0x4146d0
Capabilities:
Get file size

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x804]
test eax, eax
mov dword [esi + 0x818], 0
mov dword [esi + 0x81c], 0
jne 0x4146f7
xor edx, edx
pop esi
pop ecx
ret
push edi
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41471d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41471d
pop edi
xor eax, eax
xor edx, edx
pop esi
pop ecx
ret
mov edx, dword [esp + 8]
push 1
push 0
push 0
push edx
call fcn.004486e0
xor ecx, ecx
add eax, edi
adc edx, ecx
pop edi
mov dword [esi + 0x818], eax
mov dword [esi + 0x81c], edx
pop esi
pop ecx
ret

Function at 0x4147f0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 0xc]
mov dword [edx], 0
mov eax, dword [ecx + 0x804]
test eax, eax
jne 0x414809
xor al, al
ret 0xc
mov ecx, dword [esp + 8]
push 0
push edx
mov edx, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
ret 0xc

Function at 0x414830
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 0x804]
test eax, eax
jne 0x41483f
xor al, al
ret 0xc
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
ret 0xc
Function at 0x415600
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, ecx
mov eax, dword [esi + 0xb388]
mov dword [ebp], eax
mov ecx, dword [esi + 0xb38c]
mov dword [ebp + 4], ecx
mov eax, dword [esi + 0xb388]
mov ecx, dword [esi + 0xb184]
mov edx, dword [esi + 0xb180]
push edi
mov edi, dword [esp + 0x28]
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xb38c]
adc eax, ebx
cmp eax, ecx
mov dword [esp + 0x10], edx
jl 0x415687
mov eax, edx
jg 0x415659
cmp dword [esp + 0x18], eax
jbe 0x415687
sub eax, dword [esi + 0xb388]
sbb ecx, dword [esi + 0xb38c]
mov edi, eax
mov ebx, ecx
or eax, ebx
jne 0x415687
pop edi
pop esi
mov dword [ebp], 0
mov dword [ebp + 4], 0
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
mov edx, dword [esi + 0xb390]
mov eax, dword [esi + 0xb394]
mov ecx, dword [0x48807c]
mov dword [esp + 0x28], edx
add edx, edi
mov dword [esp + 0x2c], eax
adc eax, ebx
cmp eax, ecx
jl 0x4157bc
mov eax, dword [0x488078]
jg 0x4156bc
cmp edx, eax
jbe 0x4157bc
sub eax, dword [esp + 0x28]
sbb ecx, dword [esp + 0x2c]
mov dword [esi + 0xb178], eax
test ecx, ecx
mov dword [esi + 0xb17c], ecx
jl 0x415720
jg 0x4156da
test eax, eax
jbe 0x415720
mov edx, dword [esp + 0x24]
push 0
lea ebp, [esi + 0xb170]
push ebp
mov ecx, eax
mov eax, dword [esi + 0x1160]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp]
add dword [esi + 0xb388], ecx
mov edx, dword [esi + 0xb178]
mov eax, dword [esi + 0xb17c]
adc dword [esi + 0xb38c], 0
add dword [esi + 0xb390], edx
adc dword [esi + 0xb394], eax
mov ecx, esi
call fcn.00415310
test al, al
jne 0x41573c
pop edi
pop esi
pop ebp
mov byte [0x488027], 1
pop ebx
add esp, 0x10
ret 0x10
mov eax, edi
sub eax, dword [esi + 0xb178]
mov ecx, ebx
sbb ecx, dword [esi + 0xb17c]
mov dword [esp + 0x2c], ecx
js 0x41580f
jg 0x415760
test eax, eax
jbe 0x41580f
mov eax, dword [esi + 0xb178]
mov ecx, dword [esp + 0x24]
push 0
lea ebp, [esi + 0xb170]
push ebp
mov edx, edi
sub edx, eax
push edx
mov edx, dword [esi + 0x1160]
add eax, ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp]
add dword [esi + 0xb388], eax
mov al, 1
adc dword [esi + 0xb38c], 0
sub edi, dword [esi + 0xb178]
sbb ebx, dword [esi + 0xb17c]
add dword [esi + 0xb390], edi
pop edi
adc dword [esi + 0xb394], ebx
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x1160]
push 0
lea eax, [esi + 0xb170]
push eax
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esi + 0xb170]
add dword [esi + 0xb388], eax
mov ecx, dword [esi + 0xb388]
adc dword [esi + 0xb38c], 0
add dword [esi + 0xb390], edi
mov edx, dword [esi + 0xb38c]
adc dword [esi + 0xb394], ebx
sub ecx, dword [ebp]
sbb edx, dword [ebp + 4]
mov dword [ebp], ecx
mov dword [ebp + 4], edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x417350
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46376b
push eax
mov dword fs:[0], esp
sub esp, 0x30
push esi
mov esi, ecx
push edi
mov edi, 0x12
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], 6
mov dword [esi + 0xe8], 0xe
call fcn.00403980
cmp eax, 0x60
jle 0x4173af
mov dword [esi + 0xe0], 0x16
mov dword [esi + 0xe4], 8
mov dword [esi + 0xe8], edi
push 0x3b
lea eax, [esp + 0xc]
push eax
mov ecx, 0x4935e4
call fcn.0041bf60
push eax
lea ecx, [esi + 0xc0]
mov dword [esp + 0x44], 0
call fcn.00422540
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0xffffffff
call fcn.004222c0
push 0x3c
lea ecx, [esp + 0x30]
push ecx
mov ecx, 0x4935e4
call fcn.0041bf60
mov edi, eax
push 0x13
lea edx, [esp + 0x24]
push edx
mov ecx, 0x4935e4
mov dword [esp + 0x48], 1
call fcn.0041bf60
push edi
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x4c], 2
call fcn.00416db0
push eax
lea ecx, [esi + 0xcc]
mov byte [esp + 0x44], 3
call fcn.00422540
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.004222c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.004222c0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x48]
push ecx
push 0x8c
mov ecx, esi
mov byte [esi + 0xdc], 0
call fcn.0042ae47
mov ecx, dword [esp + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x418fe0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
xor eax, eax
cmp byte [esi + 0xdd], al
je 0x41903a
push 0x488004
push eax
push esi
push 0x405630
mov byte [esi + 0xdd], al
push eax
push 0x488008
mov byte [0x488026], al
mov dword [0x488008], 0xc
mov dword [0x48800c], eax
mov dword [0x488010], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x100
push eax
mov dword [0x488000], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push 5
mov ecx, esi
call fcn.0042b0f8
pop esi
ret

Function at 0x4196d0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x463c19
push eax
mov dword fs:[0], esp
lea eax, [esp + 0x10]
push eax
add ecx, 0x30
mov dword [esp + 0xc], 0
call fcn.00422540
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp]
mov dword fs:[0], ecx
add esp, 0xc
ret 0xc

Function at 0x4199d0
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x463c6b
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.00422540
push str..TempFile
lea ecx, [esp + 8]
call fcn.00422570
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.00419520
lea ecx, [esp + 4]
mov byte [esp + 0x30], 3
call fcn.004222c0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004224b0
lea edx, [esp + 0x10]
push edx
lea ecx, [esi + 0x24]
mov byte [esp + 0x34], 4
call fcn.00422540
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 3
call fcn.004222c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0
call fcn.004222c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x41c320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464108
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.0040ec80
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.004222b0
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00422860
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call fcn.00422540
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004222c0
push esi
mov ecx, ebp
call fcn.0041bdb0
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c3d2
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.004222c0
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], esi
call fcn.004222c0
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 0x41c491
cmp esi, dword [eax + 8]
jge 0x41c491
mov ecx, dword [eax + 4]
push edi
lea edi, [esi + esi*2]
add edi, edi
lea edx, [esp + 0xc]
add edi, edi
add ecx, edi
push edx
call fcn.00422540
push 0x46bf00
lea ecx, [esp + 0x1c]
call fcn.00422570
mov eax, dword [ebp + 0x18]
add eax, 8
cmp esi, dword [eax + 8]
mov byte [esp + 0x2c], 3
jge 0x41c48c
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
add eax, edi
push ecx
mov ecx, eax
call fcn.00422940
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call fcn.004222c0
mov eax, dword [ebp + 0x18]
add eax, 8
cmp esi, dword [eax + 8]
jge 0x41c48c
mov eax, dword [eax + 4]
add eax, edi
lea edx, [esp + 0x38]
push edx
mov ecx, eax
call fcn.00422940
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.004222c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10
call fcn.0042bad0
call fcn.0042bad0
int3
Function at 0x41f3f0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x464624
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]
push eax
lea ecx, [esp + 0x28]
push 0x800
push ecx
mov dword [esp + 0x838], 0
call fcn.0044715f
lea esi, [esp + 0x30]
add esp, 0xc
lea ecx, [esi + 1]
jmp 0x41f440
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41f440
sub esi, ecx
test esi, esi
jle 0x41f45e
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x41f45e
sub esi, 1
test esi, esi
jg 0x41f451
lea edx, [esp + 0x834]
push edx
lea ecx, [esp + 0xc]
add esi, 1
call fcn.004224b0
push 1
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
lea eax, [esi - 1]
push eax
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x848], 1
call fcn.00422860
mov ecx, edi
call fcn.0041f170
lea ecx, [esp + 8]
call fcn.004222b0
sub eax, esi
push eax
add esi, 1
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.00422860
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.00422540
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.004222c0
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [esp + 8]
mov byte [esp + 0x82c], 0
call fcn.004222c0
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc

Function at 0x41f530
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x46464c
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]
push eax
lea ecx, [esp + 0x28]
push 0x800
push ecx
mov dword [esp + 0x838], 0
call fcn.0044715f
lea esi, [esp + 0x30]
add esp, 0xc
lea ecx, [esi + 1]
jmp 0x41f580
mov al, byte [esi]
add esi, 1
test al, al
jne 0x41f580
sub esi, ecx
test esi, esi
jle 0x41f59e
mov al, 0x5c
cmp byte [esp + esi + 0x24], al
je 0x41f59e
sub esi, 1
test esi, esi
jg 0x41f591
lea edx, [esp + 0x834]
push edx
lea ecx, [esp + 0xc]
add esi, 1
call fcn.004224b0
push 1
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
lea eax, [esi - 1]
push eax
push 1
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x848], 1
call fcn.00422860
mov ecx, edi
call fcn.0041f170
lea ecx, [esp + 8]
call fcn.004222b0
sub eax, esi
push eax
add esi, 1
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
call fcn.00422860
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x830], 2
call fcn.00422540
lea ecx, [esp + 0x18]
mov byte [esp + 0x82c], 1
call fcn.004222c0
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea ecx, [esp + 8]
mov byte [esp + 0x82c], 0
call fcn.004222c0
lea ecx, [esp + 0x834]
mov dword [esp + 0x82c], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x824]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x828
ret 0xc
Function at 0x41f670
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x46467d
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 0x41f6bc
mov esi, dword [esp + 0xa50]
push 0x469780
mov ecx, esi
call fcn.00422570
jmp 0x41f710
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], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
mov esi, dword [esp + 0xa50]
jne 0x41f704
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov byte [esp + eax + 0x1c], bl
call fcn.00422620
jmp 0x41f710
push 0x469780
mov ecx, esi
call fcn.00422570
lea ecx, [esp + 0xa54]
mov dword [esp + 0xc], edi
mov byte [esp + 0xa48], bl
call fcn.004222c0
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 0x41f7f0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4646b4
push eax
mov eax, 0x200c
mov dword fs:[0], esp
call fcn.00447d00
push ebx
push esi
mov esi, ecx
lea eax, [esp + 8]
mov ebx, 1
push eax
lea ecx, [esp + 0x2034]
mov dword [esp + 0x2020], ebx
call fcn.004227d0
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push 0x1000
push edx
call fcn.0044715f
add esp, 0xc
lea eax, [esp + 0x1014]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0041efb0
mov esi, dword [esi + 8]
test esi, esi
je 0x41f8c1
push eax
mov eax, dword [esp + 0x202c]
lea edx, [esp + 0x1018]
push edx
push 3
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41f8c1
lea ecx, [esp + 8]
mov byte [esp + 0x201c], bl
call fcn.004222c0
lea ecx, [esp + 0x2024]
mov byte [esp + 0x201c], 0
call fcn.004222c0
lea ecx, [esp + 0x2030]
mov dword [esp + 0x201c], 0xffffffff
call fcn.004222c0
mov al, bl
jmp 0x41f8fe
lea ecx, [esp + 8]
mov byte [esp + 0x201c], bl
call fcn.004222c0
lea ecx, [esp + 0x2024]
mov byte [esp + 0x201c], 0
call fcn.004222c0
lea ecx, [esp + 0x2030]
mov dword [esp + 0x201c], 0xffffffff
call fcn.004222c0
xor al, al
mov ecx, dword [esp + 0x2014]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2018
ret 0x18
Function at 0x41f920
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4646ce
push eax
mov dword fs:[0], esp
push ebp
push esi
push edi
mov ebp, ecx
cmp dword [ebp + 8], 0
mov dword [esp + 0x14], 1
je 0x41f9a2
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.004222b0
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 0x41f9a2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], al
call fcn.004222c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.004222c0
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.004222c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.004222c0
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 0x41f9e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4646e0
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 8]
test eax, eax
je 0x41fa3a
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 0x41fa3a
lea ecx, [esp + 0x10]
mov dword [esp + 8], 0xffffffff
call fcn.004222c0
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.004222c0
mov ecx, dword [esp]
xor al, al
mov dword fs:[0], ecx
add esp, 0xc
ret 0x10
Function at 0x423420
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x464d59
mov eax, dword fs:[0]
push eax
mov eax, 0xa02c
mov dword fs:[0], esp
call fcn.00447d00
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor ebx, ebx
push 0x469780
lea ecx, [esp + 0x18]
mov dword [esp + 0xa048], ebx
call fcn.00422570
mov eax, dword [esp + 0xa050]
push 0x469cb4
push eax
lea ecx, [esp + 0x18]
push ecx
mov byte [esp + 0xa050], 1
call fcn.00447ca9
add esp, 0xc
test eax, eax
jne 0x4235a7
mov edx, dword [esp + 0x10]
push 2
push ebx
push edx
call fcn.0044a0a1
mov eax, dword [esp + 0x1c]
push eax
call fcn.00449fac
add esp, 0x10
cmp eax, ebx
jne 0x4234b6
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00447978
add esp, 4
jmp 0x4235a7
cdq
mov ecx, 0xa000
idiv ecx
mov edi, edx
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call fcn.00449d4f
add esp, 4
cmp esi, ebx
jle 0x42352d
mov eax, dword [esp + 0x10]
push eax
push 1
lea ecx, [esp + 0x38]
push 0xa000
push ecx
call fcn.00449d34
add esp, 0x10
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0xa034], bl
call fcn.00422620
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa048], 2
call fcn.00422940
lea ecx, [esp + 0x20]
mov byte [esp + 0xa044], 1
call fcn.004222c0
sub esi, 1
jne 0x4234d3
mov ecx, dword [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0x38]
push edi
push edx
call fcn.00449d34
add esp, 0x10
cmp edi, ebx
mov byte [esp + edi + 0x30], bl
je 0x42357f
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.00422620
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0xa048], 3
call fcn.00422940
lea ecx, [esp + 0x20]
mov byte [esp + 0xa044], 1
call fcn.004222c0
mov edx, dword [esp + 0x10]
push edx
call fcn.00447978
add esp, 4
push ebx
sub esp, 0xc
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.004224b0
mov ecx, ebp
call fcn.00423280
lea ecx, [esp + 0x14]
mov byte [esp + 0xa044], bl
call fcn.004222c0
lea ecx, [esp + 0xa04c]
mov dword [esp + 0xa044], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0xa03c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa038
ret 0xc