joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ecc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41403b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xc
mov dword [esp + 0x18], esi
mov byte [esi + 0x68], al
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
xor ebp, ebp
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], ebp
mov cl, byte [esp + 0x17]
push 0xc
mov dword [esp + 0x30], ebp
mov byte [esi + 0x74], cl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 8
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], ebp
mov ebx, 1
lea ecx, [esi + 0x284]
mov byte [esp + 0x28], bl
call sub.omnithread_rt.dll_public:_void___thiscall_omni_mutex::constructor_void_
lea ecx, [esi + 0x29c]
mov byte [esp + 0x28], 2
call sub.omnithread_rt.dll_public:_void___thiscall_omni_mutex::constructor_void_
mov dl, byte [esp + 0x13]
push 0xc
mov byte [esp + 0x2c], 3
mov byte [esi + 0x2b8], dl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x2bc], eax
mov dword [esi + 0x2c0], ebp
push str.D:ORL_vsswinvnc_vncPasswd.h_:_PASSWD_:_FromClear_called_n
push 9
push 0x41d498
mov byte [esp + 0x38], 4
mov dword [esi], 0x415e58
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x14], 0x170c
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], ebp
mov dword [esi + 0x64], ebp
call fcn.004018c0
lea eax, [esp + 0x28]
push eax
push 0x41dd08
call fcn.00403380
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
mov dword [esi + 0x44], 2
mov dword [esi + 0x48], 0xa
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x80]
mov ecx, 0x80
xor eax, eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebp
push 0x24
rep stosd dword es:[edi], eax
mov word [esi + 0x280], bp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x28], 5
je 0x40ee48
lea ecx, [esi + 0x284]
push ecx
mov ecx, eax
call sub.omnithread_rt.dll_public:_void___thiscall_omni_condition::constructor_class_omni_mutex__
mov dword [esi + 0x2b4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x2b4], ebp
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x411640
Capabilities:
Get session user name

Disassembly:
push ecx
mov eax, dword [0x41e13c]
push ebx
push esi
cmp eax, 2
push edi
jne 0x411726
call fcn.00411c50
test eax, eax
je 0x411721
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
test eax, eax
je 0x4117b2
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 4
push eax
call dword [sym.imp.USER32.dll_GetUserObjectInformationA]
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4116cf
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov edi, 0x41dd08
or ecx, 0xffffffff
xor eax, eax
mov dword [0x41e144], 0
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
cmp ecx, eax
jae 0x4117b2
mov edi, 0x41dd08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
mov edx, ecx
jmp 0x411785
mov eax, dword [0x41e144]
test eax, eax
jne 0x411721
mov edi, 0x41dd08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
cmp ecx, eax
jae 0x4117b2
mov edi, 0x41dd08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, dword [0x41e13c]
test eax, eax
jbe 0x4117b2
cmp eax, 2
ja 0x4117b2
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x411791
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 0x4dd
jne 0x41179b
mov edi, 0x41dd08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, esi
jae 0x4117b2
mov edi, 0x41dd08
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
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]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret
call edi
push eax
push str.D:ORL_vsswinvnc_vncService.cpp_:_getusername_error__d_n
push 0
push 0x41d498
call fcn.004018c0
add esp, 0x10
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x411e50
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x41e13c]
sub esp, 0x10
dec eax
mov dword [0x41e150], 1
push esi
push edi
je 0x411eae
dec eax
jne 0x411ed1
lea eax, [esp + 8]
mov dword [esp + 8], str.winvnc
push eax
mov dword [esp + 0x10], 0x411f00
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x411ed1
push str.StartServiceCtrlDispatcher_failed.
call fcn.00412640
add esp, 4
xor eax, eax
pop edi
pop esi
add esp, 0x10
ret
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411ed1
push str.RegisterServiceProcess
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x411ed9
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
push 1
push 0
call esi
call fcn.00413470
push 0
push 0
call esi
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x412640
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0x108
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.winvnc
push 0
mov dword [0x41e148], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
mov eax, dword [0x41e148]
push eax
push str.winvnc
lea ecx, [esp + 0x14]
push str._s_error:__d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [esp + 0x120]
add esp, 0x10
lea edx, [esp + 0xc]
mov dword [esp + 8], eax
test esi, esi
mov dword [esp + 4], edx
je 0x4126bf
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [esp + 4]
push 0
push ecx
push 0
push 2
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 0x108
ret

Function at 0x412aa0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push eax
mov esi, ecx
push 2
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x412aca
mov dword [esi], 0
mov eax, esi
pop esi
add esp, 0x190
ret
mov cx, word [esp + 4]
mov eax, esi
mov word [0x41e15c], cx
mov dword [esi], 0xffffffff
pop esi
add esp, 0x190
ret

Function at 0x412b40
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], 1
mov eax, dword [esi + 4]
test eax, eax
jl 0x412b59
call fcn.00412bb0
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
test eax, eax
mov dword [esi + 4], eax
jge 0x412b72
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
lea ecx, [esp + 8]
push 4
push ecx
push 4
push 0xffff
push eax
call edi
test eax, eax
je 0x412b93
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
lea edx, [esp + 8]
push 4
push edx
push 1
push 6
push eax
call edi
neg eax
sbb eax, eax
pop edi
neg eax
dec eax
pop esi
pop ecx
ret

Function at 0x412d40
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jge 0x412d58
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 8], eax
push esi
mov dword [esp + 0x10], eax
mov word [esp + 0xc], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x412da7
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x412d4e
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
test eax, eax
jne 0x412da1
pop edi
pop esi
add esp, 0x10
ret 8
mov edx, dword [eax]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [edi + 4]
lea ecx, [esp + 8]
push 0x10
push ecx
push edx
mov word [esp + 0x16], ax
call dword [sym.imp.WSOCK32.dll_connect]
neg eax
sbb eax, eax
pop edi
neg eax
dec eax
pop esi
add esp, 0x10
ret 8
Function at 0x412e00
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov eax, dword [ecx + 4]
push edi
test eax, eax
mov dword [esp + 4], 1
jge 0x412e16
xor eax, eax
pop edi
pop ecx
ret
push 0
push 0
push eax
call dword [sym.imp.WSOCK32.dll_accept]
mov edi, eax
test edi, edi
jge 0x412e2c
xor eax, eax
pop edi
pop ecx
ret
push esi
push 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x412e4d
mov ecx, eax
call fcn.00412b00
mov esi, eax
test esi, esi
je 0x412e4f
mov dword [esi + 4], edi
jmp 0x412e5f
xor esi, esi
push 2
push edi
call dword [sym.imp.WSOCK32.dll_shutdown]
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
mov ecx, dword [esi + 4]
lea eax, [esp + 8]
push 4
push eax
push 1
push 6
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov eax, esi
pop esi
pop edi
pop ecx
ret

Function at 0x412ec0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
lea eax, [esp]
lea edx, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push edx
push eax
mov dword [esp + 0xc], 0x10
call dword [sym.imp.WSOCK32.dll_getsockname]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
test eax, eax
jne 0x412ef3
mov eax, str._unavailable_
add esp, 0x14
ret

Function at 0x412f00
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.WSOCK32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x412f2b
push esi
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x412f29
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x412f29
mov eax, dword [eax]
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x412f30
Capabilities:
Set socket configuration

Disassembly:
mov al, byte [0x41e15c]
push esi
cmp al, 2
push edi
mov esi, ecx
jae 0x412f44
pop edi
xor eax, eax
pop esi
ret 4
mov edx, dword [esi + 4]
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
lea ecx, [esp + 0xc]
push 4
push ecx
push 0x1006
push 0xffff
push edx
mov dword [esp + 0x20], eax
call edi
cmp eax, 0xffffffff
jne 0x412f75
pop edi
xor eax, eax
pop esi
ret 4
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push 4
push eax
push 0x1005
push 0xffff
push ecx
call edi
inc eax
pop edi
neg eax
sbb eax, eax
pop esi
ret 4
Function at 0x4065c9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x406604
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065dd
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4065d8
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406631
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406612
not eax
pop ebp
ret 0xc

Function at 0x401647
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
call sub.kernel32.dll_GetCommandLineA
mov dword [0x405120], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40508e], ecx
mov dword [0x405124], 0x30
mov dword [0x405128], 3
mov dword [0x405130], 0
mov dword [0x405134], 0
mov dword [0x40512c], 0x403148
mov eax, 0xffff0000
mov ebx, section..text
and ebx, eax
mov dword [0x405086], ebx
mov dword [0x405138], ebx
mov dword [0x405144], 0xf
mov dword [0x40514c], 0x405067
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
mov dword [0x40513c], eax
mov dword [0x405150], eax
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [0x405140], eax
push 0x405124
call sub.user32.dll_RegisterClassExA
push 0
push dword [0x405086]
push 0
push 0
push 0x2bc
push 0x1f4
push 0xa0
push 0x12c
push 0x40000
push str.Hello_word
push str.2class
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405118], eax
push 0
push dword [0x405118]
call sub.user32.dll_ShowWindow
push dword [0x405118]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
push 0x405154
call sub.user32.dll_GetMessageA
or eax, eax
je 0x40176b
push 0x405154
call sub.user32.dll_TranslateMessage
push 0x405154
call sub.user32.dll_DispatchMessageA
jmp 0x401741
mov eax, dword [0x40515c]
mov esi, dword [0x4051b4]
lea ecx, [0x405086]
add esi, eax
call esi
ret
Function at 0x10001240
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10046ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.100207f3
add esp, 4
cmp eax, ebx
je 0x10001324
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.100207f3
add esp, 4
cmp eax, ebx
je 0x10001300
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x30], bl
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.100206ba
push 0x100425d0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.10021901
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.100206ba
push 0x100425d0
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.10021901
int3
Function at 0x100079f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10035b70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x10046ca0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001c1f0
add esp, 8
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10008140
or esi, 0xffffffff
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007a5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.1001bab0
add esp, 4
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], 1
call fcn.10008140
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10007a99
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, str.rundll32.exe
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10007ac6
test dx, dx
je 0x10007ac2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10007ac6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10007aa0
xor eax, eax
jmp 0x10007aca
sbb eax, eax
sbb eax, esi
test eax, eax
sete al
test al, al
je 0x10007bc2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.10007be0
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 2
call fcn.10007eb0
push eax
call fcn.10007f40
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jge 0x10007b09
mov eax, esi
jmp 0x10007b24
push str..dll
push eax
call fcn.10020ec9
add esp, 8
test eax, eax
jne 0x10007b1f
mov eax, esi
jmp 0x10007b24
sub eax, dword [ebp - 0x10]
sar eax, 1
add eax, 4
push eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.10007ce0
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10008140
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10007b62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x10007b73
xor ecx, ecx
jmp 0x10007b92
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x10007b80
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10007b80
sub ecx, esi
sar ecx, 1
or esi, 0xffffffff
push ecx
push eax
mov ecx, edi
call fcn.100082b0
mov ecx, dword [ebp + 8]
call fcn.10007e40
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x10007bc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100087d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100087eb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10008822
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1000881e
jmp 0x10008810
cmp esi, eax
jae 0x10008822
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10008810
cmp esi, eax
jb 0x10008829
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10009dc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10009ea9
mov edx, dword [ebp - 4]
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push str.DisplayName
mov esi, 1
push edx
mov dword [ebp - 0xc], esi
call edi
cmp eax, 2
jne 0x10009e22
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test eax, eax
jne 0x10009e7a
cmp dword [ebp - 0xc], esi
jne 0x10009e9d
mov eax, dword [ebp - 8]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10020192
mov esi, eax
mov eax, dword [ebp - 8]
inc eax
push eax
push 0
push esi
call fcn.10021fb0
mov eax, dword [ebp - 4]
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
push esi
lea edx, [ebp - 0xc]
push edx
push 0
push str.DisplayName
push eax
call edi
push esi
test eax, eax
je 0x10009e8c
call fcn.1002093d
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
call fcn.10007c90
push esi
call fcn.1002093d
add esp, 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a840
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036038
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10046ca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10046a68]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x10046a68
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call edx
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [0x10046a68]
mov edx, dword [eax + 0xc]
mov ecx, 0x10046a68
call edx
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [0x10046a68]
mov edx, dword [eax + 0xc]
mov ecx, 0x10046a68
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0xb
push 0x1003df30
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call fcn.100082b0
push 0x26
push str.590AAAA2_739E_485e_BF4D_08DDD39C93F6
lea ecx, [ebp - 0x18]
call fcn.100082b0
push 0x18
push str.Internet_Explorer_Server
lea ecx, [ebp - 0x14]
call fcn.100082b0
lea eax, [ebp - 0x34]
push eax
push 0x100091a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov bl, byte [ebp - 0x34]
lea esi, [ebp - 0x34]
call fcn.1000a930
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100202b1
mov esp, ebp
pop ebp
ret

Function at 0x1000ab00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036008
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10046ca0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.BDMSusDetailFrame
lea ecx, [ebp - 0x38]
call fcn.10007be0
mov eax, dword [ebp - 0x38]
push 0
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1000ab56
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1000ab56
mov bl, 1
jmp 0x1000ab58
xor bl, bl
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ab77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x1000ab7f
mov al, 1
jmp 0x1000abd3
lea esi, [ebp - 0x34]
call fcn.10009480
push 0xf
push str.BaiduAnTray.exe
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.100082b0
push 0
push 0x1003e0f0
lea ecx, [ebp - 0x18]
call fcn.100082b0
push 8
push str.wnd_base
lea ecx, [ebp - 0x14]
call fcn.100082b0
mov ecx, esi
push ecx
push 0x100091a0
call dword [sym.imp.USER32.dll_EnumWindows]
mov bl, byte [ebp - 0x34]
call fcn.1000a930
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100202b1
mov esp, ebp
pop ebp
ret