joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b24b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4b2558
push edi
lea edi, [esi + 0x24]
push 0
mov ecx, edi
call fcn.004bd4f0
test al, al
jne 0x4b253a
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x20c]
push 0x5c
push ecx
call fcn.004ea4e0
mov byte [eax], 0
mov edx, dword [esi + 4]
push edx
lea eax, [ebp - 0x20c]
push eax
push str._sSystemOptimize.exe__d
mov ecx, eax
push 0x208
push ecx
call fcn.004ea58a
add esp, 0x1c
push 0
push 0
push 0
lea edx, [ebp - 0x20c]
push edx
mov ecx, edi
call fcn.004bd780
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4

Function at 0x4b2630
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x513534]
mov eax, dword [str.SrLoader]
push esi
push edi
mov ecx, 0x17
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x513530]
mov dword [ebp - 0x10], edx
push 0x208
lea edx, [ebp - 0x484]
mov dword [ebp - 0x18], eax
mov eax, dword [0x513538]
mov dword [ebp - 0x14], ecx
mov cx, word [0x51353c]
push edx
push 0
mov dword [ebp - 0xc], eax
mov word [ebp - 8], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x484]
push 0x5c
push eax
call fcn.004ea650
lea edx, [ebp - 0x484]
xor ecx, ecx
push edx
mov word [eax + 2], cx
mov eax, edx
push 0x5134a8
push eax
call fcn.004ea98f
add esp, 0x14
lea ecx, [ebp - 0x488]
push ecx
push 0x20006
push 0
lea edx, [ebp - 0x74]
push edx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
pop esi
test eax, eax
jne 0x4b2740
cmp dword [ebp + 8], eax
jne 0x4b26fb
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x4b2733
lea eax, [ebp - 0x484]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b2704
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
push edx
mov edx, dword [ebp - 0x488]
lea eax, [ebp - 0x484]
push eax
push 1
push 0
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x488]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 4
Function at 0x4b3ea0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
je 0x4b3eb9
mov eax, dword [ecx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4
mov ecx, dword [ecx + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 4

Function at 0x4b3ed0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x184]
push 0
call fcn.00497300
cmp dword [esi + 0x170], 8
jb 0x4b3ef1
mov esi, dword [esi + 0x15c]
jmp 0x4b3ef7
add esi, 0x15c
push 5
push 0
push 0x52a4dc
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
pop esi
ret 0x10

Function at 0x4b4590
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, ecx
push 0
push eax
mov dword [ebp - 0x214], 0x208
mov dword [ebp - 0x218], 1
mov byte [edi + 0x13b], 0
call fcn.004eb2d0
mov esi, 8
add esp, 0xc
cmp dword [edi + 0xdc], esi
jb 0x4b45ee
mov eax, dword [edi + 0xc8]
jmp 0x4b45f4
lea eax, [edi + 0xc8]
mov edx, dword [edi + 0x134]
lea ecx, [ebp - 0x210]
push ecx
push 0x20019
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b465c
cmp dword [edi + 0xf8], esi
jb 0x4b4624
mov eax, dword [edi + 0xe4]
jmp 0x4b462a
lea eax, [edi + 0xe4]
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
mov edx, dword [ebp - 0x210]
lea ecx, [ebp - 0x218]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x20c]
push ecx
call ebx
cmp eax, 0xffffffff
je 0x4b4726
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4680
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
lea esi, [edi + 0x13c]
push edx
mov ecx, esi
call fcn.00403060
cmp dword [esi + 0x18], 8
jb 0x4b46af
mov eax, dword [esi + 4]
jmp 0x4b46b2
lea eax, [esi + 4]
push eax
call ebx
test al, 0x10
je 0x4b46f4
push 1
push 0xffffffffffffffff
push 0x50f2fc
mov ecx, esi
call fcn.00461050
mov ecx, dword [edi + 0x150]
dec ecx
cmp eax, ecx
je 0x4b46e2
push 1
push 0x50f2fc
mov ecx, esi
call fcn.00468840
push 0xffffffffffffffff
push 0
lea edx, [edi + 0x8c]
push edx
mov ecx, esi
call fcn.00468720
cmp dword [esi + 0x18], 8
jb 0x4b46ff
mov eax, dword [esi + 4]
jmp 0x4b4702
lea eax, [esi + 4]
push eax
call ebx
cmp eax, 0xffffffff
je 0x4b4726
cmp dword [esi + 0x18], 8
jb 0x4b4715
mov esi, dword [esi + 4]
jmp 0x4b4718
add esi, 4
push esi
call ebx
test al, 0x10
jne 0x4b4726
mov byte [edi + 0x13b], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
Function at 0x4b4740
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x13b], bl
je 0x4b479c
cmp dword [esi + 0x154], 8
jb 0x4b4770
mov esi, dword [esi + 0x140]
jmp 0x4b4776
add esi, 0x140
push 5
push ebx
push 0x52a4dc
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
lea eax, [esi + 0xa8]
push ebx
xor edx, edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], dx
call fcn.00402df0
lea eax, [ebp - 0x3c]
push eax
call fcn.004be920
mov eax, dword [ebp - 0x38]
add esp, 0x20
cmp dword [ebp - 0x24], 0x10
jae 0x4b47d8
lea eax, [ebp - 0x38]
push 0x2f
push eax
call fcn.004ea4e0
mov edi, eax
add esp, 8
inc edi
mov ecx, edi
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4b47f8
sub ecx, eax
push ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.00401900
push 0xffffffffffffffff
push ebx
lea edi, [esi + 0x158]
push 0x54182c
mov ecx, edi
call fcn.00402df0
push 1
push 0xffffffffffffffff
push 0x50f2fc
mov ecx, edi
call fcn.00461050
mov ecx, dword [esi + 0x16c]
dec ecx
cmp eax, ecx
je 0x4b4849
push 1
push 0x50f2fc
mov ecx, edi
call fcn.00468840
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x20]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004015f0
lea eax, [ebp - 0x58]
push eax
call fcn.004be790
add esp, 0x20
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.00468720
cmp dword [ebp - 0x40], 8
jb 0x4b4890
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.004ea481
add esp, 4
push 0x3e9
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x20]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004015f0
sub esp, 0x1c
mov edi, esp
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push ebx
xor eax, eax
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], ebx
push 0x54182c
mov word [ecx + 4], ax
call fcn.00402df0
push edi
call fcn.004be920
add esp, 4
mov ecx, esp
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x3c]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.004015f0
mov ecx, dword [esi + 0x184]
call fcn.0049a5e0
mov ecx, dword [esi + 0x184]
push 1
call fcn.00497300
mov esi, 0x10
cmp dword [ebp - 8], esi
jb 0x4b492d
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004ea481
add esp, 4
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
cmp dword [ebp - 0x24], esi
jb 0x4b4947
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004ea481
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret
Function at 0x4b8560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
mov dword [ebp - 0xc], ecx
cmp dword [ecx + 0x174], eax
jne 0x4b8659
push ebx
push esi
mov dword [ecx + 0x180], eax
mov ecx, dword [ecx + 4]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.htmlayout.dll_HTMLayoutGetRootElement]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.htmlayout.dll_HTMLayout_UseElement]
push eax
mov edi, eax
call esi
neg eax
sbb eax, eax
not eax
lea edx, [ebp - 4]
and eax, edi
push str.body
push edx
mov dword [ebp - 4], eax
call fcn.00462720
add esp, 8
mov ebx, eax
push ebx
call esi
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, ebx
push str.check_info
lea ecx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00465060
mov ebx, eax
push ebx
call esi
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, ebx
je 0x4b861b
cmp dword [0x542428], 8
jb 0x4b865d
mov edx, dword [0x542414]
test edx, edx
je 0x4b861b
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b8603
sub eax, ebx
sar eax, 1
push eax
push edx
push esi
call dword [sym.imp.htmlayout.dll_HTMLayoutSetElementInnerText16]
mov ebx, dword [ebp - 0xc]
push 0
push 0
push ebx
push 0x4b8530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x174], eax
mov ebx, dword [sym.imp.htmlayout.dll_HTMLayout_UnuseElement]
test esi, esi
je 0x4b8645
push esi
call ebx
test edi, edi
je 0x4b864c
push edi
call ebx
mov eax, dword [ebp - 4]
test eax, eax
je 0x4b8656
push eax
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x542414
jmp 0x4b85fe
Function at 0x4b8a90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 7
push str.avp.exe
lea ecx, [esi + 0x8c]
mov byte [esi + 0x13a], bl
mov byte [esi + 0x30], bl
mov byte [esi + 0x13b], bl
mov byte [esi + 0x138], bl
mov byte [esi + 0x139], bl
mov dword [esi + 0x174], ebx
mov dword [esi + 0x134], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403060
push 0x22
push str.SOFTWAREKasperskyLabSetupFolders
lea ecx, [esi + 0xc4]
call fcn.00403060
push 8
push str.KAVKIS11
lea ecx, [esi + 0xe0]
call fcn.00403060
push 0x87
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x5419d8
call fcn.0048ae70
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0xa8]
call fcn.00402df0
cmp dword [ebp - 4], 8
jb 0x4b8b32
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004ea481
add esp, 4
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x4b8b53
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
lea edi, [esi + 0x24]
cmp edi, ebx
je 0x4b8b5f
lea eax, [edi - 0x24]
jmp 0x4b8b61
xor eax, eax
mov edx, dword [eax + 4]
push edi
push 0x45ff10
push edx
call dword [sym.imp.htmlayout.dll_HTMLayoutSetCallback]
lea eax, [esi + 0x28]
cmp edi, ebx
je 0x4b8b7d
lea ecx, [edi - 0x24]
jmp 0x4b8b7f
xor ecx, ecx
mov edx, dword [eax + 4]
push edx
push eax
mov eax, dword [ecx + 4]
push 0x4603f0
push eax
call dword [sym.imp.htmlayout.dll_HTMLayoutWindowAttachEventHandler]
mov ecx, esi
call fcn.004b42b0
push ebx
push ebx
push esi
push 0x4b4a90
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, esi
call fcn.004b8560
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4b8e70
Capabilities:
Create process on windows

Disassembly:
cmp dword [ecx + 0x7c], 3
jbe 0x4b8e9c
cmp dword [ecx + 0x80], 8
jb 0x4b8e84
mov ecx, dword [ecx + 0x6c]
jmp 0x4b8e87
add ecx, 0x6c
push 5
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
mov ecx, dword [ecx + 0x84]
test ecx, ecx
je 0x4b8eb6
push 0
push 0
push 0x46d
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
ret
Function at 0x4b9fa0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x542710], 0
jne 0x4b9fe5
push 0x4001
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x51220c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
inc dword [0x542710]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret

Function at 0x4ba3d0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x2b4
lea eax, [ebp - 0x2b8]
push 0
push eax
call fcn.004eb2d0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
jae 0x4ba405
lea eax, [ebp + 0xc]
push 0x101
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x4ba448
cmp dword [ebp + 0x20], 8
jb 0x4ba435
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ea481
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x20], 8
push esi
mov esi, dword [ebp - 0x2b4]
jb 0x4ba461
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ea481
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x4ba480
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x53f4a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x4ba49f
lea eax, [ebp + 0xc]
push 0x103
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x4ba4e2
cmp dword [ebp + 0x20], 8
jb 0x4ba4cf
mov edx, dword [ebp + 0xc]
push edx
call fcn.004ea481
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x1c
cmp dword [ebp + 0x20], 8
push esi
mov esi, dword [ebp - 0x2b4]
jb 0x4ba4fb
mov eax, dword [ebp + 0xc]
push eax
call fcn.004ea481
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004ea5a8
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4bc830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x4bc84a
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 4]
mov dword [edi], ebx
cmp eax, ebx
je 0x4bc85c
push eax
call fcn.004ea481
add esp, 4
movzx eax, word [ebp + 8]
push esi
push 0x17
push eax
push ebx
mov dword [edi + 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
je 0x4bc8c0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x4bc8c0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4bc8c0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jbe 0x4bc8c0
push esi
call fcn.004e9cc4
push esi
push ebx
push eax
mov dword [edi + 4], eax
mov dword [edi], esi
call fcn.004ec470
add esp, 0x10
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bccb0
Capabilities:
Download and write a file
Get http content length
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10010
call fcn.004eba30
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push esi
push 0
push 0x84000100
push 0
push 0
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x4bcce5
lea eax, [esi + 1]
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
push 0x52a07c
push edx
lea eax, [ebp - 4]
push eax
call fcn.004ed9ec
add esp, 0xc
test eax, eax
je 0x4bcd08
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x20000005
push esi
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4bcd33
mov dword [ebp - 0xc], eax
push edi
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 8]
push eax
push 0x4000
lea ecx, [ebp - 0x10010]
push ecx
push esi
call edi
test eax, eax
je 0x4bcd85
mov eax, dword [ebp - 8]
test eax, eax
je 0x4bcd9c
mov edx, dword [ebp - 4]
push edx
push eax
lea eax, [ebp - 0x10010]
push 1
push eax
call fcn.004ed88d
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
push 0x4000
lea edx, [ebp - 0x10010]
push edx
push esi
call edi
test eax, eax
jne 0x4bcd51
mov eax, dword [ebp - 4]
push eax
call fcn.004ed6af
add esp, 4
pop edi
mov eax, 3
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ed5dc
mov edx, dword [ebp - 4]
push edx
call fcn.004ed6af
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bcdc0
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov al, byte [ebp - 4]
test al, 0x20
je 0x4bcde0
mov eax, 4
mov esp, ebp
pop ebp
ret
push esi
push 0
push 0
push 0
test al, 4
jne 0x4bcdef
push 4
jmp 0x4bcdf1
push 0
push 0x514f10
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
test esi, esi
je 0x4bce31
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
push ecx
push edx
push esi
call fcn.004bccb0
add esp, 0x18
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 4
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4bce60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x4bce8a
cmp byte [ebp + 8], 0
jne 0x4bce76
call eax
pop ebp
ret 4
push 0
push 0
push ecx
push 0x4bce40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret 4

Function at 0x4bcef0
Capabilities:
Create thread

Disassembly:
cmp dword [ecx + 0x68], 0
je 0x4bcf0a
push 0
push 0
push ecx
push 0x4bce90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x4bd630
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esi + 0x34], edi
call fcn.004bd550
test dword [esi], 0x10000
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4bd660
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x4bd673
push eax
call ebx
mov dword [esi + 0x10], edi
jmp 0x4bd673
mov eax, dword [esi + 0x2c]
cmp eax, edi
mov dword [esi + 0x2c], edi
jle 0x4bd673
push eax
call fcn.004eebb3
add esp, 4
test dword [esi], 0x10000
je 0x4bd68a
mov eax, dword [esi + 0x14]
cmp eax, edi
je 0x4bd69d
push eax
call ebx
mov dword [esi + 0x14], edi
jmp 0x4bd69d
mov eax, dword [esi + 0x30]
cmp eax, edi
mov dword [esi + 0x30], edi
jle 0x4bd69d
push eax
call fcn.004eebb3
add esp, 4
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4bd6ce
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4bd6ce
cmp dword [ebp - 4], 0x103
jne 0x4bd6ce
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x4bd6ce
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4bd6ef
push eax
call fcn.004ea5c2
add esp, 4
mov dword [esi + 4], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd9c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 4]
push edi
push 0x20019
xor eax, eax
push eax
push ecx
lea ebx, [esi + 0x20c]
push edx
mov byte [ebp - 1], 0
mov dword [edi], 0
mov dword [ebx], 0x100
mov word [esi + 8], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bda39
mov ecx, dword [edi]
push ebx
lea eax, [esi + 8]
push eax
mov eax, dword [ebp + 0x10]
add esi, 0x208
push esi
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov bl, 1
test eax, eax
je 0x4bda25
mov bl, byte [ebp - 1]
mov edx, dword [edi]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4bda50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
lea esi, [ecx + 4]
push esi
push 0x20006
push 0
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bdab2
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi]
push 4
push eax
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, 1
test eax, eax
jne 0x4bda9e
mov edi, dword [ebp - 4]
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4bdb08
push esi
push 0x20006
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4bdb08
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 4
push ecx
push 4
push eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, 1
test eax, eax
jne 0x4bdaf4
mov edi, dword [ebp - 4]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4bdd90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xc
call fcn.004eb0f9
add esp, 4
test eax, eax
je 0x4bddad
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
jmp 0x4bddaf
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push 0
push 0
push eax
push 0x4bdd60
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
push 0
push 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret