joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fea
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.WifiAutoInstallSrv
xor ebx, ebx
mov edi, ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x40206c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._s_failed_with__d
lea eax, [ebp - 0xa4]
push 0x50
push eax
call fcn.00401083
add esp, 0x14
mov dword [ebp - 0xac], str.WifiAutoInstallSrv
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xac]
push ebx
push eax
push ebx
push 2
push ebx
push 0xc0020001
push ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025eb
leave
ret
Function at 0x402316
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41f004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push str.stopService_n
xor esi, esi
call fcn.004010f8
pop ecx
push 1
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x40240c
push edi
push 0x24
push str.WifiAutoInstallSrv
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x4023f5
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x4023ec
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x402397
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ControlService_failed__0x_x__n
call fcn.004010f8
pop ecx
pop ecx
push str.Service_stop_pending...__n
call fcn.004010f8
pop ecx
mov dword [ebp - 0x24], esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push dword [ebp - 0x1c]
push str.stopService__serviceStatus.dwCurrentState0x_x__n
call fcn.004010f8
cmp dword [ebp - 0x1c], 1
pop ecx
pop ecx
je 0x4023de
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 0x64
jl 0x4023a5
jmp 0x4023ec
push str.Service_stopped_successfully_n
call fcn.004010f8
xor esi, esi
pop ecx
inc esi
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x402400
push str.stopService___Service_Not_Found.._n
call fcn.004010f8
pop ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
test esi, esi
jne 0x40241f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.stopService___Failed__0x_x__n
call fcn.004010f8
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004025eb
leave
ret
Function at 0x40befd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x51291c8b
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040bba5
push eax
push esi
push dword [ebp + 8]
call fcn.0040bb5a
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040bba5
push eax
push esi
push dword [ebp + 8]
call fcn.0040bb5a
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040bba5
push eax
push esi
push dword [ebp + 8]
call fcn.0040bb5a
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040bb95
xchg ecx, eax
mov ds, ebx
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040bb95
in eax, dx
bound eax, qword ss:[edi - 0x837a73]
invalid

Function at 0x40cb0c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [edi + 0x30fffffc], ebx
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
Function at 0x40d416
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x742], 2
and byte [ebp - 0x741], 0
mov byte [ebp - 0x740], 0xb1
mov byte [ebp - 0x73f], 0x92
mov byte [ebp - 0x73e], 0x9c
mov byte [ebp - 0x73d], 0x99
mov byte [ebp - 0x73c], 0xb1
mov byte [ebp - 0x73b], 0x94
mov byte [ebp - 0x73a], 0x9f
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84
mov byte [ebp - 0x735], 0xbc
mov byte [ebp - 0x734], 0xfd
lea eax, [ebp - 0x744]
push eax
call fcn.0040bba5
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
jne 0x40d4a9

Function at 0x412872
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x420158]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4128b3
cmp byte [edx], 0xa
jne 0x4128b3
or byte [eax + edi + 0x28], 4
jmp 0x4128b8
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x4129a9
mov al, byte [ebx]
cmp al, 0x1a
je 0x41298a
cmp al, 0xd
je 0x4128e1
mov byte [esi], al
inc esi
inc ebx
jmp 0x41297f
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x412901
cmp byte [eax], 0xa
jne 0x4128f6
push 2
mov byte [esi], 0xa
pop eax
jmp 0x4128fc
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x41297f
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412978
cmp dword [ebp - 0x14], 0
je 0x412978
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x420158]
test byte [eax + edi + 0x28], 0x48
je 0x41294f
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x41293f
mov byte [esi], dl
jmp 0x41297b
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x420158]
mov byte [eax + edi + 0x2a], dl
jmp 0x41297b
cmp byte [ebp - 1], 0xa
jne 0x412961
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x412961
mov byte [esi], 0xa
jmp 0x4128fe
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004125c8
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41297c
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x4128ca
jmp 0x4129a9
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x420158]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4129a4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4129a9
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4129b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x420158]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x4129f8
cmp word [edx], bx
jne 0x4129f8
or byte [edi + eax + 0x28], 4
jmp 0x4129fd
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x412b51
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x412b31
cmp ax, word [ebp - 0x10]
je 0x412a36
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x412b26
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x412a5c
push 0xa
pop ecx
cmp word [eax], cx
jne 0x412a4c
push ecx
pop eax
push 4
jmp 0x412a51
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x412b20
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412b17
cmp dword [ebp - 0x18], 0
je 0x412b17
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x420158]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x412ae3
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x412aa7
mov word [esi], ax
jmp 0x412adb
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x420158]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x420158]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x420158]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x412b26
cmp word [ebp - 4], ax
jne 0x412af8
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x412af8
mov word [esi], ax
add esi, 2
jmp 0x412b26
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004125c8
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x412b23
jmp 0x412b1a
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x412a16
jmp 0x412b51
mov ecx, dword [ecx*4 + 0x420158]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x412b48
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x412b51
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10b01250
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 4
jge 0x10b012d3
test eax, eax
jne 0x10b01277
mov eax, dword [esp + 8]
mov ecx, dword [0x10e2a718]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 1
ret 8
cmp eax, 1
jne 0x10b01295
mov edx, dword [esp + 8]
mov eax, dword [0x10e2a714]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 1
ret 8
cmp eax, 2
jne 0x10b012b4
mov ecx, dword [esp + 8]
mov edx, dword [0x10e2a710]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 1
ret 8
cmp eax, 3
jne 0x10b012d3
mov eax, dword [esp + 8]
mov ecx, dword [0x10e2a70c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, 1
ret 8
xor eax, eax
ret 8
Function at 0x10b01400
Capabilities:
Set registry value

Disassembly:
sub esp, 0x404
mov edx, dword [esp + 0x414]
lea eax, [esp]
lea ecx, [esp + 0x410]
push eax
mov eax, dword [esp + 0x414]
push ecx
push 0
push 2
push 0
push 0x10e2abc4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x10b01446
or eax, 0xffffffff
add esp, 0x404
ret 0x18
push edi
push ebp
mov ebp, dword [esp + 0x424]
push ebx
lea ebx, [esp + 0x10]
cmp byte [ebp], 0
je 0x10b01552
push esi
mov al, byte [ebp]
cmp al, 0x25
jne 0x10b01543
mov cl, byte [ebp + 1]
inc ebp
mov eax, ecx
and eax, 0xff
sub eax, 0x31
je 0x10b014e5
dec eax
je 0x10b01484
mov byte [ebx], cl
jmp 0x10b01545
inc ebp
call fcn.10bd19f0
test eax, eax
je 0x10b014b3
mov ecx, dword [esp + 0x41c]
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll__mbscpy]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
jmp 0x10b01547
mov edi, dword [esp + 0x41c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
jmp 0x10b01547
inc ebp
call fcn.10bd19f0
test eax, eax
je 0x10b01511
mov eax, dword [esp + 0x418]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__mbscpy]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
jmp 0x10b01547
mov edi, dword [esp + 0x418]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ebx, ecx
jmp 0x10b01547
mov byte [ebx], al
inc ebx
inc ebp
cmp byte [ebp], 0
jne 0x10b0145f
pop esi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov byte [ebx], 0
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x41c]
lea eax, [esp + 0x10]
not ecx
push ecx
mov ecx, dword [esp + 0x428]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop ebp
xor eax, eax
pop edi
add esp, 0x404
ret 0x18
Function at 0x10b22550
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
mov ax, word [esi + 4]
and eax, 0x2000
cmp ax, 0x2000
je 0x10b22575
mov eax, 0xffffe7a1
pop edi
pop esi
pop ebp
pop ebx
ret 8
cmp dword [esi], 0
jne 0x10b22586
mov eax, 0xffffe7a0
pop edi
pop esi
pop ebp
pop ebx
ret 8
test esi, esi
jne 0x10b22593
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov ebx, dword [esp + 0x14]
push esi
mov ecx, dword [ebx + 0x14]
push ecx
call sym.PBVM90.dll_ob_get_array_info
mov edx, dword [esi]
mov ebp, eax
mov eax, edx
mov dword [ebx + 0x18], edx
test eax, eax
mov dword [ebx + 0x24], 0
je 0x10b22627
push eax
mov eax, dword [ebx + 0x14]
push eax
call sym.PBVM90.dll_ot_array_num_items
test eax, eax
jbe 0x10b22627
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
push 0
push ecx
push edx
call sym.PBVM90.dll_ot_array_index
test eax, eax
je 0x10b22627
test byte [eax + 7], 0xc0
je 0x10b22627
mov cx, word [eax + 4]
mov edx, ecx
and edx, 0x1c00
cmp edx, 0xc00
jne 0x10b22627
mov edx, ecx
and edx, 0x2000
cmp edx, 0x2000
je 0x10b22627
and cl, 0xc0
cmp cl, 0x80
je 0x10b22627
mov eax, dword [eax]
test eax, eax
je 0x10b22627
push eax
mov eax, dword [ebx + 0x14]
push eax
call sym.PBVM90.dll_ob_get_obinst_system_class
cmp ax, 0x4080
jne 0x10b22627
mov dword [ebx + 0x1c], 0x4080
jmp 0x10b22630
xor ecx, ecx
mov cx, word [esi + 6]
mov dword [ebx + 0x1c], ecx
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10b22649
push ebp
call sub.libjsybheap.dll_Ordinal_16
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
push ebx
call fcn.10b21e60
mov eax, dword [ebp + 4]
test eax, eax
mov dword [ebx + 0x2c], eax
je 0x10b2268c
push eax
push ebx
call fcn.10b21d10
test eax, eax
mov dword [esp + 0x18], eax
jl 0x10b22688
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x34]
shl ecx, 3
mov edx, ecx
lea esi, [ebp + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10b22500
mov edi, dword [esp + 0x18]
test edi, edi
jge 0x10b226a3
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10b2269d
push ebx
call fcn.10b21e60
push ebx
call fcn.10b21e20
push ebp
call sub.libjsybheap.dll_Ordinal_16
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10b2fbc0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call fcn.10b03070
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push 0x18
push ecx
call sym.PBVM90.dll_pbstg_alc
mov edx, eax
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 8]
test edx, edx
mov dword [edx + 8], ecx
je 0x10b2fc0c
mov ecx, edx
call fcn.10b01760
mov ebx, eax
jmp 0x10b2fc0e
xor ebx, ebx
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push 0x18
push eax
call sym.PBVM90.dll_pbstg_alc
mov edx, eax
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov eax, dword [esi + 8]
test edx, edx
mov dword [edx + 8], eax
je 0x10b2fc45
mov ecx, edx
call fcn.10b01760
mov esi, eax
jmp 0x10b2fc47
xor esi, esi
mov ecx, dword [0x10e2ab30]
push 0x7ec2
push ecx
push ebx
call fcn.10b02100
mov edx, dword [0x10e2ab30]
push 0x7ec3
push edx
push esi
call fcn.10b02100
push 0
push 9
lea eax, [esp + 0x24]
push 0x10dedf4c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.10b01950
push esi
mov ecx, ebx
call fcn.10b01820
mov edx, dword [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.10b01950
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10b2fcae
mov eax, 0x10e2abc8
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push 0
push eax
push reloc.oledlg.dll_OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10b2fd38
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x10dedf54
push ecx
call edi
test eax, eax
jne 0x10b2fd38
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10b2fd38
push str.LPVOID_lpRet_in_PBROI_GetBMPInfoFromRegistry
lea edx, [esp + 0x10]
push eax
push edx
call fcn.10b03ce0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0x10dedf8c
push eax
call edi
test eax, eax
je 0x10b2fd38
lea ecx, [esp + 0xc]
push ecx
call fcn.10b03d40
mov dword [esp + 0xc], 0
test ebx, ebx
je 0x10b2fd45
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 4]
test esi, esi
je 0x10b2fd52
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x10b2fd60
Capabilities:
Set registry value

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10b03070
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push 0x18
push ecx
call sym.PBVM90.dll_pbstg_alc
mov edx, eax
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 8]
test edx, edx
mov dword [edx + 8], ecx
je 0x10b2fda4
mov ecx, edx
call fcn.10b01760
mov ebx, eax
jmp 0x10b2fda6
xor ebx, ebx
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push 0x18
push eax
call sym.PBVM90.dll_pbstg_alc
mov edx, eax
mov ecx, 6
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov eax, dword [esi + 8]
test edx, edx
mov dword [edx + 8], eax
je 0x10b2fddd
mov ecx, edx
call fcn.10b01760
mov esi, eax
jmp 0x10b2fddf
xor esi, esi
mov ecx, dword [0x10e2ab30]
push 0x7ec2
push ecx
push ebx
call fcn.10b02100
mov edx, dword [0x10e2ab30]
push 0x7ec3
push edx
push esi
call fcn.10b02100
push 0
push 9
lea eax, [esp + 0x1c]
push str._i._i
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.10b01950
push esi
mov ecx, ebx
call fcn.10b01820
mov edx, dword [esp + 0x24]
mov ecx, ebx
push edx
call fcn.10b01950
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x10b2fe46
mov eax, 0x10e2abc8
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0xf003f
push 0
push str.Application_Global_Data
push 0
push eax
push reloc.oledlg.dll_OleUIAddVerbMenuA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
test edi, edi
jne 0x10b2fe92
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
add eax, 4
push ecx
push eax
push 3
push edi
push str.Bitmap
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test ebx, ebx
je 0x10b2fe9f
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x10b2feac
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x10b30970
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov eax, dword [ebp + 0x218]
test eax, eax
je 0x10b3099d
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x853
push esi
call edi
mov ebx, eax
push 0x83e
jmp 0x10b309c0
mov eax, dword [ebp + 0x21c]
test eax, eax
je 0x10b309e3
mov esi, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x839
push esi
call edi
mov ebx, eax
push 0x84f
push esi
call edi
mov ecx, dword [ebp + 0x228]
test ecx, ecx
je 0x10b309d1
push 1
jmp 0x10b309d3
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10b311a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x94
lea eax, [esp + 8]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
push edi
push eax
push ebx
xor esi, esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x10b31259
push ebp
push str.pbdATA_in_PBROI_SupportsSelfRegister___PBROI_AllocAppMem
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.10b03ce0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push eax
push edi
push edx
push ebx
mov ebp, eax
call sub.VERSION.dll_GetFileVersionInfoA
mov esi, eax
test esi, esi
je 0x10b3124e
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueA
mov esi, eax
test esi, esi
je 0x10b3124e
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10b3124e
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax]
mov cx, word [eax]
shr edx, 0x10
push edx
push ecx
lea edx, [esp + 0x2c]
push str.StringFileInfo_04hX_04hXOLESelfRegister
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push eax
push ecx
push edx
push ebp
call sub.VERSION.dll_VerQueryValueA
mov esi, eax
lea eax, [esp + 0x14]
push eax
call fcn.10b03d40
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x94
ret