joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000b0d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
call fcn.100765e0
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1000b104
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 4], 0
movzx eax, word [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x100c71a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000b125
xor esi, esi
jmp 0x1000b225
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1000b13b
xor esi, esi
jmp 0x1000b225
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b158
xor esi, esi
jmp 0x1000b225
mov esi, dword [ebp + 0xc]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1000b178
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x1000b225
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x1000b198
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x1000b225
push esi
push dword [ebp - 4]
push eax
call fcn.10082cf0
add esp, 0xc
mov dword [ebp + 8], 0
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
xor esi, esi
test eax, eax
je 0x1000b1c2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
mov dword [ebp + 8], esi
push eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1000b211
mov eax, dword [ebp + 8]
push 0x10
mov dword [ebp - 4], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x1000b20f
lea eax, [ebp + 0xc]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 4]
mov dword [ebp + 0xc], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
jmp 0x1000b211
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000b225
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 4], esi
test esi, esi
jne 0x1000b237
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x1000b251
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov esi, dword [edi + 4]
mov dword [edi + 8], eax
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x1000b274
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [edi + 0xc], eax
call fcn.1000ac30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10014f00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a98d8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x100dbc1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.10076018
mov edi, eax
add esp, 4
test edi, edi
je 0x10014f9d
push 1
mov dword [ebp - 4], 0
call fcn.1006bd53
add esp, 4
mov dword [edi + 4], eax
jmp 0x10014f9f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.10010ce0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
call dword [edx + 0x30]
movzx ebx, ax
mov dword [ebp - 4], 3
test edi, edi
je 0x10015000
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x10015000
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov word [esi + 0x40], bx
jne 0x10015068
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
je 0x10015068
push 1
test cl, 4
jne 0x1001508b
test cl, 2
je 0x10015044
lea eax, [ebp - 0x14]
push eax
call fcn.100150c0
add esp, 8
push eax
push str.ios_base::failbit_set
jmp 0x1001509d
lea eax, [ebp - 0x1c]
push eax
call fcn.100150c0
add esp, 8
lea ecx, [ebp - 0x44]
push eax
push str.ios_base::eofbit_set
call fcn.10011530
push 0x100cf790
lea eax, [ebp - 0x44]
jmp 0x100150ad
cmp byte [ebp + 0xc], 0
je 0x10015077
push esi
call fcn.1006c21f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x14]
push eax
call fcn.100150c0
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x30]
call fcn.10011530
push 0x100cf790
lea eax, [ebp - 0x30]
push eax
call fcn.100828d5
int3
Function at 0x10015e70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a998f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100dbc1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x10], 0
mov dword [edi], 0x100b38d0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
lea esi, [edi + 4]
push 0
push esi
mov dword [ebp - 4], 0
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], 1
mov dword [edi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.10014f00
mov eax, dword [edi]
push 8
mov dword [ebp - 4], 2
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x18], esi
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.10076018
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10015f37
push 1
mov byte [ebp - 4], 3
call fcn.1006bd53
add esp, 4
mov dword [ebx + 4], eax
jmp 0x10015f39
xor ebx, ebx
lea eax, [esi + 4]
mov dword [esi + 0x34], ebx
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, edi
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020250
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa902
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100dbc1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.ConfigCenter::IConfigClient.0
lea esi, [edi + 8]
mov dword [edi], vtable.ConfigMgrImpl.0
mov dword [edi + 4], vtable.ConfigMgrImpl.1.0
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x21c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10024c00
mov dword [esi], eax
lea ecx, [esi + 0x20]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call fcn.1000ce60
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x24], 0xb4
mov dword [esi + 0x28], 0xa
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [edi + 0x44]
push eax
mov dword [edi + 0x40], vtable._BaseModule::CCriticalSection.0
call esi
lea ecx, [edi + 0x60]
mov dword [edi + 0x5c], 0
call fcn.1000ce60
lea eax, [edi + 0x6c]
mov dword [edi + 0x68], vtable._BaseModule::CCriticalSection.0
push eax
call esi
lea esi, [edi + 0x84]
mov byte [ebp - 4], 5
mov ecx, esi
mov dword [ebp - 0x21c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.1001dc50
mov dword [esi], eax
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push 0
push eax
mov dword [edi + 0x8c], 0
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100e0ea0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100203e3
sub eax, edx
lea ecx, [edi + 0x60]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10009e80
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1008a2ec
add esp, 4
call fcn.1008a2cb
cdq
mov ecx, 0x2710
idiv ecx
mov eax, edi
mov dword [edi + 0x64], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100763b4
mov esp, ebp
pop ebp
ret
Function at 0x10027d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x811c9dc5
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
sub edi, edx
xor esi, esi
cmp edx, dword [ebp + 0xc]
cmova edi, ebx
test edi, edi
je 0x10027d94
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
inc esi
imul eax, ecx, 0x1000193
cmp esi, edi
jne 0x10027d81
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10029a60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab465
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x100dbc1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push dword [ecx + 0x60]
push 0
push str.next_pop
push str.coupon_hlp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor esi, esi
mov ebx, eax
push esi
call fcn.1008a37d
add esp, 4
sub ebx, eax
mov dword [ebp - 0x20], ebx
sbb esi, edx
mov dword [ebp - 0x1c], esi
js 0x10029c0b
jg 0x10029ace
test ebx, ebx
je 0x10029c0b
lea eax, [ebp - 0x30]
push eax
call fcn.1003b6a0
add esp, 4
cmp dword [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
je 0x10029b18
lea eax, [ebp - 0x28]
push eax
call fcn.1003b6a0
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 3
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0xd], 1
test al, al
jne 0x10029b1c
mov byte [ebp - 0xd], 0
mov esi, dword [ebp - 0x24]
or ebx, 0xffffffff
test esi, esi
je 0x10029b4b
test byte [ebp - 0x14], 2
je 0x10029b4b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10029b4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10029b4b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10029b78
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10029b78
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10029b78
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10029bf7
lea eax, [ebp - 0x18]
push eax
call fcn.1003b6a0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 2
call fcn.10015e70
mov esi, eax
push str.time_in_cd__offset:
push esi
mov byte [ebp - 4], 3
call fcn.10012080
add esp, 8
mov ecx, esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.10021030
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xc8]
call fcn.10012280
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10029bf7
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10029bf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x10029bf7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab58e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100dbc1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CCouponHelperTrayClient.0
mov dword [esi + 8], vtable.CCouponHelperTrayClient.1.0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
call fcn.100357f0
lea ecx, [esi + 0x110]
mov byte [ebp - 4], 2
call fcn.10039410
lea eax, [esi + 0x134]
mov dword [esi + 0x12c], 0
push eax
mov dword [esi + method._BaseModule::CCriticalSection.virtual_0], vtable._BaseModule::CCriticalSection.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x14c], 0
mov eax, esi
mov dword [esi + 0x150], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002d880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100abb76
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100dbc1c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1002d92c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1002d92c
call fcn.1002b080
mov edi, eax
jmp 0x1002da4b
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1002d94f
call fcn.1002b080
jmp 0x1002da3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1002d96d
call fcn.1002b080
jmp 0x1002da3e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1002d98e
mov edi, 0x8007000e
jmp 0x1002da40
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x1002da84
jb 0x1002d9ac
cmp eax, 0xffffffff
ja 0x1002da84
cmp eax, 0x400
jbe 0x1002d9c1
push eax
lea ecx, [ebp - 0x418]
call fcn.1002afa0
jmp 0x1002d9e7
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x1002d9e7
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1002d9fe
mov edi, 0x8007000e
jmp 0x1002da40
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1002da1e
call fcn.1002b080
jmp 0x1002da3e
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.1002d6e0
mov edi, eax
test esi, esi
je 0x1002da4b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1002da64
lea ecx, [ebp - 0x418]
call fcn.1002b8e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100763b4
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.1000a7c0
int3
Function at 0x1002efc0
Capabilities:
Create thread

Disassembly:
push ebx
push edi
mov edi, ecx
push 0x4d5
push dword [edi + 0xc]
lea ebx, [edi + 0x110]
mov ecx, ebx
call fcn.100397f0
cmp dword [edi + 0x12c], 0
jne 0x1002f01a
push 0
push 0
push 0
push 0x41
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x41
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push ebx
push 0x10039810
push 0
push 0
call fcn.1008a7cf
add esp, 0x18
mov dword [edi + 0x12c], eax
pop edi
pop ebx
ret
Function at 0x10033730
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab775
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
push ebx
push esi
push edi
mov eax, dword [0x100dbc1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], 0
cmp dword [esi + 4], 0
je 0x100338e4
push 0
push 0
push 0x12
push dword [esi]
mov dword [esi + 0xc], 1
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
cmp dword [esi + 8], 0
mov dword [ebp - 0x18], eax
je 0x100338fa
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
nop
call edi
sub eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 8]
jae 0x100337b4
push 0xa
call ebx
cmp dword [esi + 8], 0
jne 0x100337a0
cmp dword [esi + 8], 0
je 0x100338fa
lea eax, [ebp - 0x28]
push eax
call fcn.1003b6a0
add esp, 4
cmp dword [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
je 0x10033808
lea eax, [ebp - 0x20]
push eax
call fcn.1003b6a0
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 3
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov byte [ebp - 0xd], 1
test al, al
jne 0x1003380c
mov byte [ebp - 0xd], 0
mov esi, dword [ebp - 0x1c]
or ebx, 0xffffffff
test esi, esi
je 0x1003383b
test byte [ebp - 0x14], 2
je 0x1003383b
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1003383b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1003383b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10033868
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x10033868
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x10033868
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x100338e4
lea eax, [ebp - 0x30]
push eax
call fcn.1003b6a0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 2
call fcn.10015e70
mov esi, eax
push str.CWorkThread::Stop__wait_thread_stop_timeout_
push esi
mov byte [ebp - 4], 3
call fcn.10012080
add esp, 8
mov ecx, esi
push dword [ebp + 8]
call fcn.10011d70
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xc8]
call fcn.10012280
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x100338e4
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x100338e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x100338e4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
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
mov eax, 1
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
Function at 0x10034580
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100dbc1c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
jne 0x10034707
push ebx
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.100837f0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push dword [0x100e0ea0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x414]
push eax
call esi
lea eax, [ebp - 0x414]
push eax
call esi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100837f0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
add esp, 0xc
push str.DrvMgr360NetUL.dll
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10034685
push str.C:Program_FilesLuDaShiDrvMgr360NetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10034685
push str...wallpaperhelper360NetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push eax
call ebx
test eax, eax
jne 0x10034685
push str.360NetUL.dll
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10036800
add esp, 8
pop ebx
test eax, eax
je 0x10034707
mov dword [edi + 0x1c], 1
cmp dword [edi], 0
jne 0x10034707
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10034707
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10034707
call eax
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10034746
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
je 0x10034734
mov eax, dword [esi]
mov ecx, esi
push 0
push str.ungzip
call dword [eax + 0x30]
mov edx, dword [esi]
mov ecx, esi
push 0
push str.gzip
call dword [edx + 0x30]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100763b4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.100763b4
mov esp, ebp
pop ebp
ret