joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4119c7
Capabilities:
Check http status code

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
test esi, esi
je 0x4119eb
mov eax, dword [0x4a620c]
xor ecx, ecx
mov eax, dword [eax + 0x104]
cmp dword [eax + 0x3670], ecx
sete cl
mov esi, ecx
push edi
xor edi, edi
lea eax, [edi + 0x13]
push esi
push eax
mov eax, dword [0x4a620c]
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
inc edi
cmp edi, 8
jl 0x4119ee
mov eax, dword [0x4a620c]
push esi
push 0x23
mov ecx, dword [eax + 0xc5c]
call fcn.0044a9d9
test esi, esi
pop edi
je 0x411a50
mov eax, dword [0x4a620c]
push 4
mov ecx, dword [eax + 0x104]
mov edx, dword [ecx + 0x366c]
movzx edx, byte [edx]
mov cl, byte [edx + ecx + 0x37cc]
cmp cl, 0xc8
je 0x411a4c
movzx ecx, cl
add ecx, 0x13
push ecx
jmp 0x411a59
push 0x23
jmp 0x411a59
mov eax, dword [0x4a620c]
push 4
push 0x23
mov ecx, dword [eax + 0xc5c]
call fcn.0044aa80
mov dword [ebx + 0xcf0], esi
pop esi
pop ebx
ret 4

Function at 0x41cdeb
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push str.http:__www.x2online.com
push str.open
push eax
call dword [sym.imp.shell32.dll_ShellExecuteA]
ret

Function at 0x41cf7a
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, 0x46724c
call fcn.0045bc2c
sub esp, 0x18
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
push esi
push ecx
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0041d074
cmp eax, esi
mov dword [ebp - 0x18], eax
jge 0x41cfbf
lea eax, [ebp - 0x1c]
push 0x4695e8
push eax
mov dword [ebp - 0x1c], 1
call fcn.0045c8a1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.advapi32.dll_CryptHashData]
test eax, eax
jne 0x41cfdd
call fcn.0041d05f
mov dword [ebp - 0x18], eax
jmp 0x41cfe0
mov dword [ebp - 0x18], esi
cmp dword [ebp - 0x18], esi
jge 0x41cffa
lea eax, [ebp - 0x20]
push 0x4695e8
push eax
mov dword [ebp - 0x20], 2
call fcn.0045c8a1
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 2
push dword [ebp - 0x14]
call dword [sym.imp.advapi32.dll_CryptGetHashParam]
test eax, eax
jne 0x41d017
call fcn.0041d05f
jmp 0x41d019
xor eax, eax
cmp eax, esi
mov dword [ebp - 0x18], eax
jge 0x41d03d
lea eax, [ebp - 0x24]
push 0x4695e8
push eax
mov dword [ebp - 0x24], 3
call fcn.0045c8a1
mov eax, 0x41d03b
ret
cmp dword [ebp - 0x14], esi
je 0x41d04b
push dword [ebp - 0x14]
call dword [sym.imp.advapi32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x41d074
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov eax, dword [eax]
push esi
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.advapi32.dll_CryptCreateHash]
test eax, eax
je 0x41d0b6
cmp dword [esp + 0xc], 0
je 0x41d0bd
push dword [esp + 0xc]
call fcn.0045b670
pop ecx
push 0
push eax
push dword [esp + 0x14]
push dword [esi]
call dword [sym.imp.advapi32.dll_CryptHashData]
test eax, eax
jne 0x41d0bd
call fcn.0041d05f
jmp 0x41d0bf
xor eax, eax
pop esi
ret 8

Function at 0x41d1fc
Capabilities:
Create process on windows

Disassembly:
xor eax, eax
push 1
push eax
push eax
push str.http:__www.hananet.net
push str.open
push eax
call dword [sym.imp.shell32.dll_ShellExecuteA]
ret
Function at 0x42aa67
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
lea esi, [ecx + 0x1b70]
mov edi, 0x100
mov eax, dword [esi]
test eax, eax
je 0x42aa99
mov eax, dword [eax + 4]
test eax, eax
je 0x42aa8a
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [esi]
test ecx, ecx
je 0x42aa96
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi], 0
add esi, 4
dec edi
jne 0x42aa74
pop edi
pop esi
ret
Function at 0x43ac7f
Capabilities:
Get common file path
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x270], edi
je 0x43ae89
mov ecx, dword [esi + 0x104]
push ebx
call fcn.00456ae8
xor ebx, ebx
cmp dword [esi + 0x104], ebx
je 0x43ad06
cmp dword [esi + 0x288], ebx
je 0x43ad06
mov ecx, dword [esi + 0x104]
push ebx
call fcn.00456ab8
mov ecx, dword [esi + 0x104]
push ebx
call fcn.00456ab8
cmp al, 0x24
jbe 0x43acfe
push ebx
lea eax, [ebp - 0x84]
push dword [esi + 0x270]
push str._d____d___ITEM_ERROR_n
push eax
call fcn.0045be9e
mov ecx, dword [esi + 0x104]
add esp, 0x10
push 0
push ebx
call fcn.00456a37
inc ebx
cmp ebx, 4
jl 0x43acb9
xor ebx, ebx
push dword [edi*4 + 0x474abc]
mov ecx, dword [esi + 0x264]
call fcn.00453c72
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + eax*4 + 0x290]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov eax, dword [esi + 0x270]
cmp dword [esi + 0x23c], ebx
mov dword [esi + 0x274], eax
mov dword [esi + 0x270], edi
mov dword [esi + 0x144], ebx
je 0x43ad8a
mov ecx, dword [esi + 0xc20]
push ebx
call fcn.004447c1
lea eax, [ebp + 8]
lea ebx, [esi + 0xc34]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.004379a2
push dword [ebp + 8]
mov ecx, dword [esi + 0xc20]
push dword [ebp - 4]
call fcn.00445616
mov ecx, ebx
call fcn.00437a00
mov ecx, ebx
call fcn.004378d6
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + eax*4 + 0x290]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esi + 0xc18]
call fcn.0044b7af
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + 0x284]
push 1
lea eax, [eax + eax*2]
pop ebx
mov dword [esi + 0x2d8], ebx
inc word [ecx + eax*2]
lea eax, [ecx + eax*2]
cmp edi, 6
je 0x43ae07
cmp edi, 0xf
je 0x43ae61
lea eax, [ebp - 0x104]
push eax
push 0x7f
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
push dword [esi + 0x270]
lea eax, [ebp - 0x84]
push str.GM_02d.mid
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x84]
push ebx
jmp 0x43ae55
lea eax, [ebp - 0x104]
push eax
push 0x7f
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
mov eax, dword [0x4a620c]
mov eax, dword [eax + 0xc84]
cmp byte [eax], 0
mov eax, dword [esi + 0x104]
push dword [eax + 0x3680]
je 0x43ae39
push str.classic_resourceclassic_stage_05d.mid
jmp 0x43ae3e
push str.stage_05d.mid
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x84]
push ebx
mov ecx, dword [esi + 0xc54]
push eax
call fcn.004381fe
mov eax, dword [0x47e044]
pop ebx
test eax, eax
je 0x43ae74
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
cmp dword [esi + 0x270], 4
jne 0x43ae89
push 0
mov ecx, 0x47e040
call fcn.00453643
pop edi
pop esi
leave
ret 4
Function at 0x44013f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and byte [ebp - 0x10], 0
push edi
xor eax, eax
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
imul ecx, ecx, 0xd
lea ecx, [ecx + 0x474f24]
pop edi
mov dl, byte [ecx + eax]
xor dl, 0xa5
mov byte [ebp + eax - 0x10], dl
inc eax
cmp eax, 0xd
jl 0x440161
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call fcn.0045b5e0
pop ecx
pop ecx
leave
ret
Function at 0x44137d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push esi
lea eax, [ebp + 0xc]
push edi
push eax
xor esi, esi
push 0x20019
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4413e6
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 8]
push dword [ebp + 0x14]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [ebp + 0xc]
mov edi, eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp edi, esi
je 0x4413ea
push esi
lea eax, [ebp - 0x400]
push 0x400
push eax
push esi
push edi
push esi
push 0x1000
call dword [sym.imp.kernel32.dll_FormatMessageA]
xor eax, eax
jmp 0x4413ed
push 1
pop eax
pop edi
pop esi
leave
ret

Function at 0x44145d
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468b60
push 0x45d5e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x34], ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
push ebx
push 1
mov edi, str.Microsoft_Base_Cryptographic_Provider_v1.0
push edi
mov esi, 0x4a61e8
push esi
push ecx
call dword [sym.imp.advapi32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4414af
call fcn.0041d05f
mov dword [ebp - 0x1c], eax
jmp 0x4414b2
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x1c], ebx
jge 0x4414d7
push 8
push 1
push edi
push esi
push dword [ebp - 0x34]
call dword [sym.imp.advapi32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4414d4
call fcn.0041d05f
mov dword [ebp - 0x1c], eax
jmp 0x4414d7
mov dword [ebp - 0x1c], ebx
or dword [ebp - 4], 0xffffffff
call fcn.004414fe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44b697
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ec
and byte [ebp - 0x3ec], 0
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0xf9
xor eax, eax
lea edi, [ebp - 0x3eb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x3ec]
push 0x80
push eax
push dword [esi + 8]
call dword [sym.imp.user32.dll_GetWindowTextA]
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
lea eax, [ebp - 0x3ec]
push eax
call fcn.0045b670
mov ebx, eax
mov eax, dword [esi]
cmp ebx, eax
pop ecx
jle 0x44b6f3
lea ebx, [eax - 1]
mov edi, dword [ebp + 8]
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x3ec]
push eax
push edi
call fcn.0045c9a0
and byte [ebx + edi + 1], 0
lea eax, [ebx + edi]
add esp, 0xc
test byte [eax], 0x80
je 0x44b71a
and byte [eax], 0
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x44b74d
push edi
call fcn.0045b670
test eax, eax
pop ecx
jbe 0x44b74d
movsx eax, byte [ebx + edi]
cmp eax, 0x80
jle 0x44b741
mov byte [ebx + edi], 0x20
mov byte [ebx + edi + 1], 0x20
inc ebx
push edi
inc ebx
call fcn.0045b670
cmp ebx, eax
pop ecx
jb 0x44b72c
lea eax, [esi + 0xfc4]
push edi
push eax
call fcn.0045bf50
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
lea eax, [ebp - 4]
push eax
push 0xb0
push dword [esi + 8]
call dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [ebp + 8]
cmp eax, 0xffff
jbe 0x44b77e
xor eax, eax
mov dword [esi + 0x11b8], eax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44bd28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44bdfa
push eax
call fcn.0044bd0e
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x454]
lea eax, [edi + 0x3c]
push eax
call fcn.0044b697
movzx eax, word [esp + 0x10]
cmp eax, 9
mov dword [edi + 0x448], ebx
je 0x44bdb2
cmp eax, 0xd
je 0x44bd79
cmp eax, 0x1b
jne 0x44bdfa
push ebx
push ebx
push 0x1000002
jmp 0x44bd8c
mov ecx, dword [esi + 0xc]
call fcn.0044bbf3
test eax, eax
je 0x44bda8
push ebx
push ebx
push 0x1000001
mov ecx, dword [esi + 0x14]
call fcn.00453753
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x44bdfa
call fcn.0044bb83
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
jmp 0x44bdfa
mov ecx, dword [esi + 0xc]
call fcn.0044bbc3
jmp 0x44bdd8
push 0x10
call dword [sym.imp.user32.dll_GetKeyState]
mov ecx, dword [esi + 0xc]
and ax, 0x8000
cmp ax, 0x8000
jne 0x44bdce
call fcn.0044bbdb
jmp 0x44bdd3
call fcn.0044bbc3
cmp eax, 0xffffffff
je 0x44bd85
push eax
push 0xfffffffffffffff4
mov ecx, esi
call fcn.0045006f
mov edi, eax
cmp edi, ebx
je 0x44bdfa
mov ecx, dword [esi + 0xc]
call fcn.0044bb83
mov ecx, edi
mov dword [esi + 0xc], edi
call fcn.0044bb1d
pop edi
pop esi
pop ebx
ret 4
Function at 0x44bfc0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
push esi
mov esi, ecx
push eax
mov dword [ebp - 0x94], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
push 2
test eax, eax
pop edx
je 0x44c071
mov eax, dword [ebp - 0x90]
push 3
pop ecx
sub eax, ecx
je 0x44c06a
dec eax
je 0x44c03c
dec eax
je 0x44c007
and dword [esi + 8], 0
jmp 0x44c071
cmp dword [ebp - 0x8c], 0
jne 0x44c019
mov dword [esi + 8], 4
jmp 0x44c071
cmp dword [ebp - 0x8c], 1
jne 0x44c02b
mov dword [esi + 8], 5
jmp 0x44c071
cmp dword [ebp - 0x8c], edx
jne 0x44c071
mov dword [esi + 8], 6
jmp 0x44c071
cmp dword [ebp - 0x8c], 0
jne 0x44c04e
mov dword [esi + 8], 1
jmp 0x44c071
cmp dword [ebp - 0x8c], 0xa
jne 0x44c05c
mov dword [esi + 8], edx
jmp 0x44c071
cmp dword [ebp - 0x8c], 0x5a
jne 0x44c071
mov dword [esi + 8], ecx
jmp 0x44c071
mov dword [esi + 8], 8
xor eax, eax
cmp dword [esi + 8], edx
pop esi
setge al
leave
ret

Function at 0x44c15b
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x20]
push esi
mov esi, ecx
push eax
call dword [sym.imp.kernel32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x18]
xor ecx, ecx
shr eax, 0x14
cmp eax, 0x3c
mov dword [esi + 0x18], eax
setge cl
mov eax, ecx
pop esi
leave
ret

Function at 0x44c6ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push dword [ebp + 0xc]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [ebp + 0xc]
push eax
push 0x20019
lea eax, [ebp - 0x10c]
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x44c72a
or eax, 0xffffffff
jmp 0x44c7b2
push esi
lea eax, [ebp + 0x18]
push edi
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 4]
mov esi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
mov edi, dword [sym.imp.user32.dll_wsprintfA]
test eax, eax
je 0x44c768
cmp eax, 0xea
jne 0x44c768
push dword [ebp + 0x18]
push 0x477ab4
push dword [ebp + 0x14]
call edi
add esp, 0xc
mov eax, dword [ebp - 4]
dec eax
je 0x44c7a2
sub eax, 3
je 0x44c778
or esi, 0xffffffff
jmp 0x44c7a5
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
push dword [ebp - 0xc]
push 0x46c608
push dword [ebp + 0x14]
call edi
add esp, 0xc
push 4
jmp 0x44c7a4
push 1
pop esi
push dword [ebp + 0xc]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret 0x14
Function at 0x44c80a
Capabilities:
Get common file path
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
push esi
mov esi, 0x100
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x414]
push ebx
mov edi, ecx
push eax
call fcn.0045bef0
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x414]
push str.PlaceResource.dx
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
push ebx
push 0x80
push 3
push ebx
push ebx
lea eax, [ebp - 0x414]
push 0x80000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x44c971
lea eax, [edi + 0x1ac]
push 2
push eax
mov ecx, edi
call fcn.0044ce0e
cmp dword [edi + 8], 3
jle 0x44c89e
lea eax, [edi + 0x2ac]
push 0x17
push eax
mov ecx, edi
call fcn.0044ce0e
mov esi, 0x30a
push esi
lea eax, [ebp - 0x314]
push ebx
push eax
call fcn.0045bef0
add esp, 0xc
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x314]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x44c8d7
cmp dword [ebp - 8], ebx
je 0x44c968
cmp word [ebp - 0x310], bx
je 0x44c8f4
push dword [ebp - 0x314]
lea eax, [ebp - 0x30e]
mov ecx, edi
push eax
call fcn.0044da1f
cmp word [ebp - 0x10c], bx
je 0x44c911
push dword [ebp - 0x314]
lea eax, [ebp - 0x10a]
mov ecx, edi
push eax
call fcn.0044da1f
cmp word [ebp - 0x20e], bx
je 0x44c92e
push dword [ebp - 0x314]
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.0044da1f
lea eax, [ebp - 0x314]
mov ecx, edi
push eax
call fcn.0044c976
test eax, eax
je 0x44c8a3
movsx eax, word [ebp - 0x312]
add dword [edi + 0x10], eax
cmp word [ebp - 0x312], 0xfff8
jg 0x44c8a3
mov dword [edi + 0x1c], 1
jmp 0x44c8a3
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44ce0e
Capabilities:
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push str.Shell32.dll
mov dword [ebp - 4], edi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
je 0x44ce74
cmp dword [ebx + 8], 3
jle 0x44ce3f
push str.SHGetSpecialFolderPathA
jmp 0x44ce44
push str.SHGetSpecialFolderPath
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
cmp eax, edi
je 0x44ce64
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call eax
test eax, eax
je 0x44ce64
mov dword [ebp - 4], 1
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
cmp dword [ebp - 4], edi
jne 0x44cf1a
cmp dword [ebx + 8], 4
jge 0x44cf1a
mov esi, 0x100
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.0045bef0
mov esi, dword [sym.imp.kernel32.dll_lstrcpy]
add esp, 0xc
lea eax, [ebp - 0x104]
push dword [ebp + 8]
push eax
call esi
mov edi, dword [sym.imp.kernel32.dll_lstrcat]
lea eax, [ebp - 0x104]
push 0x477b34
push eax
call edi
mov ebx, dword [sym.imp.kernel32.dll_GetFileAttributesA]
lea eax, [ebp - 0x104]
push eax
call ebx
cmp eax, 0x10
je 0x44cf00
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push str.Start_MenuPrograms
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call ebx
cmp eax, 0x10
jne 0x44cf10
lea eax, [ebp - 0x104]
mov dword [ebp - 4], 1
push eax
jmp 0x44cf15
push 0x47dc14
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44d166
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
push ebx
push esi
push edi
mov edi, 0x100
xor ebx, ebx
push edi
lea eax, [ebp - 0x31c]
push ebx
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
call fcn.0045bef0
push edi
lea eax, [ebp - 0x41c]
push ebx
push eax
call fcn.0045bef0
mov esi, dword [sym.imp.kernel32.dll_lstrcpy]
add esp, 0x18
lea eax, [ebp - 0x11c]
push dword [ebp + 0xc]
push eax
call esi
push dword [ebp + 0x14]
lea eax, [ebp - 0x21c]
push eax
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0044cf24
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.kernel32.dll_lstrlen]
cmp byte [ebp + eax - 0x11d], 0x7e
jne 0x44d243
push edi
lea eax, [ebp - 0x51c]
push ebx
push eax
call fcn.0045bef0
mov ecx, dword [ebp - 4]
add esp, 0xc
lea eax, [ebp - 0x11c]
push 0x5c
push eax
lea eax, [ebp - 0x51c]
push eax
call fcn.0044cf24
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x31c]
push eax
call esi
mov dword [ebp - 0x14], 1
jmp 0x44d263
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x31c]
push eax
call esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x41c]
push eax
call esi
lea eax, [ebp - 8]
push eax
push 0x20019
lea eax, [ebp - 0x31c]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44d2ca
cmp dword [ebp - 0x14], ebx
jne 0x44d2ba
push dword [ebp + 0x18]
lea eax, [ebp - 0x21c]
mov ecx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x31c]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.0044d358
test eax, eax
je 0x44d2ba
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push 1
pop eax
jmp 0x44d351
push dword [ebp - 0xc]
call fcn.0045b6eb
cmp eax, ebx
pop ecx
mov dword [ebp + 8], eax
jne 0x44d2d1
xor eax, eax
jmp 0x44d351
mov esi, 0x103
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], edi
push eax
push ebx
push ebx
lea eax, [ebp - 0xc]
push ebx
push eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
cmp eax, esi
mov dword [ebp + 0xc], eax
je 0x44d330
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x41c]
push ebx
push edx
mov eax, dword [ecx]
push dword [ebp + 8]
call dword [eax + 8]
test eax, eax
je 0x44d330
push dword [ebp + 0x18]
lea eax, [ebp - 0x21c]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0044d166
test eax, eax
jne 0x44d33a
inc dword [ebp - 0x10]
cmp dword [ebp + 0xc], esi
je 0x44d33d
jmp 0x44d2d6
push 1
pop ebx
push dword [ebp - 8]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.0045bc4b
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x44d358
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
mov esi, 0x100
xor edi, edi
push esi
lea eax, [ebp - 0x41c]
push edi
mov ebx, ecx
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], edi
call fcn.0045bef0
add esp, 0xc
lea eax, [ebp - 0x31c]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [ebp - 4]
push eax
push 0x20019
lea eax, [ebp - 0x31c]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x44d3c3
xor eax, eax
jmp 0x44d537
push esi
lea eax, [ebp - 0x21c]
push edi
push eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
call fcn.0045bef0
add esp, 0xc
lea eax, [ebp - 8]
push edi
push edi
push eax
lea eax, [ebp - 0x14]
push edi
push eax
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x10]
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegEnumValueA]
cmp eax, 0x103
mov dword [ebp + 0xc], eax
je 0x44d4b9
cmp dword [ebp + 0x10], edi
je 0x44d42f
lea eax, [ebp - 0x21c]
test eax, eax
je 0x44d42f
mov eax, dword [ebx]
push edi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x44d4b9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
cmp eax, edi
mov dword [ebp + 0xc], eax
jne 0x44d52a
mov eax, dword [ebp - 8]
dec eax
je 0x44d49a
sub eax, 3
jne 0x44d4b9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x21c]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x11c]
push 0x46c608
push eax
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp + 0x14], edi
je 0x44d525
mov eax, dword [ebx]
push edi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x11c]
push ecx
mov ecx, ebx
call dword [eax + 8]
test eax, eax
jne 0x44d4ca
inc dword [ebp - 0x10]
cmp dword [ebp + 0xc], 0x103
je 0x44d52a
jmp 0x44d3c3
mov eax, dword [ebx]
push 1
pop esi
lea ecx, [ebp - 0x11c]
push esi
push str.TRYOUT
push ecx
mov ecx, ebx
call dword [eax + 8]
test eax, eax
jne 0x44d515
mov eax, dword [ebx]
push esi
lea ecx, [ebp - 0x11c]
push str.TRIAL
push ecx
mov ecx, ebx
call dword [eax + 8]
test eax, eax
jne 0x44d515
mov eax, dword [ebx]
push esi
lea ecx, [ebp - 0x11c]
push 0x477b84
push ecx
mov ecx, ebx
call dword [eax + 8]
test eax, eax
je 0x44d52c
mov ecx, dword [ebp + 0x18]
movsx eax, word [ecx]
cdq
sub eax, edx
sar eax, 1
mov word [ecx], ax
jmp 0x44d52c
push 1
pop eax
jmp 0x44d537
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x14