joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10019cc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c008
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1015a4dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10018a90
mov edi, eax
cmp dword [edi], 0
jne 0x10019d57
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x10019d57
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1011c31c
push eax
call esi
push 0x1011c328
push dword [edi]
mov dword [edi + 4], eax
call esi
push 0x1011c334
push dword [edi]
mov dword [edi + 8], eax
call esi
push 0x1011c344
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push 0x1011c354
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x10019d57
call eax
mov dword [edi + 0xc], eax
mov ecx, ebx
call fcn.1001ad00
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10019d80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 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 4
Function at 0x1001f4b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c98e
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1015a4dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], vtable.ILayerWindow.0
mov dword [edi], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.0
mov dword [edi + 0x24], vtable.CLayerWindowBase_class_CInputWnd__class_ATL::CWinTraits__2046689280__0__.1.0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
lea esi, [edi + 0x48]
mov dword [edi + 0x38], 1
mov dword [edi + 0x3c], 0xff
mov ecx, esi
mov dword [edi + 0x40], 1
mov dword [edi + 0x44], 0
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.100217f0
mov dword [esi], eax
mov byte [ebp - 4], 3
mov dword [edi + 0x50], 0
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x1001f698
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0x54], eax
push 0xa4
mov byte [ebp - 4], 4
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], 0
call fcn.10032d00
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1001f5e4
mov ecx, eax
call fcn.1005f890
test eax, eax
jne 0x1001f5e6
xor eax, eax
mov dword [edi + 0x44], eax
lea esi, [edi + 0x78]
mov dword [edi], vtable.CInputWnd.0
mov dword [edi + 0x24], vtable.CInputWnd.1.0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [ebp - 4], 6
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], ebx
lea ebx, [esi + 0x24]
mov byte [ebp - 4], 7
mov dword [esi], vtable.CEditExImpl_class_CEditEx__class_WTL::CEditT_class_ATL::CWindow___class_ATL::CWinTraits_1442840576__0__.0
mov dword [ebp - 0x18], ebx
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x1001f6a2
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov eax, 0x1011b2a4
mov byte [ebp - 4], 8
mov ecx, ebx
test eax, 0xffff0000
jne 0x1001f664
movzx eax, ax
push eax
call fcn.1001ead0
jmp 0x1001f670
push 0
push 0x1011b2a4
call fcn.100059b0
mov dword [esi + 0x28], 0
mov eax, edi
mov dword [esi + 0x54], 0
mov dword [esi], vtable.CEditEx.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004420
push 0x80004005
call fcn.10004420
int3
Function at 0x10020320
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ca9b
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.10067fc0
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2014], esi
call fcn.10094be0
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10020394
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x10020410
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x100203ca
movzx eax, ax
mov ecx, esi
push eax
call fcn.1001ead0
jmp 0x100203f1
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100203d3
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100059b0
mov eax, esi
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.10067b98
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10004420
int3

Function at 0x10020530
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010cadb
mov eax, dword fs:[0]
push eax
mov eax, 0x2008
call fcn.10067fc0
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2014], esi
call fcn.10094be0
add esp, 0xc
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100205a4
push 0x1000
lea eax, [ebp - 0x2010]
push eax
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x10020620
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x2010]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x100205da
movzx eax, ax
mov ecx, esi
push eax
call fcn.1001ead0
jmp 0x10020601
lea ecx, [ebp - 0x2010]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100205e3
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100059b0
mov eax, esi
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.10067b98
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10004420
int3
Function at 0x100244c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d000
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1015a4dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10037460
mov esi, eax
push str.SETUPDATA
push 0xd7
push dword [0x10161978]
mov ecx, dword [esi]
push esi
call dword [ecx + 0x10]
test eax, eax
jne 0x100245b2
push str.InitPackInfo_failed__exit
call fcn.10028b70
add esp, 4
push 0
push 0
push 4
push 0x1011cdbc
push 0
call fcn.10031b80
cmp eax, 6
jne 0x10024545
push 1
push 0
push 0
push str.www.ludashi.com
push 0x1011b354
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x1002466a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
mov dword [ebp - 4], 0
push str._sInitPackInfo:_d
lea eax, [ebp - 0x10]
push eax
call fcn.1000f890
mov edx, dword [ebp - 0x10]
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100245a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push str.InitPackInfo_success
call fcn.10028b70
mov eax, dword [esi]
add esp, 4
push str.PCStore_dll.ldsprj
push str.SETUPCONFIG
push 0xd5
push dword [0x10161978]
push esi
call dword [eax + 0xc]
test eax, eax
jne 0x10024648
push str.InitConfig_failed__exit
call fcn.10028b70
add esp, 4
push 0
push 0
push 4
push 0x1011cdbc
push 0
call fcn.10031b80
cmp eax, 6
jne 0x1002461a
push 1
push 0
push 0
push str.www.ludashi.com
push 0x1011b354
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x10024674
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push 0
push str.055EE061_E6A1_4a97_BCA3_B47A227F452A
mov dword [ebp - 4], 1
push str._sInitConfig:_d
jmp 0x10024572
push str.InitConfig_success
call fcn.10028b70
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004420
push 0x80004005
call fcn.10004420
int3
Function at 0x10025f10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d236
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1015a4dc]
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 0x10025fbc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x10025fbc
call fcn.1000eaf0
mov edi, eax
jmp 0x100260db
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10025fdf
call fcn.1000eaf0
jmp 0x100260ce
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x10025ffd
call fcn.1000eaf0
jmp 0x100260ce
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 0x1002601e
mov edi, 0x8007000e
jmp 0x100260d0
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x10026114
jb 0x1002603c
cmp eax, 0xffffffff
ja 0x10026114
cmp eax, 0x400
jbe 0x10026051
push eax
lea ecx, [ebp - 0x418]
call fcn.10023320
jmp 0x10026077
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10026077
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1002608e
mov edi, 0x8007000e
jmp 0x100260d0
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 0x100260ae
call fcn.1000eaf0
jmp 0x100260ce
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.10025d70
mov edi, eax
test esi, esi
je 0x100260db
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100260f4
lea ecx, [ebp - 0x418]
call fcn.10023e50
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.10067b98
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10004420
int3
Function at 0x10027800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
call fcn.10094be0
add esp, 0xc
mov dword [ebp - 0x41c], 1
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0x104
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x41c]
push eax
push str.Setup_Path
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10027902
push eax
push esi
call fcn.10023f20
mov ecx, eax
call fcn.10019da0
call fcn.10023f20
mov ecx, eax
call fcn.100192b0
push eax
call fcn.10024050
mov ecx, eax
call fcn.1000ad20
push 0x1011d178
call fcn.10024050
mov ecx, eax
call fcn.1000ad90
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10094be0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x10161978]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.10024050
mov ecx, eax
call fcn.1000ac90
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067b98
mov esp, ebp
pop ebp
ret 4
mov ecx, 0x101619dc
call fcn.100072c0
test eax, eax
jne 0x10027930
push str.CheckSingleInstance_failed__exit
call fcn.10028b70
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067b98
mov esp, ebp
pop ebp
ret 4
push 1
push esi
push 0
push dword [0x10161978]
call fcn.10024710
add esp, 0x10
mov ecx, 0x101619dc
mov esi, eax
call fcn.100074e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10067b98
mov esp, ebp
pop ebp
ret 4

Function at 0x10027970
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
call fcn.10094be0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x214]
add esp, 0xc
mov dword [ebp - 0x210], 1
mov dword [ebp - 0x214], 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push str.Setup_Path
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x10027a61
lea eax, [ebp - 0x218]
mov dword [ebp - 0x210], 4
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x210]
push eax
push str.indt
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp dword [ebp - 0x21c], 1
je 0x10027a61
push str.uninst.dll
lea eax, [ebp - 0x20c]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push 0x1011d2a0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10027a61
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10067b98
mov esp, ebp
pop ebp
ret 4
Function at 0x10028650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d49b
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.10037460
mov esi, eax
call fcn.10005050
mov ecx, eax
test ecx, ecx
je 0x10028823
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.10094be0
add esp, 0xc
mov dword [ebp - 0x42c], 1
mov dword [ebp - 0x428], 0x104
call fcn.10023f20
mov ecx, eax
call fcn.1001bae0
test eax, eax
je 0x100286f2
call fcn.10023f20
mov ecx, eax
call fcn.10017ac0
jmp 0x100286fe
call fcn.10023f20
mov ecx, eax
call fcn.10017ad0
push eax
lea ecx, [ebp - 0x424]
call fcn.1000e8a0
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.Setup_Path
push str.SOFTWAREPCStoreX
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x10028763
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10028741
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.100059b0
push dword [ebp - 0x424]
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
test eax, eax
je 0x100287c6
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10094be0
mov eax, dword [esi]
lea ecx, [ebp - 0x420]
add esp, 0xc
push 0x104
push ecx
push esi
call dword [eax + 0x28]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100287a4
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x424]
call fcn.100059b0
mov eax, dword [esi]
lea ecx, [ebp - 0x424]
push ecx
mov ecx, esi
call dword [eax + 0x60]
lea eax, [ebp - 0x424]
push eax
lea ecx, [edi + 8]
call fcn.1000e8a0
mov edx, dword [ebp - 0x424]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10028808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.10067b98
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10004420
int3
Function at 0x1002ea80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0xac]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
call esi
push dword [edi + 0x17c]
call esi
mov ecx, 0x101619dc
call fcn.100074e0
mov edi, dword [ebp + 8]
push edi
push str.quit___d
call fcn.10028b70
add esp, 8
call fcn.10037460
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor esi, esi
call fcn.10023f20
mov ecx, eax
call fcn.1001be00
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.10032fc0
call fcn.10032f30
call fcn.10037460
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
call fcn.10037460
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop edi
pop esi
pop ebp
ret 4
Function at 0x1002f5c0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, ecx
call fcn.100331b0
test al, al
jne 0x1002f5dc
mov eax, str.normal_install_end
push eax
call fcn.10028b70
add esp, 4
pop edi
ret
push esi
call fcn.10032f30
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0xcc]
lea ecx, [edi + 0xcc]
push 0x80
push 0
push 0
push 0xff676981
push 0xff676981
push 0
push ecx
call dword [eax + 8]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push eax
call esi
mov eax, dword [edi + 0x19c]
lea ecx, [edi + 0x19c]
push 0x80
push 0
push 0
push 0xff676981
push 0xff676981
push 0
push ecx
call dword [eax + 8]
push eax
call esi
push str.abnormal_install__will_prohibit_progress_callback_and_wait_install_finish.
call fcn.10028b70
push str.WaitInstallFinish
call fcn.10028b70
add esp, 8
call fcn.10037460
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea ecx, [edi + 0x9c]
call fcn.10028110
xor esi, esi
call fcn.10023f20
mov ecx, eax
call fcn.1001be00
test eax, eax
mov ecx, 1
cmovne esi, ecx
call fcn.10037460
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
call fcn.10037460
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, str.WaitInstallFinish_end
pop esi
push eax
call fcn.10028b70
add esp, 4
pop edi
ret
Function at 0x10033750
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.10067fc0
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.10094be0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x10033842
test edi, edi
je 0x10033842
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x10033842
cmp eax, 0x3fff
ja 0x10033842
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x10033842
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x1011ab90
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x10033842
mov eax, dword [ebp + 0x10]
add eax, eax
push eax
push 0
push edi
call fcn.10094be0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x1011ad84
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067b98
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10067b98
mov esp, ebp
pop ebp
ret
Function at 0x10033a70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c4
mov eax, dword [0x1015a4dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
je 0x10033b4b
test ecx, ecx
je 0x10033b4b
lea eax, [ebp - 0x4bc]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x10033b4b
mov ax, word [ebp - 0x4bc]
xor esi, esi
test ax, ax
je 0x10033b4b
xor ecx, ecx
movzx edx, ax
nop dword [eax + eax]
mov ax, word [ebp + ecx - 0x4ba]
mov word [ebp - 0xa], ax
xor eax, eax
mov word [ebp - 8], ax
lea eax, [ebp - 0xd4]
push 0x64
push eax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], dx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x10033b36
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
lea eax, [ebp - 0xd4]
push ebx
push eax
push dword [ebp - 0x4c4]
call fcn.100b48c0
add esp, 0xc
test eax, eax
je 0x10033b5e
add esi, 4
lea ecx, [esi + esi]
movzx eax, word [ebp + ecx - 0x4bc]
mov edx, eax
test ax, ax
jne 0x10033ae0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10067b98
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push edi
push dword [ebp - 0x4c0]
call fcn.10034890
xor ecx, ecx
test edi, edi
je 0x10033b7c
cmp edi, 0x7fffffff
jbe 0x10033b81
mov ecx, 0x80070057
test ecx, ecx
js 0x10033bb7
mov eax, dword [ebp - 0x4c0]
mov esi, edi
test edi, edi
je 0x10033b9f
cmp word [eax], 0
je 0x10033b9f
add eax, 2
sub esi, 1
jne 0x10033b91
xor eax, eax
mov ecx, 0x80070057
test esi, esi
cmovne ecx, eax
mov eax, edi
sub eax, esi
neg esi
sbb esi, esi
and esi, eax
jmp 0x10033bb9
xor esi, esi
test ecx, ecx
js 0x10033c0a
mov eax, dword [ebp - 0x4c0]
mov edx, edi
lea ecx, [eax + esi*2]
sub edx, esi
je 0x10033bfd
mov eax, edx
sub eax, edi
mov edi, dword [ebp - 0x4c4]
add eax, 0x7ffffffe
add esi, eax
lea eax, [ebx + ebx]
sub eax, ecx
add edi, eax
test esi, esi
je 0x10033bfd
movzx eax, word [edi + ecx]
test ax, ax
je 0x10033bfd
mov word [ecx], ax
dec esi
add ecx, 2
sub edx, 1
jne 0x10033be4
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10067b98
mov esp, ebp
pop ebp
ret