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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4abc00]
cmp dword [eax + 0x30], 0
je 0x45752e
cmp dword [ebx + 0x94], 0
jne 0x457528
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457414
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x457528
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4574ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x457528
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d48c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4574fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45800c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458041
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a3c
jmp 0x45804e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45906c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4590ad
mov eax, esi
call fcn.0043f590
test al, al
je 0x4590ad
mov eax, dword [ebx + 0x84]
call fcn.0043f28c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4590ad
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f28c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46033c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a1a0]
call fcn.004054a0
xor eax, eax
push ebp
push 0x460480
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8df4], 0
jne 0x46038f
mov ecx, dword [0x4aa4c8]
mov dl, 1
mov eax, dword [0x40807c]
call fcn.0040ce60
call fcn.00404370
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040321c
mov eax, ebx
call fcn.004051f4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x460490
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406974
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405204
test eax, eax
jle 0x460427
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x460420
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404bcc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bb4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408ec8
test eax, eax
jne 0x460420
mov ebx, 0x15
jmp 0x46042c
mov ebx, 0x10
jmp 0x46042c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a8df4]
call fcn.00460294
mov eax, dword [ebp - 8]
call fcn.00460294
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.0040698c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460487
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404970
lea eax, [ebp - 0x10]
mov edx, dword [0x41a1a0]
call fcn.00405570
ret

Function at 0x476094
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4760b9
cmp dword [esp + 4], 5
jb 0x4760b9
mov al, 1
jmp 0x4760bb
xor eax, eax
add esp, 0x94
ret
Function at 0x48e6ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x48e6da
mov eax, ebx
call fcn.0048f164
cmp dword [ebx + 0x3c], 0
je 0x48e6d3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x48e74b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x48e73d
cmp dword [ebx + 8], 0
je 0x48e6fc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x48e70e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48e73d
cmp dword [ebx + 8], 0
je 0x48e6ef
cmp eax, 3
je 0x48e721
dec eax
jne 0x48e6ef
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x48e6ef
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48e6ef
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x48e769
cmp dword [ebx + 0x10], 0xcc
je 0x48e769
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048e774
pop ebx
ret

Function at 0x401a2d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401a3c
push esp
mov dword [ebp - 0x24], 0x401778
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401adb
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401abc
pop ebp
ret 0x10
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x37bf5bcf
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x84116e5
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x51ad2dad
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x74224785
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x3ddc648d
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xedc060a
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x3000572b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x300283c8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
je 0x3000574e
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
mov dword [ebp - 4], eax
jmp 0x30005799
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push edi
mov ebx, eax
push edi
push 0xffffffffffffffff
push ebx
push edi
push edi
call esi
cmp eax, edi
jne 0x30005771
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
inc eax
mov dword [ebp - 8], eax
add eax, eax
push eax
lea eax, [ebp - 4]
push eax
call fcn.3001e1c4
test eax, eax
je 0x30005839
push dword [ebp - 8]
push dword [ebp - 4]
push 0xffffffffffffffff
push ebx
push edi
push edi
call esi
mov eax, dword [ebp - 4]
mov cx, word [eax]
push 2
pop edx
cmp cx, 0x22
push 0x20
pop esi
jne 0x300057c0
add eax, edx
mov cx, word [eax]
cmp cx, 0x22
je 0x300057bc
cmp cx, di
je 0x300057cc
add eax, edx
jmp 0x300057aa
add eax, edx
jmp 0x300057cc
cmp cx, si
jbe 0x300057cc
add eax, edx
cmp word [eax], si
ja 0x300057c5
mov cx, word [eax]
cmp cx, di
je 0x300057d9
cmp cx, si
jbe 0x300057bc
push eax
mov dword [0x300285d4], edi
call fcn.300076f0
cmp dword [ebp - 8], edi
mov ebx, eax
je 0x300057f4
push dword [ebp - 4]
call fcn.3001e2c6
mov eax, ebx
and eax, 0x60
jne 0x3000583f
push 8
pop eax
test al, bl
jne 0x3000583f
mov edx, 0x2ee
test edx, ebx
je 0x30005839
xor ecx, ecx
push 1
pop eax
shl eax, cl
test edx, eax
je 0x30005822
test ebx, eax
je 0x30005822
mov edi, ebx
sub edi, eax
test edx, edi
jne 0x30005839
inc ecx
cmp ecx, esi
jb 0x3000580d
test bl, 4
je 0x3000583d
mov ecx, ebx
mov eax, 0x100
and ecx, eax
cmp ecx, eax
je 0x3000583d
xor eax, eax
jmp 0x3000583f
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x30005844
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x300285d4]
push esi
xor esi, esi
mov dword [0x30024c14], eax
push esi
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, esi
mov dword [0x30024c10], eax
je 0x300058a8
cmp dword [eax], 0x1c50
jne 0x300058a8
cmp dword [eax + 0x20], esi
je 0x300058a8
cmp dword [eax + 0x14], esi
je 0x300058a8
cmp dword [eax + 0x1c], esi
je 0x300058a8
cmp dword [0x300285e4], esi
jne 0x3000588a
cmp dword [eax + 0x24], esi
je 0x300058a8
mov eax, dword [eax + 0x28]
push 1
test al, 0x20
pop ecx
je 0x3000589a
mov dword [0x30028388], ecx
test al, 0x10
je 0x300058a4
mov dword [0x30028384], ecx
mov eax, ecx
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x3000720c
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
call fcn.3000b308
test eax, eax
je 0x3000721c
int3
call fcn.3000aa0f
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
xor eax, eax
cmp dword [ebp - 0x2c], 0xffffffff
sete al
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x30007d26
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov al, byte [0x30007cba]
push ebx
push esi
push edi
push 0xe
mov byte [ebp - 1], al
pop ecx
xor esi, esi
push 0xfffffffffffffff8
xor eax, eax
push dword [ebp + 8]
lea edi, [ebp - 0x3c]
mov dword [ebp - 0x40], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
mov edi, dword [sym.imp.USER32.DLL_SetWindowPos]
push 3
push esi
push esi
push esi
mov ebx, eax
push esi
push 0xfffffffffffffffe
push ebx
call edi
push 3
push esi
push esi
push esi
push esi
push esi
push ebx
call edi
push 3
push esi
push esi
push esi
push esi
push ebx
push dword [ebp + 8]
call edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], esi
je 0x30007dd2
push 0x30007cbe
call fcn.3000d391
test eax, eax
je 0x30007dd2
push dword [0x3002b964]
lea eax, [ebp - 0x5c]
push 0x30007cce
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
lea eax, [ebp - 0x5c]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x30], 0x30007cd2
mov dword [ebp - 0x24], 0xa
call dword [sym.imp.SHELL32.DLL_ShellExecuteExA]
jmp 0x30007e0f
mov eax, dword [edi + 0x24]
cmp eax, esi
jne 0x30007ddc
lea eax, [ebp - 1]
mov edi, dword [edi + 0x64]
cmp edi, esi
jne 0x30007de6
lea edi, [ebp - 1]
push edi
push eax
push dword [0x3002b964]
lea eax, [ebp - 0x460]
push 0x30007ce2
push eax
call dword [sym.imp.USER32.DLL_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x460]
push eax
call fcn.3000c153
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x30009fe9
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.USER32.DLL_GetDlgItem]
push eax
call dword [sym.imp.USER32.DLL_ShowWindow]
ret 8

Function at 0x3000aa0f
Capabilities:
Check os version
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push edi
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x84], 2
pop edi
jne 0x3000aa78
cmp dword [ebp - 0x90], 4
push 1
jae 0x3000aa58
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [ebp - 0x90], 5
pop eax
mov dword [0x300283c8], eax
mov dword [0x3002b968], eax
jb 0x3000aa9f
mov dword [0x300283c0], eax
mov dword [0x300283c4], eax
leave
ret
push 1
pop eax
cmp dword [ebp - 0x84], eax
je 0x3000aa8a
push eax
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
cmp dword [ebp - 0x8c], 0
jbe 0x3000aa98
mov dword [0x300283c0], eax
and dword [0x300283c8], 0
leave
ret
Function at 0x3000ab55
Capabilities:
Link many functions at runtime

Disassembly:
or dword [0x300283bc], 0xffffffff
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [0x30024674], ebx
mov dword [0x300283b0], ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
mov dword [0x300283b8], eax
mov ecx, 0x5fc
xor eax, eax
mov edi, 0x30025918
push 0x30025944
rep stosd dword es:[edi], eax
mov dword [0x300285dc], ebx
mov dword [0x3002467c], ebx
call esi
call fcn.3000aa0f
mov ecx, 0x341
xor eax, eax
mov edi, 0x30024c10
rep stosd dword es:[edi], eax
mov ecx, 0x152
mov edi, 0x300246c8
rep stosd dword es:[edi], eax
mov eax, 0x30024618
push eax
mov dword [0x30024c08], eax
call esi
push 0x30024638
call esi
mov edx, 0x200
xor eax, eax
mov ecx, edx
mov edi, 0x30027b80
rep stosd dword es:[edi], eax
mov ecx, edx
mov edi, 0x30027380
rep stosd dword es:[edi], eax
push 0x300252c0
call fcn.3000c2c6
push 0x300252d0
call fcn.3000c2c6
push 0x300252e0
call fcn.3000c2c6
push 0x106
push 0x10
call fcn.3001df79
cmp eax, ebx
je 0x3000ac23
mov ecx, eax
call fcn.3000af08
jmp 0x3000ac25
xor eax, eax
cmp eax, ebx
mov dword [0x30024670], eax
je 0x3000ac3d
push 2
push 0x100
push 0x10
push eax
call fcn.30020e4d
push ebx
push 0x30028390
push ebx
push 0x30
call dword [sym.imp.USER32.DLL_SystemParametersInfoA]
mov edi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push 0x3000aaa2
call edi
mov ebp, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp eax, ebx
mov dword [0x3002466c], eax
je 0x3000acdb
push 0x3000aaae
push eax
call esi
push 0x3000aabe
mov dword [0x300285ec], eax
push dword [0x3002466c]
call esi
push 0x3000aaca
mov dword [0x300285f0], eax
push dword [0x3002466c]
call esi
push 0x3000aad6
mov dword [0x300285f4], eax
push dword [0x3002466c]
call esi
cmp dword [0x300285ec], ebx
mov dword [0x300285f8], eax
je 0x3000accd
cmp dword [0x300285f0], ebx
je 0x3000accd
cmp dword [0x300285f4], ebx
je 0x3000accd
cmp eax, ebx
jne 0x3000acdb
push dword [0x3002466c]
call ebp
mov dword [0x3002466c], ebx
push 0x3000aae2
call edi
cmp eax, ebx
mov dword [0x30024664], eax
je 0x3000ad0a
push 0x3000aaee
push eax
call esi
cmp eax, ebx
mov dword [0x30024668], eax
jne 0x3000ad0a
push dword [0x30024664]
call ebp
mov dword [0x30024664], ebx
push 0x3000aafe
call edi
cmp eax, ebx
mov dword [0x30024650], eax
je 0x3000ad87
push 0x3000ab0a
push eax
call esi
push 0x3000ab22
mov dword [0x30024660], eax
push dword [0x30024650]
call esi
push 0x3000ab36
mov dword [0x3002465c], eax
push dword [0x30024650]
call esi
push 0x3000ab46
mov dword [0x30024658], eax
push dword [0x30024650]
call esi
cmp dword [0x30024660], ebx
mov dword [0x30024654], eax
je 0x3000ad79
cmp dword [0x3002465c], ebx
je 0x3000ad79
cmp dword [0x30024658], ebx
je 0x3000ad79
cmp eax, ebx
jne 0x3000ad87
push dword [0x30024650]
call ebp
mov dword [0x30024650], ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x3000b546
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.3000b447
test eax, eax
je 0x3000b63e
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x110]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.3000e1ec
mov edi, eax
cmp byte [edi], 0x5c
jne 0x3000b63e
lea eax, [ebp + 0xc]
xor ebx, ebx
push eax
push 0x20019
lea eax, [ebp - 0x110]
push ebx
push eax
mov byte [edi], bl
push dword [ebp - 4]
inc edi
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x3000b63e
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
sub eax, ebx
je 0x3000b610
dec eax
je 0x3000b5f3
dec eax
jne 0x3000b635
lea eax, [esi + 8]
push 3
push eax
lea eax, [esi + 4]
push eax
push edi
push dword [ebp + 0xc]
call fcn.3000b334
test eax, eax
je 0x3000b635
jmp 0x3000b62f
push 1
lea eax, [esi + 8]
pop ebx
push ebx
push eax
lea eax, [esi + 4]
push eax
push edi
push dword [ebp + 0xc]
call fcn.3000b334
test eax, eax
je 0x3000b635
mov dword [esi], ebx
jmp 0x3000b635
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
jne 0x3000b635
mov dword [esi], 1
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x3000b645
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ebx
shl esi, 2
lea eax, [ebp - 8]
push esi
push eax
call fcn.3001e1c4
test eax, eax
je 0x3000b77d
mov ecx, esi
push edi
mov edi, dword [ebp - 8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
test ebx, ebx
mov dword [ebp - 0xc], edi
jle 0x3000b774
mov eax, dword [ebp + 8]
push 1
pop ebx
lea esi, [eax + 0x10]
mov dword [ebp + 8], esi
mov eax, dword [ebp - 8]
cmp dword [eax + edi*4], 0
jne 0x3000b761
mov eax, dword [esi]
cmp byte [eax], 0
jne 0x3000b6b2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
jmp 0x3000b6cf
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push eax
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
je 0x3000b6cf
and dword [ebp - 4], 0
cmp edi, dword [ebp + 0xc]
jge 0x3000b74b
add esi, 0xfffffff8
mov eax, dword [ebp + 8]
push dword [eax]
push dword [esi + 8]
call fcn.3000e55a
test eax, eax
jne 0x3000b73f
mov eax, dword [ebp - 8]
xor ecx, ecx
mov dword [eax + edi*4], ebx
mov edx, dword [ebp - 4]
cmp edx, ecx
je 0x3000b73f
mov eax, dword [esi + 4]
sub eax, ecx
je 0x3000b71d
dec eax
je 0x3000b708
dec eax
jne 0x3000b73f
push 3
jmp 0x3000b709
push ebx
lea eax, [esi - 4]
push esi
push eax
push dword [esi + 0xc]
push edx
call fcn.3000b334
test eax, eax
je 0x3000b73f
jmp 0x3000b73c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 4
push eax
lea eax, [esi - 4]
push eax
push ecx
push ecx
push dword [esi + 0xc]
push edx
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExA]
test eax, eax
jne 0x3000b73f
mov dword [esi - 8], ebx
inc edi
add esi, 0x18
cmp edi, dword [ebp + 0xc]
jl 0x3000b6d7
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
je 0x3000b75e
test eax, eax
je 0x3000b75e
push eax
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
mov edi, dword [ebp - 0xc]
inc edi
add esi, 0x18
cmp edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], esi
jl 0x3000b696
push dword [ebp - 8]
call fcn.3001e2c6
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x3000b8ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x300283c8], 0
je 0x3000b968
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.3000b447
test eax, eax
je 0x3000b968
lea eax, [ebp + 8]
push eax
push 0x20019
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.DLL_RegOpenKeyExA]
test eax, eax
jne 0x3000b968
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x800
push eax
lea eax, [ebp - 0x10]
push 0x30027b80
push eax
push 0
push 0x3000b8ce
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.DLL_RegQueryValueExW]
test eax, eax
jne 0x3000b95f
cmp dword [ebp - 0x10], 1
je 0x3000b95f
and word [0x30027b80], ax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.DLL_RegCloseKey]
leave
ret 4