joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4425a0
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 0x4fbe40
push 0
push edx
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44260f
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 0x442620
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 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x44265b
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 0x4426c0
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 0x4426d0
cmp eax, 2
jne 0x4426d8
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x48]
cmp eax, 0xa
je 0x4426e5
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 0x442830
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x4fbfe0]
sub esp, 0x120
test eax, eax
push ebx
push esi
push edi
jne 0x44290f
mov ecx, 6
xor eax, eax
mov edi, 0x4fbf48
mov esi, dword [sym.imp.kernel32.dll_GetLocaleInfoA]
rep stosd dword es:[edi], eax
mov dword [0x4fbf48], eax
lea eax, [esp + 0x2c]
push 0x100
push eax
push 0x12
push 0x400
call esi
lea ecx, [esp + 0x2c]
push ecx
call fcn.004c7f29
add esp, 4
lea edx, [esp + 0x2c]
mov dword [0x4fbf4c], eax
push 0x100
push edx
push 0x10
push 0x400
call esi
lea eax, [esp + 0x2c]
push eax
call fcn.004c7f29
add esp, 4
mov dword [0x4fbf50], eax
push 0xa
push 0x4fbf70
push 0xe
push 0x400
call esi
push 0xa
push 0x4fbf94
push 0xf
push 0x400
mov dword [0x4fbf54], 0x4fbf70
call esi
lea ecx, [esp + 0x2c]
push 0x100
push ecx
push 0x1010
push 0x400
mov dword [0x4fbf58], 0x4fbf94
call esi
lea edx, [esp + 0x2c]
push edx
call fcn.004c7f29
add esp, 4
mov dword [0x4fbf5c], eax
mov dword [0x4fbfe0], 1
mov ebx, dword [esp + 0x134]
mov edi, dword [esp + 0x130]
push 0
push 0x3b9aca00
push ebx
push edi
call fcn.004c8e00
mov esi, eax
or eax, edx
je 0x442956
push 0
push 0x3b9aca00
push ebx
push edi
call fcn.004c9520
push eax
push esi
lea ecx, [esp + 0x14]
push 0x4effd8
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
jmp 0x44296a
push edi
lea edx, [esp + 0x10]
push 0x4effd4
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 0x4fbf48
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 0x4429a0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x4fbfd4]
sub esp, 0x94
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x4429cb
mov ecx, dword [fcn.004fbfc8]
xor eax, eax
cmp ecx, ebx
pop edi
pop esi
pop ebx
setne al
add esp, 0x94
ret
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
cmp edx, 2
push 0x4f0064
sete cl
mov dword [0x4fbfd8], ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, ebx
je 0x442aa3
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4f0050
push esi
call edi
cmp eax, ebx
mov dword [fcn.004fbfb8], eax
je 0x442aa3
push 0x4f003c
push esi
call edi
cmp eax, ebx
mov dword [fcn.004fbfbc], eax
je 0x442aa3
push 0x4f002c
push esi
call edi
cmp eax, ebx
mov dword [fcn.004fbfc0], eax
je 0x442aa3
push 0x4f0018
push esi
call edi
cmp eax, ebx
mov dword [0x4fbfc4], eax
je 0x442aa3
push 0x4f0004
push esi
call edi
cmp eax, ebx
mov dword [0x4fbfcc], eax
je 0x442aa3
push 0x4efff4
push esi
call edi
cmp eax, ebx
mov dword [fcn.004fbfc8], eax
je 0x442aa3
push 0x4effe0
push esi
call edi
cmp eax, ebx
mov dword [0x4fbfd0], eax
je 0x442aa3
mov eax, 1
pop edi
pop esi
mov dword [0x4fbfd4], eax
pop ebx
add esp, 0x94
ret
pop edi
mov dword [fcn.004fbfb8], ebx
mov dword [fcn.004fbfbc], ebx
mov dword [fcn.004fbfc0], ebx
mov dword [0x4fbfc4], ebx
mov dword [fcn.004fbfc8], ebx
mov dword [0x4fbfcc], ebx
mov dword [0x4fbfd0], ebx
pop esi
mov dword [0x4fbfd4], 1
xor eax, eax
pop ebx
add esp, 0x94
ret
Function at 0x443540
Capabilities:
Get geographical location

Disassembly:
mov al, byte [0x4fbfe4]
sub esp, 0x50
test al, al
jne 0x443560
push 0xa
push 0x4fbfe4
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 0x443596
jl 0x443578
cmp ecx, 0x3e8
jae 0x443596
push eax
push ecx
lea eax, [esp + 0x10]
push 0x4effd4
push eax
call fcn.004c9117
add esp, 0x10
mov edi, 0x4f008c
jmp 0x44362b
test eax, eax
jg 0x443604
jl 0x4435a4
cmp ecx, 0xfa000
jae 0x4435cd
fild qword [esp + 0x5c]
sub esp, 8
lea ecx, [esp + 0x10]
fmul dword [0x4d8a90]
fstp qword [esp]
push 0x4f0084
push ecx
call fcn.004c9117
add esp, 0x10
mov edi, 0x4f0080
jmp 0x44362b
test eax, eax
jg 0x443604
jl 0x4435db
cmp ecx, 0x3e800000
jae 0x443604
fild qword [esp + 0x5c]
sub esp, 8
lea edx, [esp + 0x10]
fmul dword [0x4d8a8c]
fstp qword [esp]
push 0x4f0084
push edx
call fcn.004c9117
add esp, 0x10
mov edi, 0x4f007c
jmp 0x44362b
fild qword [esp + 0x5c]
sub esp, 8
lea eax, [esp + 0x10]
fmul dword [0x4d8a88]
fstp qword [esp]
push 0x4f0084
push eax
call fcn.004c9117
add esp, 0x10
mov edi, 0x4f0078
mov cl, byte [0x4fbfe4]
test cl, cl
je 0x443655
cmp cl, 0x2e
je 0x443655
mov dl, byte [esp + 8]
lea eax, [esp + 8]
test dl, dl
je 0x443655
cmp byte [eax], 0x2e
jne 0x44364d
mov byte [eax], cl
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x443646
mov esi, dword [esp + 0x64]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.kernel32.dll_lstrcpy]
push edi
push esi
call dword [sym.imp.kernel32.dll_lstrcat]
pop edi
pop esi
add esp, 0x50
ret

Function at 0x443b10
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_lstrcpy]
push eax
push ecx
call esi
mov al, byte [esp + 0x18]
xor ebx, ebx
cmp al, bl
je 0x443b80
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.kernel32.dll_lstrlen]
mov cl, byte [esp + eax + 0x17]
lea eax, [esp + eax + 0x17]
cmp cl, 0x5c
je 0x443b55
inc eax
push 0x4ee610
push eax
call esi
cmp byte [esp + 0x19], 0x3a
jne 0x443b62
mov byte [esp + 0x1b], bl
jmp 0x443b80
lea eax, [esp + 0x18]
xor esi, esi
push 0x5c
push eax
call fcn.004c81f0
add esp, 8
cmp eax, ebx
je 0x443b80
inc eax
inc esi
cmp esi, 4
jl 0x443b68
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 0x443bf6
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x128]
imul esi, dword [esp + 0x18]
cmp edi, ebx
je 0x443bca
mov edx, dword [esp + 0xc]
push ebx
push esi
push ebx
push edx
call fcn.004c8dc0
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x12c]
cmp edi, ebx
je 0x443be7
mov eax, dword [esp + 0x14]
push ebx
push esi
push ebx
push eax
call fcn.004c8dc0
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 0x443c10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x100
call fcn.004c7e90
push 0x100
mov ebx, eax
call fcn.004c7e90
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_lstrcpy]
push 0x4ee610
push ebx
call fcn.004c9228
mov cx, word [ebp]
mov edi, eax
mov eax, 0x4ee9b0
add esp, 8
cmp cx, word [eax]
jne 0x443c7a
push edi
push 0x4f00cc
push esi
call dword [sym.imp.user32.dll_wsprintfA]
push 0x4ee610
push 0
call fcn.004c9228
add esp, 0x14
mov edi, eax
test edi, edi
je 0x443ce0
mov ebp, dword [sym.imp.kernel32.dll_lstrcat]
cmp byte [esi], 0
jne 0x443c92
mov edx, dword [esp + 0x14]
cmp byte [edx], 0x5c
jne 0x443c9a
push 0x4ee610
push esi
call ebp
push edi
push esi
call ebp
push 0x4ee610
push 0
call fcn.004c9228
mov edi, eax
mov al, byte [esi]
add esp, 8
test al, al
je 0x443cdc
push esi
call dword [sym.imp.kernel32.dll_lstrlen]
cmp byte [eax + esi - 1], 0x3a
je 0x443cdc
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443cdc
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
je 0x443cf9
test edi, edi
jne 0x443c84
push ebx
call fcn.004c7e56
push esi
call fcn.004c7e56
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 0x443d3e
mov ecx, dword [esp + 0x14]
push pe_nt_image_headers32
push 0x4f00b0
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 0x443e10
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_lstrlen]
mov cl, byte [esp + eax + 0x23]
lea eax, [esp + eax + 0x23]
cmp cl, 0x5c
jne 0x443e4c
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 0x443e81
lea eax, [esp + 0x28]
push 0x5c
push eax
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x443e81
lea ecx, [esp + 0x28]
mov byte [eax], 0
push ecx
call esi
cmp eax, 0xffffffff
je 0x443e5f
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], 0x443de0
mov dword [esp + 0x24], ecx
call dword [sym.imp.shell32.dll_SHBrowseForFolder]
test eax, eax
pop esi
je 0x443ee4
push edi
push eax
call dword [sym.imp.shell32.dll_SHGetPathFromIDList]
mov eax, 1
pop edi
add esp, 0x128
ret
xor eax, eax
pop edi
add esp, 0x128
ret
Function at 0x444b40
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
add eax, 0x41
lea ecx, [esp + 4]
push eax
push 0x4ee708
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 0x444b90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov al, byte [esp + 0xc]
sub esp, 0x210
test al, al
jne 0x444ba6
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_lstrcpy]
lea eax, [esp + 0x118]
push esi
push eax
call edi
lea ecx, [esp + 0x118]
push 0x5c
push ecx
call fcn.004c82b0
add esp, 8
test eax, eax
jne 0x444bee
lea edx, [esp + 0x118]
push 0x3a
push edx
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x444bf3
lea ebx, [eax + 1]
jmp 0x444bfa
lea ebx, [esp + 0x118]
lea eax, [esp + 0x10]
push ebx
push eax
call edi
push 0x2e
push esi
call fcn.004c82b0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x444c18
mov ebp, 0x4fbe40
lea ecx, [esp + 0x118]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x444cdd
lea edx, [esp + 0x10]
push 0x2e
push edx
call fcn.004c82b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x444c53
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
lea edi, [esp + eax + 0x10]
lea esi, [edi - 1]
lea ecx, [esp + 0x10]
cmp esi, ecx
jbe 0x444c77
movsx edx, byte [esi]
push edx
call fcn.004c9099
add esp, 4
test eax, eax
je 0x444c77
dec esi
lea eax, [esp + 0x10]
cmp esi, eax
ja 0x444c5e
mov cl, byte [esi]
mov dl, byte [esp + 0x22c]
cmp cl, dl
mov eax, 1
jne 0x444c97
lea edx, [esi + 1]
push edx
call fcn.004c7f29
add esp, 4
jmp 0x444c99
mov esi, edi
inc eax
push ebp
push eax
movsx eax, byte [esp + 0x234]
push eax
push 0x4f00d4
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_lstrcpy]
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x444c2f
mov edi, dword [sym.imp.kernel32.dll_lstrcpy]
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 0x4452a0
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.004c81f0
add esp, 8
test eax, eax
je 0x4452d2
mov byte [eax], 0x2e
push esi
call fcn.004c9014
add esp, 4
pop esi
add esp, 0xc
ret
Function at 0x445320
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 0x4453b0
push 0
push 0
push 0x147
push ebx
call ebp
test eax, eax
jle 0x44535f
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x148
push ebx
call ebp
jmp 0x445370
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 0x4453b0
lea eax, [esp + 0x24]
push eax
push 0xffffffffffffffff
push 0x158
push ebx
call ebp
test eax, eax
jl 0x445396
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 eax
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 0x4453d5
cmp eax, ecx
jle 0x4453d5
mov dword [esp + 0x10], ecx
mov eax, ecx
mov edi, 1
xor esi, esi
test eax, eax
mov dword [esp + 0x14], edi
jle 0x44541b
push 0
push esi
push 0x149
push ebx
call ebp
mov ecx, dword [esp + 0x138]
inc eax
test ecx, ecx
je 0x445402
lea edx, [eax + edi]
cmp edx, ecx
jg 0x445413
add edi, eax
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4453e4
mov dword [esp + 0x14], edi
jmp 0x44541b
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
push edi
call fcn.004c7e90
mov dword [esp + 0x20], eax
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
xor edi, edi
test eax, eax
jle 0x445452
push esi
push edi
push 0x148
push ebx
call ebp
push esi
call dword [sym.imp.kernel32.dll_lstrlen]
lea esi, [esi + eax + 1]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x445434
mov edx, dword [esp + 0x13c]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4fbe40
push 0
push edx
push 0x80000001
mov byte [esi], 0
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
je 0x445493
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.004c7e56
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 0x4454e0
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 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x445509
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 0x4455a9
mov edx, dword [esp + 0x1c]
push ebx
inc edx
push edx
call fcn.004c7e90
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 0x44559f
mov eax, dword [esp + 0x20]
mov esi, ebx
mov byte [ebx + eax], 0
mov al, byte [ebx]
test al, al
je 0x44559f
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_lstrlen]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x445580
push ebx
call fcn.004c7e56
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 0x446170
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x20
fld dword [esp + 0x30]
fmul dword [0x4d8aa0]
mov ax, word [0x4ee814]
xor ecx, ecx
push ebx
push ebp
mov dword [esp + 0xa], ecx
push esi
push edi
mov word [esp + 0x10], ax
mov dword [esp + 0x16], ecx
call fcn.004c836c
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
and edx, 0xffff
mov esi, eax
push edx
push ebx
call dword [sym.imp.user32.dll_GetDlgItem]
fld dword [esp + 0x44]
fmul dword [0x4d8a9c]
mov edi, eax
call fcn.004c836c
fld dword [esp + 0x48]
fmul dword [0x4d8a9c]
mov bp, ax
and ebp, 0xffff
shl ebp, 0x10
call fcn.004c836c
and eax, 0xffff
or ebp, eax
push ebp
mov ebp, dword [sym.imp.user32.dll_SendMessageA]
push 0
push 0x465
push edi
call ebp
mov eax, 0x66666667
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
and edx, 0xffff
push edx
push 0
push 0x467
push edi
call ebp
lea ecx, [esp + 0x10]
push 0xa
push ecx
push 0xe
push 0x400
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
mov eax, esi
mov ecx, 0x64
cdq
idiv ecx
mov eax, 0x51eb851f
lea ecx, [esp + 0x1c]
push edx
lea edx, [esp + 0x14]
push edx
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push 0x4ef788
push ecx
call dword [sym.imp.user32.dll_wsprintfA]
mov eax, dword [esp + 0x50]
add esp, 0x14
lea edx, [esp + 0x1c]
and eax, 0xffff
push edx
push eax
push ebx
call dword [sym.imp.user32.dll_SetDlgItemTextA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x446fd0
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 0x446fed
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 0x447048
push 0xbb8
push eax
mov dword [esi + 0x78], 1
call edi
cmp eax, 0x102
jne 0x447028
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 0x447083
push 0xbb8
push eax
mov dword [esi + 0x80], 1
call edi
cmp eax, 0x102
jne 0x44707a
push pe_nt_image_headers32
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 0x447092
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.00447fc0
cmp dword [esi + 0xf8], ebp
je 0x4470eb
mov eax, dword [esi + 0xf0]
xor edi, edi
cmp eax, ebp
jle 0x4470eb
cmp edi, eax
jge 0x4470e0
cmp edi, ebp
jl 0x4470e0
mov ecx, dword [esi + 0xec]
mov ebx, dword [ecx + edi*4]
cmp ebx, ebp
je 0x4470e0
mov ecx, ebx
call fcn.0044b300
push ebx
call fcn.004c7e56
add esp, 4
mov eax, dword [esi + 0xf0]
inc edi
cmp edi, eax
jl 0x4470bf
mov edx, dword [esi + 0xec]
push edx
call fcn.004c7e56
push 0x80
call fcn.004c7e90
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], pe_nt_image_headers32
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 0x447160
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 0x447145
lea ecx, [esp + 0x10]
push ecx
push 4
push esi
push 0x445b30
push ebp
push ebp
call fcn.004c8b54
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