joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406054
Capabilities:
Get common file path
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push str.MoveFileExA
push str.KERNEL32.dll
call fcn.004067f3
test eax, eax
mov esi, dword [esp + 0x18]
je 0x406080
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4061c6
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x7c0698], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x7c0698
je 0x4060c4
push 1
push 0
push esi
call fcn.00405fdc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4061cc
cmp eax, edi
jg 0x4061cc
mov esi, 0x7c0110
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4061cc
cmp eax, edi
jg 0x4061cc
push esi
push ebp
push str._s_s_r_n
push 0x7bfd10
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
push 0x3f0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.wininit.ini
push esi
call fcn.00406330
xor eax, eax
push eax
push 0x8000080
push 4
push eax
push eax
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4061c6
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4061bf
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4061bf
cmp edi, dword [esp + 0x18]
jne 0x4061bf
push str._Rename__r_n
push esi
call fcn.00405f6a
test eax, eax
jne 0x4061d3
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.0040630d
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x7bfd10
push eax
call fcn.00405fb6
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x7d13d0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x40a9fc
push eax
call fcn.00405f6a
test eax, eax
je 0x40618a
inc eax
lea edx, [esi + edi]
cmp eax, edx
mov ecx, eax
jae 0x4061fc
mov dl, byte [ecx]
mov byte [ecx + ebx], dl
inc ecx
lea edx, [esi + edi]
cmp ecx, edx
jb 0x4061ef
sub eax, esi
jmp 0x40618c
Function at 0x406200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
xor ebx, ebx
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406264
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x2000
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406253
cmp dword [ebp + 0x14], 1
je 0x406255
cmp dword [ebp + 0x14], 2
je 0x406255
mov byte [esi], bl
push dword [ebp + 0xc]
mov byte [esi + 0x1fff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x40661a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x40663f
mov eax, dword [0x40a8f8]
cmp eax, 0xffffffff
je 0x406636
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a8f8], 0xffffffff
jmp 0x4066b2
cmp dword [0x7c12a0], ebx
je 0x4066b2
cmp byte [0x7c0ea0], bl
je 0x40667e
cmp dword [0x40a8f8], 0xffffffff
jne 0x406687
push 4
push 0x40000000
push 0x7c0ea0
call fcn.00405fdc
cmp eax, 0xffffffff
mov dword [0x40a8f8], eax
je 0x4066b2
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a8f8], 0xffffffff
je 0x4066b2
push esi
mov esi, 0x7c52e0
push 0x40aacc
push esi
call fcn.00406330
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00406323
push eax
push esi
push dword [0x40a8f8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

Function at 0x40685a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7c0a9c], esi
push edi
jne 0x406894
mov ecx, 0x7c0a98
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x406870
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7c0e98
jl 0x40686b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x4068c9
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7c0a98]
xor eax, esi
inc ecx
dec edx
jne 0x4068ac
pop edi
pop esi
not eax
ret 0xc
Function at 0x403290
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4032e9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.0040312c
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040312c
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x4032d3
inc ebx
jmp 0x4032bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032f0
lea eax, [ebp - 8]
call fcn.00405194
ret

Function at 0x4032f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00405194
test esi, esi
jne 0x40332f
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00405284
jmp 0x403350
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.0040312c
mov dword [esp], eax
test esi, esi
je 0x403350
cmp dword [ebx], 0
je 0x403350
dec esi
jmp 0x403337
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403a0c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x50f008], 0x8088405
inc edx
mov dword [ebx + 0x50f008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4040f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x50f024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x404188
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404168
xor eax, eax
push ebp
push 0x404161
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4041a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404168
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x50f024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x50f024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404f6c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51904c], 0
je 0x404fcd
cmp word [0x519220], 0xd7b2
jne 0x404f95
cmp dword [0x519228], 0
jbe 0x404f95
mov eax, 0x51921c
call dword [0x519238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x50f09c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404ff4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x50f034], 0
jne 0x404fe9
push 0
push 0x50f094
push 0x50f09c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405148
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402e58
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x51904d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405110
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4076c8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40772e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00405414
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403b80
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x407718
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407735
lea eax, [ebp - 0x10]
call fcn.00405194
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405664
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x40c19d
test al, 0x10
jne 0x40c1a1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40f8b4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f8ed
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00405284
jmp 0x40f8f6
mov eax, ebx
mov edx, esi
call fcn.004051e8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40f900
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40f921
mov al, byte [esp]
jmp 0x40f923
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x410920
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4109f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040522c
lea eax, [ebp - 8]
call fcn.004056b4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405664
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4109e0
mov eax, ebx
call fcn.00402e58
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4109d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405664
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4109c3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x410a08
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4109c3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4109e0
mov eax, dword [ebp - 0x10]
call fcn.00402e88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4109fd
lea eax, [ebp - 8]
call fcn.00405194
ret
Function at 0x411054
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4110b8
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00405414
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040bde4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4110bf
lea eax, [ebp - 0xc]
call fcn.00405194
ret

Function at 0x4243a4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004241fc
dec esi
jne 0x4243c6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x425508
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x51bab8
cmp dword [edi], 0
jne 0x425584
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x51bab4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x50fc9c
mov ecx, 2
call fcn.004030ec
mov edx, 0x4254e0
lea eax, [esi + 5]
call fcn.00425500
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00425500
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x425559
mov dword [0x51bab4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x426b40
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x426b46
ret

Function at 0x429168
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4291b9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4291a0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x429190
jmp 0x4291b9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4291a1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4334f8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405654
xor eax, eax
push ebp
push 0x433626
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4335f9
xor eax, eax
push ebp
push 0x4335f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405464
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4335c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4335b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405464
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00405664
mov edx, ebx
pop ecx
call fcn.004030ec
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4335bd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x51796c]
mov dl, 1
mov eax, dword [0x40a294]
call fcn.0041013c
call fcn.00404ae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43362d
lea eax, [ebp - 4]
call fcn.00405194
ret
Function at 0x433634
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4337e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405858
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4337fc
call fcn.004054b0
mov eax, ebx
call fcn.00424a9c
mov edi, eax
dec edi
test edi, edi
jl 0x4336ec
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00424a70
mov edx, dword [0x43e0bc]
call fcn.0040441c
test al, al
je 0x4336e8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00424a70
lea edx, [ebp - 0x14]
call fcn.00447388
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405858
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405524
inc esi
dec edi
jne 0x43369a
mov al, byte [0x433800]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43380c
mov eax, dword [ebp - 0xc]
call fcn.00411630
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.0040522c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00447388
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4337fc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00447388
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4337fc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4337fc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x433818
call fcn.0040cf48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4337ec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004051b8
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004051b8
lea eax, [ebp - 0x14]
call fcn.00405194
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004051b8
ret
Function at 0x43806c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4381d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040522c
mov eax, dword [ebp - 0x10]
call fcn.00437be0
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4380be
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00405708
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0043851c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x438193
xor eax, eax
push ebp
push 0x43818c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00437d8c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004381e4
test al, al
je 0x43816a
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00405284
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x43816a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405664
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x438164
mov eax, dword [ebp - 0x14]
call fcn.00405664
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.0040539c
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0043806c
dec ebx
cmp ebx, 0xffffffff
jne 0x43811d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x438193
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00437d8c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00405664
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00437d78
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4381dc
lea eax, [ebp - 0x3c]
call fcn.00405194
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004051b8
ret

Function at 0x4381e4
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004039ec
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x5180d8]
cmp byte [edx + 0xc], 0
je 0x438248
mov edx, dword [0x5180c4]
cmp dword [edx], 2
jne 0x438248
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x43824c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x438304
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004381e4
test al, al
je 0x4382e6
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405284
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4382e6
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405664
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00405664
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0040539c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x43829f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43830b
lea eax, [ebp - 0x2c]
call fcn.00405194
lea eax, [ebp - 0xc]
call fcn.00405194
ret

Function at 0x438430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00437bf4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00405664
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43848e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x517d28]
mov dl, 1
mov eax, dword [0x437aec]
call fcn.00410178
call fcn.00404ae8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438498
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405664
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4384f0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5180e4]
mov dl, 1
mov eax, dword [0x437aec]
call fcn.00410178
call fcn.00404ae8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00437c24
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x441d54
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x441ca0
call sub.user32.dll_EnumWindows
ret