joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fb11
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.0041facd
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x41fb82
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0052c3af
add esp, 0x10
cmp eax, 1
je 0x41fbd0
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0040f6d7
mov ecx, edi
call fcn.0041fa7b
jmp 0x41fbd0
call fcn.005267d8
mov edi, dword [eax]
call fcn.005267d8
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00526580
add esp, 0x14
call fcn.005267d8
cmp dword [eax], 0
je 0x41fbbf
call fcn.005267d8
push dword [eax]
call fcn.004095e8
pop ecx
jmp 0x41fbc6
call fcn.005267d8
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041cd0a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525164
mov esp, ebp
pop ebp
ret

Function at 0x4220bf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0040f5fa
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4220f6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00422117
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43167e
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4316d3
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00525164
mov esp, ebp
pop ebp
ret 4
Function at 0x43180f
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x431a2e
test esi, esi
je 0x431a2e
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x4319ff
dec eax
je 0x4318a1
dec eax
je 0x431967
dec eax
jne 0x431a19
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x4319fa
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00412dcf
test eax, eax
je 0x4319fa
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x43195f
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00412dcf
test eax, eax
je 0x43195f
cmp dword [ebp + 0x10], 1
jne 0x4319bf
test byte [ebp - 0x43c], 0x10
jne 0x4319fa
test byte [ebp - 0x314], 0x10
jne 0x43195f
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x43195f
jb 0x4319fa
cmp dword [ebp - 0x444], eax
jb 0x4319fa
cmp dword [ebp - 0x440], ecx
jb 0x431a19
ja 0x43195f
cmp dword [ebp - 0x444], eax
jbe 0x431a19
xor ebx, ebx
inc ebx
jmp 0x431a19
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x431a19
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x431a19
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x431a19
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.00430f5e
test al, al
jne 0x4319fa
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.00430f7d
xor ebx, ebx
test al, al
setne bl
jmp 0x431a19
or ebx, 0xffffffff
jmp 0x431a19
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x431a16
xor eax, eax
jmp 0x431a1b
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525164
mov esp, ebp
pop ebp
ret 0xc
call fcn.00408ec5
int3
Function at 0x46959a
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4695e8
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.00527500
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4695dd
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4695cb
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00408ec5
int3

Function at 0x4c5bd0
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x54b0c6
call fcn.00527450
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403470
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push str.__0r
call fcn.004089f0
cmp eax, 0xffffffff
jne 0x4c5c84
push 0
push 0x559804
lea ecx, [ebp - 0x278]
call fcn.004089f0
cmp eax, 0xffffffff
jne 0x4c5c84
push 0
push 0x553348
lea ecx, [ebp - 0x278]
call fcn.004089f0
cmp eax, 0xffffffff
jne 0x4c5c84
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403470
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4c5c60
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.00402420
jmp 0x4c5cb3
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.004024e0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.00402420
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4c5caa
mov ebx, dword [ebp - 0x274]
jmp 0x4c5cb3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.00402420
mov eax, ebx
call fcn.005273ff
ret
Function at 0x4e9966
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x54cbfc
call fcn.00527450
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.00508d08
push 0x1c4
call fcn.00408de4
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x4e99a9
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.00509335
jmp 0x4e99ab
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.00508183
call fcn.0040f5fa
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.00527500
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x4e9bc8
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x4e9bc2
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebx + 4], eax
jle 0x4e9bc2
call fcn.0040a217
push eax
lea ecx, [ebp - 0x118]
call fcn.00401b80
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x4e9ba0
push 0x5622d4
mov esi, 0x5622d8
lea ecx, [ebp - 0x118]
push esi
call fcn.00405eb0
push esi
push 0x559728
lea ecx, [ebp - 0x118]
call fcn.00405eb0
push esi
push 0x5622d4
lea ecx, [ebp - 0x118]
call fcn.00405eb0
call fcn.0040a217
push eax
lea ecx, [ebp - 0x124]
call fcn.00401b80
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4e9acc
push dword [ebp - 0x118]
lea eax, [ebp - 0x124]
push str.10__s
push eax
call fcn.00405870
add esp, 0xc
jmp 0x4e9afe
jge 0x4e9aec
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x124]
push str._d__s
push eax
call fcn.00405870
add esp, 0x10
jmp 0x4e9afe
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
call fcn.00403400
push 0x1c4
call fcn.00408de4
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4e9b28
mov ecx, eax
call fcn.004913d0
mov ecx, eax
mov dword [ebp - 0x11c], eax
jmp 0x4e9b30
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x124]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.0041c0c0
mov ecx, dword [ebp - 0x11c]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.00508183
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.00402420
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00402420
inc esi
mov dword [ebp - 0x120], esi
cmp esi, dword [ebx + 4]
jl 0x4e9a21
call fcn.005273ff
ret
call fcn.0052a0a1
int3
Function at 0x53c7d5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x59ff60]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00535134
mov dword [ebp - 0x14], eax
cmp dword [0x5ab5a0], esi
jne 0x53c8c8
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x53c855
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x53c9a8
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x53c9a8
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x53c9a8
push eax
call ebx
push 0x57f838
push edi
mov dword [0x5ab5a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x57f848
push edi
mov dword [0x5ab5a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5ab5a8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5ab5b0], eax
test eax, eax
je 0x53c8c5
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5ab5ac], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x53c8ed
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x53c8e0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x53c902
push 4
pop eax
jmp 0x53c9aa
cmp dword [ebp - 0x14], esi
je 0x53c902
push dword [0x5ab5a0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x53c8e7
mov eax, dword [0x5ab5ac]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x53c960
cmp dword [0x5ab5b0], edi
je 0x53c960
push eax
call ebx
push dword [0x5ab5b0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x53c960
test eax, eax
je 0x53c960
call ecx
test eax, eax
je 0x53c955
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x53c955
test byte [ebp - 8], 1
jne 0x53c960
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x53c990
mov eax, dword [0x5ab5a4]
cmp eax, edi
je 0x53c98d
push eax
call ebx
test eax, eax
je 0x53c98d
call eax
mov esi, eax
test esi, esi
je 0x53c98d
mov eax, dword [0x5ab5a8]
cmp eax, edi
je 0x53c98d
push eax
call ebx
test eax, eax
je 0x53c98d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5ab5a0]
call ebx
test eax, eax
je 0x53c9a8
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x53c9aa
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525164
mov esp, ebp
pop ebp
ret
Function at 0x53d858
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0053d501
push eax
push esi
push dword [ebp + 8]
call fcn.0053d4b6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0053d501
push eax
push esi
push dword [ebp + 8]
call fcn.0053d4b6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
push 0xffffffffffffffc6
inc ebp
in al, 0x2b
invalid
invalid

Function at 0x53d9a8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0053d4f1
mov ecx, 0x8d01e4b0
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
Function at 0x53db91
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x53dba5
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x53dba0
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x53db8a
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x53db92
cmp edx, ebx
jne 0x53dce0
invalid
add byte [ebx + 0x45830448], cl
or byte [edx], al
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x53db61
add eax, dword [eax + 4]
jmp 0x53db4e
mov dword [ebp + 0xc], ebx
jmp 0x53dbb0
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x53dbc8
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x53dbe6
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x53dc44
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
add byte [eax], al
inc eax
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x53dc2b
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x53dc34
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x53dc3e
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x53dc20
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x53dbaa
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x53dc91
dec eax
je 0x53dc88
sub eax, 3
je 0x53dc7f
mov dword [ebp - 4], 0x40
jmp 0x53dcae
mov dword [ebp - 4], 4
jmp 0x53dc94
mov dword [ebp - 4], 0x20
jmp 0x53dc94
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x53dce0
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x53dc60
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0053d4f1
invalid
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001220
Capabilities:
Check if file exists
Get file attributes
Get installed programs
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x21c], eax
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallAOMEI_Backupper
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x10001264
xor al, al
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1002b6af
add esp, 0x220
ret
push ebx
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x1e]
push ebx
push ecx
mov byte [esp + 0x13], 1
mov word [esp + 0x24], bx
call fcn.1002fb20
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.UninstallString
push edx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001390
lea eax, [esp + 0x18]
lea edx, [eax + 2]
jmp 0x100012c0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100012c0
sub eax, edx
sar eax, 1
je 0x10001390
lea eax, [esp + 0x18]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100012e0
sub eax, edx
sar eax, 1
add eax, 0xffffffff
cmp word [esp + eax*2 + 0x18], 0x5c
je 0x100012ff
sub eax, 1
jmp 0x100012f2
push 0x1003dd28
mov word [esp + eax*2 + 0x1c], bx
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.1002b784
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001390
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001332
sub eax, edx
sar eax, 1
je 0x1000135e
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0x5c
je 0x10001359
sub eax, 1
sub ecx, 2
cmp eax, ebx
jne 0x10001347
jmp 0x1000135e
mov word [esp + eax*2 + 0x16], bx
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001365
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x10001390
lea edx, [esp + 0x18]
push edx
push 0x104
push edi
call fcn.1002b784
add esp, 0xc
jmp 0x10001394
mov byte [esp + 7], bl
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov al, byte [esp + 7]
pop ebx
xor ecx, esp
call fcn.1002b6af
add esp, 0x220
ret
Function at 0x100013c0
Capabilities:
Check if file exists
Get file attributes
Get installed programs
Query or enumerate registry value

Disassembly:
sub esp, 0x220
mov eax, dword [0x10043330]
xor eax, esp
mov dword [esp + 0x21c], eax
lea eax, [esp + 4]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallAOMEI_Cloner
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x10001404
xor al, al
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.1002b6af
add esp, 0x220
ret
push ebx
xor ebx, ebx
push 0x206
lea ecx, [esp + 0x1e]
push ebx
push ecx
mov byte [esp + 0x13], 1
mov word [esp + 0x24], bx
call fcn.1002fb20
add esp, 0xc
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebx
push str.UninstallString
push edx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001530
lea eax, [esp + 0x18]
lea edx, [eax + 2]
jmp 0x10001460
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001460
sub eax, edx
sar eax, 1
je 0x10001530
lea eax, [esp + 0x18]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001480
sub eax, edx
sar eax, 1
add eax, 0xffffffff
cmp word [esp + eax*2 + 0x18], 0x5c
je 0x1000149f
sub eax, 1
jmp 0x10001492
push 0x1003dd28
mov word [esp + eax*2 + 0x1c], bx
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.1002b784
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001530
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x100014d2
sub eax, edx
sar eax, 1
je 0x100014fe
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0x5c
je 0x100014f9
sub eax, 1
sub ecx, 2
cmp eax, ebx
jne 0x100014e7
jmp 0x100014fe
mov word [esp + eax*2 + 0x16], bx
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10001505
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x10001530
lea edx, [esp + 0x18]
push edx
push 0x104
push edi
call fcn.1002b784
add esp, 0xc
jmp 0x10001534
mov byte [esp + 7], bl
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov al, byte [esp + 7]
pop ebx
xor ecx, esp
call fcn.1002b6af
add esp, 0x220
ret