joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b770
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48c521
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov byte [esi + 0x3f], dl
lea ecx, [esi + 0x40]
mov dword [ecx], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], edx
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 1
call fcn.0041b8a0
mov ecx, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.0047c780
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

Function at 0x41bbd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c451
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x38]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
mov byte [esi + 0x57], cl
mov dword [esi + 0x58], eax
lea edx, [esi + 0x58]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1c], 1
call fcn.0041b8a0
mov ecx, dword [esp + 0x3c]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.0047db40
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x24
Function at 0x41cb80
Capabilities:
Create directory

Disassembly:
sub esp, 0x114
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x110], eax
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00456da0
add esp, 0xc
lea ecx, [esp + 4]
call fcn.0041ce70
lea eax, [esp + 4]
dec eax
jmp 0x41cbc0
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41cbc0
mov ecx, dword [str.Log_]
mov dl, byte [0x49b88c]
mov dword [eax], ecx
mov byte [eax + 4], dl
lea eax, [esp + 4]
push eax
call fcn.00420990
add esp, 4
test eax, eax
jne 0x41cbf6
push eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
je 0x41cc0e
lea eax, [esp + 4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41cc04
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x114
ret

Function at 0x41cc30
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x84
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x80], eax
push ebp
push 0x7f
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00456da0
push 0x7f
lea ecx, [esp + 0x14]
push 0x20
push ecx
call fcn.00456da0
mov eax, esi
add esp, 0x18
lea ebp, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cc70
sub eax, ebp
push eax
lea edx, [esp + 8]
push esi
push edx
call fcn.00458ff0
add esp, 0xc
lea eax, [esp + 4]
lea edx, [eax + 1]
pop ebp
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41cc90
mov ecx, dword [edi]
push ecx
sub eax, edx
push eax
lea edx, [esp + 8]
push 1
push edx
call fcn.004522ba
mov eax, dword [edi]
push eax
push 1
push 1
push str._t_t_t_t_t_t
call fcn.004522ba
add esp, 0x20
test ebx, ebx
je 0x41ccde
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ccc6
mov ecx, dword [edi]
push ecx
sub eax, edx
push eax
push 1
push ebx
call fcn.004522ba
add esp, 0x10
mov edx, dword [edi]
push edx
push 1
push 2
push 0x49a2cc
call fcn.004522ba
mov eax, dword [edi]
push eax
call fcn.0045233c
push eax
call fcn.0045236e
mov ecx, dword [esp + 0x98]
add esp, 0x18
xor ecx, esp
call fcn.0044ffb2
add esp, 0x84
ret
Function at 0x41cd20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
test edi, edi
jne 0x41ce4e
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
mov edi, vtable.CWindowIterator.0
mov dword [esp + 8], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043052b
add esp, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x420e20
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x10], vtable.CMainWindowIterator.0
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], 0
test eax, eax
je 0x41ce09
cmp dword [esp + 0x14], 0
jbe 0x41ce09
mov eax, dword [eax]
mov dword [esp + 0x18], 1
test eax, eax
je 0x41ce09
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
push ecx
push 0x8907
push 0x8907
push eax
call esi
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x41ce3b
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
jae 0x41ce3b
mov eax, dword [ecx + edx*4]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x41cdc7
push ecx
mov dword [esp + 0xc], edi
call fcn.00430536
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0043c67f
test eax, eax
je 0x41ce1d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41ce1f
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push ecx
push 0x8907
push 0x8907
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esp + 0xc], edi
call fcn.00430536
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
push 0x8907
push 0x8907
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ce70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
push 0x3ff
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.00456da0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test esi, esi
je 0x41cefb
lea eax, [esp + 4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41cec1
dec esi
mov eax, esi
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41ced0
mov edx, dword [str.zj96596Assist_]
mov dword [eax], edx
mov ecx, dword [0x49b89c]
mov dword [eax + 4], ecx
mov edx, dword [0x49b8a0]
mov dword [eax + 8], edx
mov ecx, dword [0x49b8a4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x404]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0044ffb2
add esp, 0x404
ret
Function at 0x41d260
Capabilities:
Create process on windows

Disassembly:
push ecx
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp], eax
mov eax, dword [esp + 8]
push 1
push 0
push eax
push str.iexplore.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp]
xor ecx, esp
xor eax, eax
call fcn.0044ffb2
pop ecx
ret 4
Function at 0x41e030
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48cc41
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
xor ebx, ebx
push 0x103
mov edi, ecx
lea ecx, [esp + 0x151]
push ebx
mov dword [esp + 0x18], ebx
push ecx
mov dword [esp + 0x30], eax
mov byte [esp + 0x158], bl
call fcn.00456da0
add esp, 0xc
lea edx, [esp + 0x14c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x14c]
push eax
lea ecx, [esp + 0x14]
call fcn.004032c0
push 1
push 0x498ad0
lea ecx, [esp + 0x18]
mov dword [esp + 0x26c], ebx
call fcn.00402c80
push 0xa
push str.update.txt
lea ecx, [esp + 0x18]
call fcn.00402c80
xor eax, eax
push 0x103
lea ecx, [esp + 0x49]
push ebx
push ecx
mov byte [esp + 0x34], bl
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov word [esp + 0x4d], ax
mov byte [esp + 0x4f], al
mov byte [esp + 0x50], bl
call fcn.00456da0
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.0041ce70
lea eax, [esp + 0x44]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x41e131
mov edx, dword [str._ver.txt]
mov ecx, dword [0x49b924]
mov dword [eax], edx
mov dl, byte [0x49b928]
mov dword [eax + 4], ecx
mov byte [eax + 8], dl
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x18], vtable.CIni.0
call fcn.00452526
add esp, 4
mov dword [esp + 0x18], eax
push edi
mov byte [esp + 0x268], 1
push str.version
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
push ecx
mov ebx, 0x49a25f
call fcn.004217a0
push 0x1c
mov esi, eax
push esi
lea edx, [esp + 0x30]
push 0x1c
push edx
call fcn.0045003e
push esi
call fcn.00430536
mov eax, dword [esp + 0x24]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x1c], vtable.CIni.0
mov dword [esp + 0x20], esi
test eax, eax
je 0x41e1cc
push eax
call fcn.00452526
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov edi, dword [esp + 0x28]
mov eax, str.Version
lea edx, [esp + 0x20]
mov byte [esp + 0x268], 2
call fcn.00421650
test esi, esi
je 0x41e1fa
push esi
call fcn.004501c5
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41e20b
push eax
call fcn.004501c5
add esp, 4
mov dword [esp + 0x264], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e236
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x258
ret 4
Function at 0x41e270
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48cbe6
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4ada68]
xor eax, esp
mov dword [esp + 0x114], eax
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x13c]
push 0x103
lea eax, [esp + 0x21]
push 0
mov dword [esp + 0x18], 0
push eax
mov edi, ecx
mov byte [esp + 0x28], 0
call fcn.00456da0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x14]
call fcn.004032c0
push 1
push 0x498ad0
lea ecx, [esp + 0x18]
mov dword [esp + 0x13c], 0
call fcn.00402c80
push 0xa
push str.update.txt
lea ecx, [esp + 0x18]
call fcn.00402c80
mov eax, dword [esp + 0x10]
xor esi, esi
mov dword [esp + 0x14], vtable.CIni.0
mov dword [esp + 0x18], esi
test eax, eax
je 0x41e342
push eax
call fcn.00452526
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
push 0x49a25f
mov eax, str.File
mov ecx, ebp
lea edx, [esp + 0x18]
mov byte [esp + 0x138], 1
call fcn.00421650
test esi, esi
je 0x41e36c
push esi
call fcn.004501c5
add esp, 4
mov dword [esp + 0x134], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e397
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.0044ffb2
add esp, 0x128
ret 4
Function at 0x41e6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x48cb60
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4ada68]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
call fcn.004371a8
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41e740
push 0x80004005
call fcn.00405e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
push 0x85
mov dword [ebp - 4], ebx
call fcn.00438c5f
cmp eax, ebx
je 0x41e76e
push 0x85
push eax
lea ecx, [ebp - 0x20]
call fcn.00402eb0
push str.SOFTWAREENTERSAFEINTERPASS3000_ZJRC_
lea ecx, [ebp - 0x14]
call fcn.004032c0
push 0x207
lea ecx, [ebp + 1]
push ebx
push ecx
mov byte [ebp], bl
call fcn.00456da0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0x208
mov dword [ebp - 0x2c], ebx
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
add esp, 0xc
or ecx, eax
jge 0x41e7bc
push ebx
lea ecx, [ebp - 0x14]
call fcn.00403100
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x41e7ea
push 0x4a5120
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
call fcn.004570ab
lea edx, [ebp - 0x30]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push str.VERSION
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
je 0x41e834
push 0x4a5120
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], edi
call fcn.004570ab
mov dword [ebp - 4], 1
mov eax, 0x41e82d
ret
cmp esi, ebx
je 0x41e84a
lea ecx, [ebp]
mov edx, esi
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
cmp al, bl
jne 0x41e840
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x41e85f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x18], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e884
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0044ffb2
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x41f0c0
Capabilities:
Create http request
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48c718
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebp
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], vtable.CRegistry.0
call fcn.004371a8
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41f10e
push 0x80004005
call fcn.00405e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
push 0x3b
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], esi
call fcn.004031b0
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 4
push edi
lea edx, [esp + 0x40]
push edx
push edi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push str.CertificateRevocation
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41f1a3
push eax
call edi
mov dword [esp + 0x20], esi
push esi
push esi
push esi
push esi
push str.AutoUpdateAgent
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esp + 0x34], 0xffffffff
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], vtable.CRegistry.0
cmp eax, esi
je 0x41f1d4
push eax
call edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f1f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x41f210
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x48c718
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
xor esi, esi
cmp eax, esi
je 0x41f248
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [esp + 0x10], vtable.CRegistry.0
call fcn.004371a8
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41f26a
push 0x80004005
call fcn.00405e20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], reloc.OLEAUT32.dll_SysReAllocString
push 0x3b
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea ecx, [esp + 0x2c]
mov dword [esp + 0x3c], esi
call fcn.004031b0
lea ecx, [esp + 0x20]
push ecx
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 4
push edi
lea edx, [esp + 0x40]
push edx
push edi
push esi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push str.CertificateRevocation
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x54], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41f305
push eax
call edi
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x10], vtable.CRegistry.0
cmp eax, esi
je 0x41f320
push eax
call edi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret 4
Function at 0x41f500
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b7f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4ada68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
push 0x80
push 2
push edi
push 3
push 0x40000000
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x41f56b
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push edi
push edi
push edi
push edi
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, edi
jne 0x41f586
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xa000
call fcn.0043052b
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
cmp esi, edi
je 0x41f5ab
push 0xa000
push edi
push esi
call fcn.00456da0
add esp, 0xc
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
push 0xa000
push 0
push esi
call fcn.00456da0
mov eax, dword [ebp + 8]
add esp, 0xc
lea edx, [ebp - 0x1c]
push edx
push 0x1000
push esi
push eax
call ebx
mov ecx, dword [ebp - 0x1c]
mov edi, ecx
test eax, eax
je 0x41f617
test ecx, ecx
jbe 0x41f63f
mov eax, dword [ebp + 0xc]
add dword [ebp - 0x14], ecx
push 0
lea edx, [ebp - 0x20]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, dword [ebp - 0x20]
je 0x41f5b1
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4a5120
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 0x103
call fcn.004570ab
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4a5120
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 0x28], 0x103
call fcn.004570ab
mov eax, 0x41f63c
ret
test esi, esi
je 0x41f64c
push esi
call fcn.00430536
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8