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

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call fcn.00435475
mov esi, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push dword [esp + 0x24]
xor ebp, ebp
push esi
mov dword [esp + 0x1c], ebp
call edi
mov dword [esp + 0x14], eax
cmp eax, ebp
je 0x4359a6
push ebx
push 0xf0
push dword [esp + 0x28]
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebp
je 0x43592c
push eax
push esi
call edi
push eax
call ebx
mov ebp, eax
push dword [esp + 0x18]
and dword [esp + 0x14], 0
push esi
call edi
test eax, eax
je 0x43598a
push eax
call ebx
mov edi, eax
test edi, edi
je 0x43598a
push ebp
push edi
call fcn.0042ef3c
pop ecx
pop ecx
push dword [esp + 0x30]
mov ebx, eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x435976
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x435994
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x435994
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
pop ebx
je 0x4359a6
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4362b7
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
cmp dword [ebp - 0x5c], edi
mov dword [ebp - 0x64], eax
jle 0x4363be
push ebx
push esi
mov dword [ebp - 0x68], 0x3a
mov esi, 0x4acb48
mov eax, dword [ebp - 0x64]
push dword [eax + edi*4]
lea ecx, [ebp - 0x20]
call fcn.004018f6
push esi
lea ecx, [ebp - 0x3c]
call fcn.004018f6
push esi
lea ecx, [ebp - 0x58]
call fcn.004018f6
push 1
push 0
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.0042f63d
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x436349
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401aa3
push esi
lea ecx, [ebp - 0x58]
call fcn.00401a34
jmp 0x436375
cmp ebx, 1
jbe 0x436375
lea eax, [ebx - 1]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401aa3
inc ebx
cmp ebx, dword [ebp - 0xc]
jae 0x436375
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401aa3
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x3c]
push eax
call fcn.00436210
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004019a1
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00401a58
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.00401a58
push ebx
push 1
lea ecx, [ebp - 0x20]
call fcn.00401a58
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x4362f8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop edi
call fcn.0047099a
leave
ret 8
Function at 0x436704
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 8
pop esi
mov ebx, ecx
mov dword [ebp - 0x210], 1
cmp dword [ebp + 0x20], esi
jae 0x436734
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403412
xor edi, edi
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
je 0x436765
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x436758
lea eax, [ebp + 0xc]
push 1
push edi
push edi
push eax
call fcn.0040391c
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x436770
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x210]
push ecx
push eax
call fcn.00403412
pop ecx
pop ecx
cmp dword [ebp - 0x210], edi
jne 0x4368ed
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x20], esi
jae 0x436796
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cbw
add ax, 0x41
movzx esi, ax
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call fcn.00470920
movzx eax, si
push eax
lea eax, [ebp - 0x20c]
push str._c:_
push eax
call fcn.00471155
lea eax, [ebp - 0x214]
add esp, 0x18
push eax
mov dword [ebp - 0x214], edi
call fcn.00403d28
mov ecx, eax
call fcn.00403dc8
lea eax, [ebp - 0x20c]
push eax
mov ecx, ebx
call fcn.0042f2a9
test eax, eax
je 0x4368ed
push edi
push edi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x218]
je 0x4368ed
mov eax, dword [ebp - 0x214]
cdq
cmp edx, dword [ebp - 0x218]
ja 0x4368ed
jb 0x436851
cmp eax, dword [ebp - 0x21c]
jae 0x4368ed
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
pop ebx
mov edi, 0xfa0
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x43686b
lea eax, [ebp + 0xc]
push eax
call fcn.00403444
pop ecx
test eax, eax
je 0x436891
call esi
cmp eax, 0xb7
je 0x436891
cmp eax, 0x50
je 0x436891
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
add ebx, ebx
cmp ebx, edi
jl 0x43685f
cmp ebx, edi
jl 0x4368d4
call esi
push 0
sub esp, 0x1c
mov ecx, esp
mov esi, 0x4acb48
push esi
mov edi, eax
call fcn.004018f6
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00401918
push edi
push 0x25d
call fcn.0043fe99
mov ecx, eax
call fcn.00440411
push esi
lea ecx, [ebp + 8]
call fcn.00401a34
xor edi, edi
lea eax, [ebp + 8]
push eax
call fcn.004366db
mov ecx, eax
cmp dword [ebp + 0x24], edi
je 0x4368fc
call fcn.0043466a
jmp 0x436901
push 0x4acb48
lea ecx, [ebp + 8]
call fcn.00401a34
jmp 0x4368d6
call fcn.0043463d
push edi
push 1
lea ecx, [ebp + 8]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret 0x20
Function at 0x4387d4
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
and dword [ebp - 0x80], 0
push ebx
mov ebx, dword [ebp + 0x1bc]
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x22c
push edi
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43882f
jmp 0x438852
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00472f9c
pop ecx
pop ecx
test eax, eax
je 0x438842
lea eax, [ebp - 0x7c]
push eax
push edi
mov dword [ebp - 0x7c], esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43881f
jmp 0x438848
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x1b0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
add ebp, 0x1b4
leave
ret

Function at 0x43888e
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x388], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push str.IsLimitShortCut
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov dword [ebp - 0x80], esi
cmp esi, ebx
je 0x43892f
push ebx
push 0x4000000
push ebx
push ebx
push str.http:__fangliang.client.xunlei.com_is_selected_piduidtvappnum1id1LimitShortCut
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
cmp edi, ebx
je 0x438928
lea eax, [ebp - 0x7c]
push eax
push 0x3ff
lea eax, [ebp - 0x78]
push eax
push edi
mov dword [ebp - 0x7c], 1
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x7c]
mov byte [ebp + eax - 0x78], bl
cmp byte [ebp - 0x6a], 0x31
jne 0x438918
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
xor eax, eax
jmp 0x438932
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x80]
call esi
jmp 0x43892f
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x388]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
add ebp, 0x38c
leave
ret
Function at 0x439423
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4acb48
lea ecx, [ebp - 0x3c]
call fcn.004018f6
lea eax, [ebp - 0x3c]
push eax
call fcn.00403d28
mov ecx, eax
call fcn.00403d53
push str.ProfilesBindingConfig.ini
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00410e7f
push str.ProgramSendStaticsRequest.exe
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00410e7f
mov eax, dword [ebp - 0x1c]
add esp, 0x18
cmp dword [ebp - 8], 8
jae 0x439486
lea eax, [ebp - 0x1c]
push ebx
push esi
push edi
xor esi, esi
push esi
push eax
call fcn.00473716
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ecx
pop ecx
mov ebx, str.open
test eax, eax
je 0x4394c7
cmp dword [ebp - 0x5c], 8
mov eax, dword [ebp - 0x70]
jae 0x4394af
lea eax, [ebp - 0x70]
push eax
push 0x4a15a8
push str.Install
push str.InstallOem
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4394e0
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4394d3
lea eax, [ebp - 0x1c]
push 1
push esi
push str.http:__web.stat.xunlei.com_UPV_gsbindbusinessvalue3softIdbaiduOEM
push eax
push ebx
push esi
call edi
push str.BBInsideAddressBar.dll___s
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x90]
push 0x4a0df8
push eax
call fcn.00409a99
add esp, 0xc
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00410e7f
add esp, 0xc
push esi
push 1
lea ecx, [ebp - 0x90]
call fcn.00401a58
cmp dword [ebp - 0x40], 8
mov eax, dword [ebp - 0x54]
jae 0x439524
lea eax, [ebp - 0x54]
push 1
push esi
push eax
push str.regsvr32.exe
push ebx
push esi
call edi
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x58]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x74]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x3c]
call fcn.00401a58
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret
Function at 0x43956b
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0xa34]
sub esp, 0xab4
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0xa30], eax
push ebx
push esi
push edi
mov edi, 0x4acb48
push edi
lea ecx, [ebp - 0x64]
call fcn.004018f6
lea eax, [ebp - 0x64]
push eax
call fcn.00403d28
mov ecx, eax
call fcn.00403d53
push str.BBInsideBaidu_TB_ASBar.exe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00410e7f
push str.ProgramSendStaticsRequest.exe
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00410e7f
push str.Baidu_TB_ASBar.exe
call fcn.004387d4
mov ebx, dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esp, 0x1c
xor esi, esi
test eax, eax
jne 0x4395fd
cmp dword [ebp - 0x68], 8
mov eax, dword [ebp - 0x7c]
jae 0x4395f0
lea eax, [ebp - 0x7c]
push 1
push esi
push esi
push eax
push str.open
push esi
call ebx
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x439609
lea eax, [ebp + 0x10]
push esi
push eax
call fcn.00473716
pop ecx
pop ecx
test eax, eax
jne 0x439712
push 0x7fe
mov word [ebp + 0x28], ax
lea eax, [ebp + 0x2a]
push esi
push eax
call fcn.00470920
xor eax, eax
push 0x206
mov word [ebp + 0x828], ax
lea eax, [ebp + 0x82a]
push esi
push eax
call fcn.00470920
add esp, 0x18
push 0x104
lea eax, [ebp + 0x828]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
lea ecx, [ebp - 0x10]
call fcn.004018f6
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x828]
push eax
call fcn.004034f4
pop ecx
pop ecx
call fcn.0043fe99
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401918
call fcn.0043fe99
add eax, 0x1c
push eax
lea ecx, [ebp - 0x48]
call fcn.00401918
mov edx, dword [ebp - 0xc]
push 8
pop edi
cmp dword [ebp + 8], edi
jae 0x4396a6
lea edx, [ebp - 0xc]
mov ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jae 0x4396b1
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x4396bc
lea eax, [ebp - 0x28]
push edx
push ecx
push eax
push str.http:__stat.download.xunlei.com:8080__aid1009id107f_speerid_sversion_sfilenamebaidubar
lea eax, [ebp + 0x28]
push 0x400
push eax
call fcn.004711ed
mov eax, dword [ebp + 0x10]
add esp, 0x18
cmp dword [ebp + 0x24], edi
jae 0x4396e0
lea eax, [ebp + 0x10]
xor edi, edi
inc edi
push edi
push esi
lea ecx, [ebp + 0x28]
push ecx
push eax
push str.open
push esi
call ebx
push esi
push edi
lea ecx, [ebp - 0x48]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.00401a58
jmp 0x439715
xor edi, edi
inc edi
push esi
push edi
lea ecx, [ebp + 0xc]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x80]
call fcn.00401a58
push esi
push edi
lea ecx, [ebp - 0x64]
call fcn.00401a58
mov ecx, dword [ebp + 0xa30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
add ebp, 0xa34
leave
ret
Function at 0x43a6c3
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43a6ee
push 0
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x60]
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_KillTimer]
and dword [esi + 0x60], 0
xor eax, eax
pop esi
ret

Function at 0x43c64b
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43c66a
push eax
mov eax, dword [esi + 4]
push dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.0043c537
push 0
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret

Function at 0x43c679
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, ecx
push dword [esi - 0x40]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43c6ac
inc eax
jmp 0x43c745
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x43c6bf
mov dword [ebx], 1
jmp 0x43c742
push 0x50
call fcn.004709c4
pop ecx
cmp eax, edi
je 0x43c6d6
mov ecx, eax
call fcn.00448966
mov ebx, eax
jmp 0x43c6d8
xor ebx, ebx
push edi
push dword [esi - 0x40]
mov ecx, ebx
call fcn.00435abe
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi - 0x40]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
call edi
push dword [ebp - 0x7c]
mov eax, dword [esi - 0x20]
push dword [ebp + 0x10]
mov dword [eax + 0x7c], 1
push 3
push dword [esi - 0x20]
lea ecx, [ebp - 0x74]
call fcn.004448af
push 0
push dword [ebx + 4]
lea ecx, [ebp - 0x74]
call fcn.00435ccd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x78]
push 1
mov dword [ecx], eax
push dword [esi - 0x40]
call edi
mov eax, dword [esi - 0x20]
and dword [eax + 0x7c], 0
lea ecx, [ebp - 0x74]
call fcn.00444409
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
leave
ret 0x14

Function at 0x43cffe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x43d021
push eax
mov eax, dword [esi + 4]
push dword [eax + 4]
lea ecx, [esi - 0x20]
call fcn.0043c537
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], 1
call fcn.00403d28
mov ecx, eax
call fcn.00403de2
push 1
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x32
push 0x6e
push dword [esi - 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esi - 0x20]
mov dword [esi + 0x60], eax
call fcn.0043c755
call fcn.004366db
mov ecx, eax
call fcn.00437325
xor eax, eax
pop esi
leave
ret 4
Function at 0x43d642
Capabilities:
Get disk size
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
mov eax, dword [ebp + 0x1c0]
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
jb 0x43d674
mov eax, dword [eax + 4]
jmp 0x43d677
add eax, 4
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
push 0x208
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00470920
add esp, 0xc
push 0x104
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
mov eax, 0x80
push eax
push 3
push esi
push esi
push eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x70]
push dword [ebp - 0x60]
mov ebx, dword [ebp - 0x6c]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
jl 0x43d714
jg 0x43d6f8
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x78], eax
jbe 0x43d714
push esi
push 0x49fcf0
push 0x4a229c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
jmp 0x43d727
mov ecx, dword [ebp - 0x5c]
push 0xffffffffffffffff
push esi
push dword [ebp - 0x58]
add ecx, 4
call fcn.004019a1
mov al, 1
mov ecx, dword [ebp + 0x1b4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047099a
add ebp, 0x1b8
leave
ret 4
Function at 0x43e05d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push 1
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi], eax
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x43d8d0
push esi
push esi
mov dword [ebp - 4], esi
call fcn.00471725
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
inc eax
pop esi
leave
ret

Function at 0x43eb28
Capabilities:
Create thread
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
push eax
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x43eb58
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x43ebdc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x43eb48
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
jne 0x43eb7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80004005
jmp 0x43ebdb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x10
mov edi, eax
call fcn.004709c4
pop ecx
cmp eax, esi
je 0x43eba5
xor ecx, ecx
mov dword [eax + 4], esi
mov word [eax], cx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
jmp 0x43eba7
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
mov cx, word [ebp + 8]
mov word [eax], cx
lea ecx, [ebp + 0xc]
push ecx
push esi
push eax
push 0x43e13d
push esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
push esi
mov dword [ebp + 0xc], esi
call fcn.00471725
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x43ee57
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 8], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0x100
mov dword [ebp - 4], eax
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call ebx
push 0xf
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x10
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00473aa0
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
rdtsc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jg 0x43eefc
jge 0x43eef4
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
jl 0x43eee0
jg 0x43eefc
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jb 0x43eee0
rdtsc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [ebp - 8]
call esi
push eax
call ebx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x24]
push 0
push 0xf424
push ecx
push eax
call fcn.00473aa0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43f2d1
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4bca50]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
push edi
xor edi, edi
cmp dword [eax + 0x14], edi
jne 0x43f300
xor eax, eax
xor edx, edx
jmp 0x43f37a
cmp dword [eax + 0x18], 8
jb 0x43f30b
mov eax, dword [eax + 4]
jmp 0x43f30e
add eax, 4
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
cbw
add ax, 0x41
movzx esi, ax
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push edi
push eax
call fcn.00470920
movzx eax, si
push eax
lea eax, [ebp - 0x78]
push str._c:_
push eax
call fcn.00471155
lea eax, [ebp - 0x78]
add esp, 0x18
push eax
xor esi, esi
call fcn.004366db
mov ecx, eax
call fcn.0042f2a9
test eax, eax
je 0x43f375
push edi
push edi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov esi, dword [ebp - 0x80]
mov edi, dword [ebp - 0x7c]
mov eax, esi
mov edx, edi
pop esi
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop edi
call fcn.0047099a
add ebp, 0x194
leave
ret 4