joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100de98f
Capabilities:
Get common file path

Disassembly:
push 0x10
mov eax, 0x1018e1cf
call fcn.10145d80
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x100de9ab
or eax, 0xffffffff
jmp 0x100deae1
lea eax, [ebp - 0x1c]
push eax
push 6
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, ebx
jne 0x100de9a3
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, ebx
je 0x100de9e6
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100de9a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100de9a3
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push 0x101be8b8
push ebx
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
call dword [ecx + 0x14]
cmp eax, ebx
je 0x100dea19
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x100de9d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100de9d3
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 0x101aa380
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], ebx
call fcn.10147b95
add esp, 0xc
test eax, eax
jne 0x100dea07
push str.__DOCTYPE_NETSCAPE_Bookmark_file_1__n
push dword [ebp - 0x10]
call fcn.1014ab8d
push str.____This_is_an_automatically_generated_file._n
push dword [ebp - 0x10]
call fcn.1014ab8d
push str.It_will_be_read_and_overwritten._n
push dword [ebp - 0x10]
call fcn.1014ab8d
push str.Do_Not_Edit______n
push dword [ebp - 0x10]
call fcn.1014ab8d
push str._Title_Bookmarks__Title__n
push dword [ebp - 0x10]
call fcn.1014ab8d
push str._H1_Bookmarks__H1__n
push dword [ebp - 0x10]
call fcn.1014ab8d
push str._DL__p__n
push dword [ebp - 0x10]
call fcn.1014ab8d
add esp, 0x38
push 1
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.100de276
push str.__DL__p_
push dword [ebp - 0x10]
mov esi, eax
call fcn.1014ab8d
push dword [ebp - 0x10]
call fcn.101475da
mov eax, dword [ebp - 0x18]
add esp, 0xc
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x100deace
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100deadf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.10145e58
ret 4

Function at 0x100df2b7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
add ecx, 8
push esi
push ecx
lea ecx, [ebp - 4]
call fcn.10007ade
push dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push 0
push str.time
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 4]
mov esi, eax
call fcn.10003b75
mov eax, esi
pop esi
leave
ret 4
Function at 0x100e19b0
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esi + 0x28]
mov dword [ebp - 8], edi
call fcn.10007845
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x100e0a01
push edi
push edi
call fcn.10147cdf
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x100e19e7
or eax, 0xffffffff
jmp 0x100e1a23
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100e1a00
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100e1a19
mov dword [eax], esi
jmp 0x100e1a20
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x100e1a29
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esi + 0x28]
mov dword [ebp - 8], edi
call fcn.10007845
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x100e1078
push edi
push edi
call fcn.10147cdf
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x100e1a60
or eax, 0xffffffff
jmp 0x100e1a9c
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100e1a79
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100e1a92
mov dword [eax], esi
jmp 0x100e1a99
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x100e1aa2
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esi + 0x28]
mov dword [ebp - 8], edi
call fcn.10007845
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x100e1621
push edi
push edi
call fcn.10147cdf
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x100e1ad9
or eax, 0xffffffff
jmp 0x100e1b15
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100e1af2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100e1b0b
mov dword [eax], esi
jmp 0x100e1b12
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x100e1b85
Capabilities:
Check if file exists

Disassembly:
push 0x7c
mov eax, 0x1018ea53
call fcn.10145d80
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.100df2f0
test eax, eax
je 0x100e1c17
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.100df9b5
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.100df22c
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.100dd79c
test eax, eax
jne 0x100e1bec
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100e1c27
push esi
push 0xfa0
lea ecx, [ebp - 0x88]
call fcn.100e19b0
test eax, eax
je 0x100e1c27
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x88]
call fcn.100df89b
xor esi, esi
inc esi
lea ecx, [ebp - 0x10]
call fcn.10003b75
mov eax, esi
call fcn.10145e58
ret
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x88]
call fcn.100df89b
jmp 0x100e1c17
Function at 0x100e85a8
Capabilities:
Copy file
Delete file

Disassembly:
push 8
mov eax, 0x1018f7a7
call fcn.10145d80
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
push dword [ebp + 0x10]
mov esi, 0x101a1d40
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.10004662
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push dword [ebp + 0xc]
push esi
push eax
call fcn.10004662
add esp, 0x20
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100e860a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
call fcn.10145e58
ret 0xc

Function at 0x100e9486
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1044]
mov eax, 0x1044
call fcn.10146c50
push 0xffffffffffffffff
push 0x1018f987
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x1040], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
lea ecx, [eax + 0x18]
mov dword [ebp - 0x28], ecx
call fcn.10024521
xor edi, edi
push 0x3e
lea eax, [ebp + 0x1002]
push edi
push eax
mov word [ebp + 0x1000], di
call fcn.10146c80
push 0xffe
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.10146c80
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push str.SoftwareMicrosoftInternet_ExplorerTypedURLs
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x100e951e
or eax, 0xffffffff
jmp 0x100e95bf
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push 0x20
pop ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1000]
push eax
mov dword [ebp - 0x18], edi
push edi
jmp 0x100e95a1
cmp dword [ebp - 0x24], 1
jne 0x100e9583
mov eax, dword [0x101f3028]
mov dword [ebp - 0x14], eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push 0x101a32c4
push eax
mov dword [ebp - 4], edi
call fcn.10004662
mov ecx, dword [ebp - 0x28]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call fcn.1002a498
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10003b75
inc dword [ebp - 0x18]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x1000]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x10]
mov dword [ebp - 0x20], 0x800
mov dword [ebp - 0x1c], ebx
call esi
test eax, eax
je 0x100e9545
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1040]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x1044
leave
ret
Function at 0x100ef21c
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4
Function at 0x100f30b8
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x34
mov eax, 0x10190712
call fcn.10145d80
mov esi, ecx
or dword [esi + 0x1a8], 0xffffffff
or dword [esi + 0x1b0], 0xffffffff
xor ebx, ebx
push 2
mov byte [esi + 0x1a0], bl
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
test ax, ax
js 0x100f3281
cmp dword [ebp + 0x10], ebx
je 0x100f3281
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x28]
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.1003d1c2
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jmp 0x100f317d
lea ecx, [ebp - 0x38]
call fcn.1003c7af
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.1003c541
cmp dword [ebp - 0x10], ebx
je 0x100f3175
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.1000d8ac
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x100f315d
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
cmp ecx, dword [edx + 0xc]
mov byte [ebp - 4], bl
je 0x100f319c
cmp eax, ebx
je 0x100f3175
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x38]
call fcn.1003c8c0
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.1003d1c2
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.1003c7d0
test al, al
je 0x100f3123
jmp 0x100f31ad
cmp eax, ebx
mov dword [ebp - 0x24], 1
je 0x100f31ad
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100f3273
cmp dword [ebp - 0x24], ebx
je 0x100f3273
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x28]
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
push esi
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100f3270
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x2c], ebx
je 0x100f3260
push dword [ebp - 0x10]
or dword [esi + 0x1a8], 0xffffffff
lea edi, [esi + 0x1a0]
lea ecx, [ebp - 0x18]
mov byte [edi], 1
call fcn.1000d8ac
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x100f3260
mov edx, dword [eax]
lea ecx, [esi + 0x1a8]
push ecx
push eax
call dword [edx + 0xc]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp - 0x18]
push esi
call dword [eax + 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [esi + 0x1b0], eax
call fcn.100f1661
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x100f3260
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x100f3270
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100f3281
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.10145e58
ret 0x10
Function at 0x100f92ee
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
and dword [edi], 0
mov esi, ecx
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x100f931e
cmp eax, 0x79
jne 0x100f9315
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x100f931e
cmp dword [esi + 0xa8], 0x20
jne 0x100f9391
cmp dword [esp + 0x10], 0xf100
jne 0x100f9391
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x100f934e
mov ecx, esi
call fcn.100f8e83
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100f9391
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x100f9391
test byte [esi + 0x84], 0x40
jne 0x100f9386
mov al, byte [esi + 0x85]
test al, 2
je 0x100f937d
test al, 4
jne 0x100f937d
test al, 8
je 0x100f937d
push 1
mov ecx, esi
call fcn.100efe98
mov ecx, esi
call fcn.100f7ca0
jmp 0x100f938b
cmp eax, 0x20
je 0x100f9391
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x10100c73
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov esi, ecx
jne 0x10100cfa
cmp dword [esi + 0x78], 0
jne 0x10100c91
xor eax, eax
jmp 0x10100d22
push 0x14
xor edi, edi
pop ebx
test ebx, ebx
jle 0x10100cbd
mov eax, dword [esi + 0x78]
push 0
push eax
call fcn.10117a7b
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x10100cb8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
dec ebx
test edi, edi
je 0x10100c96
test edi, edi
je 0x10100c8a
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
call ebx
test eax, eax
jne 0x10100ce4
push eax
push edi
mov ecx, esi
call fcn.10100aa2
push dword [esi + 4]
call ebx
test eax, eax
je 0x10100d1f
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x10100d1f
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10100d1f
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 4], 0
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10100d29
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x10
mov eax, 0x10191cfb
call fcn.10145d80
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ebx, str.NoticeFlag
push ebx
mov edi, str.SoftwareBaiduBaiduToolbar
mov esi, 0x101f8c08
push edi
mov ecx, esi
call fcn.10016a41
push eax
call fcn.1011f74d
add esp, 0x10
test eax, eax
jne 0x10100d83
cmp dword [ebp - 0x18], eax
jne 0x10100e58
and word [ebp + 0x800], 0
push 0x206
lea eax, [ebp + 0x802]
push 0
push eax
call fcn.10146c80
and word [ebp], 0
push 0x7fe
lea eax, [ebp + 2]
push 0
push eax
call fcn.10146c80
lea eax, [ebp + 0x800]
push eax
call fcn.10092b65
lea eax, [ebp + 0x800]
push eax
push str.http:__bar.baidu.com_sobar_notice.html
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp]
push 0x400
push eax
call fcn.1014612c
lea eax, [ebp - 0x10]
push str.bd_notice
push eax
call fcn.1011f647
add esp, 0x3c
and dword [ebp - 4], 0
push 1
push 0x4e20
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10007ade
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 1
call fcn.10007b11
mov byte [ebp - 4], 0
call fcn.1011af35
add esp, 0x10
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
je 0x10100e50
push 1
push ebx
push edi
mov ecx, esi
call fcn.10016a41
push eax
call fcn.1011f80c
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.10003b75
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa08]
xor ecx, ebp
call fcn.10145d71
add ebp, 0xa0c
leave
ret
Function at 0x10100e7d
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x10191d2b
call fcn.10145de9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push ecx
lea eax, [ebp + 8]
xor edi, edi
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
call fcn.10007ade
call fcn.1011d27b
mov esi, eax
lea eax, [esi - 1]
cmp eax, 0x8ffffe
pop ecx
mov dword [ebp - 0x28], edi
ja 0x10100f6a
push esi
call fcn.10144fc2
mov ebx, eax
cmp ebx, edi
pop ecx
je 0x10100f5c
push esi
push edi
push ebx
call fcn.10146c80
push 0x101a04a8
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.10147b95
add esp, 0x18
test eax, eax
jne 0x10100f55
cmp dword [ebp - 0x28], edi
je 0x10100f55
push dword [ebp - 0x28]
push 1
push esi
push ebx
call fcn.10147aa1
add esp, 0x10
cmp eax, 1
jne 0x10100f55
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.89F3CC4B_0091_49B0_81A6_188CFF582735
stosw word es:[edi], ax
push 0x101a047c
push 0xffffffffffffffff
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.10147724
push 0xa0
lea eax, [ebp - 0x24]
push eax
push esi
push ebx
call fcn.10073784
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push esi
push ebx
push 0
call fcn.10121060
add esp, 0x38
xor edi, edi
push ebx
call fcn.10145563
pop ecx
cmp dword [ebp - 0x28], edi
je 0x10100f6a
push dword [ebp - 0x28]
call fcn.101475da
pop ecx
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp + 8]
call fcn.10003b75
mov eax, esi
call fcn.10145e6c
ret 8
Function at 0x1010181b
Capabilities:
Create process on windows

Disassembly:
push 0x5c
mov eax, 0x10191ec1
call fcn.10145d80
mov eax, dword [0x101f3028]
mov dword [ebp - 0x10], eax
mov esi, dword [0x101f9aa8]
mov eax, 0x104
push eax
xor ebx, ebx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.1000401e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100041f7
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.1002a041
cmp eax, ebx
lea ecx, [ebp - 0x10]
jle 0x1010194e
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10011725
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.10007845
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.10003b75
push str.BaiduSetupAx_3.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10007b6e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10007845
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.10003b75
push 0x1008
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.10007ade
call fcn.10123649
cmp eax, ebx
pop ecx
pop ecx
je 0x1010194b
push 0x40
lea eax, [ebp - 0x64]
push ebx
push eax
mov dword [ebp - 0x68], 0x44
call fcn.10146c80
mov dword [ebp - 0x24], ebx
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 0x101a0098
push ebx
lea ecx, [ebp - 0x10]
stosd dword es:[edi], eax
call fcn.101009af
lea eax, [ebp - 0x14]
push eax
push 1
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0x22
call fcn.1000e791
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1010194b
push dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x24]
call esi
lea ecx, [ebp - 0x10]
call fcn.10003b75
call fcn.10145e58
ret
Function at 0x101037ba
Capabilities:
Check mutex on windows

Disassembly:
push 0x84
mov eax, 0x101922ae
call fcn.10145d80
push str.35D894E3_F961_46e8_9441_1A920DEEEEE9
xor esi, esi
push esi
mov ecx, 0x101f8c68
call fcn.10016a0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp edi, esi
jne 0x101037ec
xor eax, eax
jmp 0x1010384d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x10103801
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x101037e8
push esi
lea ecx, [ebp - 0x90]
call fcn.10101a7e
push esi
push esi
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], esi
call fcn.10103657
mov esi, eax
cmp esi, 1
je 0x10103829
cmp esi, 2
jne 0x1010382e
call fcn.1010181b
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call fcn.10100945
mov eax, esi
call fcn.10145e58
ret

Function at 0x10103853
Capabilities:
Check mutex on windows

Disassembly:
push 0x88
mov eax, 0x101922d7
call fcn.10145d80
call dword [sym.imp.USER32.dll_GetActiveWindow]
push str.35D894E3_F961_46e8_9441_1A920DEEEEE9
xor esi, esi
push esi
mov ecx, 0x101f8c68
mov ebx, eax
call fcn.10016a0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp edi, esi
jne 0x10103890
xor eax, eax
jmp 0x10103956
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x101038b8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push str.RGS
push 0x101b4320
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x10103889
push esi
lea ecx, [ebp - 0x94]
call fcn.10101a7e
push esi
push esi
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], esi
call fcn.10103657
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
sub eax, esi
je 0x10103931
dec eax
je 0x10103923
dec eax
je 0x10103915
dec eax
je 0x10103907
dec eax
dec eax
jne 0x10103931
push 0x40
push str.RGS
push 0x101b4310
jmp 0x1010393d
push 0x40
push str.RGS
push 0x101b42e8
jmp 0x1010393d
push 0x40
push str.RGS
push 0x101b42c0
jmp 0x1010393d
push 0x40
push str.RGS
push 0x101b42a8
jmp 0x1010393d
push 0x10
push str.RGS
push 0x101b4284
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10100945
mov eax, dword [ebp - 0x10]
call fcn.10145e58
ret