joyce8/EMBER2024-capa huggingface dataset:
Function at 0x449620
Capabilities:
Set registry value

Disassembly:
sub esp, 0x30
mov edx, dword [esp + 0x34]
lea eax, [esp]
lea ecx, [esp + 0x34]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4eb858
push 0
push edx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44968f
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 4]
push eax
push ecx
mov dword [esp + 0xc], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 4]
push 0x2c
push edx
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x30
ret

Function at 0x4496a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x34
lea eax, [esp + 0x38]
push esi
push eax
push 0x20019
push 0
push ecx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4496db
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push esi
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
add esp, 0x34
ret
push edi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, 0x2c
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
lea edx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x48]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x40]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop edi
je 0x449740
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
pop esi
add esp, 0x34
ret
mov eax, dword [esp + 0x14]
cmp eax, 6
mov esi, eax
je 0x449750
cmp eax, 2
jne 0x449758
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x48]
cmp eax, 0xa
je 0x449765
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
mov eax, esi
pop esi
add esp, 0x34
ret
Function at 0x449e90
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x4eba18]
sub esp, 0x120
test eax, eax
push ebx
push esi
push edi
jne 0x449f6f
mov ecx, 6
xor eax, eax
mov edi, 0x4eb988
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
rep stosd dword es:[edi], eax
mov dword [0x4eb988], eax
lea eax, [esp + 0x2c]
push 0x100
push eax
push 0x12
push 0x400
call esi
lea ecx, [esp + 0x2c]
push ecx
call fcn.004bf3fc
add esp, 4
lea edx, [esp + 0x2c]
mov dword [0x4eb98c], eax
push 0x100
push edx
push 0x10
push 0x400
call esi
lea eax, [esp + 0x2c]
push eax
call fcn.004bf3fc
add esp, 4
mov dword [0x4eb990], eax
push 0xa
push 0x4eb9b0
push 0xe
push 0x400
call esi
push 0xa
push 0x4eb9d4
push 0xf
push 0x400
mov dword [0x4eb994], 0x4eb9b0
call esi
lea ecx, [esp + 0x2c]
push 0x100
push ecx
push 0x1010
push 0x400
mov dword [0x4eb998], 0x4eb9d4
call esi
lea edx, [esp + 0x2c]
push edx
call fcn.004bf3fc
add esp, 4
mov dword [0x4eb99c], eax
mov dword [0x4eba18], 1
mov ebx, dword [esp + 0x134]
mov edi, dword [esp + 0x130]
push 0
push 0x3b9aca00
push ebx
push edi
call fcn.004bf6c0
mov esi, eax
or eax, edx
je 0x449fb6
push 0
push 0x3b9aca00
push ebx
push edi
call fcn.004bfce0
push eax
push esi
lea ecx, [esp + 0x14]
push str._d_09d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x449fca
push edi
lea edx, [esp + 0x10]
push 0x4e217c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x138]
push eax
push ecx
lea edx, [esp + 0x14]
push 0x4eb988
push edx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
pop edi
pop esi
pop ebx
add esp, 0x120
ret
Function at 0x44a000
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4eba10]
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x44a03a
mov eax, dword [0x4eba08]
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x44a0f4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
call eax
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
push str.USER32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x44a0c6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSystemMetrics
push esi
call edi
cmp eax, ebx
mov dword [0x4eb9f8], eax
je 0x44a0c6
push str.MonitorFromWindow
push esi
call edi
cmp eax, ebx
mov dword [0x4eb9fc], eax
je 0x44a0c6
push str.MonitorFromRect
push esi
call edi
cmp eax, ebx
mov dword [0x4eba00], eax
je 0x44a0c6
push str.MonitorFromPoint
push esi
call edi
cmp eax, ebx
mov dword [0x4eba04], eax
je 0x44a0c6
push str.EnumDisplayMonitors
push esi
call edi
cmp eax, ebx
mov dword [0x4eba0c], eax
je 0x44a0c6
push str.GetMonitorInfoA
push esi
call edi
cmp eax, ebx
mov dword [0x4eba08], eax
je 0x44a0c6
mov dword [0x4eba10], 1
jmp 0x44a025
mov dword [0x4eb9f8], ebx
mov dword [0x4eb9fc], ebx
mov dword [0x4eba00], ebx
mov dword [0x4eba04], ebx
mov dword [0x4eba08], ebx
mov dword [0x4eba0c], ebx
mov dword [0x4eba10], 1
cmp dword [esp + 0x20], 0x12340042
jne 0x44a184
mov esi, dword [esp + 0x24]
cmp esi, ebx
je 0x44a184
cmp dword [esi], 0x28
jb 0x44a184
lea eax, [esp + 0xc]
push ebx
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
je 0x44a184
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call edi
push 1
mov dword [esi + 0xc], eax
call edi
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [ecx], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x24], 1
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov eax, dword [esi]
cmp eax, 0x48
jb 0x44a176
add esi, 0x28
push str.DISPLAY
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 8
Function at 0x44aba0
Capabilities:
Get geographical location

Disassembly:
mov al, byte [0x4eba1c]
sub esp, 0x50
test al, al
jne 0x44abc0
push 0xa
push 0x4eba1c
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push esi
push edi
test eax, eax
jg 0x44abf6
jl 0x44abd8
cmp ecx, 0x3e8
jae 0x44abf6
push eax
push ecx
lea eax, [esp + 0x10]
push 0x4e217c
push eax
call fcn.004bf8d4
add esp, 0x10
mov edi, str._bytes
jmp 0x44ac8b
test eax, eax
jg 0x44ac64
jl 0x44ac04
cmp ecx, 0xfa000
jae 0x44ac2d
fild qword [esp + 0x5c]
sub esp, 8
lea ecx, [esp + 0x10]
fmul dword [0x4cca68]
fstp qword [esp]
push str._.1f
push ecx
call fcn.004bf8d4
add esp, 0x10
mov edi, 0x4e219c
jmp 0x44ac8b
test eax, eax
jg 0x44ac64
jl 0x44ac3b
cmp ecx, 0x3e800000
jae 0x44ac64
fild qword [esp + 0x5c]
sub esp, 8
lea edx, [esp + 0x10]
fmul dword [0x4cca64]
fstp qword [esp]
push str._.1f
push edx
call fcn.004bf8d4
add esp, 0x10
mov edi, 0x4e2198
jmp 0x44ac8b
fild qword [esp + 0x5c]
sub esp, 8
lea eax, [esp + 0x10]
fmul dword [0x4cca60]
fstp qword [esp]
push str._.1f
push eax
call fcn.004bf8d4
add esp, 0x10
mov edi, 0x4e2194
mov cl, byte [0x4eba1c]
test cl, cl
je 0x44acb5
cmp cl, 0x2e
je 0x44acb5
mov dl, byte [esp + 8]
lea eax, [esp + 8]
test dl, dl
je 0x44acb5
cmp byte [eax], 0x2e
jne 0x44acad
mov byte [eax], cl
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x44aca6
mov esi, dword [esp + 0x64]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
pop esi
add esp, 0x50
ret

Function at 0x44b170
Capabilities:
Get disk size

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x114
lea ecx, [esp + 0x10]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
push ecx
call esi
mov al, byte [esp + 0x18]
xor ebx, ebx
cmp al, bl
je 0x44b1e0
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x17]
lea eax, [esp + eax + 0x17]
cmp cl, 0x5c
je 0x44b1b5
inc eax
push 0x4e076c
push eax
call esi
cmp byte [esp + 0x19], 0x3a
jne 0x44b1c2
mov byte [esp + 0x1b], bl
jmp 0x44b1e0
lea eax, [esp + 0x18]
xor esi, esi
push 0x5c
push eax
call fcn.004bea70
add esp, 8
cmp eax, ebx
je 0x44b1e0
inc eax
inc esi
cmp esi, 4
jl 0x44b1c8
mov byte [eax], bl
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
je 0x44b256
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x128]
imul esi, dword [esp + 0x18]
cmp edi, ebx
je 0x44b22a
mov edx, dword [esp + 0xc]
push ebx
push esi
push ebx
push edx
call fcn.004bf680
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x12c]
cmp edi, ebx
je 0x44b247
mov eax, dword [esp + 0x14]
push ebx
push esi
push ebx
push eax
call fcn.004bf680
mov dword [edi], eax
mov dword [edi + 4], edx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x114
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x114
ret
Function at 0x44b270
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x100
call fcn.004be967
push 0x100
mov ebx, eax
call fcn.004be967
mov ebp, dword [esp + 0x1c]
add esp, 8
mov esi, eax
push ebp
push ebx
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x4e076c
push ebx
call fcn.004bf9e5
mov cx, word [ebp]
mov edi, eax
mov eax, 0x4e0ac8
add esp, 8
cmp cx, word [eax]
jne 0x44b2da
push edi
push str._s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x4e076c
push 0
call fcn.004bf9e5
add esp, 0x14
mov edi, eax
test edi, edi
je 0x44b340
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [esi], 0
jne 0x44b2f2
mov edx, dword [esp + 0x14]
cmp byte [edx], 0x5c
jne 0x44b2fa
push 0x4e076c
push esi
call ebp
push edi
push esi
call ebp
push 0x4e076c
push 0
call fcn.004bf9e5
mov edi, eax
mov al, byte [esi]
add esp, 8
test al, al
je 0x44b33c
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + esi - 1], 0x3a
je 0x44b33c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44b33c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x44b359
test edi, edi
jne 0x44b2e4
push ebx
call fcn.004be975
push esi
call fcn.004be975
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x44b39e
mov ecx, dword [esp + 0x14]
push 0x40
push str.Failed_to_create_directory
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

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

Disassembly:
sub esp, 0x128
lea eax, [esp + 0x20]
push edi
mov edi, dword [esp + 0x134]
push 0
push eax
push 0x105
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov cl, byte [esp + eax + 0x23]
lea eax, [esp + eax + 0x23]
cmp cl, 0x5c
jne 0x44b4ac
mov byte [eax], 0
lea edx, [esp + 0x24]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push edx
call esi
cmp eax, 0xffffffff
jne 0x44b4e1
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.004bea30
add esp, 8
test eax, eax
je 0x44b4e1
lea ecx, [esp + 0x28]
mov byte [eax], 0
push ecx
call esi
cmp eax, 0xffffffff
je 0x44b4bf
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x13c]
mov dword [esp + 8], edx
lea edx, [esp + 8]
lea ecx, [esp + 0x28]
push edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x44b440
mov dword [esp + 0x24], ecx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
test eax, eax
pop esi
je 0x44b544
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, 1
pop edi
add esp, 0x128
ret
xor eax, eax
pop edi
add esp, 0x128
ret
Function at 0x44c1c0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
add eax, 0x41
lea ecx, [esp + 4]
push eax
push str._c:_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x14]
lea eax, [esp]
push 0
push 0
push edx
push eax
push ecx
push 0
lea edx, [esp + 0x1c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
add esp, 0x10
ret

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

Disassembly:
mov al, byte [esp + 0xc]
sub esp, 0x210
test al, al
jne 0x44c226
mov byte [esp + 0x21c], 0x5f
push ebx
push ebp
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x118]
push esi
push eax
call edi
lea ecx, [esp + 0x118]
push 0x5c
push ecx
call fcn.004bea30
add esp, 8
test eax, eax
jne 0x44c26e
lea edx, [esp + 0x118]
push 0x3a
push edx
call fcn.004bea30
add esp, 8
test eax, eax
je 0x44c273
lea ebx, [eax + 1]
jmp 0x44c27a
lea ebx, [esp + 0x118]
lea eax, [esp + 0x10]
push ebx
push eax
call edi
push 0x2e
push esi
call fcn.004bea30
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x44c298
mov ebp, 0x4eb858
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x44c35d
lea edx, [esp + 0x10]
push 0x2e
push edx
call fcn.004bea30
mov edi, eax
add esp, 8
test edi, edi
jne 0x44c2d3
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [esp + eax + 0x10]
lea esi, [edi - 1]
lea ecx, [esp + 0x10]
cmp esi, ecx
jbe 0x44c2f7
movsx edx, byte [esi]
push edx
call fcn.004bf29c
add esp, 4
test eax, eax
je 0x44c2f7
dec esi
lea eax, [esp + 0x10]
cmp esi, eax
ja 0x44c2de
mov cl, byte [esi]
mov dl, byte [esp + 0x22c]
cmp cl, dl
mov eax, 1
jne 0x44c317
lea edx, [esi + 1]
push edx
call fcn.004bf3fc
add esp, 4
jmp 0x44c319
mov esi, edi
inc eax
push ebp
push eax
movsx eax, byte [esp + 0x234]
push eax
push str._c_d_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x44c2af
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 0x228]
lea eax, [esp + 0x118]
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret

Function at 0x44c920
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xc
lea eax, [esp]
push esi
push 0xa
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
movsx ecx, byte [esp + 4]
mov esi, dword [esp + 0x14]
push ecx
push esi
call fcn.004bea70
add esp, 8
test eax, eax
je 0x44c952
mov byte [eax], 0x2e
push esi
call fcn.004bf31a
add esp, 4
pop esi
add esp, 0xc
ret
Function at 0x44c9a0
Capabilities:
Get graphical window text
Set registry value

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x118
test eax, eax
push ebx
mov ebx, dword [esp + 0x120]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
je 0x44ca31
push 0
push 0
push 0x147
push ebx
call ebp
test eax, eax
jle 0x44c9df
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x148
push ebx
call ebp
jmp 0x44c9f0
lea edx, [esp + 0x24]
push 0x104
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [esp + 0x24]
test al, al
je 0x44ca31
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 0x158
push ebx
call ebp
test eax, eax
jl 0x44ca16
push 0
push eax
push 0x144
push ebx
call ebp
lea ecx, [esp + 0x24]
push ecx
push 0
push 0x14a
push ebx
call ebp
push 0
push 0
push 0x14e
push ebx
call ebp
push 0
push 0
push 0x146
push ebx
call ebp
mov ecx, dword [esp + 0x134]
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x44ca56
cmp eax, ecx
jle 0x44ca56
mov dword [esp + 0x10], ecx
mov eax, ecx
mov edi, 1
xor esi, esi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x44ca9c
push 0
push esi
push 0x149
push ebx
call ebp
mov ecx, dword [esp + 0x138]
inc eax
test ecx, ecx
je 0x44ca83
lea edx, [eax + edi]
cmp edx, ecx
jg 0x44ca94
add edi, eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x44ca65
mov dword [esp + 0x14], edi
jmp 0x44ca9c
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
push edi
call fcn.004be967
mov dword [esp + 0x20], eax
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
xor edi, edi
test eax, eax
jle 0x44cad3
push esi
push edi
push 0x148
push ebx
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x44cab5
mov edx, dword [esp + 0x13c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4eb858
push 0
push edx
push DrawStatusTextA
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44cb14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x118
ret
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x18]
push eax
push edi
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.004be975
add esp, 4
xor eax, eax
test esi, esi
pop edi
pop esi
pop ebp
pop ebx
sete al
add esp, 0x118
ret
Function at 0x44cb60
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push DrawStatusTextA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44cb89
xor eax, eax
add esp, 8
ret
mov ecx, dword [esp]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edi
push edx
lea eax, [esp + 0x14]
push 0
push eax
push 0
push esi
push ecx
mov dword [esp + 0x34], 0
call ebp
mov edi, eax
neg edi
sbb edi, edi
inc edi
je 0x44cc29
mov edx, dword [esp + 0x1c]
push ebx
inc edx
push edx
call fcn.004be967
mov edx, dword [esp + 0x14]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0
push esi
push edx
call ebp
mov edi, eax
neg edi
sbb edi, edi
inc edi
je 0x44cc1f
mov eax, dword [esp + 0x20]
mov esi, ebx
mov byte [ebx + eax], 0
mov al, byte [ebx]
test al, al
je 0x44cc1f
mov ebp, dword [esp + 0x1c]
push esi
push 0
push 0x143
push ebp
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x44cc00
push ebx
call fcn.004be975
add esp, 4
pop ebx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test edi, edi
pop edi
pop esi
sete al
pop ebp
add esp, 8
ret
Function at 0x44ea60
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x84], ebp
jne 0x44ea7d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebp
je 0x44ead8
push 0xbb8
push eax
mov dword [esi + 0x78], 1
call edi
cmp eax, 0x102
jne 0x44eab8
push 0x20
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0x74]
push eax
call ebx
mov ecx, dword [esi + 0x60]
push ebp
push 0x244
push ecx
mov dword [esi + 0x74], ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x7c]
cmp eax, ebp
je 0x44eb13
push 0xbb8
push eax
mov dword [esi + 0x80], 1
call edi
cmp eax, 0x102
jne 0x44eb0a
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov edx, dword [esi + 0x7c]
push edx
call ebx
mov dword [esi + 0x7c], ebp
cmp dword [esi + 0x74], ebp
je 0x44eb22
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esi + 0x60]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
mov ecx, esi
mov dword [esi + 0x78], ebp
call fcn.0044fad0
cmp dword [esi + 0xf8], ebp
je 0x44eb7b
mov eax, dword [esi + 0xf0]
xor edi, edi
cmp eax, ebp
jle 0x44eb7b
cmp edi, eax
jge 0x44eb70
cmp edi, ebp
jl 0x44eb70
mov ecx, dword [esi + 0xec]
mov ebx, dword [ecx + edi*4]
cmp ebx, ebp
je 0x44eb70
mov ecx, ebx
call fcn.00452f70
push ebx
call fcn.004be975
add esp, 4
mov eax, dword [esi + 0xf0]
inc edi
cmp edi, eax
jl 0x44eb4f
mov edx, dword [esi + 0xec]
push edx
call fcn.004be975
push 0x80
call fcn.004be967
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
add esp, 8
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], ebp
mov dword [esi + 0xf4], 0x1f
mov dword [esi + 0xfc], 0x40
mov eax, dword [esi + 0x60]
push 1
push 0x403
push 0x403
lea ecx, [esp + 0x20]
push eax
push ecx
call edi
test eax, eax
je 0x44ebf0
mov edx, dword [esi + 0x60]
push 1
push 0x403
push 0x403
lea eax, [esp + 0x20]
push edx
push eax
call edi
test eax, eax
jne 0x44ebd5
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
push 0x44d1b0
push ebp
push ebp
call fcn.004bf407
add esp, 0x18
mov dword [esi + 0x74], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esi + 0x74]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x60]
push 5
push 0x244
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret