joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41009a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov esi, 0x104
jne 0x41012c
push 0x44d054
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x41012c
push 0x44d038
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x44d034], eax
je 0x41012c
lea ecx, [ebp - 0x12c]
push esi
push ecx
call eax
test eax, eax
je 0x41012c
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x12c]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x28]
call fcn.0040b50c
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x28]
jmp 0x41019b
lea eax, [ebp - 0x12c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x410154
lea ecx, [ebp - 0x1c]
call fcn.004101a7
lea eax, [ebp - 0x1c]
push 0x448048
push eax
call fcn.00422a17
lea eax, [ebp + 0xf]
push 0
push eax
lea eax, [ebp - 0x12c]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov dword [ebp - 8], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x28]
call fcn.0040b50c
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x28]
call fcn.00403643
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret
Function at 0x41084d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
and byte [ebp - 0x134], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x44d094
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410912
cmp dword [ebp + 0xc], 1
mov dword [ebp - 8], 0x104
mov eax, 0x44d084
je 0x4108a8
mov eax, 0x44d074
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x134]
push ecx
push ebx
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x134]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x30]
call fcn.0040b50c
lea ecx, [ebp - 0x30]
call fcn.0041052b
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x30]
jmp 0x410958
lea eax, [ebp + 0xf]
push ebx
push eax
lea eax, [ebp - 0x134]
mov edi, 0x446870
mov esi, 0x446868
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], esi
call fcn.0040cc06
push 0x44c700
lea ecx, [ebp - 0x30]
call fcn.0040b50c
mov ebx, dword [ebp + 8]
push 0
push eax
mov ecx, ebx
mov dword [ebx], edi
mov dword [ebx + 0x20], esi
call fcn.00403eac
lea ecx, [ebp - 0x30]
call fcn.00403643
cmp dword [ebp - 4], 0
je 0x410971
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x410971
push dword [ebp - 4]
call eax
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x411f07
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [ecx + 0x1e4]
add esi, 0x1c
mov ecx, esi
call fcn.00402c9d
push dword [esi + 4]
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop esi
ret 0xc
Function at 0x412dcf
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
and byte [ebp - 0x1fc], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x1fb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 4], 0
stosb byte es:[edi], al
lea eax, [ebp - 0x1fc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x24
xor eax, eax
pop ecx
lea edi, [ebp - 0xf4]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xf8]
mov dword [ebp - 0xf8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov ebx, 0x44655c
mov edi, 0x446554
mov esi, 0x446550
je 0x412f1f
cmp dword [ebp - 0xe8], 1
jne 0x412f1f
lea eax, [ebp - 0x1fc]
push 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edi
call fcn.00403191
push 0x44d5f4
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
call fcn.00403200
lea ecx, [ebp - 0x20]
call fcn.00402c9d
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x412eff
lea eax, [ebp - 0x64]
push 0
push eax
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.0041304f
pop ecx
pop ecx
mov ecx, eax
call fcn.00407327
push eax
lea ecx, [ebp - 0x20]
call fcn.00402d12
lea ecx, [ebp - 0x64]
call fcn.00402544
lea ecx, [ebp - 0x3c]
call fcn.00402544
push 0x44d5e8
lea ecx, [ebp - 0x20]
call fcn.00403200
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov dword [edi], esi
jmp 0x412fad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20]
call fcn.00402c9d
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x20]
call fcn.00402544
cmp byte [ebp - 0x1fc], 0
je 0x412f58
lea eax, [ebp - 0x1fc]
push 0
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x28], edi
call fcn.00403191
push 0x44c700
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 1
call fcn.00403200
jmp 0x412f7c
lea eax, [ebp - 0x1fc]
push 0
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], edi
call fcn.00403191
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 2
lea eax, [ebp - 0x20]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x412fa4
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x20]
call fcn.00402544
test byte [ebp - 4], 1
je 0x412fb2
lea ecx, [ebp - 0x3c]
call fcn.00402544
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x414bfe
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x274
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x44d7d8
mov ecx, ebx
call fcn.00402996
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0xbc]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 0xc0], 0x94
push eax
call esi
test eax, eax
je 0x414d4b
mov eax, dword [ebp - 0xb0]
dec eax
je 0x414cc4
dec eax
jne 0x414d04
mov eax, dword [ebp - 0xb8]
sub eax, 0
je 0x414ca4
dec eax
jne 0x414d04
push 0x26
xor eax, eax
pop ecx
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x274]
mov dword [ebp - 0x274], 0x9c
push eax
call esi
test eax, eax
je 0x414d04
cmp byte [ebp - 0x1d9], 3
jne 0x414c9d
push 0x44d7cc
jmp 0x414cfd
push 0x44d7c8
jmp 0x414cfd
cmp dword [ebp - 0xbc], 4
jne 0x414cb4
push 0x44d7c0
jmp 0x414cfd
cmp dword [ebp - 0xbc], 5
jne 0x414d04
push 0x44d7b8
jmp 0x414cfd
cmp dword [ebp - 0xb8], 0
je 0x414cf8
cmp dword [ebp - 0xb8], 0xa
je 0x414ce1
cmp dword [ebp - 0xb8], 0x5a
jne 0x414d04
jmp 0x414cea
call fcn.00420265
test eax, eax
je 0x414cf1
push 0x44d7b4
jmp 0x414cfd
push 0x44d7b0
jmp 0x414cfd
push 0x44d7ac
mov ecx, ebx
call fcn.00403428
and byte [ebp - 0x140], 0
push 0x1f
pop ecx
xor eax, eax
lea edi, [ebp - 0x13f]
push dword [ebp - 0xb4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x140]
push 0x44d7a0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x140]
mov ecx, ebx
push eax
call fcn.00403428
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402783
lea ecx, [ebp - 0x1d8]
call fcn.00407c22
and byte [ebp - 0xc], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x10], pe_nt_image_headers32
call fcn.0040276d
push eax
lea ecx, [ebp - 0x1d8]
call fcn.0041d45e
lea ecx, [ebp - 0x10]
call fcn.00402746
mov eax, dword [ebp + 8]
sub eax, 0
je 0x414dae
dec eax
je 0x414da7
push 0x44d794
jmp 0x414db3
push 0x44d78c
jmp 0x414db3
push 0x44d780
mov ecx, ebx
call fcn.00403428
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
push esi
lea ecx, [ebx + 0x10]
call fcn.004023fd
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0x446658
call fcn.0041d3d5
lea ecx, [ebp - 0x2c]
call fcn.00402852
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x415346
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
and byte [ebp - 0x148], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x147]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
xor esi, esi
push eax
push 0x44d094
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41541f
cmp dword [ebp + 0xc], 1
mov dword [ebp - 0x28], 0x104
mov eax, 0x44d084
je 0x4153a1
mov eax, 0x44d074
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x148]
push ecx
push esi
push esi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x148]
mov ebx, 0x44655c
mov edi, 0x446554
push esi
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
call fcn.00403191
mov esi, 0x446550
push 0x44c700
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], esi
call fcn.00403200
lea ecx, [ebp - 0x24]
call fcn.004154d0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push 0
push eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x24]
mov dword [edi], esi
jmp 0x4154c4
cmp byte [ebp - 0x148], 0
mov ebx, 0x44655c
je 0x415466
lea eax, [ebp - 0x148]
mov edi, 0x446554
push esi
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], edi
call fcn.00403191
mov esi, 0x446550
push 0x44c700
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 1
call fcn.00403200
jmp 0x415493
lea eax, [ebp - 0x148]
mov edi, 0x446554
push esi
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
call fcn.00403191
mov esi, 0x446550
mov dword [ebp - 4], 2
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x24]
mov ecx, dword [ebp + 8]
push 0
push eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], edi
call fcn.00406d6e
mov edi, dword [ebp + 8]
test byte [ebp - 4], 2
mov dword [edi], esi
je 0x4154bb
and dword [ebp - 4], 0xfffffffd
lea ecx, [ebp - 0x24]
call fcn.00402544
test byte [ebp - 4], 1
je 0x4154c9
lea ecx, [ebp - 0x44]
call fcn.00402544
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41b099
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4440cc
call fcn.00421bd8
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
push 0x20019
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00404ff5
push eax
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.0040a0d4
cmp eax, ebx
je 0x41b0ec
cmp dword [ebp - 0x10], ebx
mov dword [0x451b9c], eax
je 0x41b0e7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 0x5c]
jmp 0x41b12d
lea ecx, [ebp + 0x34]
call fcn.00404ff5
lea ecx, [ebp + 8]
mov dword [ebp - 0x14], ebx
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push eax
mov dword [ebp + 8], 4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x41b0d1
cmp dword [ebp - 0x10], ebx
mov esi, dword [ebp - 0x18]
je 0x41b12d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00403643
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x34]
call fcn.00403643
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d2bd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x838
push ebx
push edi
mov edi, ecx
mov dword [ebp - 0x10], 1
call fcn.0041d4a8
xor ebx, ebx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x41d376
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push 0x44e174
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41d363
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push ebx
push ebx
push 0x44e168
mov dword [ebp - 8], 4
push dword [ebp - 4]
call esi
test eax, eax
je 0x41d327
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x824
push eax
lea eax, [ebp - 0x838]
push eax
push ebx
push ebx
push 0x44e158
push dword [ebp - 4]
call esi
test eax, eax
pop esi
je 0x41d350
mov byte [ebp - 0x838], bl
cmp dword [ebp - 0xc], ebx
jne 0x41d35d
cmp byte [ebp - 0x838], bl
je 0x41d363
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], ebx
je 0x41d376
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x41d376
push dword [ebp - 4]
call eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.0041cf35
add esp, 0x14
cmp dword [ebp + 0xc], ebx
mov dword [edi + 4], eax
je 0x41d39b
cmp dword [ebp + 0xc], 4
jne 0x41d3c7
cmp dword [ebp - 0x14], ebx
jne 0x41d3c7
mov ax, word [edi + 0x14]
cmp ax, 3
jne 0x41d3b3
mov ecx, edi
call fcn.0041d918
jmp 0x41d3c7
cmp ax, 4
mov ecx, edi
jne 0x41d3c2
call fcn.0041dafe
jmp 0x41d3c7
call fcn.0041ded1
xor eax, eax
cmp dword [edi + 4], ebx
pop edi
pop ebx
setne al
leave
ret 0x14
Function at 0x41d918
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1190
call fcn.00420f40
and byte [ebp - 0x96c], 0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov edx, 0x208
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x96b]
and byte [ebp - 0x1190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x118f]
xor esi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push 0x44e2a8
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41dae6
lea eax, [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x44e29c
push dword [ebp - 4]
mov dword [ebp - 0x48], 0x44e294
mov dword [ebp - 0x44], 0x44e288
mov dword [ebp - 0x40], 0x44e278
mov dword [ebp - 0x3c], 0x44e270
mov dword [ebp - 0x38], 0x44e264
mov dword [ebp - 0x34], 0x44e254
mov dword [ebp - 0x30], 0x44e24c
mov dword [ebp - 0x2c], 0x44e240
mov dword [ebp - 0x28], 0x44e230
mov dword [ebp - 8], 4
call ebx
test eax, eax
jne 0x41dae6
cmp dword [ebp - 0x14], 1
jne 0x41dae6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edi, [ebp - 0x48]
mov dword [ebp - 0xc], 3
lea eax, [ebp - 8]
mov dword [ebp - 8], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x148]
push eax
push 0
push 0
push dword [edi + 4]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x41daa9
cmp byte [ebp - 0x148], al
je 0x41daa9
push dword [edi]
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x96c]
push eax
call esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push dword [edi + 8]
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x41da9b
lea eax, [ebp - 0x96c]
push 0x44e22c
push eax
call esi
push dword [ebp - 0x18]
lea eax, [ebp - 0x96c]
push 0x44ca84
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [ebp + eax - 0x96c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x96c]
push 0x44e228
push eax
call esi
add edi, 0xc
dec dword [ebp - 0xc]
jne 0x41d9ff
lea eax, [ebp - 0x96c]
push 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x10]
push 0x26
mov dword [ebp - 0x24], 3
push dword [eax + 4]
call fcn.0041d10e
add esp, 0x10
xor esi, esi
cmp dword [ebp - 4], esi
je 0x41daf9
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x41daf9
push dword [ebp - 4]
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41f49d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push ebx
push eax
mov ebx, ecx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [ebp - 4], eax
je 0x41f4ef
push eax
call fcn.00420f25
pop ecx
mov dword [ebx + 0x40], eax
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41f4ef
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x44caa4
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41f4f3
xor al, al
jmp 0x41f554
push esi
push edi
mov edi, ebx
lea eax, [ebx + 4]
neg edi
sbb edi, edi
mov esi, dword [ebp - 0xc]
push 0xd
and edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x44e520
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x41f552
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.00420f25
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x41f552
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x38]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [ebx + 0x3c]
jb 0x41f540
mov al, 1
pop ebx
leave
ret 4
Function at 0x433b60
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
mov ebx, dword [esp + 0x7c]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x18]
push 2
push ecx
mov edx, dword [edi]
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov eax, 0xa
push 0x50
add ecx, eax
sub ebp, eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], ecx
push eax
push ebx
mov dword [esp + 0x2c], ebp
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov al, byte [esp + 0x28]
test al, al
je 0x433d08
push 0x451a40
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push ebx
call ebp
push 0xffffffffffffffec
push ebx
mov esi, eax
call ebp
push 0
push 0
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, dword [esp + 0x28]
mov ecx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
sub edx, eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x34]
shr esi, 0x10
sub edx, ecx
and esi, 0xff7faffc
push edx
push eax
or esi, 0x50000000
push ecx
lea eax, [esp + 0x48]
push esi
push eax
push 0x451940
push ebp
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x433d08
mov ecx, dword [edi]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push ecx
call ebp
push 1
push eax
push 0x30
push esi
mov dword [esp + 0x8c], eax
call ebp
push 0x433aa0
push 0xfffffffffffffffc
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push edi
push 0x451930
push esi
mov ebp, eax
call dword [sym.imp.USER32.dll_SetPropA]
push ebp
push 0x45191c
push esi
call dword [sym.imp.USER32.dll_SetPropA]
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
je 0x433cdd
mov edx, dword [esp + 0x7c]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + 0x2c]
push eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
push ebp
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push 2
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 0x14c]
push edi
push esi
call fcn.00433d10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov bl, byte [eax]
cmp bl, 0xd8
je 0x40102e
cmp bl, 0xd7
je 0x40102e
mov esi, dword [ebp + 0x10]
lea ecx, [eax + 1]
test esi, esi
jle 0x40104f
mov eax, dword [ebp + 0xc]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
dec esi
jne 0x401023
jmp 0x40104f
mov esi, dword [ebp + 0xc]
inc eax
push esi
push eax
call 0x4020e0
cmp bl, 0xd8
jne 0x40104f
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x40104f
xor byte [eax + esi], 0xf0
inc eax
cmp eax, dword [ebp + 0x10]
jl 0x401045
pop esi
pop ebx
pop ebp
ret