joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498ad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x61000]
push edi
jmp 0x498aea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x498af1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498ae0
mov eax, 1
add ebx, ebx
jne 0x498b03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x498b14
jne 0x498b33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498b33
dec eax
add ebx, ebx
jne 0x498b20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x498af8
add ebx, ebx
jne 0x498b2f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x498b85
xor ecx, ecx
sub eax, 3
jb 0x498b4b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x498bba
sar eax, 1
mov ebp, eax
jmp 0x498b56
add ebx, ebx
jne 0x498b56
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498b24
inc ecx
add ebx, ebx
jne 0x498b64
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x498b24
add ebx, ebx
jne 0x498b71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x498b66
jne 0x498b82
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x498b66
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x498ba4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x498b96
jmp 0x498ae6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x498ba4
add edi, ecx
jmp 0x498ae6
pop esi
mov edi, esi
mov ecx, 0x318d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x498bc2
cmp byte [edi], 0x1b
jne 0x498bc2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x498bc7
lea edi, [esi + 0x95000]
mov eax, dword [edi]
or eax, eax
je 0x498c3f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9bf50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9c068]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x498bf4
mov ecx, edi
jns 0x498c23
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x9c06c]
or eax, eax
je 0x498c39
mov dword [ebx], eax
add ebx, 4
jmp 0x498c11
call dword [esi + 0x9c07c]
mov ebp, dword [esi + 0x9c070]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x498c73
sub esp, 0xffffff80
jmp 0x453e3d
Function at 0x40bdf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov dword [ebp - 0xc], ecx
push esi
mov edx, str.H_8
lea ecx, [ebp - 4]
sub ebx, ebx
call fcn.0040ad40
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], ebx
je 0x40beae
xor esi, esi
push edi
lea esp, [esp]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 8]
push edx
push 0
sub ecx, ecx
push 2
test esi, esi
push 0
setne cl
push 0
push 0
push eax
mov dword [ebp - 8], 0
add ecx, 0x80000001
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40bea0
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
test edx, edx
jne 0x40be61
lea eax, [edx + 0xd]
jmp 0x40be8e
push edx
pop eax
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40be66
sub eax, ebx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push 0x441070
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ebx, ebx
test eax, eax
sete bl
test edi, edi
je 0x40bea0
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
inc esi
cmp esi, 2
jl 0x40be20
pop edi
lea esi, [eax - 0x10]
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bec8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + reloc.wtsapi32.dll_WTSVirtualChannelOpen]
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435ede
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
sub esi, esi
push 1
push esi
push esi
push edi
mov ebx, esi
mov dword [ebp - 8], esi
call fcn.0042d98f
push edx
pop ecx
mov dword [ebp - 0x18], eax
and eax, ecx
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp eax, 0xffffffff
je 0x435f66
push 2
push esi
push esi
push edi
call fcn.0042d98f
push eax
pop ecx
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x435f66
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub esi, ecx
sbb eax, edx
mov dword [ebp - 4], eax
js 0x435ffd
jg 0x435f40
or esi, esi
je 0x435ffd
push 0x1000
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x435f72
call fcn.00423be0
mov dword [eax], 0xc
call fcn.00423be0
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push edi
call fcn.004360bc
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
pop ecx
or eax, eax
jl 0x435f9a
jg 0x435f93
cmp esi, 0x1000
jb 0x435f9a
mov eax, 0x1000
jmp 0x435f9c
mov eax, esi
push eax
push dword [ebp - 0xc]
push edi
call fcn.0042add4
add esp, 0xc
cmp eax, 0xffffffff
je 0x435fc3
cdq
sub esi, eax
mov eax, dword [ebp - 4]
sbb eax, edx
mov dword [ebp - 4], eax
js 0x435fde
jg 0x435f85
test esi, esi
je 0x435fde
jmp 0x435f85
call fcn.00423bac
cmp dword [eax], 5
jne 0x435fd8
call fcn.00423be0
mov dword [eax], 0xd
or ebx, 0xffffffff
or dword [ebp - 8], ebx
push dword [ebp - 0x10]
push edi
call fcn.004360bc
pop ecx
pop ecx
push dword [ebp - 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x436063
or eax, eax
jg 0x43606f
jl 0x436007
test esi, esi
jae 0x43606f
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0042d98f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x435f66
push edi
call fcn.004330fe
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov ebx, eax
mov eax, edx
push ebx
pop ecx
and ecx, eax
mov dword [ebp - 8], eax
cmp ecx, 0xffffffff
jne 0x43606f
call fcn.00423be0
mov dword [eax], 0xd
call fcn.00423bac
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
and ebx, dword [ebp - 8]
cmp ebx, 0xffffffff
je 0x435f66
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call fcn.0042d98f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x435f66
sub eax, eax
jmp 0x435f6d

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45f090]
jne 0x401abf
repz ret
jmp fcn.00402878

Function at 0x40aa9e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407675
and dword [ebp - 4], 0
cmp dword [0x4651f8], 0
mov ebx, eax
jne 0x40ab4f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40ac00
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40ac00
push eax
call fcn.00407603
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4651f8], eax
call esi
push eax
call fcn.00407603
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4651fc], eax
call esi
push eax
call fcn.00407603
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x465200], eax
call esi
push eax
call fcn.00407603
pop ecx
mov dword [0x465208], eax
test eax, eax
je 0x40ab4f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00407603
pop ecx
mov dword [0x465204], eax
mov eax, dword [0x465204]
cmp eax, ebx
je 0x40aba7
cmp dword [0x465208], ebx
je 0x40aba7
push eax
call fcn.0040767e
push dword [0x465208]
mov esi, eax
call fcn.0040767e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40aba7
test edi, edi
je 0x40aba7
call esi
test eax, eax
je 0x40ab9e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab9e
test byte [ebp - 0xc], 1
jne 0x40aba7
or dword [ebp + 0x10], 0x200000
jmp 0x40abe0
mov eax, dword [0x4651fc]
cmp eax, ebx
je 0x40abe0
push eax
call fcn.0040767e
pop ecx
test eax, eax
je 0x40abe0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40abe0
mov eax, dword [0x465200]
cmp eax, ebx
je 0x40abe0
push eax
call fcn.0040767e
pop ecx
test eax, eax
je 0x40abe0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4651f8]
call fcn.0040767e
pop ecx
test eax, eax
je 0x40ac00
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40ac02
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d79b
Capabilities:
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x1bdb82c], 0x930
jne 0x40d7c2
push str.ridivizujohomalelerijuva_nazogipedijifavave
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
cmp dword [0x1bdb82c], 0x114e
mov eax, dword [ebp + 8]
mov dword [0x1bdb548], eax
jne 0x40d7fa
push str.pasesibuhapijibitemamobumofaceco_bamenolunalazoxeduceh_zijetezudihedavacagobowavawe
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
lea eax, [ebp - 0x1c]
push eax
push str.gijuluzibuxomavifakulaxofaxutirerijasocazitixewecetanazisofosufexejacikicoyaxahowuburokujasulununucexikowuvulanavi
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
leave
ret
Function at 0x405f50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491611
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x62d3c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
call fcn.00405b70
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405b70
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00405b70
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00405b70
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00405b70
mov byte [ebp - 4], 9
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004077b0
lea ecx, [ebp + 0x20]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.004077b0
lea edx, [ebp + 0x38]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004077b0
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 0x50]
mov byte [eax + 0x48], cl
lea edx, [ebp + 0x54]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004077b0
mov eax, dword [ebp - 0x10]
mov cl, byte [ebp + 0x6c]
mov byte [eax + 0x49], cl
lea edx, [ebp + 0x70]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.004077b0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x88]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x4a], 0
mov byte [ebp - 4], 3
lea ecx, [ebp + 8]
call fcn.004070e0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x20]
call fcn.004070e0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x38]
call fcn.004070e0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x54]
call fcn.004070e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x70]
call fcn.004070e0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x84
Function at 0x409190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x62d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x4091b7
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x4091be
mov al, 1
jmp 0x4092a9
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x40], edx
call fcn.0040c8d0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
call fcn.0040c8d0
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
call fcn.0040c900
add esp, 8
movzx eax, al
test eax, eax
je 0x409204
xor al, al
jmp 0x4092a9
mov dword [ebp - 0x54], 0x20
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x4c], edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00410190
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x409246
cmp dword [ebp - 0x30], 1
je 0x40924d
cmp dword [ebp - 0x30], 3
je 0x40929c
jmp 0x4092a7
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x40927c
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 1
lea ecx, [ebp - 0x28]
push ecx
call fcn.00472bd9
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x40927c
xor al, al
jmp 0x4092a9
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x3d]
test eax, eax
jne 0x409290
mov dword [ebp - 0x38], 1
jmp 0x409297
mov dword [ebp - 0x38], 0
mov al, byte [ebp - 0x38]
jmp 0x4092a9
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + 0x3d], 0
mov al, 1
jmp 0x4092a9
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret
Function at 0x40b780
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x62d3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d4], 0
lea ecx, [ebp - 0x2e8]
call fcn.00405dc0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2ec], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x2cc], eax
push 0x22c
push 0
lea eax, [ebp - 0x2c0]
push eax
call fcn.0046f9a0
add esp, 0xc
mov dword [ebp - 0x2c0], 0x22c
lea ecx, [ebp - 0x2c0]
push ecx
mov edx, dword [ebp - 0x2cc]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40b93e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2d0], eax
lea ecx, [ebp - 0x2c4]
push ecx
mov ecx, dword [ebp - 0x2d0]
call fcn.0040ab80
lea edx, [ebp - 0x2d8]
push edx
mov ecx, dword [ebp - 0x2d0]
call fcn.0040ac10
nop
jmp 0x40b857
lea ecx, [ebp - 0x2c4]
call fcn.00407bd0
nop
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.004079d0
movzx ecx, al
test ecx, ecx
je 0x40b923
lea ecx, [ebp - 0x2c4]
call fcn.00407b70
mov dword [ebp - 0x2c8], eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0040d140
mov dword [ebp - 0x2dc], eax
push 0
mov ecx, dword [ebp - 0x2dc]
call fcn.00407a60
push eax
lea edx, [ebp - 0x29c]
push edx
call fcn.00471abf
add esp, 8
test eax, eax
jne 0x40b91e
mov eax, dword [ebp - 0x2b8]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x90]
call fcn.00406090
mov byte [ebp - 4], 1
lea edx, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x2e8]
call fcn.0040eb50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x94]
call fcn.004072b0
nop
mov ecx, dword [ebp - 0x2c8]
call fcn.0040cfd0
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
or ecx, dword [ebp - 0x2e0]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x40b923
jmp 0x40b84b
lea eax, [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x2cc]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40b81b
mov edx, dword [ebp - 0x2cc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2e8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405d60
mov ecx, dword [ebp - 0x2d4]
or ecx, 1
mov dword [ebp - 0x2d4], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00407190
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret
Function at 0x40cff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x62d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x414], reloc.WS2_32.dll_accept
mov dword [ebp - 0x410], str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov dword [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x410]
push ecx
mov edx, dword [ebp - 0x414]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop
cmp dword [ebp - 0x40c], 0
jne 0x40d07b
push 0x49366c
mov ecx, dword [ebp + 8]
call fcn.00405690
mov eax, dword [ebp - 0x408]
or eax, 1
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 8]
jmp 0x40d126
mov dword [ebp - 0x41c], 1
mov dword [ebp - 0x418], 0x200
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x41c]
push eax
push 0
push str.ProgId
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x420], eax
mov edx, dword [ebp - 0x40c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
push 0x493690
lea eax, [ebp - 0x404]
push eax
call fcn.004719bf
add esp, 8
test eax, eax
jne 0x40d105
push str.not_found
mov ecx, dword [ebp + 8]
call fcn.00405690
mov ecx, dword [ebp - 0x408]
or ecx, 1
mov dword [ebp - 0x408], ecx
mov eax, dword [ebp + 8]
jmp 0x40d126
lea edx, [ebp - 0x404]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405690
mov eax, dword [ebp - 0x408]
or eax, 1
mov dword [ebp - 0x408], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret
Function at 0x40d2c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491c10
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x62d3c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
call fcn.00405f10
mov byte [ebp - 4], 1
push 0x493e34
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00401d90
add esp, 0xc
mov byte [ebp - 4], 2
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x58]
call fcn.0040b6c0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0xffffffff
je 0x40d3ed
mov eax, dword [ebp - 0x198]
and eax, 0x10
je 0x40d3c3
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004052b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp + 0x10]
call fcn.00407f70
mov byte [ebp - 0x199], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004070c0
movzx eax, byte [ebp - 0x199]
test eax, eax
je 0x40d3c3
lea ecx, [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004052b0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1b0]
call fcn.0040ebb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.004070c0
nop
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40d34d
mov edx, dword [ebp - 0x1a0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
nop
lea eax, [ebp - 0x1b0]
push eax
mov ecx, dword [ebp + 8]
call fcn.00405e40
mov ecx, dword [ebp - 0x1a4]
or ecx, 1
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.004070c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1b0]
call fcn.00407230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.00407150
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret
Function at 0x40dd70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x62d3c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.004719ff
add esp, 8
push 0x493948
lea edx, [ebp - 0x204]
push edx
call fcn.0047198e
add esp, 8
mov eax, dword [str.fgimllnamdeacpaddbdafchhcmapebgj]
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.0047198e
add esp, 8
mov dword [ebp - 0x408], 0
push 0
lea edx, [ebp - 0x408]
push edx
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x40ddfe
mov eax, 2
jmp 0x40deb2
mov dword [ebp - 0x40c], 0
push str.https:__clients2.google.com_service_update2_crx
lea edx, [ebp - 0x404]
push edx
call fcn.004719ff
add esp, 8
lea eax, [ebp - 0x404]
push eax
call fcn.00471a21
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x40c], ecx
mov edx, dword [ebp - 0x40c]
shl edx, 1
mov dword [ebp - 0x410], edx
cmp dword [ebp - 0x410], 0x200
jae 0x40de51
jmp 0x40de57
call fcn.0046c501
nop
xor eax, eax
mov ecx, dword [ebp - 0x410]
mov word [ebp + ecx - 0x404], ax
mov edx, dword [ebp - 0x40c]
push edx
lea eax, [ebp - 0x404]
push eax
push 1
push 0
push str.update_url
mov ecx, dword [ebp - 0x408]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x40dea3
mov edx, dword [ebp - 0x408]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 3
jmp 0x40deb2
mov eax, dword [ebp - 0x408]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret