joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411d54
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [0x4b2ad8]
call fcn.00456fc6
pop ecx
test eax, eax
je 0x411d6a
pop ebp
jmp eax
push 2
call fcn.00456f29
pop ecx
pop ebp
jmp fcn.00411c35

Function at 0x412331
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x90
push ebx
push esi
push edi
push 8
xor esi, esi
pop ecx
xor eax, eax
xor ebx, ebx
lea edi, [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov dword [ebp + 0x68], esi
mov dword [ebp + 0x60], ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.GDI32.dll_GdiFlush]
cmp dword [ebp + 0x7c], 8
jbe 0x412369
xor eax, eax
jmp 0x4124d6
lea eax, [ebp + 0x2c]
push eax
push 0x18
push dword [ebp + 0x74]
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, 0x18
jne 0x412362
push esi
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x30]
add eax, 3
imul eax, eax, 3
push eax
call fcn.00419190
pop ecx
mov dword [ebp + 0x58], eax
xor eax, eax
push 0xa
pop ecx
lea edi, [ebp + 4]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp + 4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp + 8], eax
xor eax, eax
inc eax
push 0x18
mov word [ebp + 0xc], ax
pop eax
mov dword [ebp], 0x28
mov word [ebp + 0xe], ax
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebp + 0x34], esi
mov dword [ebp + 0x64], esi
jle 0x41245f
mov edi, dword [ebp + 0x58]
push esi
lea eax, [ebp]
push eax
push edi
push 1
push dword [ebp + 0x64]
push dword [ebp + 0x74]
push dword [ebp + 0x54]
call dword [sym.imp.GDI32.dll_GetDIBits]
cmp dword [ebp + 0x30], esi
mov dword [ebp + 0x5c], esi
jle 0x412450
mov al, byte [edi]
mov byte [ebp + 0x50], al
inc edi
mov al, byte [edi]
mov byte [ebp + 0x44], al
inc edi
mov al, byte [edi]
mov byte [ebp + 0x48], al
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x7c]
lea eax, [ebp + 0x68]
push dword [ebp + 0x50]
inc edi
push dword [ebp + 0x44]
push dword [ebp + 0x48]
call fcn.004121be
add esp, 0x18
jmp 0x41243d
mov eax, dword [ebp + 0x7c]
lea ecx, [ebp - 0x24]
lea ebx, [ebp + 0x60]
call fcn.00412263
mov ebx, dword [ebp + 0x60]
cmp ebx, dword [ebp + 0x78]
ja 0x41242f
inc dword [ebp + 0x5c]
mov eax, dword [ebp + 0x5c]
cmp eax, dword [ebp + 0x30]
jl 0x4123fc
inc dword [ebp + 0x64]
mov eax, dword [ebp + 0x64]
cmp eax, dword [ebp + 0x34]
jl 0x4123da
push dword [ebp + 0x58]
call fcn.004191bf
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x54]
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebx*4 + 4]
push eax
call fcn.0045485d
mov edi, eax
pop ecx
cmp edi, esi
jne 0x4124a3
mov ecx, dword [ebp + 0x68]
cmp ecx, esi
je 0x412362
push 1
call fcn.0041219b
jmp 0x412362
mov eax, 0x300
mov word [edi], ax
lea eax, [ebp + 0x4c]
push eax
lea eax, [edi + 4]
push eax
push dword [ebp + 0x68]
mov word [edi + 2], bx
mov dword [ebp + 0x4c], esi
call fcn.004122c5
add esp, 0xc
cmp dword [ebp + 0x68], esi
je 0x4124d4
mov ecx, dword [ebp + 0x68]
push 1
call fcn.0041219b
mov eax, edi
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret
Function at 0x4127a2
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa8]
sub esp, 0x128
mov eax, dword [0x4a9c04]
xor eax, ebp
mov dword [ebp + 0xa4], eax
mov eax, dword [ebp + 0xb0]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xb4]
xor ebx, ebx
push edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], ebx
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
mov edi, 0x104
push dword [ebp - 0x74]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x64], edi
call esi
cmp eax, 0xea
je 0x41280a
cmp eax, ebx
jne 0x41286e
push dword [ebp - 0x78]
inc dword [ebp - 0x64]
call fcn.00419190
pop ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call esi
test eax, eax
jne 0x41286e
push dword [ebp - 0x78]
inc dword [ebp - 0x64]
push dword [ebp - 0x70]
mov edi, dword [ebp - 0x7c]
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x80]
call fcn.00412661
add esp, 0x14
test al, al
je 0x412919
push dword [ebp - 0x70]
call fcn.004191bf
inc dword [ebp - 0x68]
pop ecx
jmp 0x4127dd
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], edi
push ebx
jmp 0x412908
inc dword [ebp - 0x64]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x412919
mov edi, dword [ebp - 0x7c]
push ebx
push ebx
push dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
push 0x80008000
call fcn.00412661
add esp, 0x14
test al, al
je 0x412919
push edi
push dword [ebp - 0x70]
call fcn.004127a2
pop ecx
pop ecx
push dword [ebp - 0x70]
mov byte [ebp - 0x69], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
push ebx
push ebx
push 0x80008001
call fcn.00412661
add esp, 0x14
test al, al
je 0x412919
cmp byte [ebp - 0x69], bl
je 0x412919
inc dword [ebp - 0x68]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x64], 0x104
push dword [ebp - 0x74]
call esi
test eax, eax
je 0x412889
mov al, 1
jmp 0x41291b
xor al, al
mov ecx, dword [ebp + 0xa4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f35b
add ebp, 0xa8
leave
ret
Function at 0x412933
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x4a9c04]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov edi, dword [ebp + 0xb0]
mov dword [ebp - 0x70], eax
xor ebx, ebx
jmp 0x412a37
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x104
call fcn.004126f5
add esp, 0x14
test al, al
je 0x4129f0
cmp dword [ebp - 0x6c], 0x80008000
jne 0x412a0a
push ebx
lea eax, [ebp - 0x74]
push eax
xor eax, eax
cmp byte [ebp + 0xb8], bl
push ebx
setne al
push 0x20006
push eax
push ebx
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4129f0
push dword [ebp + 0xb8]
push dword [ebp + 0xb4]
push edi
push dword [ebp - 0x74]
call fcn.00412933
add esp, 0x10
push dword [ebp - 0x74]
mov byte [ebp - 0x65], al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x65], bl
jne 0x412a2e
xor al, al
mov ecx, dword [ebp + 0xa0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f35b
add ebp, 0xa4
leave
ret
cmp dword [ebp - 0x6c], 0x80008001
je 0x412a4a
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push dword [ebp - 0x78]
push dword [ebp - 0x6c]
push ebx
push eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4129f0
push dword [ebp - 0x78]
call fcn.004191bf
pop ecx
push 1
push ebx
push ebx
push edi
call esi
cmp eax, dword [ebp + 0xb4]
jne 0x41296d
mov al, 1
jmp 0x4129f2

Function at 0x412a4e
Capabilities:
Clear file content

Disassembly:
push esi
xor eax, eax
push eax
push eax
push 2
push eax
push eax
push 0x40000000
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412a71
xor al, al
pop esi
ret
push ebx
push esi
push dword [esp + 0x10]
call fcn.004127a2
pop ecx
pop ecx
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
ret

Function at 0x412a93
Capabilities:
Get file size

Disassembly:
push esi
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412ab8
xor al, al
pop esi
ret
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [esp + 0x14]
push eax
push esi
push dword [esp + 0x18]
call fcn.00412933
add esp, 0x10
push esi
mov bl, al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
ret
Function at 0x412ae2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x90]
sub esp, 0x110
mov eax, dword [0x4a9c04]
xor eax, ebp
mov dword [ebp + 0x8c], eax
mov eax, dword [ebp + 0x9c]
push ebx
mov ebx, dword [ebp + 0x98]
push esi
push edi
lea ecx, [ebp - 0x7c]
push ecx
push 0xf003f
xor esi, esi
push esi
push eax
push ebx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, 0x104
push edi
lea eax, [ebp - 0x78]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
jmp 0x412b4e
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x7c]
call fcn.00412ae2
pop ecx
pop ecx
push edi
lea eax, [ebp - 0x78]
push eax
push 0
push dword [ebp - 0x7c]
call esi
test eax, eax
je 0x412b39
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x80]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0x8c]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0044f35b
add ebp, 0x90
leave
ret
Function at 0x412f43
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x4a9c04]
xor eax, ebp
mov dword [ebp + 0xa0], eax
mov eax, dword [ebp + 0xac]
push esi
lea edx, [ebp - 0x6c]
push edx
push 0x20019
xor esi, esi
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp + 0xb0]
push esi
push ecx
push eax
mov dword [ebp - 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x6c], esi
jne 0x412f91
xor al, al
jmp 0x413079
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov dword [ebp - 0x68], esi
mov ebx, 0x104
lea eax, [ebp - 0x70]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x70], esi
push dword [ebp - 0x6c]
mov dword [ebp - 0x74], ebx
call edi
cmp eax, 0xea
je 0x412fc9
cmp eax, esi
jne 0x41301c
push dword [ebp - 0x70]
inc dword [ebp - 0x74]
call fcn.00419190
pop ecx
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
call edi
test eax, eax
jne 0x41301c
push dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
push dword [ebp - 0x78]
inc dword [ebp - 0x74]
push dword [ebp - 0x80]
lea eax, [ebp - 0x64]
push eax
call fcn.00412c69
push dword [ebp - 0x78]
call fcn.004191bf
inc dword [ebp - 0x68]
pop ecx
jmp 0x412fa1
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x70], esi
push esi
jmp 0x413060
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x64]
push eax
call fcn.00412e24
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp - 0x6c]
mov ecx, eax
call fcn.00412f43
inc dword [ebp - 0x70]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
mov dword [ebp - 0x68], ebx
call edi
test eax, eax
je 0x413034
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp + 0xa0]
xor ecx, ebp
pop esi
call fcn.0044f35b
add ebp, 0xa4
leave
ret 8
Function at 0x413091
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
xor edi, edi
xor eax, eax
cmp byte [ebp + 0x10], al
push edi
setne al
push 0xf003f
mov esi, ecx
mov dword [ebp - 4], edi
mov bl, 1
push eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp dword [ebp - 4], edi
jne 0x4130cf
xor al, al
jmp 0x413131
cmp dword [esi + 4], edi
jbe 0x413100
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push 0
push dword [eax]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
je 0x413100
inc edi
cmp edi, dword [esi + 4]
jb 0x4130d4
xor edi, edi
cmp dword [esi + 0xc], edi
jbe 0x413126
mov eax, dword [esi + 0x10]
push dword [ebp + 0x10]
mov ecx, dword [eax + edi*4]
push dword [ecx]
push dword [ebp - 4]
call fcn.00413091
mov bl, al
test bl, bl
je 0x413126
inc edi
cmp edi, dword [esi + 0xc]
jb 0x413107
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4139e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
push esi
push dword [esp + 0x10]
xor bl, bl
call fcn.00406d8b
mov esi, eax
pop ecx
test esi, esi
je 0x413a3a
push dword [esp + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413a33
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
setne bl
call dword [sym.imp.USER32.dll_CloseClipboard]
test bl, bl
je 0x413a33
push 0
push 0
push 0x302
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop esi
mov al, bl
pop ebx
ret

Function at 0x413fc2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x414007
push dword [ebp + 0xc]
push str.Error_saving_RTF_to__s
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x30
push dword [ebp + 8]
call fcn.0040b551
add esp, 0x14
xor al, al
jmp 0x41403c
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], esi
call fcn.00413f08
pop ecx
pop ecx
push esi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00450445
pop ecx
mov al, 1
pop ebx
pop edi
pop esi
leave
ret
Function at 0x416fd5
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 8
mov eax, 0x4808ed
call fcn.0044fa1b
mov edi, ecx
xor esi, esi
lea ebx, [edi + 4]
push esi
mov dword [edi], esi
mov dword [ebx], esi
call dword [sym.imp.ole32.dll_CoInitialize]
push str.CoInitializeSecurity
push 0x48cc4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x41701b
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call eax
push edi
push 0x4993dc
push 1
push esi
push 0x4994ac
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x4170ab
cmp dword [edi], esi
je 0x4170ab
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
call fcn.00416920
mov eax, dword [eax]
mov dword [ebp - 4], esi
cmp eax, esi
je 0x417051
mov ecx, dword [eax]
jmp 0x417053
xor ecx, ecx
mov eax, dword [edi]
mov edx, dword [eax]
push ebx
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], eax
cmp ecx, esi
je 0x417079
call fcn.00401e2b
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x14], esi
jl 0x4170ab
cmp dword [ebx], esi
je 0x4170ab
push str.CoSetProxyBlanket
push 0x48cc4c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
je 0x4170ab
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebx]
call eax
mov eax, edi
call fcn.0044faf3
ret

Function at 0x420608
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42064f
call fcn.00427fd8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x42064f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42066b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00420182
mov esi, eax
test edi, edi
je 0x420669
test ebx, ebx
je 0x420669
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x426120
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4814da
call fcn.0044fa1b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x426145
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42618b
lea ecx, [ebp - 0x10]
call fcn.0041d39d
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00421079
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00419303
mov eax, esi
call fcn.0044faf3
ret 8
Function at 0x42cb77
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x4a9c04]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x42cc15
push 0x490e34
push 4
push eax
call fcn.00458c7d
push eax
call fcn.00420fa6
add esp, 0x10
push ebx
push edi
call fcn.00457fa7
mov edi, dword [eax]
call fcn.00457fa7
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0044f4c0
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.00457fa7
cmp dword [eax], ebx
je 0x42cc2c
call fcn.00457fa7
push dword [eax]
call fcn.00419223
pop ecx
jmp 0x42cc33
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x42cbbd
jmp 0x42ccba
call fcn.00457fa7
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
je 0x42ccb6
cmp dword [ebp - 0x11c], esi
jae 0x42ccb6
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x15c]
push ebx
push eax
mov dword [ebp - 0x160], 0x40
call fcn.0044f370
add esp, 0xc
push str.KERNEL32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp eax, ebx
je 0x42cca5
push str.FindActCtxSectionStringA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42cca5
lea ecx, [ebp - 0x160]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x42cca5
push ebx
push ebx
push esi
jmp 0x42ccae
push ebx
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x42ccb8
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044f35b
leave
ret

Function at 0x432fbd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x48238f
call fcn.0044fa1b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0041ffac
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x43301f
call fcn.00427356
cmp eax, 1
jne 0x43301f
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00432836
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00429c8a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419303
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00419303
mov eax, esi
call fcn.0044faf3
ret 0x10
Function at 0x433048
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x4823ba
call fcn.0044fa1b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0041ffac
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4330aa
call fcn.00427356
cmp eax, 1
jne 0x4330aa
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00432836
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00429c8a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419303
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00419303
mov eax, esi
call fcn.0044faf3
ret 0x14

Function at 0x4330d6
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x4823e5
call fcn.0044fa1b
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0041ffac
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x433138
call fcn.00427356
cmp eax, 1
jne 0x433138
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.00432836
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00429c8a
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00419303
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00419303
mov eax, esi
call fcn.0044faf3
ret 8

Function at 0x4491e8
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4a9c04]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x44921d
xor eax, eax
jmp 0x449270
lea eax, [ebp - 0x210]
push eax
call fcn.00455118
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x44924e
push 0x4948a0
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00459a8f
add esp, 0xc
test eax, eax
jne 0x449219
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00459a8f
add esp, 0xc
test eax, eax
jne 0x449219
lea eax, [ebp - 0x210]
push eax
call fcn.0044915a
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0044f35b
leave
ret