joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b230
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x1001b25a
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1001b286
push 1
mov ecx, esi
call fcn.1001b000
pop esi
pop ebp
ret 8
cmp dword [esi + 0x2c], 0
push edi
je 0x1001b266
mov edi, dword [esi + 0x34]
jmp 0x1001b269
mov edi, dword [esi + 0x30]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001b285
test edi, edi
je 0x1001b285
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
ret 8

Function at 0x1001b290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 8]
je 0x1001b2c1
mov eax, dword [esi + 0x24]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1001b2ed
push 1
lea ecx, [esi - 0x24]
call fcn.1001b000
mov eax, 1
pop esi
pop ebp
ret 0xc
cmp dword [esi + 8], 0
push edi
je 0x1001b2cd
mov edi, dword [esi + 0x10]
jmp 0x1001b2d0
mov edi, dword [esi + 0xc]
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001b2ec
test edi, edi
je 0x1001b2ec
push 0
push dword [esi - 0x20]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0xc

Function at 0x1001c7a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x100e324c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZ_CN.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.100365f0
add esp, 4
test eax, eax
je 0x1001c83d
push 1
push 0
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x100b5f1c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10030b57
mov esp, ebp
pop ebp
ret 4
Function at 0x1001c850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x100e324c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UtilsQClean.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.100365f0
add esp, 4
test eax, eax
je 0x1001c8ed
push 1
push 0
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x100b6190
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10030b57
mov esp, ebp
pop ebp
ret 4

Function at 0x1001c900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x100e324c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.SettingCenter.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.100365f0
add esp, 4
test eax, eax
je 0x1001c99a
push 1
push 0
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x100b5f7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030b57
mov esp, ebp
pop ebp
ret

Function at 0x1001c9b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x100e324c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.UtilsWxClean.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call fcn.100365f0
add esp, 4
test eax, eax
je 0x1001ca4d
push 1
push 0
push edi
lea eax, [ebp - 0x20c]
push eax
push 0x100b5f4c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10030b57
mov esp, ebp
pop ebp
ret 4
Function at 0x1001fa60
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10098802
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.10070b90
add esp, 0xc
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001fb3e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fb20
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000f750
cmp dword [esi + 0x10], 0
jne 0x1001fbba
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10070b90
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1003eeb0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001fb74
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1000f750
cmp dword [esi + 0x14], 8
mov eax, esi
mov ecx, dword [esi + 0x10]
jb 0x1001fb9f
mov eax, dword [esi]
add ecx, ecx
push ecx
push eax
push 1
push str.local_m2
push str.SOFTWAREComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030b57
mov esp, ebp
pop ebp
ret
Function at 0x10021990
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100d56e0
push 0x10070fb0
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x100de66c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x10021b04
cmp word [esi], 0
je 0x10021b04
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100219f0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x10021b04
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10021b04
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.10070b90
push esi
push str.__s_
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.10021cf0
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.10070b90
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], 0x100b7f80
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x10021aa3
push esi
call fcn.100365f0
add esp, 4
test eax, eax
je 0x10021b04
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x10021acb
cmp dword [ebp + 0x18], 0
je 0x10021acb
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x10021ae0
test esi, esi
je 0x10021af0
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x10021af0
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x10021b0d
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10030b57
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x10024300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009800e
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100de66c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [ebp + 0xc], 0
je 0x10024353
push dword [esi + 0x7c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10024353
add dword [esi + 0xb8], 0xb4
mov dword [esi + 0xbc], 1
push 0
push 0
push 1
push 0x100ba1b8
push str.clean_tips_show
call fcn.10006170
mov ecx, eax
call fcn.100343e0
push dword [esi + 4]
call fcn.1001f5a0
mov eax, dword [0x100e3228]
add esp, 4
fstp qword [ebp - 0x28]
test al, 1
jne 0x100243b3
or eax, 1
mov dword [0x100e3228], eax
mov ecx, 0x100e3224
mov dword [ebp - 4], 0
call fcn.1001a6e0
push 0x1009dc20
call fcn.10030b42
add esp, 4
mov dword [ebp - 4], 0xffffffff
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
mov ecx, 0x100e3224
movsd qword [esp], xmm0
call fcn.1001a7c0
cmp dword [esi + 0xbc], 0
je 0x100243e9
push 1
push dword [esi + 0x7c]
push 0x3ed
call fcn.10006200
mov ecx, eax
call fcn.1002e600
push 0
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push 0x30
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
movd xmm1, dword [esi + 0xb8]
movd xmm2, dword [esi + 0xb4]
cvtdq2pd xmm1, xmm1
push 0x14
cvtdq2pd xmm2, xmm2
mulsd xmm1, qword [ebp - 0x28]
mulsd xmm2, qword [ebp - 0x28]
cvttsd2si eax, xmm1
push eax
cvttsd2si eax, xmm2
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
subsd xmm0, xmm2
cvttsd2si eax, xmm0
push eax
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
call fcn.1001aaf0
push 0x100bac70
mov dword [esi + 0x74], eax
push dword [0x100e324c]
push 0xdc
call fcn.1002ece0
add esp, 0xc
mov edi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100244cf
mov eax, dword [esi + 0x74]
test eax, eax
je 0x100244cf
mov ecx, dword [eax + 0x24]
add eax, 0x24
push 1
push edi
push 0
push dword [esi + 4]
push eax
call dword [ecx + 4]
mov eax, dword [esi + 0x74]
add eax, 0x24
push 1
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [esi + 0x74]
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.10023340
mov ecx, dword [esi + 0x24]
lea eax, [esi + 0x24]
push 0
push 0
push eax
call dword [ecx + 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030b57
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1002e600
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009939f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100de66c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1002e71d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002e71d
lea eax, [ebp + 8]
mov ecx, ebx
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.1002e8d0
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebx]
jne 0x1002e71d
push 0x10
call fcn.10030b6d
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
test esi, esi
je 0x1002e71d
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], 0
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 1
mov dword [esi], 1
mov dword [esi + 8], 0xffffffff
push 0x18
mov dword [esi + 0xc], eax
call fcn.10030b6d
add esp, 4
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1002e6be
mov ecx, eax
call fcn.1002e920
jmp 0x1002e6c0
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 4], eax
test eax, eax
je 0x1002e6e1
push dword [ebp + 0x10]
mov ecx, eax
call fcn.1002f050
mov ecx, dword [esi + 4]
push edi
call fcn.1002ef90
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x1c]
mov dword [esi], 1
push eax
mov dword [ebp - 0x10], esi
call fcn.1002e0a0
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 0xc
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 0xc
Function at 0x1002ece0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x1002ed38
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x1002ed38
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1002ed38
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x1002ed41
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x1002ed63
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push eax
call fcn.10070090
add esp, 0xc
mov dword [ebp + 8], 0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 8]
xor edi, edi
test eax, eax
je 0x1002ed8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 8]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1002edd2
mov esi, dword [ebp + 8]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov edi, eax
test edi, edi
je 0x1002edce
lea eax, [ebp - 4]
mov dword [edi], vtable.Gdiplus::Bitmap.0
push eax
push esi
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
mov dword [edi + 4], eax
jmp 0x1002edd9
xor edi, edi
jmp 0x1002edd9
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1002ede6
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002edf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x1002ee19
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [ebx + 4], 0
movzx eax, word [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x1002ee3a
xor esi, esi
jmp 0x1002ef2d
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x1002ef2d
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
test eax, eax
jne 0x1002ee6b
xor esi, esi
jmp 0x1002ef2d
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x1002ee88
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x1002ef2d
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x1002eea8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
jmp 0x1002ef2d
push esi
push dword [ebp + 8]
push eax
call fcn.10070090
add esp, 0xc
mov dword [ebp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp + 0x10]
xor esi, esi
test eax, eax
je 0x1002eed2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp + 0x10]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x1002ef19
mov edi, dword [ebp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x1002ef15
lea eax, [ebp + 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push edi
mov dword [ebp + 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
jmp 0x1002ef20
xor esi, esi
jmp 0x1002ef20
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1002ef2d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 4], esi
pop edi
test esi, esi
jne 0x1002ef3d
pop esi
xor al, al
pop ebx
pop ebp
ret 0xc
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x1002ef57
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebx + 4]
mov dword [ebx + 8], eax
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], 0
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x1002ef7a
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.1002ec70
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10032370
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100995fa
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100de66c]
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], vtable.LogUtils::LogAppender.0
lea edi, [esi + 0x14]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 1
mov dword [esi + 0x10], 0
call fcn.10006290
mov ecx, eax
test ecx, ecx
je 0x10032534
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ebx, [esi + 0x18]
call fcn.10006290
mov ecx, eax
test ecx, ecx
je 0x1003253e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
call fcn.10006290
mov ecx, eax
test ecx, ecx
je 0x10032548
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0xffffffff
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 5
mov dword [esi + 0x10], eax
test edx, edx
jne 0x10032452
xor ecx, ecx
jmp 0x10032470
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032460
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.10007f20
push edi
mov ecx, ebx
call fcn.10005190
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1003248c
xor ecx, ecx
jmp 0x100324a4
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 0x10], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10032494
sub ecx, dword [ebp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x1c]
call fcn.10007f20
push ebx
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.10032f60
push eax
mov ecx, ebx
mov byte [ebp - 4], 6
call fcn.10005190
mov edx, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100324e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebx]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x1003251e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1003251e
cmp dword [esi + 0x10], 0
je 0x10032515
push dword [edi]
call fcn.100833d2
add esp, 4
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
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 0xc
push 0x80004005
call fcn.10005980
push 0x80004005
call fcn.10005980
push 0x80004005
call fcn.10005980
int3