joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428477
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb

Function at 0x42daa9
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x440dd0
call fcn.0043d180
sub esp, 0x28
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp si, ax
jne 0x42db87
mov ecx, eax
xor edi, edi
shr ax, 0xa
and ecx, 0x3ff
mov esi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
movzx ecx, cx
lea edx, [ebp - 0x1c]
mov dword [ebp - 4], edi
call fcn.0042dbb5
lea ecx, [ebp - 0x34]
call fcn.0042d761
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edi
movzx ebx, si
mov eax, dword [ebp - 0x10]
neg eax
sbb eax, eax
not eax
and eax, ebx
cmp eax, dword [ebp - 0x18]
jae 0x42db69
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx + eax*4]
cmp dword [esi + 4], edi
je 0x42db69
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040289a
push dword [esi]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00402b8b
lea ecx, [ebp - 0x28]
push str..txt
call fcn.00402b8b
mov edx, dword [ebp - 0x28]
mov ecx, 0x4516b0
call fcn.0042d755
test al, al
jne 0x42db96
push dword [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402fca
pop ecx
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jb 0x42db09
push dword [ebp - 0x34]
call fcn.00402fca
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x1c]
call fcn.00419bb8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push dword [esi]
mov ecx, 0x4516d0
call fcn.00402a68
push dword [ebp - 0x28]
call fcn.00402fca
push dword [ebp - 0x34]
call fcn.00402fca
pop ecx
jmp 0x42db7a
Function at 0x42ebbd
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x440f44
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
or eax, 0xffffffff
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x38]
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
call fcn.004027c7
lea ecx, [esi + 0x44]
mov dword [ebp - 4], ebx
call fcn.004027c7
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 1
call fcn.004027c7
mov byte [esi + 0x5c], bl
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call fcn.0042ec53
lea ecx, [esi + 0x9c]
call fcn.0043ce80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x430a28
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x441290
call fcn.0043d180
sub esp, 0x44
push ebx
push esi
push edi
mov esi, ecx
push 0
call fcn.0042f524
push 1
mov ecx, esi
call fcn.0042ff9f
mov edx, 0x198
lea ecx, [ebp - 0x20]
call fcn.0042d922
mov eax, dword [eax]
lea edi, [esi + 4]
push eax
push 2
push dword [edi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [ebp - 0x20]
call fcn.00402fca
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
push 2
push dword [edi]
call ebx
push 1
push 1
push 0xf4
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [edi]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1be
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
lea ecx, [ebp - 0x50]
call fcn.00430bbe
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], ebx
call fcn.00430bbe
lea eax, [esi + 0x1e4]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esi + 0x1ac], ebx
lea ebx, [esi + 0x1b4]
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
setne byte [ebp - 0xd]
call fcn.00430bef
add ebx, 0x18
lea ecx, [ebp - 0x38]
push ebx
call fcn.00430bef
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp - 0x40], ebx
je 0x430b42
cmp dword [ebp - 0x4c], ebx
mov byte [esi + 0x203], 1
jne 0x430b38
push 0x4462dc
lea ecx, [ebp - 0x50]
call fcn.00402a68
push 0x10
push dword [ebp - 0x50]
push dword [ebp - 0x44]
jmp 0x430b6d
cmp byte [ebp - 0xd], 0
jne 0x430b83
cmp dword [ebp - 0x28], ebx
mov byte [esi + 0x203], 1
je 0x430b9c
cmp dword [ebp - 0x34], ebx
jne 0x430b66
push 0x4462dc
lea ecx, [ebp - 0x38]
call fcn.00402a68
push ebx
push dword [ebp - 0x38]
push dword [ebp - 0x2c]
mov eax, esi
neg eax
sbb eax, eax
and eax, edi
push dword [eax]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebp - 0xd], 0
je 0x430b9c
cmp byte [esi + 0x136], 0
jne 0x430b9c
mov ecx, esi
mov byte [esi + 0x135], 1
call fcn.00430fba
jmp 0x430ba5
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_EndDialog]
lea ecx, [ebp - 0x50]
call fcn.0042f406
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x431a29
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x2b4
push eax
push 0x90
push 0x44350c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add esp, 0x2b4
ret
Function at 0x432ac3
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, 0x441544
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x445f68
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
mov byte [esi + 0x45], bl
call fcn.004027c7
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 3
call fcn.004027c7
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
mov byte [esi + 0x60], bl
call fcn.004027c7
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004027c7
lea eax, [esi + 0x80]
mov byte [esi + 0x7c], 1
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 7
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x4466fc
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x433088
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x441662
call fcn.0043d180
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x445f68
lea ecx, [esi + 0xc]
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
call fcn.004027c7
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004027c7
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], 0x44675c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4330ea
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x441695
call fcn.0043d180
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 3
call fcn.00419bb8
push dword [esi + 0x24]
call fcn.00402fca
push dword [esi + 0x18]
call fcn.00402fca
push dword [esi + 0xc]
call fcn.00402fca
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x445f9c
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x43348a
Capabilities:
Get file system object information

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push edx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
ret 0xc
Function at 0x434bd1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x44184c
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x445f68
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.00434c45
lea eax, [esi + 0x164]
mov byte [esi + 0x160], bl
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0x170]
mov byte [ebp - 4], 3
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x446900
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x435257
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x4418e0
call fcn.0043d180
sub esp, 0x10
push ebx
push esi
push edi
mov esi, ecx
push 0xedb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsDlgButtonChecked]
cmp eax, 1
push 0
sete bl
mov al, bl
neg al
sbb eax, eax
and al, 0xd6
add eax, 0x2a
movzx eax, ax
push eax
push 0xcc
push dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
lea edi, [esi + 0x40]
push dword [ebp - 0x10]
push 0xcc
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1c]
call fcn.004027c7
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0x3c]
call fcn.00408f77
push dword [ebp - 0x1c]
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00408f77
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xeda
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
neg bl
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
sbb ebx, ebx
and ebx, 0xfffffffb
add ebx, 5
push ebx
push eax
call esi
push ebx
push dword [edi]
call esi
push dword [ebp - 0x1c]
call fcn.00402fca
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43979b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x441d92
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x447194
mov dword [esi + 4], 0x44717c
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x447160
mov dword [esi + 4], 0x447148
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x439d63
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x44200e
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x447214
mov dword [esi + 4], 0x447200
mov dword [esi + 8], 0x4471f0
mov dword [esi + 0xc], 0x4471cc
mov dword [esi + 0x10], 0x4471b0
mov dword [esi + 0x14], 0x443f80
mov dword [esi + 0x18], 0x443f90
mov dword [esi + 0x1c], ebx
lea ecx, [esi + 0x20]
mov dword [ebp - 4], ebx
call fcn.004027c7
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.004027c7
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
call fcn.004027c7
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
lea ecx, [esi + 0x9c]
mov byte [ebp - 4], 5
mov byte [esi + 0x70], 1
mov byte [esi + 0x71], bl
mov dword [esi + 0x94], ebx
mov byte [esi + 0x98], bl
mov byte [esi + 0x99], bl
call fcn.004027c7
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 6
call fcn.004027c7
lea ecx, [esi + 0xb4]
mov byte [ebp - 4], 7
call fcn.004027c7
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 8
call fcn.004027c7
lea ecx, [esi + 0xcc]
mov byte [ebp - 4], 9
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0xd8], bl
mov byte [esi + 0xd9], bl
mov byte [esi + 0xda], bl
mov dword [esi], 0x445efc
mov dword [esi + 4], 0x445ee8
mov dword [esi + 8], 0x445ed8
mov dword [esi + 0xc], 0x445eb4
mov dword [esi + 0x10], 0x445e98
mov dword [esi + 0x14], 0x445e88
mov dword [esi + 0x18], 0x445e78
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x439ed8
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x442036
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.004027c7
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004027c7
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
mov dword [esi + 0x2c], ebx
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43ac4a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x442274
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x445f68
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x18], bl
mov byte [esi + 0x19], bl
mov byte [esi + 0x1a], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
or dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 1
mov dword [esi], 0x4473e8
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43bc2e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4424ab
call fcn.0043d180
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], ebx
mov dword [esi], 0x445f68
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
lea ecx, [esi + 0x48]
mov dword [ebp - 4], ebx
mov dword [esi + 0x44], ebx
call fcn.0043bdc4
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 1
call fcn.004027c7
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 2
call fcn.004027c7
lea eax, [esi + 0x9c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 4
call fcn.0043bce9
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 5
call fcn.004027c7
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x144], bl
mov dword [esi], 0x447508
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x43cd40
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
mov dword [esp + 8], 0x114
call esi
lea ecx, [esp + 4]
push ecx
call esi
test eax, eax
pop esi
je 0x43cd77
cmp dword [esp + 4], 6
jne 0x43cd77
mov eax, dword [esp + 8]
test eax, eax
je 0x43cd99
push str.SetDefaultDllDirectories
push 0x4433f4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43cd99
push 0xc00
call eax
add esp, 0x114
ret

Function at 0x43cde0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x43ce09
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x43ce18
mov eax, 1
ret 4
Function at 0x43d084
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43d0da
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x447680
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43d0cd
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43d0dc
xor eax, eax
pop esi
leave
ret 4
Function at 0x1055c058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1055c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1055c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055c06a
add dl, dl
jne 0x1055c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055c0dc
xor eax, eax
add dl, dl
jne 0x1055c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1055c17d
add dl, dl
jne 0x1055c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1055c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1055c075
mov eax, 1
add dl, dl
jne 0x1055c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1055c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1055c0e1
sub eax, ebx
mov ebx, 1
jne 0x1055c128
mov ecx, 1
add dl, dl
jne 0x1055c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1055c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1055c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1055c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1055c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1055c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1055c136
cmp eax, 0x7d00
jae 0x1055c16d
cmp eax, 0x500
jb 0x1055c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1055c075
cmp eax, 0x7f
ja 0x1055c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1055c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1055c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1055c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4010ea
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401189
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xfb8]
mov eax, 0x1038
call fcn.00406cb0
mov eax, dword [0x40c148]
xor eax, ebp
mov dword [ebp + 0xfb4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x4083e0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x50], edi
call fcn.00407871
mov ebx, eax
cmp ebx, edi
jne 0x401310
push esi
push 0x4083f4
push dword [ebp - 0x74]
lea ecx, [ebp - 0x80]
call fcn.00407871
mov ebx, eax
cmp ebx, edi
jne 0x401310
push esi
push 0x408408
push dword [ebp - 0x80]
lea ecx, [ebp - 0x5c]
call fcn.00407871
mov esi, eax
cmp esi, edi
je 0x40124f
lea ecx, [ebp - 0x68]
call fcn.00401080
lea ecx, [ebp - 0x5c]
call fcn.00401080
lea ecx, [ebp - 0x80]
call fcn.00401080
lea ecx, [ebp - 0x74]
call fcn.00401080
mov eax, esi
jmp 0x401332
mov esi, 0x800
push esi
lea eax, [ebp - 0x4c]
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push edi
jmp 0x4012ba
inc dword [ebp - 0x50]
mov ecx, 0x408424
lea eax, [ebp - 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40129b
cmp dx, di
je 0x401297
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40129b
add eax, 4
add ecx, 4
cmp dx, di
jne 0x401275
xor eax, eax
jmp 0x4012a0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x4c]
je 0x4012cb
push esi
push edi
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
cmp ebx, edi
je 0x40126a
jmp 0x401310
push 0x2001f
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
call fcn.00407871
mov esi, eax
cmp esi, edi
jne 0x401228
mov eax, dword [ebp + 0xfc0]
push 4
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push 4
push edi
push 0x408438
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x68]
mov ebx, eax
call fcn.00401080
lea ecx, [ebp - 0x68]
call fcn.00401080
lea ecx, [ebp - 0x5c]
call fcn.00401080
lea ecx, [ebp - 0x80]
call fcn.00401080
lea ecx, [ebp - 0x74]
call fcn.00401080
mov eax, ebx
mov ecx, dword [ebp + 0xfb4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bd0
add ebp, 0xfb8
leave
ret
Function at 0x402a2a
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x40c148]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.00407871
mov ebx, eax
cmp ebx, esi
je 0x402a9d
lea ecx, [ebp - 0x74]
call fcn.00401080
mov eax, ebx
mov ecx, dword [ebp + 0x19c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bd0
add ebp, 0x1a0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x402ab5
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.00402a2a
cmp eax, esi
jne 0x402ae7
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x402aa5
lea ecx, [ebp - 0x74]
call fcn.00401080
push dword [ebp - 0x78]
mov ecx, edi
call fcn.004023ce
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.00401080
mov eax, esi
jmp 0x402a83