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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x41207c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
call fcn.00401040
push 0x410258
push 0x82
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x401a76
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402af4
mov esp, ebp
pop ebp
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x401a64
call fcn.00401040
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x401a64
call fcn.00401040
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x401a64
push 0
call fcn.00402fc1
push eax
call fcn.00403a8f
xor eax, eax
add esp, 8
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
mov dword [ebp - 0x12], eax
mov dword [ebp - 0xe], eax
mov dword [ebp - 0xa], eax
xor esi, esi
lea ebx, [ebx]
call fcn.00403aa1
cdq
mov ecx, 0x19
idiv ecx
inc esi
add edx, 0x61
mov word [ebp + esi*2 - 0x1e], dx
cmp esi, 0xa
jl 0x401ae0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x9c]
push str._s.exe
push eax
call fcn.0040339c
lea eax, [ebp - 0x9c]
add esp, 0xc
mov edx, eax
jmp 0x401b20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401b20
push edi
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401b31
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push 0
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.004036f0
add esp, 8
pop edi
test eax, eax
jne 0x401b69
call fcn.00401040
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00401040
call fcn.00401040
mov ecx, dword [ebp - 0xa4]
push ecx
push ebx
mov ebx, dword [ebp - 0xa0]
call fcn.00401950
mov ecx, dword [ebp - 4]
add esp, 8
pop esi
xor ecx, ebp
pop ebx
call fcn.00402af4
mov esp, ebp
pop ebp
ret
Function at 0x401ba0
Capabilities:
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x660
mov eax, dword [0x41207c]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00401040
call fcn.00401040
call fcn.00401040
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.00409110
add esp, 0xc
call fcn.00401040
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004036f0
add esp, 8
test eax, eax
je 0x401c1f
push 0
push 0x1a
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x210], 0
je 0x401ded
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401c36
sub eax, edx
sar eax, 1
je 0x401ded
call fcn.00401040
call fcn.00401040
lea ecx, [ebp - 0x210]
call fcn.00401a30
test eax, eax
jne 0x401c84
push eax
push 0x4103e0
push 0x4103ec
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402af4
mov esp, ebp
pop ebp
ret
call fcn.00401040
call fcn.00401040
call fcn.00401040
call fcn.00401040
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.00409110
mov edx, dword [esi + 0x2dc]
mov eax, dword [esi + 0x2d8]
lea ecx, [esi + 0x2e0]
push ecx
push edx
mov edx, dword [esi + 0xc8]
push eax
mov eax, dword [esi + 0xc4]
lea ecx, [esi + 0xcc]
push ecx
mov ecx, dword [esi + 0xc0]
push edx
push eax
push ecx
lea edx, [esi + 0x80]
push edx
lea eax, [esi + 0x40]
push eax
push esi
lea ecx, [ebp - 0x418]
push str._channelid_s__productid_s__productname_s__installmode_d__installppn_d__override_d__setupfilename_s__installtime_I64u__localarea_s
push ecx
call fcn.0040339c
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61e]
push eax
mov word [ebp - 0x620], dx
call fcn.00409110
add esp, 0x48
cmp dword [esi + 0xc0], 1
jne 0x401d48
call fcn.00401040
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0x620]
push str._s__VERYSILENT__SP_
push edx
call fcn.0040339c
add esp, 0xc
call fcn.00401040
call fcn.00401040
call fcn.00401040
call fcn.00401040
push 0x3c
lea eax, [ebp - 0x65c]
push 0
push eax
call fcn.00409110
add esp, 0xc
lea eax, [ebp - 0x65c]
lea ecx, [ebp - 0x210]
lea edx, [ebp - 0x620]
push eax
mov dword [ebp - 0x65c], 0x3c
mov dword [ebp - 0x658], 0x40
mov dword [ebp - 0x650], str.open
mov dword [ebp - 0x64c], ecx
mov dword [ebp - 0x648], edx
mov dword [ebp - 0x640], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 0x624]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x624]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402af4
mov esp, ebp
pop ebp
ret
Function at 0x401e00
Capabilities:
Accept command line arguments
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b0
mov eax, dword [0x41207c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x110
mov esi, eax
lea eax, [ebp - 0x56c]
push 0
push eax
mov dword [ebp - 0x570], 0x114
call fcn.00409110
add esp, 0xc
lea ecx, [ebp - 0x570]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x402060
cmp dword [ebp - 0x56c], 6
jb 0x402060
push str.__uac
push esi
call fcn.0040333c
add esp, 8
test eax, eax
jne 0x402060
cmp word [esi], 0x22
jne 0x401e8e
push 0x22
add esi, 2
push esi
call fcn.00403ac2
add esp, 8
add eax, 2
jmp 0x401ea2
push 0x20
push esi
call fcn.00403ac2
add esp, 8
test eax, eax
jne 0x401ea2
mov eax, 0x410568
mov ecx, eax
movzx eax, word [eax]
test ax, ax
je 0x401eca
lea esp, [esp]
cmp ax, 0x20
jne 0x401ec4
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x401eb0
jmp 0x401eca
mov esi, ecx
test ecx, ecx
jne 0x401ecf
mov esi, 0x410568
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x24e]
push eax
mov word [ebp - 0x250], dx
call fcn.00409110
lea edx, [ebp - 0x250]
add esp, 0xc
mov eax, esi
sub edx, esi
jmp 0x401f00
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401f00
lea eax, [ebp - 0x250]
add eax, 0xfffffffe
jmp 0x401f20
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401f20
mov ecx, dword [str.__uac]
mov edx, dword [0x410560]
mov dword [eax], ecx
mov ecx, dword [0x410564]
mov dword [eax + 4], edx
lea edx, [ebp - 0x574]
push edx
mov dword [eax + 8], ecx
call fcn.00401480
add esp, 4
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x46]
push ecx
mov word [ebp - 0x48], ax
call fcn.00409110
mov edx, dword [ebp - 0x574]
add esp, 0xc
push edx
lea eax, [ebp - 0x48]
push 0x41056c
push eax
call fcn.0040339c
lea eax, [ebp - 0x48]
add esp, 0xc
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401f87
lea edi, [ebp - 0x250]
sub eax, edx
add edi, 0xfffffffe
lea ecx, [ecx]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x401fa0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x456]
push edx
mov word [ebp - 0x458], cx
call fcn.00409110
add esp, 0xc
push 0x104
lea eax, [ebp - 0x458]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x38
lea ecx, [ebp - 0x5ac]
push 0
push ecx
call fcn.00409110
add esp, 0xc
lea ecx, [ebp - 0x5b0]
lea edx, [ebp - 0x458]
lea eax, [ebp - 0x250]
push ecx
mov dword [ebp - 0x5b0], 0x3c
mov dword [ebp - 0x5ac], 0x440
mov dword [ebp - 0x5a0], edx
mov dword [ebp - 0x5a4], str.runas
mov dword [ebp - 0x59c], eax
mov dword [ebp - 0x598], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402af4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00402af4
mov esp, ebp
pop ebp
ret
Function at 0x402470
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x41207c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x412ff0]
push 0
push eax
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [0x412ff4]
push ecx
lea edx, [ebp - 0x220]
push str._c_del__q__s
push edx
call fcn.0040339c
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402af4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41207c]
jne 0x402afe
repz ret
jmp fcn.00403fc1

Function at 0x403671
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x403698
call fcn.00404868
mov dword [eax], esi
call fcn.00404855
push 0x16
pop esi
mov dword [eax], esi
call fcn.00404803
mov eax, esi
jmp 0x4036ed
test dword [ebp + 0xc], 0xfffffff9
jne 0x40367e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4036c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040487b
pop ecx
call fcn.00404855
mov eax, dword [eax]
jmp 0x4036ed
test al, 0x10
jne 0x4036eb
test al, 1
je 0x4036eb
test byte [ebp + 0xc], 2
je 0x4036eb
call fcn.00404868
mov dword [eax], 5
call fcn.00404855
mov dword [eax], 0xd
jmp 0x4036bc
xor eax, eax
pop esi
pop ebp
ret
Function at 0x40b38f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41207c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040614a
and dword [ebp - 0x14], 0
cmp dword [0x413d74], 0
mov dword [ebp - 0x18], eax
jne 0x40b442
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b4ea
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4101a0
push ebx
call edi
test eax, eax
je 0x40b4ea
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x413d74], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x413d78], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x413d7c], eax
call edi
push eax
call esi
mov dword [0x413d84], eax
test eax, eax
je 0x40b442
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x413d80], eax
mov eax, dword [0x413d80]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b49b
cmp dword [0x413d84], ecx
je 0x40b49b
push eax
call esi
push dword [0x413d84]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b49b
test ebx, ebx
je 0x40b49b
call edi
test eax, eax
je 0x40b492
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b492
test byte [ebp - 8], 1
jne 0x40b49b
or dword [ebp + 0x10], 0x200000
jmp 0x40b4ce
mov eax, dword [0x413d78]
cmp eax, dword [ebp - 0x18]
je 0x40b4ce
push eax
call esi
test eax, eax
je 0x40b4ce
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b4ce
mov eax, dword [0x413d7c]
cmp eax, dword [ebp - 0x18]
je 0x40b4ce
push eax
call esi
test eax, eax
je 0x40b4ce
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x413d74]
call esi
test eax, eax
je 0x40b4ea
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b4ec
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402af4
leave
ret
Function at 0x460957
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004537f8
and dword [ebp - 4], 0
cmp dword [0x491318], 0
mov ebx, eax
jne 0x460a08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x460ab9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x47aac4
push edi
call esi
test eax, eax
je 0x460ab9
push eax
call fcn.00453786
mov dword [esp], 0x47aab4
push edi
mov dword [0x491318], eax
call esi
push eax
call fcn.00453786
mov dword [esp], 0x47aaa0
push edi
mov dword [0x49131c], eax
call esi
push eax
call fcn.00453786
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x491320], eax
call esi
push eax
call fcn.00453786
pop ecx
mov dword [0x491328], eax
test eax, eax
je 0x460a08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00453786
pop ecx
mov dword [0x491324], eax
mov eax, dword [0x491324]
cmp eax, ebx
je 0x460a60
cmp dword [0x491328], ebx
je 0x460a60
push eax
call fcn.00453801
push dword [0x491328]
mov esi, eax
call fcn.00453801
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x460a60
test edi, edi
je 0x460a60
call esi
test eax, eax
je 0x460a57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x460a57
test byte [ebp - 0xc], 1
jne 0x460a60
or dword [ebp + 0x10], 0x200000
jmp 0x460a99
mov eax, dword [0x49131c]
cmp eax, ebx
je 0x460a99
push eax
call fcn.00453801
pop ecx
test eax, eax
je 0x460a99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x460a99
mov eax, dword [0x491320]
cmp eax, ebx
je 0x460a99
push eax
call fcn.00453801
pop ecx
test eax, eax
je 0x460a99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x491318]
call fcn.00453801
pop ecx
test eax, eax
je 0x460ab9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x460abb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rsrc
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6629d5
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6165656b
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x415943ef
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..rdata
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x37d65ffd
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x48f620
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.0044db6c
test al, al
je 0x48f6de
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x48f6bc
cmp word [esi + 0x5f2], 0
je 0x48f671
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x48f693
cmp dword [ebp - 4], 0
jbe 0x48f68f
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x48f693
xor ebx, ebx
jmp 0x48f695
mov bl, 1
test bl, bl
jne 0x48f6de
mov eax, dword [0x49e4d4]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x48f6de
mov eax, dword [0x49e4d4]
mov eax, dword [eax]
call fcn.00466e78
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x48f6de
cmp byte [esi + 0x588], 0
jne 0x48f6de
mov edx, 0xfffffdf3
mov eax, esi
call fcn.0046e6b0
cmp eax, 4
jne 0x48f64e
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499184
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49922a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4015
push 0xc20c0800
push 0
call fcn.0042b8ac
cmp eax, 0x9b3a3e
jne 0x4991c2
mov eax, 0x499240
call fcn.00430c48
push 0
push 0
push 0xe
push esi
call sub.user32.dll_SendMessageA
mov ebx, eax
inc ebx
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004047dc
lea eax, [ebp - 4]
call fcn.004046a8
push eax
push ebx
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
push eax
mov ecx, 0x499250
mov edx, 0x499260
mov eax, 0x49926c
call fcn.00434160
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.004041e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499231
lea eax, [ebp - 8]
mov edx, 2
call fcn.004041b4
ret
Function at 0x499290
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x499298
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404640
xor eax, eax
push ebp
push 0x499431
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4014
push 0xaefcc800
push 0
call fcn.0042b8ac
cmp eax, 0xba4ee0
jne 0x4992df
mov eax, 0x499448
call fcn.00430c48
mov eax, edi
call fcn.00404190
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404650
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x49940e
mov eax, ebx
call fcn.00402800
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x499458
mov edx, 0x499468
mov eax, 0x499474
call fcn.00434160
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.00404650
push eax
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x49949c
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.004088fc
push dword [ebp - 0x18]
push 0x4994a8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1c]
call fcn.004088fc
push dword [ebp - 0x1c]
push 0x4994a8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004088fc
push dword [ebp - 0x20]
push 0x4994a8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004088fc
push dword [ebp - 0x24]
mov eax, edi
mov edx, 7
call fcn.00404510
lea ecx, [ebp - 0x28]
mov edx, 5
mov eax, 0x4994b4
call fcn.004341fc
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x2c]
mov edx, 2
mov eax, 0x499458
call fcn.004341fc
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0040459c
jne 0x499407
lea edx, [ebp - 0x30]
mov eax, 0x4994e4
call fcn.004084a0
mov eax, esi
call fcn.00402820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499438
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.004041b4
lea eax, [ebp - 4]
call fcn.00404190
ret
Function at 0x401283
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
test esi, esi
jne 0x40129a
xor al, al
jmp 0x40132f
call fcn.00401231
test al, al
je 0x4012f5
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.00401bff
add esp, 0xc
lea ecx, [ebp - 0x208]
mov edx, 0x104
push esi
call fcn.004011c9
push str.lbmini.exe
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40132d
push 0
push 0x1c
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x401293
push str.lbmini
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40132d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
jmp 0x40132f
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401334
Capabilities:
Get file attributes

Disassembly:
push esi
push edi
mov edi, edx
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str..zip
push eax
push str.TEMP_MIN_LIEBAO
push esi
push str._s_s__d_s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
pop edi
pop esi
ret

Function at 0x40137d
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x860
push ebx
push esi
push edi
push 0x40
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0x44
push 0
push eax
mov bl, dl
mov esi, ecx
call fcn.00401bff
and dword [ebp - 0x14], 0
lea edi, [ebp - 0x10]
xor eax, eax
stosd dword es:[edi], eax
push 0x7fe
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x85c], ax
xor edi, edi
lea eax, [ebp - 0x85a]
push edi
push eax
call fcn.00401bff
add esp, 0x18
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401461
push str.____install
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x85c]
push str.__s__s
push eax
call esi
add esp, 0x10
test bl, bl
jne 0x401414
push str._____disable_shortcut
lea eax, [ebp - 0x85c]
push eax
push str._s_s
push eax
call esi
add esp, 0x10
cmp byte [ebp + 8], 0
jne 0x401431
push str._____no_start
lea eax, [ebp - 0x85c]
push eax
push str._s_s
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x5c]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x85c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401461
push dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret