joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ec20
Capabilities:
Set current directory

Disassembly:
mov eax, dword [0x4275c8]
test eax, eax
je 0x40ecbe
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push eax
call ebx
test eax, eax
je 0x40ecb0
push esi
push 1
push 0x118
call fcn.00419122
mov esi, eax
add esp, 8
test esi, esi
je 0x40ec99
push edi
push esi
push str..bin
call fcn.0041980f
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x40ec8f
test byte [esi], 0x10
jne 0x40ec78
lea eax, [esi + 0x14]
push eax
call fcn.004194a0
add esp, 4
push esi
push edi
call fcn.004198d9
add esp, 8
test eax, eax
je 0x40ec67
push edi
call fcn.0041999e
add esp, 4
push esi
call fcn.004191d3
add esp, 4
pop edi
push 0x42268c
call ebx
mov ecx, dword [0x4275c8]
push ecx
call fcn.004197e5
add esp, 4
pop esi
push 0x4275c8
call fcn.00402160
add esp, 4
pop ebx
ret

Function at 0x40ed40
Capabilities:
Copy file

Disassembly:
push ecx
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push 0x104
xor ebp, ebp
call fcn.00402120
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
push eax
call fcn.00418f20
mov edx, eax
add esp, 0x10
test edx, edx
je 0x40ed91
inc edx
jmp 0x40ed95
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40ee08
mov dword [0x4276a4], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4276a8], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [0x427694]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40ee33
push 2
push esi
mov ebp, 1
call fcn.00418ed1
add esp, 8
test eax, eax
je 0x40ee33
cmp dword [0x4276d8], 0xd
jne 0x40ee33
push 0x180
push esi
call fcn.00418d90
add esp, 8
lea eax, [esp + 0x10]
push eax
call fcn.00402160
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x411380
Capabilities:
Get common file path
Move file

Disassembly:
mov eax, dword [0x42763c]
sub esp, 0x318
test eax, eax
push ebx
push esi
push edi
je 0x4113d3
mov eax, dword [esp + 0x328]
test eax, eax
jne 0x4113b8
push 4
push eax
mov eax, dword [esp + 0x334]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
pop ebx
add esp, 0x318
ret
mov ecx, dword [esp + 0x32c]
push 5
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop edi
pop esi
pop ebx
add esp, 0x318
ret
mov eax, dword [esp + 0x32c]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0x11c]
push 0x104
push edx
push eax
call edi
mov esi, dword [esp + 0x328]
test esi, esi
je 0x41140b
lea ecx, [esp + 0x220]
push 0x104
push ecx
push esi
call edi
lea edx, [esp + 0x18]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x18]
push str.WININIT.INI
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
test esi, esi
je 0x411468
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x11c]
push ecx
lea eax, [esp + 0x224]
push edx
push eax
push str.Rename
call esi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call esi
pop edi
pop esi
pop ebx
add esp, 0x318
ret
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x11c]
push edx
push eax
push 0x4226ac
push str.Rename
call esi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call esi
lea edx, [esp + 0x18]
push 2
push edx
call fcn.00401040
mov ebx, eax
add esp, 8
cmp ebx, 0xffffffff
je 0x411588
push ebp
push ebx
call fcn.004011c0
mov ebp, eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x1c], ebp
lea ecx, [ebp + 0x200]
push ecx
call fcn.004020e0
add esp, 0xc
test eax, eax
je 0x41157e
mov edx, dword [esp + 0x10]
push ebp
push edx
push ebx
call fcn.004010c0
add esp, 0xc
test eax, eax
jne 0x411571
mov edx, dword [esp + 0x10]
add ebp, 0xfffffffc
test ebp, ebp
jbe 0x411571
mov eax, 0xfffffffe
sub eax, edx
mov dword [esp + 0x18], eax
cmp byte [edx], 0x78
jne 0x411540
cmp byte [edx + 1], 0x79
jne 0x411540
cmp byte [edx + 2], 0x7a
jne 0x411540
cmp byte [edx + 3], 0x3d
jne 0x411540
lea edi, [esp + 0x120]
or ecx, 0xffffffff
xor eax, eax
lea esi, [edx + 4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x120]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x41154b
mov eax, dword [esp + 0x18]
inc edx
lea ecx, [eax + edx + 2]
cmp ecx, ebp
jb 0x411504
jmp 0x411571
push 0
push ebx
mov byte [edx], 0x4e
mov byte [edx + 1], 0x55
mov byte [edx + 2], 0x4c
call fcn.00401160
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push ebx
call fcn.00401100
add esp, 0x14
lea ecx, [esp + 0x10]
push ecx
call fcn.00402160
add esp, 4
push ebx
call fcn.004012c0
add esp, 4
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x318
ret
Function at 0x411d80
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
push edi
push 0
push str.InstItClass
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x411dd5
push ebx
push esi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
mov edi, eax
call ebx
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x411dc2
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, edi
je 0x411dc9
push edi
call ebx
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0xa0]
mov dword [0x42768c], 0xffffffff
mov dword [0x427670], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor ecx, ecx
lea edi, [esp + 8]
mov cl, ah
lea edx, [esp + 8]
mov ch, al
xor eax, eax
mov word [0x427644], cx
mov ecx, 0x25
mov esi, 0x2000
push edx
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], 0x94
mov dword [0x427640], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
mov edi, 1
je 0x411eb9
mov eax, dword [esp + 0x18]
dec eax
je 0x411e85
dec eax
jne 0x411eb9
mov eax, dword [esp + 0xc]
xor ecx, ecx
cmp eax, 4
mov dword [0x42763c], edi
sete cl
cmp eax, 5
mov dword [0x427640], 0x10000
mov dword [0x427638], ecx
jb 0x411eb9
mov eax, dword [esp + 0x10]
mov dword [0x427640], 0x40000
test eax, eax
jne 0x411eb9
mov dword [0x427640], 0x20000
jmp 0x411eb9
mov eax, dword [esp + 0xc]
mov dword [0x427640], esi
cmp eax, 4
jne 0x411ead
mov eax, dword [esp + 0x10]
cmp eax, 0x5a
jae 0x411eaf
test eax, eax
jbe 0x411eb9
mov dword [0x427640], 0x4000
jmp 0x411eb9
jbe 0x411eb9
mov dword [0x427640], 0x8000
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
call fcn.00402cd0
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.RICHED20.DLL
call esi
test eax, eax
mov dword [0x42761c], eax
jne 0x411eea
push str.RICHED32.DLL
call esi
mov dword [0x42761c], eax
jmp 0x411ef0
mov dword [0x427618], edi
push 0x4275d0
push 0x104
call fcn.00402120
push 0x4275d4
push 0x104
call fcn.00402120
push 0x427690
push 0x104
call fcn.00402120
push 0x4271fc
push 0x208
call fcn.00402120
push 0x4271f8
push 0x104
call fcn.00402120
push 0x427694
push 0x104
call fcn.00402120
push 0x4271f4
push 0x104
call fcn.00402120
push 0x427268
push 0x29e
call fcn.00402120
add esp, 0x40
push 0x427264
push 0x29e
call fcn.00402120
mov edx, dword [0x4275d0]
mov eax, dword [0x427670]
add esp, 8
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, edi
pop edi
pop esi
add esp, 0x94
ret
Function at 0x418d90
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x418dbb
test byte [esp + 8], 0x80
je 0x418daa
and al, 0xfe
jmp 0x418dac
or al, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x418dcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419e1f
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418ef1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00419e1f
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x418f12
test byte [esp + 8], 2
je 0x418f12
mov dword [0x4276d8], 0xd
mov dword [0x4276dc], 5
jmp 0x418eed
xor eax, eax
ret

Function at 0x41cd05
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x426d10
cmp edx, dword [eax]
je 0x41cd27
add eax, 8
inc ecx
cmp eax, 0x426da0
jl 0x41cd18
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x426d10]
jne 0x41ce55
mov eax, dword [0x427734]
cmp eax, 1
je 0x41ce2f
test eax, eax
jne 0x41cd58
cmp dword [0x424798], 1
je 0x41ce2f
cmp edx, 0xfc
je 0x41ce55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41cd8f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0041b5c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0041c2c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41cdd2
lea eax, [ebp - 0x1a4]
push eax
call fcn.0041c2c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4223ec
push edi
call fcn.004194f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0041b5c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0041b5d0
lea eax, [ebp - 0xa0]
push 0x420b1c
push eax
call fcn.0041b5d0
push dword [esi + 0x426d14]
lea eax, [ebp - 0xa0]
push eax
call fcn.0041b5d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041e505
add esp, 0x2c
pop edi
jmp 0x41ce55
lea eax, [ebp + 8]
lea esi, [esi + 0x426d14]
push 0
push eax
push dword [esi]
call fcn.0041c2c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40d8ee
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x4010f0
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x40332c], eax
lea ecx, [ebp - 4]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [ebp + 4]
mov dword [0x40319b], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401121
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40319b]
mov dword [ebp - 0x48], eax
mov eax, 0x401bbc
mov dword [ebp - 0x54], eax
mov ecx, 0x4030bd
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push 0
push str.Riched32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
xor ecx, ecx
push ecx
push dword [0x40319b]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.bananas
push eax
mov eax, str.secondclass
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x403378], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403378]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4011d9
push edi
call dword [sym.imp.USER32.dll_TranslateMessage]
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4011cb
mov esp, ebp
ret
Function at 0x40bf36
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0xc31aa7f2
popfd
cmp al, 9
aam 0xe7
and edx, dword [ecx + ebp + 0x52954083]
and eax, 0x1d5f9af0
xor ecx, 0xffffffc7
push esp
shr byte [eax], 1
invalid
mov bh, 0xe9
cld
scasb al, byte es:[edi]
pop esp
jae 0x40beae
aaa
test byte [ebp - 0x2cfb04a0], dl
xchg esp, eax
idiv dword [ebx]
int 0x81
cmpsb byte [esi], byte es:[edi]
xchg dword [eax + 0x4c], edx
jmp 0x40be9e
cli
adc eax, 0x49dc9cb9
cmc
sub edi, dword [edx - 0x44]
mov word [esi - 0x1a28a216], fs
shr dword [edi], cl
ror esp, 0x59
ja 0x40bee3
xor eax, 0xb27f4289
outsd dx, dword [esi]
dec esp
invalid

Function at 0x42ed14
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x463ca4
call fcn.0043b400
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.0041c0b8
mov edi, eax
cmp edi, esi
je 0x42ed5e
cmp dword [ebp - 0x10], esi
je 0x42ed57
push dword [ebp - 0x10]
call dword [0x467058]
mov eax, edi
jmp 0x42edfb
lea eax, [ebp - 0x20]
mov edi, dword [0x467030]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x42edcf
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.0042ed14
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x42edbc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x42ed81
cmp dword [ebp - 0x10], esi
je 0x42edca
push dword [ebp - 0x10]
call dword [0x467058]
mov eax, dword [ebp - 0x18]
jmp 0x42edfb
cmp dword [ebp - 0x10], esi
mov edi, dword [0x467058]
je 0x42ede2
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [0x467034]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x42edf9
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x436ec2
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
push 8
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], bl
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], 5
call dword [0x467318]
push eax
call dword [0x467008]
mov esi, dword [0x4672b8]
test eax, eax
jne 0x436f29
call esi
cmp eax, 0x3f0
jne 0x436f1c
lea eax, [ebp - 4]
push eax
push 8
call dword [0x467294]
push eax
call dword [0x46701c]
call esi
cmp eax, 0x78
jne 0x436f25
push 1
jmp 0x436f48
cmp eax, ebx
je 0x436f47
lea eax, [ebp - 8]
mov edi, dword [0x46700c]
push eax
push ebx
push ebx
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x436f47
call esi
cmp eax, 0x7a
je 0x436f57
push ebx
push dword [ebp - 4]
call fcn.00436eb3
pop ecx
pop ecx
jmp 0x43704e
push dword [ebp - 8]
call fcn.0043b8cf
mov esi, eax
pop ecx
lea eax, [ebp - 8]
cmp esi, ebx
push eax
push dword [ebp - 8]
setne byte [ebp - 0x20]
push esi
push 2
push dword [ebp - 4]
call edi
test eax, eax
jne 0x436f9d
push ebx
push dword [ebp - 4]
call fcn.00436eb3
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x436f95
push esi
call fcn.0043abc6
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x43704e
lea eax, [ebp - 0x10]
push eax
mov al, byte [ebp + 8]
neg al
push ebx
push ebx
sbb eax, eax
push ebx
and al, 0xfd
push ebx
push ebx
add eax, 0x223
push ebx
push eax
push 0x20
lea eax, [ebp - 0x18]
push 2
push eax
call dword [0x467010]
test eax, eax
jne 0x436fe7
push ebx
push dword [ebp - 4]
call fcn.00436eb3
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x436fe2
push esi
call fcn.0043abc6
pop ecx
mov al, byte [ebp + 0xb]
jmp 0x43704e
xor edi, edi
cmp dword [esi], ebx
mov byte [ebp - 0xc], bl
jbe 0x437026
lea eax, [esi + 4]
mov dword [ebp + 8], eax
push dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x467014]
test eax, eax
jne 0x437013
add dword [ebp + 8], 8
inc edi
cmp edi, dword [esi]
jb 0x436ff6
jmp 0x437026
cmp byte [ebp + 0xc], bl
je 0x437022
test byte [esi + edi*8 + 8], 0x10
mov byte [ebp - 0xc], bl
jne 0x437026
mov byte [ebp - 0xc], 1
push dword [ebp - 0x10]
call dword [0x467018]
push dword [ebp - 0xc]
push dword [ebp - 4]
call fcn.00436eb3
cmp byte [ebp - 0x20], bl
pop ecx
pop ecx
mov byte [ebp + 0xb], al
je 0x43704b
push esi
call fcn.0043abc6
pop ecx
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439a74
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 0x439ac6
push eax
call fcn.0043b8cf
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 0x439ac6
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x476c60
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x439aca
xor al, al
jmp 0x439b2b
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 str.VarFileInfoTranslation
rep movsd dword es:[edi], dword [esi]
push dword [ebx + 0x40]
call sub.VERSION.dll_VerQueryValueA
pop edi
pop esi
test eax, eax
je 0x439b29
mov eax, dword [ebp - 4]
shr eax, 2
mov dword [ebx + 0x3c], eax
shl eax, 2
push eax
call fcn.0043b8cf
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebx + 0x3c], eax
pop ecx
jbe 0x439b29
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 0x439b17
mov al, 1
pop ebx
leave
ret 4
Function at 0x4504c0
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 [0x46740c]
mov edi, dword [esp + 0x80]
lea ecx, [esp + 0x18]
push 2
push ecx
mov edx, dword [edi]
push edx
push 0
call dword [0x467440]
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 [0x46746c]
mov al, byte [esp + 0x28]
test al, al
je 0x450668
push 0x47d774
push ebx
call dword [0x4673f4]
mov ebp, dword [0x467500]
push 0xfffffffffffffff0
push ebx
call ebp
push 0xffffffffffffffec
push ebx
mov esi, eax
call ebp
push 0
push 0
mov ebp, eax
call dword [0x467184]
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 str.STATIC
push ebp
call dword [0x467498]
mov esi, eax
test esi, esi
je 0x450668
mov ecx, dword [edi]
mov ebp, dword [0x4673f8]
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 0x450400
push 0xfffffffffffffffc
push esi
call dword [0x4673f0]
push edi
push str.PROP_STAT_PSKIN
push esi
mov ebp, eax
call dword [0x46744c]
push ebp
push str.PROP_STAT_OLDPROC
push esi
call dword [0x46744c]
push esi
call dword [0x46745c]
mov ebp, eax
xor eax, eax
cmp ebp, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
je 0x45063d
mov edx, dword [esp + 0x7c]
push edx
push ebp
call dword [0x467094]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
push ecx
call dword [0x467190]
lea edx, [esp + 0x2c]
push eax
push edx
push ebp
call dword [0x4670d0]
push ebp
push esi
call dword [0x467460]
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 [0x4674f4]
mov ecx, dword [edi + 0x14c]
push edi
push esi
call fcn.00450670
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret

Function at 0x45d9ba
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
call fcn.0043b8cf
xor esi, esi
pop ecx
cmp dword [ebp + 0xc], esi
mov ebx, eax
jle 0x45d9f2
push edi
mov edi, dword [ebp + 8]
sub edi, ebx
mov eax, esi
lea ecx, [esi + ebx]
cdq
idiv dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor al, byte [edi + ecx]
inc esi
cmp esi, dword [ebp + 0xc]
mov byte [ecx], al
jl 0x45d9d7
pop edi
mov eax, ebx
pop esi
pop ebx
pop ebp
ret