joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dc60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5813e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
mov edx, dword [0x63e518]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
push eax
push ecx
push 0
push 0
mov esi, 3
mov ebx, 4
push str.RememberDuplLinksA
push edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x44dcc5
cmp dword [ebp - 0x14], 1
je 0x44dd33
mov eax, dword [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.00458df0
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 1
call fcn.00566096
mov ecx, dword [ebp - 0x20]
dec eax
neg eax
sbb eax, eax
not eax
and eax, ecx
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0056a100
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.00571f23
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.00571dd3
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0
call fcn.00565cd7
jmp 0x44dd64
mov eax, dword [0x63e518]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0
push 0
push str.DuplLinksA
push eax
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x44dd64
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x44dd64
mov esi, 3
jmp 0x44dd64
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov eax, dword [edi + 0x1c0]
mov dword [ebp - 4], 0
shl ecx, 4
mov edx, dword [eax + 4]
mov esi, dword [edx + ecx]
mov eax, dword [esi + 0x5cc]
cmp eax, 1
je 0x44decf
cmp eax, 5
je 0x44decf
cmp eax, 4
je 0x44decf
cmp eax, 3
jne 0x44de87
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x44de87
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x44de61
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44de87
mov ecx, esi
call fcn.005218d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
mov ecx, esi
call fcn.00522180
mov eax, dword [edi + 0x1c]
mov ecx, esi
push eax
call fcn.00522250
push esi
call fcn.00464ac0
mov ecx, dword [edi + 0x144]
add esp, 4
mov dword [esi], ecx
mov ecx, esi
push 1
call fcn.005226a0
mov ecx, esi
call fcn.00522790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x63eae0]
mov eax, dword [0x63eae4]
push 0
push edx
push eax
mov ecx, edi
call fcn.005680f4
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 0x44fb00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581800
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov edx, dword [0x63e518]
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x14]
xor ebx, ebx
push eax
push ecx
push ebx
push ebx
push str.bShBTtFQCI
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44fc9f
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x44fc7a
mov edi, dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
jne 0x44fc7a
cmp byte [esi + 0xe86], bl
jne 0x44fc7a
cmp byte [esi + 0x1fb], bl
je 0x44fb99
push 0x16
push edi
call dword [sym.imp.USER32.dll_KillTimer]
mov byte [esi + 0x1fb], bl
mov edx, dword [esi + 0x4c4]
lea ecx, [ebp - 0x30]
push ecx
push 2
push 0x1207
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x4a8]
push eax
call fcn.0056ce9a
mov edx, dword [esi + 0x484]
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x40]
lea ecx, [esi + 0x468]
push eax
call fcn.0056ce9a
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x30]
mov edx, ecx
sub edx, eax
test edx, edx
jle 0x44fc9f
cmp eax, dword [ebp - 0x40]
jl 0x44fc9f
cmp ecx, dword [ebp - 0x38]
jg 0x44fc9f
mov ecx, dword [0x63e518]
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push ebx
push str.bShBTtFQCI
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44fc9f
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
add edx, 0xfffffffc
add eax, 0xfffffffc
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edx
mov edx, dword [0x63ea50]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x63ea54]
push ecx
mov ecx, dword [esi + 0x484]
push ebx
push edx
push eax
push ecx
call fcn.00464230
add esp, 0x14
mov dword [esi + 0xd88], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x1fb], bl
jne 0x44fc9f
mov edx, dword [esi + 0x1c]
push ebx
push 0x1f4
push 0x16
push edx
call dword [sym.imp.USER32.dll_SetTimer]
test eax, eax
je 0x44fc9f
mov byte [esi + 0x1fb], 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451e10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp + 0xc]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x451f50
mov ecx, dword [esp + 0xc]
push ebx
lea edx, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
mov ebx, 4
push str.isLimitEnabled
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x451e80
mov dword [esi + 8], 0
jmp 0x451e87
mov edx, dword [esp + 0x10]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.m_MBytes
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x451eb2
mov dword [esi + 0xc], 0xc8
jmp 0x451eb9
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.00550840
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.m_hours
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x451efc
mov dword [esi + 0x10], 5
jmp 0x451f03
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.showLimitExceededWarning
push ecx
mov dword [esp + 0x24], ebx
call edi
pop edi
pop ebx
test eax, eax
je 0x451f3e
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov dword [esi + 0x14], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
Function at 0x451f60
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
push esi
mov esi, ecx
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerScheduler
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45204a
mov ecx, dword [esp + 4]
push ebx
push edi
mov edi, dword [esi + 8]
lea eax, [esp + 0x10]
push 4
xor edx, edx
push eax
test edi, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push 0
push str.isLimitEnabled
setne dl
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
lea ebx, [esi + 0xc]
push 4
push ebx
push 4
push 0
push str.m_MBytes
push edx
call edi
mov ecx, dword [ebx]
mov eax, 0x51eb851f
shl ecx, 0x14
imul ecx
sar edx, 5
mov eax, edx
lea ecx, [esi + 0x10]
shr eax, 0x1f
add edx, eax
push 4
push ecx
push 4
lea eax, [edx + edx*2]
push 0
shl eax, 4
add eax, edx
push str.m_hours
shl eax, 1
cdq
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x20]
push edx
call edi
mov ebx, dword [esi + 0x14]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push 4
xor eax, eax
push ecx
test ebx, ebx
push 4
push 0
setne al
push str.showLimitExceededWarning
push edx
mov dword [esp + 0x28], eax
call edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x452b30
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x581d40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, ecx
push esi
push 0x63e040
lea ecx, [esp + 0xc]
call fcn.0056a16e
mov esi, dword [ebp + 4]
mov dword [esp + 0x2c], 0
test esi, esi
je 0x452b9f
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0x18]
push 0xa
mov edx, dword [eax + 8]
push ecx
push edx
call fcn.00553a7d
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.0056a476
test esi, esi
je 0x452b9f
push 0x20
lea ecx, [esp + 0xc]
call fcn.0056a49d
jmp 0x452b69
mov ecx, dword [0x639ad4]
mov dword [esp + 0xc], ecx
mov edx, dword [0x63e500]
lea eax, [esp + 0xc]
push edx
push str._sScheduler
push eax
mov byte [esp + 0x38], 1
call fcn.00562ecb
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x452be4
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 0
call fcn.0056a100
mov eax, dword [0x639ad4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [0x63e500]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sSchedulerq__ld.dt
push eax
mov byte [esp + 0x3c], 2
call fcn.00562ecb
mov ecx, dword [esp + 0x20]
push 0x61b404
push ecx
call fcn.0054f48f
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x452c9a
call fcn.005508e7
mov edx, dword [0x639ad4]
mov eax, dword [eax]
mov dword [esp + 0x14], edx
push esi
lea ecx, [esp + 0x10]
push esi
push ecx
push 0x400
push eax
push esi
push 0x1100
mov byte [esp + 0x48], 3
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [0x63ecc8]
push edx
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.00562ecb
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0056a100
jmp 0x452cbf
mov edx, dword [esp + 8]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 1
push edx
call fcn.0054f325
push esi
call fcn.0054f2a8
add esp, 0x14
pop edi
cmp dword [ebp + 0x64], 1
jne 0x452cd1
mov ecx, dword [esp + 8]
push ecx
mov ecx, ebp
call fcn.00452d10
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.0056a100
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x24]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x452d10
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea ecx, [esp]
push esi
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareDownloadManagerQueue
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x452d75
mov esi, dword [esp + 4]
test esi, esi
je 0x452d75
mov edx, dword [esp + 0x10]
push edi
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push str.Queue
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
add esp, 8
ret 4

Function at 0x452d80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x50]
mov ebp, dword [esi + 8]
cmp eax, ebx
mov byte [esp + 0x20], bl
jne 0x452dcd
mov eax, dword [esi + 0x18]
push 0x14
lea ecx, [esi + 0x14]
push eax
push ecx
call fcn.00564fc4
mov ecx, dword [esi + 0x18]
add eax, 4
lea edx, [ecx + ecx*4]
dec ecx
test ecx, ecx
lea eax, [eax + edx*4 - 0x14]
jl 0x452dcd
inc ecx
mov edx, dword [esi + 0x10]
mov dword [eax], edx
mov dword [esi + 0x10], eax
sub eax, 0x14
dec ecx
jne 0x452dbf
mov eax, dword [esi + 0x10]
xor edx, edx
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov dword [eax + 4], ebp
mov dword [eax], 0
mov ebp, dword [esi + 0xc]
inc ebp
lea ecx, [eax + 8]
mov dword [esi + 0xc], ebp
mov ebp, ecx
mov dword [ebp], edx
mov dword [ebp + 4], edx
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x20]
mov dword [ecx], edi
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x452e0c
mov dword [ecx], eax
jmp 0x452e0f
mov dword [esi + 4], eax
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00452b30
push edi
mov ecx, esi
call fcn.00453150
test eax, eax
je 0x452e2e
mov ecx, dword [esi + 0x64]
mov dword [eax + 0x394], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0054ea2a
add esp, 0xc
lea eax, [esp + 0x14]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x24]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push edx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x452e9c
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0x10]
push 4
push ecx
push 4
push 0
push str.queueID
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x63e624]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x452ec9
mov edx, dword [0x63e624]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x63e628]
push eax
call ebx
test eax, eax
je 0x452ee9
mov ecx, dword [0x63e628]
push edi
push 0x139a
push 0x111
push ecx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 4
Function at 0x453310
Capabilities:
Delete file
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x581d98
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 0x4533f6
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [edi + 8]
mov ecx, dword [esp + 0x18]
push esi
call fcn.00453150
cmp eax, ebx
je 0x45335c
mov dword [eax + 0x394], ebx
push esi
lea eax, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push eax
call fcn.0054ea2a
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 0x63e040
push ebx
push eax
push reloc.WSOCK32.dll_accept
call ebp
test eax, eax
jne 0x4533bf
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 [0x63e628]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4533e8
mov edx, dword [0x63e628]
push esi
push 0x139b
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [edi]
cmp edi, ebx
jne 0x453345
mov ebp, dword [esp + 0x18]
mov eax, dword [0x639ad4]
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0x64]
mov edx, dword [0x63e500]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sScheduler_s__ld.dt
push eax
mov dword [esp + 0x64], ebx
call fcn.00562ecb
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 [0x63e500]
push edx
push eax
lea ecx, [esp + 0x18]
push str._sSchedulerq__ld.dt
push ecx
call fcn.00562ecb
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x54], 0xffffffff
call fcn.0056a100
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x455e60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x63e518]
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 0x455e9c
mov eax, dword [esp + 4]
test eax, eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret

Function at 0x456b40
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x63e620]
test ecx, ecx
je 0x456b70
mov eax, dword [esi + 0xc]
push eax
call fcn.004e1360
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x456b70
mov edx, dword [esi + 0xc]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x458030
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.0054fde0
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.0054fd30
mov ebx, eax
and ebx, 0x800003ff
jns 0x458080
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.0054fd30
mov ebp, eax
and ebp, 0x800003ff
jns 0x4580b6
dec ebp
or ebp, 0xfffffc00
inc ebp
push 0
push 0x40000000
push esi
push edi
call fcn.0054fd30
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 0x45810a
mov edi, 0x618b20
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 0x4581aa
cmp ebp, 0x3e7
jg 0x4581aa
test ebp, ebp
jne 0x458182
cmp ebx, 0x3e7
jg 0x458182
test ebx, ebx
je 0x45815a
mov eax, dword [esp + 0x10]
mov ecx, dword [0x63ed78]
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 0x4581d2
mov ecx, dword [0x63ed74]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
push ecx
push edx
push str._d___s
push eax
call fcn.0054ea2a
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
lea eax, [ebx + ebx*4]
mov ecx, dword [0x63ed7c]
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 0x4581d2
lea ebp, [ebp + ebp*4]
mov ecx, dword [0x63ed80]
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.0054ea2a
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x458d90
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5823d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov cl, byte [esp + 0x14]
mov edx, dword [0x63e518]
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 0x45b590
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.00564237
mov ebx, eax
mov eax, dword [esi + 0x180]
test eax, eax
je 0x45b5ec
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 0x45b5ec
cmp dword [esp + 0x3c], 2
je 0x45b614
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 0x45d2e0
Capabilities:
Move file

Disassembly:
mov eax, dword [0x63e508]
push esi
test eax, eax
push edi
je 0x45d3a8
mov eax, dword [0x63e870]
test eax, eax
jne 0x45d30b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop edi
pop esi
ret
mov eax, dword [0x63e864]
test eax, eax
jne 0x45d328
call fcn.0045cdc0
mov dword [0x63e860], eax
mov dword [0x63e864], 1
mov eax, dword [0x63e860]
test eax, eax
je 0x45d344
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
pop edi
pop esi
ret
mov esi, dword [esp + 0x10]
push esi
call fcn.0045ce80
mov edi, dword [esp + 0x10]
add esp, 4
test eax, eax
jne 0x45d384
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x45d37c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x45d384
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 0x45d399
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.0045ca10
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_MoveFileW]
pop edi
pop esi
ret

Function at 0x45d3c0
Capabilities:
Copy file

Disassembly:
mov eax, dword [0x63e508]
push ebx
push esi
push edi
test eax, eax
je 0x45d46f
mov eax, dword [0x63e870]
test eax, eax
je 0x45d46f
mov eax, dword [0x63e864]
test eax, eax
jne 0x45d3fa
call fcn.0045cdc0
mov dword [0x63e860], eax
mov dword [0x63e864], 1
mov eax, dword [0x63e860]
test eax, eax
jne 0x45d46f
mov esi, dword [esp + 0x14]
push esi
call fcn.0045ce80
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x45d44a
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x45d441
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x45d44a
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 0x45d460
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.0045cae0
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_CopyFileW]
pop edi
pop esi
pop ebx
ret