joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77227efe
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x77227f20
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77227f20
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77227f20
ret
cmp word [ebx + 4], 0x14c
jne 0x77227f20
test word [ebx + 0x16], 2
je 0x77227f20
test word [ebx + 0x16], 0x100
je 0x77227f20
cmp word [ebx + 0x18], 0x10b
jne 0x77227f20
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77227f20
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77227fac
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77227f40
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7720ee8b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77227f20
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x77227fac
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x77227f20
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x77227f20
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x77227f20
ret
cmp word [ebx + 4], 0x14c
jne 0x77227f20
test word [ebx + 0x16], 2
je 0x77227f20
test word [ebx + 0x16], 0x100
je 0x77227f20
cmp word [ebx + 0x18], 0x10b
jne 0x77227f20
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x77227f20
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x77227fac
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x77227f40
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.7720ee8b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x77227f20
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x77228063
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772280bc
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77228063
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77228072
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x7762dd15
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x772280c3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.7720ef39
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77228162
add edi, 4
add eax, 2
dec ecx
jne 0x772280a8
call 0x7722810f
loope 0x77228105
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7722815f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x77228170
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x77228123
cmp eax, ecx
ja 0x77228123
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772281ad
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772281a3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7720f418
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x77228072
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x772280bc
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x77228063
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x77228072
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x7762dd15
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x772280c3
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.7720ef39
cmp eax, dword [ebp + 0xc]
pop eax
je 0x77228162
add edi, 4
add eax, 2
dec ecx
jne 0x772280a8
call 0x7722810f
loope 0x77228105
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7722815f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x77228170
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x77228123
cmp eax, ecx
ja 0x77228123
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x772281ad
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x772281a3
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.7720f418
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401029
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x427f20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x427f24]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
xor ecx, ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], ecx
call fcn.00401022
mov eax, dword [0x427f28]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x427f2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, esi
shl eax, 4
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x2447ef4]
cmp eax, 0xfa9
jne 0x4010a0
mov dword [0x2447ef0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010ad
mov dword [0x244797c], ecx
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, dword [ebp - 0x20]
cmp dword [0x2447ef4], 0x213
mov dword [0x2447eec], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010ee
push ecx
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov eax, dword [ebp - 4]
xor ecx, ecx
sub edi, eax
cmp dword [0x2447ef4], 0xc
jne 0x401110
lea eax, [ebp - 0x2c]
push eax
push ecx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_FindVolumeMountPointClose]
xor ecx, ecx
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov edx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x28]
add edx, edi
xor eax, edx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401074
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret
Function at 0x40114e
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2447ef4]
mov ecx, dword [0x2447980]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x401209
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2447ef4], 0x959
jne 0x4011f8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.zewaxuwawazuwuyuvivi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.00401029
add ebx, 8
dec edi
jne 0x401176
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4014f4
Capabilities:
Get common file path

Disassembly:
sub esp, 0x400
push esi
xor esi, esi
cmp dword [0x2447ef4], 0x400
push edi
jne 0x40156f
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push str.nihunigufemakulidoyudu
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
push esi
call fcn.00401ea6
push esi
push esi
call fcn.00401842
push esi
call fcn.00401e41
push esi
call fcn.00402140
push esi
push esi
call fcn.00401c8c
push esi
call fcn.004021b4
push esi
push esi
call fcn.00401746
push esi
call fcn.00401f53
add esp, 0x30
xor edi, edi
cmp edi, 0x16d2a
jge 0x401584
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidthI]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x4015a8
inc edi
cmp edi, 0x3011b
jl 0x401571
mov eax, dword [0x42a864]
mov dword [0x2447ef4], eax
call fcn.0040120c
mov edi, 0x2ec37
cmp dword [0x2447ef4], 0x51f
jne 0x4015d4
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x4015bc
pop edi
xor eax, eax
pop esi
add esp, 0x400
ret 0x10

Function at 0x40786e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427cfc]
jne 0x407878
repz ret
jmp fcn.00409836
Function at 0x408ac6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427cfc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405c8e
and dword [ebp - 0x14], 0
cmp dword [0x4354bc], 0
mov dword [ebp - 0x18], eax
jne 0x408b79
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408c21
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408c21
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4354bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4354c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4354c4], eax
call edi
push eax
call esi
mov dword [0x4354cc], eax
test eax, eax
je 0x408b79
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4354c8], eax
mov eax, dword [0x4354c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408bd2
cmp dword [0x4354cc], ecx
je 0x408bd2
push eax
call esi
push dword [0x4354cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408bd2
test ebx, ebx
je 0x408bd2
call edi
test eax, eax
je 0x408bc9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408bc9
test byte [ebp - 8], 1
jne 0x408bd2
or dword [ebp + 0x10], 0x200000
jmp 0x408c05
mov eax, dword [0x4354c0]
cmp eax, dword [ebp - 0x18]
je 0x408c05
push eax
call esi
test eax, eax
je 0x408c05
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408c05
mov eax, dword [0x4354c4]
cmp eax, dword [ebp - 0x18]
je 0x408c05
push eax
call esi
test eax, eax
je 0x408c05
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4354bc]
call esi
test eax, eax
je 0x408c21
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408c23
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040786e
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x688b3112
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x3f7e6223
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x77409aa0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x7741c004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 0x44], ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
push ebx
mov dword [ebp - 0x48], ebx
call dword [0x7741d0e0]
call esi
mov edi, eax
mov dword [ebp - 0x3c], edi
test edi, edi
jne 0x77409aef
mov edi, 0x80004005
jmp 0x77409c15
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x34], 0x65746f6e
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x34]
push eax
push ebx
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
jne 0x77409bfd
mov dword [ebp - 0x40], 0x18
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push edi
call dword [0x7741d0e0]
call esi
mov edi, eax
test edi, edi
js 0x77409bfd
cmp dword [ebp - 0x38], 4
jne 0x77409bfd
mov ebx, dword [ebp - 0x44]
mov ebx, dword [ebx + 0xa4]
jmp 0x77409bd9
cmp dword [ebx + 0xc], 1
jne 0x77409bd7
mov byte [ebp - 9], 0
movsx eax, word [ebx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], eax
mov ax, word [ebx + 6]
mov word [ebp - 0x14], ax
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
mov ax, word [ebx + 0x14]
mov word [ebp - 0x12], ax
mov al, byte [ebx + 0x16]
mov byte [ebp - 0x10], al
mov al, byte [ebx + 0x17]
mov byte [ebp - 0xf], al
mov al, byte [ebx + 0x18]
mov byte [ebp - 0xe], al
mov al, byte [ebx + 0x19]
mov byte [ebp - 0xd], al
mov al, byte [ebx + 0x1a]
mov byte [ebp - 0xc], al
mov al, byte [ebx + 0x1b]
mov byte [ebp - 0xb], al
mov al, byte [ebx + 0x20]
mov byte [ebp - 0xa], al
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x38]
push eax
push 0x18
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov edi, eax
test edi, edi
js 0x77409bfd
cmp dword [ebp - 0x38], 0x18
jne 0x77409bfd
mov ebx, dword [ebx]
test ebx, ebx
jne 0x77409b57
mov ecx, dword [ebp - 0x48]
push ebx
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x34]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
je 0x77409c02
mov edi, 0x80004005
mov ecx, dword [ebp - 0x3c]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7741af30
leave
ret 4
Function at 0x77409c2e
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x7741c004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
push esi
push edi
mov dword [ebp - 0x4c], ecx
mov esi, dword [eax + 0x1c]
mov ecx, esi
push ebx
mov dword [ebp - 0x50], ebx
call dword [0x7741d0e0]
call esi
mov edi, eax
mov dword [ebp - 0x48], edi
test edi, edi
jne 0x77409c7d
mov edi, 0x80004005
jmp 0x77409db7
mov eax, dword [ebx]
push 0
mov dword [ebp - 0x3c], 0x65767263
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x3c]
push eax
push ebx
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
jne 0x77409d9f
push 0x20
pop eax
mov word [ebp - 0x40], ax
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x44]
push eax
push 2
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push edi
call dword [0x7741d0e0]
call esi
mov edi, eax
test edi, edi
js 0x77409d9f
cmp dword [ebp - 0x44], 2
jne 0x77409d9f
mov ebx, dword [ebp - 0x4c]
mov ebx, dword [ebx + 0xa4]
jmp 0x77409d7b
cmp dword [ebx + 0xc], 2
jne 0x77409d79
movsx eax, word [ebx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x24], eax
mov ax, word [ebx + 6]
mov word [ebp - 0x18], ax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
mov ax, word [ebx + 0x18]
mov word [ebp - 0x16], ax
mov ax, word [ebx + 0x1a]
mov ecx, dword [ebp - 0x48]
mov word [ebp - 0x14], ax
mov al, byte [ebx + 0x1e]
mov byte [ebp - 0x10], al
mov al, byte [ebx + 0x1f]
mov byte [ebp - 0xf], al
mov al, byte [ebx + 0x20]
mov byte [ebp - 0xe], al
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x1c], eax
mov ax, word [ebx + 0x1c]
mov word [ebp - 0x12], ax
mov al, byte [ebx + 0x21]
mov byte [ebp - 0xd], al
mov ax, word [ebx + 0x22]
mov word [ebp - 0xc], ax
mov ax, word [ebx + 0x24]
mov word [ebp - 0xa], ax
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x44]
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov edi, eax
test edi, edi
js 0x77409d9f
cmp dword [ebp - 0x44], 0x20
jne 0x77409d9f
mov ebx, dword [ebx]
test ebx, ebx
jne 0x77409ce5
mov ecx, dword [ebp - 0x50]
push ebx
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x3c]
push eax
push ecx
mov ecx, esi
call dword [0x7741d0e0]
call esi
test eax, eax
je 0x77409da4
mov edi, 0x80004005
mov ecx, dword [ebp - 0x48]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x7741d0e0]
call esi
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7741af30
leave
ret 4
Function at 0x77412791
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x7741c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, edx
test edi, edi
je 0x774127f4
push ecx
push ecx
push ecx
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.77412522
push 0x77401f58
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.77412490
push edi
mov edx, 0x400
lea ecx, [ebp - 0x404]
call fcn.77412490
lea ecx, [ebp - 0x404]
xor edi, edi
lea eax, [ebp - 0x40c]
push edi
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push ecx
push 0x80000000
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
test eax, eax
jne 0x77412863
mov dword [ebp - 0x408], edi
test esi, esi
je 0x7741283e
lea eax, [ebp - 0x408]
mov edx, 0x7fffffff
push eax
mov ecx, esi
call fcn.774124dc
test eax, eax
mov eax, dword [ebp - 0x408]
jns 0x77412840
mov eax, edi
inc eax
push eax
push esi
push 1
push edi
push ebx
push dword [ebp - 0x40c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
push dword [ebp - 0x40c]
mov esi, eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.7741af30
leave
ret 8

Function at 0x7741287a
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x7741c004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x108]
mov edi, edx
push eax
push 0xf003f
push 0
mov esi, ecx
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x774128f4
jmp 0x774128c2
mov ecx, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
call fcn.7741287a
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegEnumKeyA]
test eax, eax
je 0x774128b1
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.7741af30
leave
ret
Function at 0x7741b0c0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7741b0fe
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7741b0f6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7741b100
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7741b0e6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7741b1e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7741b211
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7741b211
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7741b211
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret