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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x64dcf8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49a0e6
mov ebx, 4
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.isLimitEnabled
mov ecx, dword [ebp - 0x1c]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call edi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x14]
mov dword [esi + 8], eax
mov dword [ebp - 0x18], ebx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push str.m_MBytes
mov ecx, dword [ebp - 0x1c]
push ecx
call edi
test eax, eax
je 0x49a05d
mov dword [esi + 0xc], 0xc8
jmp 0x49a063
mov edx, dword [ebp - 0x14]
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0xc]
cdq
push 0
push 0x100000
push edx
push eax
call fcn.00624b80
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push str.m_hours
mov edx, dword [ebp - 0x1c]
push edx
call edi
test eax, eax
je 0x49a0a2
mov dword [esi + 0x10], 5
jmp 0x49a0a8
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push str.showLimitExceededWarning
mov eax, dword [ebp - 0x1c]
push eax
call edi
test eax, eax
je 0x49a0cf
mov dword [esi + 0x14], 1
jmp 0x49a0d5
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x14], ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x49a140
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
push eax
mov esi, ecx
lea ecx, [esp + 8]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerScheduler
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49a22c
mov ecx, dword [esp + 4]
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edx, edx
cmp dword [esi + 8], edx
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.isLimitEnabled
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
push 4
lea ebx, [esi + 0xc]
push ebx
push 4
push 0
push str.m_MBytes
push edx
call edi
mov eax, dword [ebx]
push 0
cdq
push 0x100000
push edx
push eax
call fcn.00624b80
push 0
push 0x64
push edx
push eax
call fcn.00624220
push 0
push 0x62
push edx
push eax
call fcn.00624b80
mov ecx, dword [esp + 0xc]
push 4
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
push eax
push 4
push 0
push str.m_hours
push ecx
mov dword [esi + 0x1c], edx
call edi
mov ecx, dword [esp + 0xc]
xor edx, edx
cmp dword [esi + 0x14], edx
push 4
lea eax, [esp + 0x14]
push eax
push 4
setne dl
push 0
push str.showLimitExceededWarning
push ecx
mov dword [esp + 0x28], edx
call edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
Function at 0x49af00
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerQueue
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49af6d
push edi
mov edi, dword [esp + 4]
test edi, edi
je 0x49af6c
mov edx, dword [esp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49af44
sub eax, esi
inc eax
push eax
push edx
push 1
push 0
push str.Queue
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
add esp, 8
ret 4

Function at 0x49b300
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x64df38
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
mov word [esp + 8], ax
mov dword [esp + 0x1c], eax
mov eax, dword [0x75dc38]
test eax, eax
jne 0x49b357
mov eax, 0x75dc3c
push 0
push eax
push str._sScheduler
lea ecx, [esp + 0x10]
call fcn.004021c0
mov eax, dword [esp + 4]
test eax, eax
jne 0x49b374
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49b395
mov eax, dword [esp + 4]
test eax, eax
jne 0x49b38c
lea eax, [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
call fcn.00401210
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0062023e
add esp, 0x1c
ret
Function at 0x49bc30
Capabilities:
Set registry value

Disassembly:
sub esp, 0x44
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], bl
call fcn.0049b810
mov ecx, esi
call fcn.0049b9d0
push edi
mov ecx, esi
call fcn.0049b3f0
cmp eax, ebx
je 0x49bc7e
mov ecx, dword [esi + 0x84]
mov dword [eax + 0x4fc], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0062311b
add esp, 0xc
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49bceb
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x84]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push ebx
push str.queueID
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x75e280]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push ecx
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x49bd18
mov edx, dword [0x75e280]
push edi
push 0x1396
push 0x111
push edx
call esi
mov eax, dword [0x75e284]
push eax
call ebx
test eax, eax
je 0x49bd38
mov ecx, dword [0x75e284]
push edi
push 0x139a
push 0x111
push ecx
call esi
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0062023e
add esp, 0x44
ret 4
Function at 0x49bd50
Capabilities:
Set registry value

Disassembly:
sub esp, 0x68
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x70]
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
xor ebp, ebp
cmp esi, ebp
je 0x49bd80
cmp dword [esi + 8], ebx
je 0x49be41
mov esi, dword [esi]
cmp esi, ebp
jne 0x49bd71
cmp dword [esp + 0x80], ebp
je 0x49be2c
push ebx
call fcn.0049b3f0
cmp eax, ebp
je 0x49bd9d
mov dword [eax + 0x4fc], ebp
push ebx
lea ecx, [esp + 0x50]
push str.SoftwareDownloadManager_ld
push ecx
call fcn.0062311b
add esp, 0xc
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push ebp
push 0xf003f
push ebp
push 0x67997c
push ebp
lea ecx, [esp + 0x68]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49be04
mov eax, dword [esp + 0x18]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebp
push str.queueID
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x75e284]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49be2c
mov eax, dword [0x75e284]
push ebx
push 0x139b
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0062023e
add esp, 0x68
ret 8
mov eax, dword [0x75e280]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49be69
mov ecx, dword [0x75e280]
push ebx
push 0x1397
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov ecx, edi
call fcn.00510430
mov ecx, edi
call fcn.0049b9d0
push ebx
mov ecx, edi
call fcn.0049b3f0
cmp eax, ebp
je 0x49be8a
mov dword [eax + 0x4fc], ebp
push ebx
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.0062311b
add esp, 0xc
cmp dword [esp + 0x80], ebp
je 0x49befd
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
push ebp
push 0xf003f
push ebp
push 0x67997c
push ebp
lea edx, [esp + 0x40]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49be04
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x14]
push eax
push 4
push ebp
push str.queueID
push ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x14]
push edx
jmp 0x49bdfe
lea eax, [esp + 0x14]
push eax
push 0xf003f
push ebp
lea ecx, [esp + 0x30]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x49be04
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x14]
push edx
push 4
push ebp
push str.queueID
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
jmp 0x49bdfd
Function at 0x49c480
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x260
push 0xffffffffffffffff
push 0x64e0a3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], bl
mov dword [ebp + 0x210], ebx
mov dword [ebp + 0x218], ebx
xor eax, eax
mov word [ebp + 0x214], ax
mov byte [ebp - 4], 1
mov esi, dword [0x75dc38]
cmp esi, ebx
jne 0x49c4f1
mov esi, 0x75dc3c
push ebx
push 0xa
lea ecx, [ebp + 0x21c]
push ecx
mov edx, dword [edi + 0x84]
push edx
call fcn.00622fa2
add esp, 0xc
push eax
push esi
push str._sSchedulerq__s.dt
lea ecx, [ebp + 0x210]
call fcn.00402330
mov eax, dword [ebp + 0x210]
cmp eax, ebx
jne 0x49c52c
lea eax, [ebp + 0x214]
push 0x684f1c
push eax
call fcn.00622f0d
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x49c607
push ebx
call fcn.00627777
push eax
call fcn.0062553a
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.005f4522
add esp, 0xc
mov edi, eax
test edi, edi
je 0x49c5fb
push ebx
push esi
push 1
push edi
call fcn.0062522c
add esp, 0x10
cmp eax, esi
jne 0x49c5f2
mov byte [ebp - 0x11], 1
mov byte [edi + esi], 0
mov esi, edi
mov dword [ebp - 0x1c], esi
mov eax, edi
lea edx, [eax + 1]
jmp 0x49c590
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49c590
sub eax, edx
je 0x49c5f2
jmp 0x49c5a0
test esi, esi
je 0x49c5f2
lea ecx, [ebp - 0x20]
push ecx
push 0x6795fc
push esi
call fcn.00621c2e
add esp, 0xc
cmp eax, 1
jne 0x49c5d8
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0049b810
push 0x20
push esi
call fcn.00621820
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x49c5f2
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x49c5a0
push edi
call fcn.005f4517
add esp, 4
push ebx
call fcn.00622be7
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x84]
cmp eax, 2
jg 0x49c619
mov dword [edi + 0x78], 4
cmp eax, 1
jne 0x49c62b
cmp byte [ebp - 0x11], 0
jne 0x49c62b
mov ecx, edi
call fcn.0049bfc0
cmp dword [edi + 0x84], 2
jne 0x49c638
mov byte [edi + 0x28], 0
mov ecx, edi
call fcn.0049b400
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x210]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x260
mov esp, ebp
pop ebp
ret
Function at 0x49fd10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e420
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
call fcn.0049fc60
test eax, eax
je 0x49fea3
cmp dword [esi + 0x10], 0
je 0x49fea3
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
push 0
push 0
push 0
mov eax, dword [esi + 0x10]
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x50010000
push str.IDM_DwnlProgress_Window
push str.IDM_DownloadProgressComponent_class
push 8
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 8], eax
test eax, eax
je 0x49fea3
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push 0
push 0x110
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push 0
call edi
mov edi, eax
push 0x2040
mov ebx, dword [sym.imp.USER32.dll_LoadImageA]
push 0
push 0
push 0
cmp dword [0x75dbac], 0
je 0x49fdf3
push 0x167
jmp 0x49fdf8
push 0x168
push edi
call ebx
mov dword [esi + 0x238], eax
push 0x2040
push 0
push 0
push 0
push 0x16a
push edi
call ebx
mov dword [esi + 0x23c], eax
push 0x2040
push 0
push 0
push 0
push 0x169
push edi
call ebx
mov dword [esi + 0x240], eax
push 0x2040
push 0
push 0
push 0
push 0x166
push edi
call ebx
mov dword [esi + 0x244], eax
lea eax, [ebp - 0x28]
push eax
push 0x18
mov ecx, dword [esi + 0x240]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 0x18]
push 8
push ecx
mov edx, dword [esi + 0x20]
sub edx, eax
push edx
mov ecx, dword [esi + 0x1c]
push ecx
push eax
push 0
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x10]
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_SetParent]
push 5
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49fed0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, ecx
mov dword [esi + 0x24c], eax
test eax, eax
je 0x49ff0d
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], eax
call fcn.0049e940
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 8], 0
call fcn.0049fd10
pop edi
pop esi
ret 0xc

Function at 0x4a00c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x75dbe4]
lea eax, [esp]
push eax
lea ecx, [esp + 8]
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 0x4a00f9
cmp dword [esp + 4], eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x4a0130
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e470
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0
push 0x400
mov edi, dword [ebp + 0xc]
push edi
mov ebx, dword [ebp + 8]
push ebx
call fcn.006242d0
mov dword [ebp - 0x28], eax
cdq
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
push 0
push 0x400
push eax
push ecx
call fcn.00624220
mov esi, eax
and esi, 0x800003ff
jns 0x4a01b4
dec esi
or esi, 0xfffffc00
inc esi
mov eax, esi
shl eax, 0xa
cdq
mov ecx, ebx
sub ecx, eax
mov eax, edi
sbb eax, edx
sub ecx, dword [ebp - 0x1c]
sbb eax, dword [ebp - 0x18]
push 0
push 0x100000
push eax
push ecx
call fcn.00624220
and eax, 0x800003ff
jns 0x4a01e4
dec eax
or eax, 0xfffffc00
inc eax
mov dword [ebp - 0x24], eax
push 0
push 0x40000000
push edi
push ebx
call fcn.00624220
mov edi, eax
push 8
lea ecx, [ebp - 0x1c]
push ecx
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x4a0217
mov edx, 0x2c
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x4a02a8
cmp ecx, 0x3e7
jg 0x4a02a8
test ecx, ecx
jne 0x4a0285
cmp esi, 0x3e7
jg 0x4a0285
test esi, esi
je 0x4a0267
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov ecx, dword [0x75f0e0]
push ecx
push eax
lea edx, [ebp - 0x1c]
push edx
push esi
push str._d_s_03d___s
mov eax, dword [ebp - 0x20]
push eax
jmp 0x4a02d2
mov ecx, dword [0x75f0e4]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push str._d___s
mov eax, dword [ebp - 0x20]
push eax
call fcn.0062311b
add esp, 0x10
jmp 0x4a02da
mov eax, esi
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x75f0dc]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
jmp 0x4a02c9
mov eax, ecx
imul eax, eax, 0x3e8
cdq
and edx, 0x3ff
add eax, edx
sar eax, 0xa
mov edx, dword [0x75f0d8]
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push str._d_s_03d___s
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0062311b
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a03b0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x75e264]
test ecx, ecx
je 0x4a03fa
mov eax, dword [esi + 0x20]
push eax
call fcn.0054ab50
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a03fa
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4a03e2
mov byte [eax + 0xafd], 1
mov edx, dword [esi + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 2
push edx
call edi
mov eax, dword [esi + 0x20]
push 0
push eax
call edi
pop edi
pop esi
ret
Function at 0x4a0e20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e5f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0xbf8], bl
je 0x4a0ede
cmp byte [esi + 0x81], bl
je 0x4a0ede
mov byte [esi + 0x8a4], 1
mov byte [esi + 0x81], bl
mov dword [esi + 0x564], ebx
lea edi, [esi + 0x414]
push ebx
push ebx
push 0x2000000
mov ecx, edi
call fcn.005f5283
lea eax, [esi + 0x7c0]
push eax
mov ecx, edi
call fcn.0060abf1
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, edi
call fcn.0060a91b
push eax
mov ecx, edi
call fcn.0060a3ae
cmp eax, ebx
jl 0x4a0ec0
push eax
mov ecx, edi
call fcn.0060a382
push 1
mov ecx, edi
call fcn.0060a91b
mov ecx, eax
call fcn.00423b60
push ebx
push 0x2000000
push ebx
mov ecx, edi
call fcn.005f5283
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideSLTabOnDwnlDlg
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a0f40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64e610
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0xbf8], bl
je 0x4a0ff4
cmp byte [edi + 0x82], bl
je 0x4a0ff4
mov byte [edi + 0x6dc], 1
mov byte [edi + 0x82], bl
lea esi, [edi + 0x414]
push ebx
push ebx
push 0x2000000
mov ecx, esi
call fcn.005f5283
lea eax, [edi + 0x5f8]
push eax
mov ecx, esi
call fcn.0060abf1
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
call fcn.0060a91b
push eax
mov ecx, esi
call fcn.0060a3ae
cmp eax, ebx
jl 0x4a0fd6
push eax
mov ecx, esi
call fcn.0060a382
push 1
mov ecx, esi
call fcn.0060a91b
mov ecx, eax
call fcn.00423b60
push ebx
push 0x2000000
push ebx
mov ecx, esi
call fcn.005f5283
mov dword [ebp - 0x14], ebx
push 4
lea edx, [ebp - 0x14]
push edx
push 4
push ebx
push str.bHideCTabOnDwnlDlg
mov eax, dword [0x75dbe4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a4b20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64eaab
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
xor eax, eax
cmp byte [ebp + 8], al
setne al
mov dword [ebp - 0x228], eax
push 4
lea ecx, [ebp - 0x228]
push ecx
push 4
push 0
push str.ShowDropTarget
mov edx, dword [0x75dbe4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 4

Function at 0x4a51b3
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
call fcn.005f617e
push 0x66d
mov ecx, esi
mov dword [esi + 0xd8], esi
mov dword [esi + 0xdc], 0x66d
call fcn.005f5145
mov eax, dword [eax + 0x20]
push esi
mov dword [esi + 0xd4], eax
call fcn.0045bb00
add esp, 4
cmp dword [0x75dd30], 0
je 0x4a525e
push 0x12a
push esi
mov ecx, 0x75dcf0
call fcn.004e6390
mov ecx, dword [0x75f380]
push ecx
push 0x66a
mov ecx, esi
call fcn.005f5145
mov edx, dword [eax + 0x20]
push edx
call fcn.00423c60
mov eax, dword [0x75f384]
add esp, 8
push eax
push 0x66b
mov ecx, esi
call fcn.005f5145
mov ecx, dword [eax + 0x20]
push ecx
call fcn.00423c60
mov edx, dword [0x75f388]
add esp, 8
push edx
push 0x66c
mov ecx, esi
call fcn.005f5145
mov eax, dword [eax + 0x20]
push eax
call fcn.00423c60
add esp, 8
mov ecx, dword [esi + 0xc8]
push ecx
lea ecx, [esi + 0x74]
call fcn.005f52af
mov ecx, dword [0x75dbe4]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.DuplLinksA
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4a52a3
mov edx, dword [esp + 8]
mov dword [esi + 0xcc], edx
mov eax, dword [esi + 0xcc]
sub eax, 1
mov ecx, 0x66c
je 0x4a52c4
sub eax, 1
je 0x4a52bd
sub eax, 1
jmp 0x4a52c9
mov ecx, 0x66b
jmp 0x4a52c9
mov ecx, 0x66a
push ecx
mov ecx, esi
call fcn.005f5145
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, 1
pop esi
add esp, 8
ret