joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406518
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push 0
push 0
push 0
cld
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
sub eax, 3
mov edx, dword [ecx]
imul eax, edx
movzx eax, al
cmp eax, 0x7c
je 0x40657f
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x34]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
cmp eax, dword [edx + ebp]
je 0x4065bf
mov eax, 0x40657a
lea eax, [edx + eax]
push ebp
push eax
push 0
call 0x4065b9
test eax, eax
jne 0x406598
jmp 0x4065bf
push ecx
retf
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
cld
or eax, 7
xchg dword [esp + 0xc], edx
lea eax, cs:[eax + 0x789690]
nop
xchg esi, eax
js 0x40659c
lea eax, [eax - 0x783648]
sub edx, 0x1b4
add dword [edx], eax
mov ecx, dword [esp]
sub esp, 0xffffffec
sub eax, eax
push cs
pop dx
push dx
je 0x40657c
jmp dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
add byte [eax], al
add byte [eax], al
into
out dx, eax
int3

Function at 0x40e263
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add ecx, dword [ebx + 0x3c]
clc
mov dword fs:[eax], esp
mov ecx, ebx
clc
nop
jae 0x40d044
jecxz 0x40e245
invalid
pushal
clc
nop
jae 0x40e238
out dx, eax
add byte [ebx], cl
test byte [eax], 0
add byte [ecx], dl
pop ds
xor eax, eax
clc
nop
jae 0x40ef10
dec ebx
add byte [eax], dl
std
push dword fs:[eax]
clc
nop
jae 0x40d7aa
hlt
Function at 0x1453d18
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1453d22
pushal
call 0x1453d28
pop ebp
sub ebp, 0x10
sub ebp, 0x1053d18
jmp 0x1453d3e
mov eax, 0x1053d18
add eax, ebp
add eax, 0x4c
add byte [eax], al
mov ecx, 0x5b7
mov edx, 0x88e083f1
xor byte [eax], dl
inc eax
dec ecx
jne 0x1453d55
jmp 0x1453d68
jp 0x1453da6
jp 0x1453de4
int 0xf1
int1
int1
jo 0x1453da2
or ecx, esi
int1
int1
cmp al, 0x49
hlt
aad 0x99
inc ebp
into
in al, dx
int1
cdq
xchg edx, eax
or al, 0x16
int1
invalid
aad 0x99
push eax
dec esp
mov ebx, dword [ebp - 0xe0e0be7]
int1
sbb cl, al
int1
int1
int1
jl 0x1453d49
aad 0xd
js 0x1453d95
aad 0x7c
popfd
jl 0x1453d58
aad 0xf1
jp 0x1453e33
je 0x1453db9
stc
int1
int1
int1
jp 0x1453e29
std
int1
int1
int1
jp 0x1453e47
loope 0x1453dbe
int1
int1
xor byte [eax], bl
sal bl, 0x72
xor esi, ebp
mov eax, 0xe0574fe
push cs
push cs
lodsb al, byte [esi]
xor edi, ebp
int1
jp 0x1453e61
aad 0xf5
int1
int1
int1
cdq
inc ebp
into
in al, dx
int1
cdq
xchg edx, eax
or al, 0x16
int1
invalid
ret 0xc238
jb 0x1453e48
hlt
mov ecx, 0xf1bf75fe
int1
int1
invalid
mov edi, 0xfef1f1f1
jns 0x1453df3
int1
int1
int1
xchg edi, eax
jp 0x1453e2d
in eax, dx
enter 0xa71, 0x19
invalid
int1
int1
int1
jno 0x1453e56
sbb dh, bh
jne 0x1453e30
int1
int1
int1
xchg edi, eax
jo 0x1453e60
push cs
aam 0xfe
jne 0x1453e3f
int1
int1
int1
mov al, 0x18
cmp eax, 0xd80e0e0e
mov ebp, 0x3072f0c8
push cs
push cs
push cs
fdivr dword [ebp + 0x3072f0c8]
hlt
Function at 0x40315e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x475555
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x47556d
or eax, eax
jmp 0x40317d
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp + 8]
jmp 0x40317d

Function at 0x4039dd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x10]
push ebx
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x403a15
push edi
push 0
push 0x4afecc
push 0xa
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x4762dd
pop edi
pop esi
pop ebx
leave
ret
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x403a14
push edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
test edi, edi
je 0x403a14
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x403a14
mov ecx, dword [ebx]
push 0
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0x10]
mov eax, dword [ebx]
xor edx, edx
mov ecx, dword [eax]
push edx
push edx
push edx
push edx
push eax
call dword [ecx + 0x14]
mov byte [esi + 0x14], 1
jmp 0x403a14
Function at 0x404b0b
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
push ebx
push esi
push edi
lea eax, [ebp - 0x22c]
push eax
xor bl, bl
push 0x104
mov byte [ebp - 5], bl
xor bh, bh
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
lea eax, [ebp - 6]
push eax
push dword [ebp + 8]
call fcn.0040544c
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
jne 0x472d63
mov eax, dword [0x4c2124]
test eax, eax
je 0x404c2a
xor edi, edi
inc edi
mov esi, 0x4c32e8
cmp eax, edi
je 0x472d7c
lea eax, [ebp - 5]
push eax
push ecx
push 0x4c2124
push 0x4c213c
mov ecx, esi
call fcn.00404c3b
test al, al
je 0x404c33
mov al, byte [0x4c32e8]
mov bh, byte [0x4c32e9]
push 0x4c2120
mov byte [0x4c2128], al
lea eax, [ebp - 0x43c]
push eax
push 0x104
push 0x4c213c
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov bl, byte [ebp - 5]
push dword [0x4c2124]
push 0x4c213c
call fcn.00404225
test eax, eax
jne 0x472d9b
cmp bh, 1
je 0x472dba
call fcn.00404140
call fcn.00403552
cmp byte [0x4c2128], 0
mov ebx, 0x4c28f0
jne 0x404bf4
mov ecx, ebx
call fcn.00403ae8
push edi
mov ecx, 0x4c2348
call fcn.0040f3c0
cmp byte [0x4c2128], 0
jne 0x404c0f
mov ecx, ebx
call fcn.00403700
mov ecx, esi
call fcn.00403fda
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret 4
or dword [0x4c20bc], 0xffffffff
jmp 0x404c16
mov dword [0x4c20bc], edi
jmp 0x404c16
push 0x10
push 0x4b393c
push str.This_is_a_compiled_AutoIt_script._AV_researchers_please_email_avsupport_autoitscript.com_for_support.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x404c23
push 0xffffffffffffffff
push dword [0x4c212c]
mov ecx, esi
push edi
call fcn.00443a31
mov al, byte [0x4c20c2]
mov byte [0x4c32ea], al
jmp 0x404bb4
mov ecx, esi
call fcn.00403fda
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4c20bc], edi
jmp 0x404c23
call fcn.0043c943
test al, al
jne 0x404bd5
cmp byte [ebp - 6], al
jne 0x404bd5
push 0x104
lea eax, [ebp - 0x43c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x49eaa4
lea ecx, [ebp - 0x18]
call fcn.0040dc83
lea ecx, [ebp - 0x18]
test bl, bl
je 0x472e1d
mov edi, 0x4b39a8
push edi
call fcn.00403f04
push 0x4c213c
lea ecx, [ebp - 0x18]
call fcn.00403f04
push edi
lea ecx, [ebp - 0x18]
call fcn.00403f04
push 1
jmp 0x472e26
push dword [ebp + 8]
call fcn.00403f04
push edi
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x43c]
push eax
push 0x4b39ac
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18]
call fcn.00406ea2
jmp 0x404c0f
Function at 0x4053dd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x476387
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00424f9e
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
mov edx, dword [ecx]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x405403

Function at 0x405f80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], 0
je 0x405ff4
mov ebx, dword [ebp + 0xc]
xor edi, edi
test ebx, ebx
je 0x405fb7
mov eax, dword [esi + 0xc]
cmp eax, dword [esi + 8]
je 0x405fc7
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
inc edi
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 8]
mov byte [edi + ecx - 1], al
inc dword [esi + 0xc]
cmp edi, ebx
jb 0x405f97
add dword [esi + 0x10], edi
mov eax, edi
pop edi
adc dword [esi + 0x14], 0
pop esi
pop ebx
pop ebp
ret 8
push 0
lea eax, [ebp + 0xc]
push eax
push 0x10000
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x405fb7
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x405fb7
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
jmp 0x405f9f
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004060a1
jmp 0x405f8e
Function at 0x41ec5c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 0xc]
mov ecx, esi
call fcn.0040e959
lea eax, [ebp - 0x15c]
push eax
mov byte [ebx + 0x30], 0
mov dword [ebp - 0x15c], 0x11c
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [ebp - 0x158]
mov dword [ebx], eax
mov eax, dword [ebp - 0x154]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x150]
mov dword [ebx + 8], eax
lea eax, [ebp - 0x148]
push eax
mov ecx, esi
call fcn.00408f96
push ecx
mov ecx, esi
call fcn.0041eed3
push 0x49ec28
mov ecx, esi
call fcn.0041edcd
mov eax, dword [ebx]
xor edx, edx
push 1
mov word [ebx + 0x2b], dx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov word [ebx + 0x28], dx
mov byte [ebx + 0x2a], dl
pop ecx
sub eax, 5
je 0x473526
dec eax
jne 0x41ed22
mov eax, dword [ebx + 4]
mov byte [ebx + 0x1d], cl
mov byte [ebx + 0x1f], cl
test eax, eax
je 0x4734d6
cmp eax, ecx
je 0x4734f1
cmp eax, 2
jne 0x473512
mov byte [ebx + 0x28], cl
mov byte [ebx + 0x29], cl
mov byte [ebx + 0x27], cl
mov byte [ebx + 0x25], cl
mov byte [ebx + 0x21], cl
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], edx
call fcn.0041ee0c
test al, al
je 0x41ed57
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041edf4
call eax
cmp dword [ebp - 4], 1
jne 0x41ed57
mov byte [ebx + 0x2c], 1
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push edi
push 8
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], edx
rep stosd dword es:[edi], eax
pop edi
cmp byte [ebx + 0x2c], al
je 0x41edc1
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], edx
call fcn.0041ee61
test al, al
lea eax, [ebp - 0x40]
push eax
je 0x41edb9
lea ecx, [ebp - 0x1c]
call fcn.0041ee49
call eax
cmp dword [ebp - 0x1c], 0
je 0x41ed9e
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x10], 0
mov ax, word [ebp - 0x40]
mov word [ebx + 0x2e], ax
je 0x41edb1
push dword [ebp - 0x10]
call esi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x41ed93
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
jmp 0x41ed9e
mov byte [ebx + 0x21], cl
cmp byte [ebp - 0x42], cl
jne 0x4734e6
mov byte [ebx + 0x20], cl
jmp 0x41ed22
mov byte [ebx + 0x23], cl
mov byte [ebx + 0x22], cl
jmp 0x41ed22
mov byte [ebx + 0x21], cl
mov byte [ebx + 0x23], cl
mov byte [ebx + 0x25], cl
cmp byte [ebp - 0x42], cl
jne 0x473507
mov byte [ebx + 0x24], cl
jmp 0x41ed22
mov byte [ebx + 0x27], cl
mov byte [ebx + 0x26], cl
jmp 0x41ed22
cmp eax, 3
jne 0x41ed22
mov byte [ebx + 0x2b], cl
mov byte [ebx + 0x2a], cl
jmp 0x41ed16
cmp dword [ebx + 4], ecx
jne 0x473542
mov byte [ebx + 0x1d], cl
mov byte [ebx + 0x1c], cl
movzx eax, byte [ebp - 0x44]
shr eax, 6
and eax, ecx
mov byte [ebx + 0x30], al
jmp 0x41ed22
cmp dword [ebx + 4], 2
jne 0x473531
mov byte [ebx + 0x1d], cl
mov byte [ebx + 0x1f], cl
cmp byte [ebp - 0x42], cl
je 0x47352e
mov byte [ebx + 0x1e], cl
jmp 0x473531
Function at 0x41f324
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x10
push ebx
call fcn.0040d4dd
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4755ef
xor al, al
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push 0x49ec40
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x475669
mov eax, dword [ebp - 4]
push esi
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420bfa
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.00403182
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push esi
push ebx
push ebx
push 0x49ec40
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x475660
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 4], eax
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00408f96
mov bl, 1
lea ecx, [ebp - 0x10]
call fcn.0040331d
pop esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
jmp 0x41f356

Function at 0x41f9bc
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c20c1]
push ebx
push esi
push edi
mov esi, ecx
push 0x8000
push esi
mov edi, edx
mov byte [ebp - 1], al
call fcn.004240b6
pop ecx
push eax
call fcn.00423ee5
pop ecx
pop ecx
push 0xb
mov ecx, edi
mov ebx, eax
call fcn.0040e479
test al, al
jne 0x475679
lea ecx, [ebp - 0x18]
call fcn.0040b70e
mov ecx, edi
call fcn.0040957a
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.0041fa63
push dword [ebp - 0x18]
push 0x4afc3c
push esi
call fcn.004242af
add esp, 0xc
cmp byte [ebp - 1], 0
mov dword [ebp - 8], eax
jne 0x475699
lea ecx, [ebp - 0x18]
call fcn.00406ea2
mov edi, dword [ebp - 8]
push esi
call fcn.00424474
pop ecx
cmp ebx, 0xffffffff
je 0x4756b0
push ebx
push esi
call fcn.004240b6
pop ecx
push eax
call fcn.00423ee5
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
push esi
mov ecx, edi
call fcn.0044ca2e
push eax
push 1
call fcn.0044c9e5
push eax
call fcn.00424231
add esp, 0x10
mov edi, eax
jmp 0x41fa3c
mov ecx, edi
call fcn.0040957a
mov eax, dword [edi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
jmp 0x41fa31
push 0x4000
jmp 0x41fa4d
Function at 0x42020b
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, dword [ebp + 8]
mov esi, eax
cmp ebx, esi
jne 0x474e4f
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 4
push edi
xor edi, edi
test esi, esi
jne 0x474e64
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x474e78
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x474f53
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp + 8], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call esi
push 1
push edi
push dword [ebp + 8]
call esi
push 1
push dword [ebp - 4]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x474f2f
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 8]
test eax, eax
je 0x474f34
push 4
jmp 0x474f31
push 3
pop ebx
jmp 0x474f37
mov ebx, dword [ebp - 0xc]
push 0
push dword [ebp - 4]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp + 8]
call esi
push 0
push dword [ebp - 4]
push edi
call esi
jmp 0x474f56
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x420229
Function at 0x4351c0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bbdc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [section..data]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0042968c
mov dword [ebp - 0x14], eax
cmp dword [0x4c2048], edi
jne 0x4352b1
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x43523e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x435391
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x435391
push 0x49ca50
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x435391
push eax
call ebx
push 0x49ca5c
push esi
mov dword [0x4c2048], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4c204c], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4c2050], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4c2058], eax
test eax, eax
je 0x4352ae
push 0x49ca9c
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4c2054], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x4352d6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4352c9
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4352eb
push 4
pop eax
jmp 0x435393
cmp dword [ebp - 0x14], edi
je 0x4352eb
push dword [0x4c2048]
call dword [0x4bb004]
push 3
jmp 0x4352d0
mov eax, dword [0x4c2054]
mov ebx, dword [0x4bb004]
cmp eax, esi
je 0x435349
cmp dword [0x4c2058], esi
je 0x435349
push eax
call ebx
push dword [0x4c2058]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x435349
test eax, eax
je 0x435349
call ecx
test eax, eax
je 0x43533e
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 0x43533e
test byte [ebp - 8], 1
jne 0x435349
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x435379
mov eax, dword [0x4c204c]
cmp eax, esi
je 0x435376
push eax
call ebx
test eax, eax
je 0x435376
call eax
mov edi, eax
test edi, edi
je 0x435376
mov eax, dword [0x4c2050]
cmp eax, esi
je 0x435376
push eax
call ebx
test eax, eax
je 0x435376
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4c2048]
call ebx
test eax, eax
je 0x435391
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x435393
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bfaf
leave
ret
Function at 0x43b9df
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov edi, edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
call fcn.0040e959
lea ecx, [ebp - 0x20]
call fcn.0040e959
lea ecx, [ebp - 0x40]
call fcn.0040e959
push 0x4b38f4
lea ecx, [ebp - 0x30]
call fcn.00408f96
push esi
lea ecx, [ebp - 0x30]
call fcn.00403f04
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.00403f04
lea ecx, [ebp - 0x20]
call fcn.0040d4dd
test edi, edi
je 0x43ba62
push 0x5c
pop eax
cmp word [edi], ax
je 0x43ba62
cmp word [edi + 2], ax
je 0x43ba62
push 0x4b3928
lea ecx, [ebp - 0x20]
call fcn.00408f96
push edi
lea ecx, [ebp - 0x20]
call fcn.00403f04
cmp dword [ebp + 0xc], ebx
je 0x43bab3
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.00422460
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x5c], ebx
call fcn.0040daca
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.00403f04
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x43bb3f
lea eax, [ebp - 0x10]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x43bb3f
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x43bb3a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x43bb35
mov eax, dword [ebp - 0xc]
push dword [ebp + 8]
shr eax, 1
xor ecx, ecx
mov dword [ebp - 0xc], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 8]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.00406ea2
lea ecx, [ebp - 0x20]
call fcn.00406ea2
lea ecx, [ebp - 0x30]
call fcn.00406ea2
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret