joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10111d34
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x10111d9c
mov eax, dword [ebp + 8]
push edi
shl eax, 0x12
push edi
add eax, 0x13fffc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 8]
push eax
push dword [esi + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jne 0x10111d9c
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp + 8]
push eax
push dword [esi + 0x10]
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
cmp dword [ebp - 4], 4
sete al
jmp 0x10111d9e
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x10111da4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
push edi
xor edi, edi
cmp eax, edi
jne 0x10111db9
xor eax, eax
jmp 0x10111df4
mov ecx, dword [ebp + 8]
push edi
shl ecx, 0x12
push edi
add ecx, 0x13fffc
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp + 8]
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 0x10]
mov dword [ebp + 8], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, dword [ebp + 0xc]
sete al
pop edi
pop esi
leave
ret 8

Function at 0x1011259b
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi], 0x101b63d8
mov dword [esi + 4], ebx
mov eax, dword [0x101f3028]
mov dword [esi + 8], eax
push edi
push ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.10146fd5
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0x10000
mov dword [esi + 0x20], ebx
cmp byte [0x101f9454], bl
pop ecx
jne 0x101125f9
push 0x101b63b0
push 0x101a047c
push 0xffffffffffffffff
push 0x14
push 0x101f9454
call fcn.10147724
add esp, 0x14
push 8
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x1011261a
mov dword [esi + 0x1c], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10112702
Capabilities:
Encode data using xor

Disassembly:
push 0xc
mov eax, 0x10193c47
call fcn.10145de9
push dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.1004fac3
mov eax, dword [0x101f3028]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.10125296
pop ecx
pop ecx
push ebx
lea ecx, [ebp - 0x14]
call fcn.1000401e
mov edi, eax
cmp edi, ebx
je 0x10112757
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1011275b
xor eax, eax
jmp 0x10112770
lea esi, [eax + eax]
mov eax, esi
call fcn.101473b0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.1000ff6e
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x10112775
sub ecx, esi
cmp eax, ebx
je 0x101127bf
cmp ecx, ebx
je 0x101127bf
xor esi, esi
push 4
inc esi
pop edx
movzx ebx, byte [eax]
mov edi, esi
and edi, 0x3f
add edi, edx
imul edi, ebx
mov ebx, esi
shl ebx, 8
add edi, ebx
dec ecx
xor esi, edi
inc eax
add edx, 3
test ecx, ecx
jne 0x1011278c
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
mov eax, esi
jmp 0x101127d1
lea ecx, [ebp - 0x14]
call fcn.10003b75
lea ecx, [ebp - 0x18]
call fcn.10003b75
xor eax, eax
lea esp, [ebp - 0x28]
call fcn.10145e6c
ret 8

Function at 0x10115901
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 4
push edi
push 0x101153b2
push edi
push edi
call fcn.10147cdf
mov esi, eax
add esp, 0x18
cmp esi, edi
je 0x10115939
push 0x4000
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov eax, edi
pop edi
pop esi
ret
Function at 0x10116f28
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x101942b7
call fcn.10145db3
mov dword [ebp - 0x1c], ecx
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
mov dword [ebp - 4], esi
je 0x10116fbf
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x10116fbf
push eax
mov byte [ebp - 4], 1
call fcn.10144fc2
pop ecx
mov ebx, eax
jmp 0x10116f87
cmp ebx, esi
je 0x10116fbf
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
mov dword [ebp + 8], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10116fbf
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push ebx
call fcn.1011684a
cmp edi, esi
mov ebx, eax
je 0x10116fbb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x10116fcc
cmp edi, esi
je 0x10116fca
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.10145e58
ret 4
Function at 0x101173de
Capabilities:
Initialize iwebbrowser2
Log keystrokes

Disassembly:
push 0x18
mov eax, 0x1019435b
call fcn.10145d80
lea eax, [ebp - 0x14]
xor esi, esi
push eax
mov ecx, 0x101f84b0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
call fcn.100e4be8
cmp dword [ebp - 0x14], esi
je 0x10117413
push esi
push dword [ebp - 0x14]
mov ecx, 0x101f87e4
call fcn.10096224
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
push eax
push 0x101c0c58
push 0x15
push esi
push 0x101c0c18
mov dword [ebp - 4], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
mov eax, dword [ebp - 0x10]
jl 0x101174f0
cmp eax, esi
je 0x101174f0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x94]
mov ebx, dword [ebp - 0x18]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x101174cf
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
call edi
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push ebx
call edi
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push esi
push ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call ebx
push dword [ebp - 0x20]
call edi
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
call ebx
push dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
call fcn.1007e112
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x101174eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
jmp 0x10117505
mov edi, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, esi
mov dword [edi], esi
je 0x10117503
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, edi
call fcn.10145e58
ret
Function at 0x10119424
Capabilities:
Encode data using xor
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.10146c50
or dword [ebp - 4], 0xffffffff
push edi
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
mov dword [ebp - 0xc], eax
jbe 0x1011950e
push ebx
push esi
mov eax, 0x4000
cmp dword [ebp - 0xc], eax
ja 0x10119479
mov eax, dword [ebp - 0xc]
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x4014]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1011950c
mov esi, dword [ebp - 0x14]
cmp esi, edi
jbe 0x1011950c
mov eax, esi
xor ecx, ecx
shr eax, 2
je 0x101194c6
movzx ebx, byte [ebp - 4]
movzx edx, byte [ebp + ecx*4 - 0x4014]
xor edx, ebx
mov ebx, dword [ebp - 4]
shr ebx, 8
xor ebx, dword [edx*4 + 0x101b6808]
inc ecx
cmp ecx, eax
mov dword [ebp - 4], ebx
jb 0x101194a3
mov edx, esi
and edx, 3
je 0x101194fd
movzx eax, byte [ebp + eax*4 - 0x4014]
push 4
pop ecx
sub ecx, edx
shl ecx, 3
or edx, 0xffffffff
shr edx, cl
movzx ecx, dl
and ecx, eax
movzx eax, byte [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 4]
shr eax, 8
xor eax, dword [ecx*4 + 0x101b6808]
mov dword [ebp - 4], eax
add dword [ebp - 8], esi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x1011946c
pop esi
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 8], eax
pop edi
jb 0x10119523
not dword [ebp - 4]
mov eax, dword [ebp - 4]
leave
ret
Function at 0x10119b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x10194a4a
call fcn.10145d80
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push dword [0x101f9aac]
xor ebx, ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x10119b32
xor eax, eax
jmp 0x10119c62
push edi
push dword [0x101f9aac]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x101f9aac]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x20], eax
je 0x10119b2b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [ebp - 0x20]
push eax
call fcn.10147010
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x30]
call fcn.1011984c
cmp dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
je 0x10119c38
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push ebx
push dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x2c]
push eax
call fcn.10139d78
add esp, 0x10
push dword [ebp - 0x10]
mov dword [ebp + 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
push edi
call esi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.10078d6a
pop ecx
pop ecx
push dword [ebp - 0x28]
lea eax, [ebp - 0x30]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
push ebx
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.1007943b
push dword [ebp - 0x24]
push edi
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.10139e9e
add esp, 0xc
push dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
je 0x10119c38
push dword [ebp - 0x14]
call fcn.100792e9
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeResource]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.10004b77
mov eax, dword [ebp - 0x24]
call fcn.10145e58
ret
Function at 0x10119c68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x10194a6f
call fcn.10145d80
push dword [ebp + 8]
movzx eax, word [ebp + 0xc]
push eax
push dword [0x101f9aac]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x10119c97
xor eax, eax
jmp 0x10119d24
push edi
push dword [0x101f9aac]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x101f9aac]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x10], eax
je 0x10119c90
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 0x10]
push eax
call fcn.10147010
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push esi
push edi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0xc
call fcn.10146645
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, esi
mov dword [ebp - 4], esi
je 0x10119d05
push dword [ebp + 0xc]
mov ecx, eax
call fcn.1011984c
mov esi, eax
or dword [ebp - 4], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
call fcn.10145e58
ret

Function at 0x10119d2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0xc]
push esi
push edi
push dword [ebp + 8]
push eax
push dword [0x101f9aac]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor esi, esi
cmp edi, esi
jne 0x10119d53
xor eax, eax
jmp 0x10119ddc
push ebx
push edi
push dword [0x101f9aac]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push dword [0x101f9aac]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 4], eax
jne 0x10119d7b
xor eax, eax
jmp 0x10119ddb
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp - 4]
push eax
call fcn.10147010
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push esi
push edi
mov dword [ebp + 0xc], esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0x10
call sub.gdiplus.dll_GdipAlloc
cmp eax, esi
je 0x10119dc0
push esi
push dword [ebp + 0xc]
mov ecx, eax
call fcn.10119ad0
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1011a3a0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x18
mov eax, 0x10194b3b
call fcn.10145db3
mov edi, ecx
mov dword [ebp - 0x24], edi
mov esi, 0x1019f188
push esi
lea ecx, [edi + 4]
call fcn.1000425b
push esi
mov ecx, edi
call fcn.1000425b
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
mov dword [ebp - 4], ebx
jne 0x1011a3f9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1011a4a5
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
jne 0x1011a410
cmp edi, ebx
je 0x1011a3f2
push edi
jmp 0x1011a3ec
inc eax
push eax
mov byte [ebp - 4], 1
call fcn.10144fc2
pop ecx
mov esi, eax
mov dword [ebp - 4], ebx
jmp 0x1011a434
cmp esi, ebx
je 0x1011a409
push ebx
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x18], ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1011a458
push esi
call fcn.10145563
pop ecx
jmp 0x1011a409
mov eax, dword [ebp - 0x18]
mov byte [eax + esi], bl
push ebx
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push esi
mov dword [ebp - 0x14], ebx
call fcn.101210f6
add esp, 0x10
cmp dword [ebp - 0x14], ebx
mov byte [ebp + 0xb], bl
je 0x1011a487
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
call fcn.1011a1b7
mov byte [ebp + 0xb], al
push dword [ebp - 0x14]
call fcn.10145563
push esi
call fcn.10145563
cmp edi, ebx
pop ecx
pop ecx
je 0x1011a4a2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp + 0xb]
call fcn.10145e58
ret 4
Function at 0x1011a6ed
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0x10
mov eax, 0x10194b91
call fcn.10145d80
xor esi, esi
cmp dword [ebp + 8], esi
je 0x1011a761
cmp dword [ebp + 0xc], esi
jle 0x1011a761
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
mov dword [ebp - 0x14], esi
push esi
call fcn.10120fe4
add esp, 0x14
cmp dword [ebp - 0x10], esi
je 0x1011a761
cmp dword [ebp - 0x14], esi
jle 0x1011a761
lea ecx, [ebp - 0x1c]
call fcn.10116843
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], esi
call fcn.101169de
push dword [ebp - 0x10]
mov edi, eax
call fcn.10145563
cmp edi, esi
pop ecx
jne 0x1011a769
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10116849
xor eax, eax
call fcn.10145e58
ret
lea eax, [ebp + 8]
push 0x101b6c28
push eax
call fcn.1011f647
cmp dword [ebp + 8], esi
pop ecx
pop ecx
je 0x1011a7cd
push 0x101a87f4
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call fcn.10147b95
add esp, 0xc
cmp dword [ebp - 0x18], esi
je 0x1011a7b3
push dword [ebp - 0x18]
push 1
push dword [ebp - 0x14]
push edi
call fcn.10148a8b
push dword [ebp - 0x18]
call fcn.101475da
add esp, 0x14
push 0x10
push esi
push esi
push esi
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_LoadImageW]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call fcn.10146bbe
pop ecx
lea ecx, [ebp + 8]
call fcn.10003b75
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10116849
mov eax, esi
jmp 0x1011a763

Function at 0x1011ac04
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [0x101f94a0]
test eax, eax
jne 0x1011ac7f
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x1011ac6a
cmp dword [ebp - 0x7c], 5
jb 0x1011ac6a
push 0x101b6c6c
push 0x101b6c50
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1011ac6a
call eax
movzx eax, ax
test ax, ax
jne 0x1011ac73
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
movzx eax, ax
push eax
call fcn.1011abd5
pop ecx
mov dword [0x101f94a0], eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x98
leave
ret
Function at 0x1011ac94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x101f94b8]
test eax, eax
jne 0x1011ad09
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareBaiduBaiduToolbar
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1011acf6
push esi
lea eax, [ebp - 8]
push eax
mov esi, 0x101f94a4
push esi
push 0
push 0
push str.CurrentLanguage
push dword [ebp - 4]
mov dword [ebp - 8], 0x14
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1011acec
mov dword [0x101f94b8], esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [0x101f94b8]
test eax, eax
jne 0x1011ad09
call fcn.1011ac04
mov dword [0x101f94b8], eax
leave
ret

Function at 0x1011ae7b
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
push esi
push edi
xor esi, esi
push esi
push esi
jmp 0x1011aefb
mov eax, dword [ebp - 4]
test eax, eax
je 0x1011af2d
inc eax
push eax
call fcn.10144fc2
mov edi, eax
test edi, edi
pop ecx
je 0x1011af08
mov eax, dword [ebp - 4]
inc eax
push eax
push 0
push edi
call fcn.10146c80
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1011af0c
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
lea edx, [ecx + esi]
cmp edx, eax
mov dword [ebp - 0xc], edx
ja 0x1011af15
mov eax, dword [ebp + 0xc]
push ecx
add esi, eax
push edi
push esi
call fcn.10147010
mov esi, dword [ebp - 0xc]
push edi
call fcn.10145563
add esp, 0x10
push 0
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call ebx
test eax, eax
jne 0x1011ae90
xor eax, eax
jmp 0x1011af30
push edi
call fcn.10145563
pop ecx
jmp 0x1011af2d
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add esi, eax
push edi
push esi
call fcn.10147010
push edi
call fcn.10145563
add esp, 0x10
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1011b8e2
Capabilities:
Get networking parameters

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x10194da2
call fcn.10145d80
mov eax, dword [ebp + 0x214]
mov ebx, 0x248
push ebx
xor edi, edi
push 0x40
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x14], ebx
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, 0x6f
jne 0x1011b94d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp - 0x14]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
cmp eax, edi
je 0x1011b968
push eax
push str.Call_to_GetNetworkParams_failed._Return_Value:__08x_n
call fcn.1014996f
pop ecx
pop ecx
push 0x206
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.10146c80
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
push 0x103
lea ecx, [ebp]
push ecx
push 0x10
lea eax, [esi + 0x110]
push eax
push edi
push edi
mov dword [ebp - 0x1c], eax
call ebx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.10007b11
mov esi, dword [esi + 0x10c]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 1
jmp 0x1011b9fa
mov ecx, dword [ebp - 0x10]
push 0x101a34b8
call fcn.1001107f
push 0x208
lea eax, [ebp]
push edi
push eax
call fcn.10146c80
add esp, 0xc
push 0x103
lea eax, [ebp]
push eax
push 0x10
push dword [ebp - 0x1c]
push edi
push edi
call ebx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.1001107f
mov esi, dword [esi]
cmp esi, edi
jne 0x1011b9bb
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x20c
leave
ret

Function at 0x1011bd5d
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x94], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x1011bda0
cmp dword [ebp - 0x7c], 5
jne 0x1011bda0
cmp dword [ebp - 0x78], 0
jne 0x1011bda0
xor eax, eax
inc eax
jmp 0x1011bda2
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.10145d71
add ebp, 0x98
leave
ret

Function at 0x1011be11
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x101f6410]
xor eax, ebp
mov dword [ebp + 0x94], eax
push esi
lea eax, [ebp - 0x80]
push eax
xor esi, esi
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x70], 2
jne 0x1011be4d
cmp dword [ebp - 0x7c], 6
jb 0x1011be4d
inc esi
mov ecx, dword [ebp + 0x94]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10145d71
add ebp, 0x98
leave
ret