joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446be0
Capabilities:
Delete file
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5593e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor ebx, ebx
mov edi, dword [ebp + 4]
mov dword [esp + 0x18], ebp
cmp edi, ebx
je 0x446cc6
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [edi + 8]
mov ecx, dword [esp + 0x18]
push esi
call fcn.00446a20
cmp eax, ebx
je 0x446c2c
mov dword [eax + 0x424], ebx
push esi
lea eax, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push eax
call fcn.00527718
add esp, 0xc
lea ecx, [esp + 0x20]
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push 0x5c6ff0
push ebx
push eax
push reloc.WSOCK32.dll_accept
call ebp
test eax, eax
jne 0x446c8f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 4
push ecx
push 4
push ebx
push str.queueID
push edx
mov dword [esp + 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x5c7580]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x446cb8
mov edx, dword [0x5c7580]
push esi
push 0x139b
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [edi]
cmp edi, ebx
jne 0x446c15
mov ebp, dword [esp + 0x18]
mov eax, dword [0x5c2a74]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [0x5c7498]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sScheduler_s__ld.dt
push eax
mov dword [esp + 0x64], ebx
call fcn.0053afda
mov ecx, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
push ecx
call esi
mov edx, dword [ebp + 0x64]
mov eax, dword [0x5c7498]
push edx
push eax
lea ecx, [esp + 0x18]
push str._sSchedulerq__ld.dt
push ecx
call fcn.0053afda
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x4486b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x5c74b0]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.dPrDtVis
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4486ec
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret

Function at 0x449880
Capabilities:
Get geographical location

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
push 0
push 0x400
push esi
push edi
call fcn.005288f0
mov dword [esp + 0x10], eax
mov ecx, esi
cdq
mov ebp, eax
mov eax, edi
sub eax, ebp
push 0
sbb ecx, edx
push 0x400
push ecx
push eax
mov dword [esp + 0x30], edx
call fcn.00528840
mov ebx, eax
and ebx, 0x800003ff
jns 0x4498d0
dec ebx
or ebx, 0xfffffc00
inc ebx
mov eax, ebx
mov ecx, edi
shl eax, 0xa
cdq
sub ecx, eax
mov eax, esi
sbb eax, edx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
push 0
sbb eax, ebp
push 0x100000
push eax
push ecx
call fcn.00528840
mov ebp, eax
and ebp, 0x800003ff
jns 0x449906
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.00528840
lea ecx, [esp + 0x1c]
push 3
push ecx
mov esi, eax
push 0xe
push 0x400
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x44995a
mov edi, 0x5a6888
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4499fa
cmp ebp, 0x3e7
jg 0x4499fa
test ebp, ebp
jne 0x4499d2
cmp ebx, 0x3e7
jg 0x4499d2
test ebx, ebx
je 0x4499aa
mov eax, dword [esp + 0x10]
mov ecx, dword [0x5c7c30]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebx
jmp 0x449a22
mov ecx, dword [0x5c7c2c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._d___s
push eax
call fcn.00527718
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x5c7c34]
push ecx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push ebp
jmp 0x449a22
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x5c7c38]
push ecx
lea eax, [ebp + ebp*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x3ff
add eax, edx
lea edx, [esp + 0x20]
sar eax, 0xa
push eax
push edx
push esi
mov eax, dword [esp + 0x34]
push str._d_s_03d___s
push eax
call fcn.00527718
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
Function at 0x44b6c0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5599f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x5c74b0]
xor eax, eax
push 4
test cl, cl
lea ecx, [esp + 0x18]
push ecx
push 4
push 0
push str.ShowDropTarget
setne al
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x44dd90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
mov eax, dword [esp + 0x30]
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
push 0
push 0
push 0
mov esi, ecx
push 0
push edi
push eax
push 1
lea ecx, [esi + 0x140]
call fcn.0053c346
mov ebx, eax
mov eax, dword [esi + 0x180]
test eax, eax
je 0x44ddec
lea ecx, [esp + 0x38]
lea edx, [esp + 0x3c]
push ecx
push edx
push 0
push 0
push edi
push eax
mov dword [esp + 0x50], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44ddec
cmp dword [esp + 0x3c], 2
je 0x44de14
mov ecx, dword [esi + 0x15c]
lea eax, [esp + 0xc]
push eax
push ebx
push 0x102b
push ecx
mov dword [esp + 0x2c], 0xf000
mov dword [esp + 0x28], 0x2000
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x44faa0
Capabilities:
Move file

Disassembly:
mov eax, dword [0x5c74a0]
push esi
test eax, eax
push edi
je 0x44fb68
mov eax, dword [0x5c77ac]
test eax, eax
jne 0x44facb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
ret
mov eax, dword [0x5c77a0]
test eax, eax
jne 0x44fae8
call fcn.0044f670
mov dword [0x5c779c], eax
mov dword [0x5c77a0], 1
mov eax, dword [0x5c779c]
test eax, eax
je 0x44fb04
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
ret
mov esi, dword [esp + 0x10]
push esi
call fcn.0044f730
mov edi, dword [esp + 0x10]
add esp, 4
test eax, eax
jne 0x44fb44
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x44fb3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44fb44
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x44fb59
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
ret
push 0
push esi
push edi
call fcn.0044f170
add esp, 0xc
pop edi
pop esi
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
ret

Function at 0x44fb80
Capabilities:
Copy file

Disassembly:
mov eax, dword [0x5c74a0]
push ebx
push esi
push edi
test eax, eax
je 0x44fc2f
mov eax, dword [0x5c77ac]
test eax, eax
je 0x44fc2f
mov eax, dword [0x5c77a0]
test eax, eax
jne 0x44fbba
call fcn.0044f670
mov dword [0x5c779c], eax
mov dword [0x5c77a0], 1
mov eax, dword [0x5c779c]
test eax, eax
jne 0x44fc2f
mov esi, dword [esp + 0x14]
push esi
call fcn.0044f730
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x44fc0a
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x44fc01
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44fc0a
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x44fc20
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
ret
push edi
push esi
push ebx
call fcn.0044f2a0
add esp, 0xc
pop edi
pop esi
pop ebx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
pop edi
pop esi
pop ebx
ret
Function at 0x44fc50
Capabilities:
Delete file

Disassembly:
mov eax, dword [0x5c74a0]
push esi
test eax, eax
je 0x44fcff
mov eax, dword [0x5c77ac]
test eax, eax
jne 0x44fc74
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
mov eax, dword [0x5c77a0]
test eax, eax
jne 0x44fc91
call fcn.0044f670
mov dword [0x5c779c], eax
mov dword [0x5c77a0], 1
mov eax, dword [0x5c779c]
test eax, eax
je 0x44fca7
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
mov esi, dword [esp + 8]
push esi
call fcn.0044f730
add esp, 4
test eax, eax
jne 0x44fce0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x44fcd9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44fce0
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44fcf4
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push esi
call fcn.0044f3d0
add esp, 4
pop esi
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret

Function at 0x44fd10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [0x5c74a0]
push esi
test eax, eax
je 0x44fdec
mov eax, dword [0x5c77ac]
test eax, eax
jne 0x44fd3e
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
ret
mov eax, dword [0x5c77a0]
test eax, eax
jne 0x44fd5b
call fcn.0044f670
mov dword [0x5c779c], eax
mov dword [0x5c77a0], 1
mov eax, dword [0x5c779c]
test eax, eax
jne 0x44fdec
mov esi, dword [esp + 8]
push esi
call fcn.0044f730
add esp, 4
test eax, eax
jne 0x44fd9b
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44fdad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44fdcd
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push 0x5c7698
push esi
call fcn.0052f680
add esp, 8
test eax, eax
jne 0x44fdb4
mov eax, 1
pop esi
ret
push 0x5c7594
push esi
call fcn.0052f680
add esp, 8
test eax, eax
jne 0x44fdcd
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44fde1
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push esi
call fcn.0044f4b0
add esp, 4
pop esi
ret
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop esi
ret
Function at 0x44fe10
Capabilities:
Create directory

Disassembly:
mov eax, dword [0x5c74a0]
push esi
test eax, eax
je 0x44fec4
mov eax, dword [0x5c77ac]
test eax, eax
jne 0x44fe36
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret
mov eax, dword [0x5c77a0]
test eax, eax
jne 0x44fe53
call fcn.0044f670
mov dword [0x5c779c], eax
mov dword [0x5c77a0], 1
mov eax, dword [0x5c779c]
test eax, eax
je 0x44fe6b
mov ecx, dword [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret
mov esi, dword [esp + 8]
push esi
call fcn.0044f730
add esp, 4
test eax, eax
jne 0x44fea5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x44fe9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x44fea5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x44feb9
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push esi
call fcn.0044f590
add esp, 4
pop esi
ret
mov edx, dword [esp + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop esi
ret
Function at 0x450e60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 4]
mov dword [ebp - 4], 0
test eax, eax
je 0x450e9d
push eax
call fcn.00542796
add esp, 4
mov ebx, dword [ebp + 8]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
test edx, edx
mov dword [esi + 4], edx
je 0x450eff
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push ebx
push 1
mov edx, dword [ecx + 8]
push eax
mov eax, dword [0x5c74b0]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x451060
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], esi
call fcn.00425230
mov ecx, dword [0x5c74b0]
cmp ecx, esi
je 0x451100
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x14]
push edx
push esi
push esi
push esi
push eax
push ecx
call edi
test eax, eax
jne 0x451111
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x4510bf
push eax
call fcn.00542796
add esp, 4
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], esi
cmp eax, esi
je 0x451100
inc eax
push eax
call fcn.0054276d
add esp, 4
cmp eax, esi
mov dword [ebx + 4], eax
je 0x451100
mov ecx, dword [ebx + 8]
lea edx, [ebp - 0x14]
push edx
push eax
mov eax, dword [0x5c74b0]
push esi
push esi
push ecx
push eax
call edi
test eax, eax
je 0x451100
mov eax, dword [ebx + 4]
push eax
call fcn.00542796
add esp, 4
mov dword [ebx + 4], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 8]
push str.ExceptionServers
push eax
call fcn.00526f6c
add esp, 8
test eax, eax
jne 0x451100
mov edi, str..update.microsoft.com_download.windowsupdate.com_siteseal.thawte.com_.voice2page.com
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0054276d
mov edx, eax
add esp, 4
cmp edx, esi
mov dword [ebx + 4], edx
je 0x451100
mov edi, str..update.microsoft.com_download.windowsupdate.com_siteseal.thawte.com_.voice2page.com
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 4]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebx + 8]
push edx
mov edx, dword [0x5c74b0]
push 1
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4556e0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
push 8
call fcn.0054276d
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4557ea
mov eax, dword [esp + 0x1c]
push 0
push 0
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45574c
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x455739
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x455745
mov eax, dword [esp + 0x10]
test eax, eax
ja 0x455745
test esi, esi
jne 0x455761
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call fcn.00542796
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
push esi
call fcn.0054276d
mov edi, eax
add esp, 4
test edi, edi
mov dword [ebp], edi
jne 0x45578f
push ebp
call fcn.00542796
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4
mov ecx, esi
xor eax, eax
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push esi
push ecx
push ebx
mov dword [ebp + 4], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4557d8
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x4557d8
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov edx, dword [ebp]
push edx
call fcn.00542796
push ebp
call fcn.00542796
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4

Function at 0x455ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55a368
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x5c2a74]
push esi
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0xc]
push str._d__URL_s
push eax
mov dword [esp + 0x20], 0
call fcn.0053afda
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add esp, 0x10
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00455af0
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x10], 0xffffffff
call fcn.005421be
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14

Function at 0x456520
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
lea eax, [esp]
lea ecx, [esp + 8]
push eax
mov eax, dword [0x5c74b0]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 8]
je 0x456554
mov eax, dword [esp + 0xc]
pop ecx
ret
Function at 0x456560
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x55a3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x5c74b0]
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push 0
push 0
push 0
push esi
push ecx
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x45661c
mov edx, dword [0x5c2a74]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
push eax
lea ecx, [esp + 0x24]
call fcn.00542665
mov edx, dword [0x5c74b0]
lea ecx, [esp + 8]
push ecx
push eax
push 0
push 0
push esi
push edx
call edi
test eax, eax
jne 0x45660b
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00541f33
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.005421be
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.005421be
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x456629
mov eax, 0x5c6ff0
mov esi, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0054222c
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x456db0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x5c2a74]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov ecx, dword [0x5c7498]
push str.temp.htm
push ecx
lea edx, [ebp - 0x14]
push 0x5a4b44
push edx
mov byte [ebp - 4], 1
call fcn.0053afda
mov eax, dword [ebp - 0x14]
add esp, 0x10
push 0x5aa02c
push eax
call fcn.0052825f
mov esi, eax
add esp, 8
test esi, esi
je 0x456e33
push esi
push 0xd
push 1
push str._HTML__HTML_
call fcn.005280f5
push esi
call fcn.00528078
add esp, 0x14
mov edx, dword [ebp - 0x14]
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x118]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x118]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jle 0x456e84
lea edi, [ebp - 0x118]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x456e84
mov edx, dword [ebp + 8]
push 1
push eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x118]
push eax
push ecx
push str.open
push edx
jmp 0x456e97
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push 1
push 0
push 0
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.005421be
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55ab1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor edi, edi
push eax
push ecx
push edi
push 0xf003f
push edi
push 0x5c6ff0
push edi
push str.SoftwareDownloadManagerGetAllDlgLS
push reloc.WSOCK32.dll_accept
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x45d72b
lea ecx, [ebp - 0x120]
call fcn.0045eaa0
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.0045eb80
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.0045eb70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, 6
jge 0x45d751
mov edx, dword [esi + 0x41c]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esi + edi*4 + 0x43c], eax
inc edi
jmp 0x45d731
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x43c]
push 4
push eax
push 4
push 0
push str.FileName
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x440]
push 4
push edx
push 4
push 0
push str.FileType
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x444]
push 4
push ecx
push 4
push 0
push str.Size
push edx
call edi
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x448]
push 4
push eax
push 4
push 0
push 0x5a65c8
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x44c]
push 4
push edx
push 4
push 0
push str.SaveTo
push eax
call edi
mov ecx, dword [ebp - 0x14]
add esi, 0x450
push 4
push esi
push 4
push 0
push str.Description
push ecx
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret