joyce8/EMBER2024-capa huggingface dataset:
Function at 0x488240
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x468
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x464], eax
mov edx, dword [0x75dc4c]
test edx, edx
jne 0x488263
mov edx, 0x75dc50
push esi
push edi
lea esi, [esp + 0x5c]
lea esp, [esp]
movzx eax, word [edx]
mov word [esi], ax
add edx, 2
add esi, 2
test ax, ax
jne 0x488270
call fcn.00487790
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x6828e8
push 0
mov esi, 5
call edi
test eax, eax
je 0x4882bf
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
test esi, esi
je 0x4882be
push 0x1f4
call ebx
push 0x6828e8
push 0
dec esi
call edi
test eax, eax
jne 0x4882a5
pop ebx
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00621270
add esp, 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x7c]
push eax
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [esp + 0x46c]
pop edi
pop esi
xor ecx, esp
call fcn.00620b8d
add esp, 0x468
ret

Function at 0x488320
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
xor bl, bl
cmp dword [0x752d2c], 0
push edi
mov edi, dword [esp + 0x14]
mov esi, ecx
jne 0x4883a5
cmp dword [0x75e6fc], 0
jne 0x4883cd
mov edx, dword [0x75dbe4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push str.nExpDt
push edx
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4883a5
cmp dword [esp + 0x14], eax
jbe 0x4883a5
push ebp
push eax
call fcn.00624331
cdq
mov ecx, eax
mov eax, dword [esp + 0x1c]
add esp, 4
mov ebp, edx
cdq
push 0
sub eax, ecx
push 0x15180
sbb edx, ebp
push edx
push eax
call fcn.00624b70
add eax, 0x1d
pop ebp
cmp eax, 0x26
ja 0x4883a5
mov bl, 1
cmp dword [0x75e6fc], 0
jne 0x4883cd
cmp dword [0x752d2c], 0
jne 0x4883cd
test bl, bl
jne 0x4883cd
push str._fillregform.html_d
push edi
call fcn.00622230
add esp, 8
test eax, eax
je 0x488407
push edi
push 0x678ea8
push 0x75dc34
call fcn.00402f60
mov eax, dword [0x75e6fc]
add esp, 0xc
test eax, eax
je 0x488400
push 0
push 0
push 0x2b45
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebx
pop ecx
ret 4
mov ecx, esi
call fcn.00487bd0
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x49a8b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x64e688
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 0x49aa06
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 0x49a97d
mov dword [esi + 0xc], 0xc8
jmp 0x49a983
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.006254d0
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 0x49a9c2
mov dword [esi + 0x10], 5
jmp 0x49a9c8
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 0x49a9ef
mov dword [esi + 0x14], 1
jmp 0x49a9f5
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.00620b8d
add ebp, 0x214
mov esp, ebp
pop ebp
ret
Function at 0x49aa60
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 0x49ab4c
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.006254d0
push 0
push 0x64
push edx
push eax
call fcn.00624b70
push 0
push 0x62
push edx
push eax
call fcn.006254d0
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 0x49b820
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 0x49b88d
push edi
mov edi, dword [esp + 4]
test edi, edi
je 0x49b88c
mov edx, dword [esp + 0x10]
mov eax, edx
push esi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49b864
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 0x49bc10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x64e8c8
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 0x49bc67
mov eax, 0x75dc3c
push 0
push eax
push str._sScheduler
lea ecx, [esp + 0x10]
call fcn.004021a0
mov eax, dword [esp + 4]
test eax, eax
jne 0x49bc84
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x49bca5
mov eax, dword [esp + 4]
test eax, eax
jne 0x49bc9c
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.00620b8d
add esp, 0x1c
ret
Function at 0x49bf30
Capabilities:
Delete file
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64e96b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
xor ebp, ebp
mov dword [esp + 0x14], ecx
cmp edi, ebp
je 0x49c02f
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [edi + 8]
push esi
call fcn.0049bd00
cmp eax, ebp
je 0x49bf95
mov dword [eax + 0x4fc], ebp
push esi
lea eax, [esp + 0x34]
push str.SoftwareDownloadManager_ld
push eax
call fcn.00623a6b
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
push 0xf003f
push ebp
push 0x67997c
push ebp
lea eax, [esp + 0x4c]
push eax
push 0x80000001
call ebx
test eax, eax
jne 0x49bff8
mov edx, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x20]
push ecx
push 4
push ebp
push str.queueID
push edx
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x75e284]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49c021
mov edx, dword [0x75e284]
push esi
push 0x139b
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [edi]
mov ecx, dword [esp + 0x14]
cmp edi, ebp
jne 0x49bf82
xor eax, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], ax
mov dword [esp + 0xa4], ebp
mov esi, dword [0x75dc38]
cmp esi, ebp
jne 0x49c054
mov esi, 0x75dc3c
mov eax, dword [ecx + 0x84]
push ebp
push 0xa
lea edx, [esp + 0x60]
push edx
push eax
call fcn.006238f2
add esp, 0xc
push eax
push esi
push str._sScheduler_s__s.dt
lea ecx, [esp + 0x34]
call fcn.00402310
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x49c087
lea eax, [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
mov esi, dword [0x75dc38]
cmp esi, ebp
jne 0x49c09f
mov esi, 0x75dc3c
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x84]
push ebp
push 0xa
lea ecx, [esp + 0x60]
push ecx
push eax
call fcn.006238f2
add esp, 0xc
push eax
push esi
push str._sSchedulerq__s.dt
lea ecx, [esp + 0x34]
call fcn.00402310
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x49c0d6
lea eax, [esp + 0x28]
push eax
call edi
mov dword [esp + 0xa4], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00401210
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00620b8d
add esp, 0x94
ret
Function at 0x49c540
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.0049c120
mov ecx, esi
call fcn.0049c2e0
push edi
mov ecx, esi
call fcn.0049bd00
cmp eax, ebx
je 0x49c58e
mov ecx, dword [esi + 0x84]
mov dword [eax + 0x4fc], ecx
push edi
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.00623a6b
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 0x49c5fb
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 0x49c628
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 0x49c648
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.00620b8d
add esp, 0x44
ret 4
Function at 0x49c660
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 0x49c690
cmp dword [esi + 8], ebx
je 0x49c751
mov esi, dword [esi]
cmp esi, ebp
jne 0x49c681
cmp dword [esp + 0x80], ebp
je 0x49c73c
push ebx
call fcn.0049bd00
cmp eax, ebp
je 0x49c6ad
mov dword [eax + 0x4fc], ebp
push ebx
lea ecx, [esp + 0x50]
push str.SoftwareDownloadManager_ld
push ecx
call fcn.00623a6b
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 0x49c714
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 0x49c73c
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.00620b8d
add esp, 0x68
ret 8
mov eax, dword [0x75e280]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x49c779
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.0049bad0
mov ecx, edi
call fcn.0049c2e0
push ebx
mov ecx, edi
call fcn.0049bd00
cmp eax, ebp
je 0x49c79a
mov dword [eax + 0x4fc], ebp
push ebx
lea edx, [esp + 0x28]
push str.SoftwareDownloadManager_ld
push edx
call fcn.00623a6b
add esp, 0xc
cmp dword [esp + 0x80], ebp
je 0x49c80d
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 0x49c714
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 0x49c70e
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 0x49c714
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 0x49c70d
Function at 0x49cd90
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x260]
sub esp, 0x260
push 0xffffffffffffffff
push 0x64ea33
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 0x49ce01
mov esi, 0x75dc3c
push ebx
push 0xa
lea ecx, [ebp + 0x21c]
push ecx
mov edx, dword [edi + 0x84]
push edx
call fcn.006238f2
add esp, 0xc
push eax
push esi
push str._sSchedulerq__s.dt
lea ecx, [ebp + 0x210]
call fcn.00402310
mov eax, dword [ebp + 0x210]
cmp eax, ebx
jne 0x49ce3c
lea eax, [ebp + 0x214]
push 0x684f54
push eax
call fcn.0062385d
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x49cf17
push ebx
call fcn.006280c7
push eax
call fcn.00625e8a
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.005f4e47
add esp, 0xc
mov edi, eax
test edi, edi
je 0x49cf0b
push ebx
push esi
push 1
push edi
call fcn.00625b7c
add esp, 0x10
cmp eax, esi
jne 0x49cf02
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 0x49cea0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49cea0
sub eax, edx
je 0x49cf02
jmp 0x49ceb0
test esi, esi
je 0x49cf02
lea ecx, [ebp - 0x20]
push ecx
push 0x6795fc
push esi
call fcn.0062257e
add esp, 0xc
cmp eax, 1
jne 0x49cee8
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.0049c120
push 0x20
push esi
call fcn.00622170
add esp, 8
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x49cf02
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x49ceb0
push edi
call fcn.005f4e52
add esp, 4
push ebx
call fcn.00623537
add esp, 4
mov edi, dword [ebp - 0x18]
mov eax, dword [edi + 0x84]
cmp eax, 2
jg 0x49cf29
mov dword [edi + 0x78], 4
cmp eax, 1
jne 0x49cf3b
cmp byte [ebp - 0x11], 0
jne 0x49cf3b
mov ecx, edi
call fcn.0049c8d0
cmp dword [edi + 0x84], 2
jne 0x49cf48
mov byte [edi + 0x28], 0
mov ecx, edi
call fcn.0049bd10
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.00620b8d
add ebp, 0x260
mov esp, ebp
pop ebp
ret
Function at 0x4a0620
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64edb0
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.004a0570
test eax, eax
je 0x4a07b3
cmp dword [esi + 0x10], 0
je 0x4a07b3
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 0x4a07b3
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 0x4a0703
push 0x167
jmp 0x4a0708
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 0x4a07e4
Capabilities:
Hide graphical window

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

Function at 0x4a09d0
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 0x4a0a09
cmp dword [esp + 4], eax
setne al
add esp, 8
ret
mov al, 1
add esp, 8
ret
Function at 0x4a0a40
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ee00
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.00624c20
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.00624b70
mov esi, eax
and esi, 0x800003ff
jns 0x4a0ac4
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.00624b70
and eax, 0x800003ff
jns 0x4a0af4
dec eax
or eax, 0xfffffc00
inc eax
mov dword [ebp - 0x24], eax
push 0
push 0x40000000
push edi
push ebx
call fcn.00624b70
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 0x4a0b27
mov edx, 0x2c
mov word [ebp - 0x1c], dx
mov ecx, dword [ebp - 0x24]
test edi, edi
jne 0x4a0bb8
cmp ecx, 0x3e7
jg 0x4a0bb8
test ecx, ecx
jne 0x4a0b95
cmp esi, 0x3e7
jg 0x4a0b95
test esi, esi
je 0x4a0b77
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 0x4a0be2
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.00623a6b
add esp, 0x10
jmp 0x4a0bea
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 0x4a0bd9
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.00623a6b
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.00620b8d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a0cc0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x75e264]
test ecx, ecx
je 0x4a0d0a
mov eax, dword [esi + 0x20]
push eax
call fcn.0054b060
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a0d0a
mov eax, dword [esi + 0x74]
test eax, eax
je 0x4a0cf2
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