joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411b05
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c641
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.004511c0
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28b0]
push eax
lea eax, [ebp - 0x28ac]
push eax
mov dword [ebp - 0x28b0], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea edi, [ebp - 0x28ac]
cmp dword [edi + 0x1a0], 6
jne 0x411bf1
movzx eax, byte [edi + 0x19b]
push eax
movzx eax, byte [edi + 0x19a]
push eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x2c]
call fcn.004251e2
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x411bc6
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10c]
push ecx
push eax
push str.MAC:__s_Name:__s
lea esi, [ebx + 0xc8]
call fcn.00408201
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408639
mov edi, dword [edi]
test edi, edi
jne 0x411b59
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.0043e40d
leave
ret
Function at 0x413b4d
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x25c
lea ebp, [esp - 4]
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp + 0x25c], eax
push 0x1c
mov eax, 0x45d1d5
call fcn.00442269
lea eax, [ebp + 0x38]
push eax
mov ecx, ebx
call fcn.00413ae8
and dword [ebp - 4], 0
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x413b8c
lea eax, [ebp + 0x3c]
push eax
lea edi, [ebx + 0xc8]
push str.Bootstrapper::deploySelf___Final_file_path_S
mov esi, edi
call fcn.00408201
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
pop ecx
pop ecx
jae 0x413bad
lea eax, [ebp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x413c8e
push str._PathFileExists
call fcn.00408201
lea ecx, [ebp - 0x28]
mov dword [esp], str.Error_when_getting_bootstrapper_filename_for_selfDeploy
call fcn.004073fe
push 0x104
lea eax, [ebp + 0x54]
push eax
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x413bf6
lea eax, [ebp - 0x28]
call fcn.004215cd
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00408639
lea eax, [ebp + 0x54]
push eax
lea esi, [ebp + 0x1c]
call fcn.004074dc
mov byte [ebp - 4], 2
cmp dword [ebp + 0x34], 8
mov eax, dword [ebp + 0x20]
jae 0x413c22
lea eax, [ebp + 0x20]
push eax
push str.GetModuleFileName:__S
mov esi, edi
call fcn.00408201
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
push 8
pop esi
cmp dword [ebp + 0x50], esi
jae 0x413c3f
lea ecx, [ebp + 0x3c]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], esi
jae 0x413c4a
lea eax, [ebp + 0x20]
push ecx
push eax
mov ecx, edi
call fcn.00421972
pop ecx
pop ecx
mov ecx, dword [ebp + 0x3c]
cmp dword [ebp + 0x50], esi
jae 0x413c60
lea ecx, [ebp + 0x3c]
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x34], esi
jae 0x413c6b
lea eax, [ebp + 0x20]
push ecx
push eax
push str.Copy:_from___S_to__S
mov esi, edi
call fcn.00408201
add esp, 0xc
push 0
push 1
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.00408971
jmp 0x413c99
push str.PathFileExists
call fcn.00408201
pop ecx
mov eax, dword [ebx]
lea ecx, [ebp]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
mov byte [ebp - 4], 4
cmp dword [ebp + 0x18], 8
mov ecx, dword [ebp + 4]
jae 0x413cc6
lea ecx, [ebp + 4]
cmp dword [eax + 0x18], 8
jb 0x413cd1
mov eax, dword [eax + 4]
jmp 0x413cd4
add eax, 4
push ecx
push eax
mov ecx, ebx
call fcn.0041320a
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x28]
call fcn.00408971
push edi
push 1
lea esi, [ebp]
call fcn.00408971
push edi
push 1
lea esi, [ebp + 0x38]
call fcn.00408971
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x25c]
xor ecx, ebp
call fcn.0043e40d
add ebp, 0x260
leave
ret
Function at 0x413d23
Capabilities:
Create directory

Disassembly:
push 0x20
mov eax, 0x45b247
call fcn.00442269
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x413d71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x413d71
push dword [ebp + 8]
lea esi, [ebp - 0x28]
push str.CreateDirectory__S_failed
call fcn.004251e2
pop ecx
pop ecx
and dword [ebp - 4], 0
call fcn.004215cd
push 0
push 1
mov ecx, esi
call fcn.00408639
call fcn.00442341
ret
Function at 0x415ea9
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebx]
sub esp, 0x2c
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
cmp dword [eax + 0x18], 8
jb 0x415ec5
mov eax, dword [eax + 4]
jmp 0x415ec8
add eax, 4
push esi
push edi
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.00408971
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
fild qword [ebp - 0x18]
mov dword [ebp - 8], edi
fild qword [ebp - 8]
fchs
faddp st(1)
fcomp qword [0x46eb88]
fnstsw ax
test ah, 5
jp 0x415f3e
mov ecx, dword [ebx + 0x48]
mov eax, dword [ecx]
push edi
push str.There_is_not_enough_room_on_your_disk_to_install_Rim014._Please_free_up_some_space_and_try_again.
call dword [eax + 0x18]
push 5
lea esi, [ebp - 0x20]
call fcn.0042057a
push 0x473730
mov eax, esi
push eax
call fcn.00442373
pop edi
pop esi
leave
ret
Function at 0x418425
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459231
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x47f180]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x63], 0
je 0x41847d
push 1
lea esi, [esp + 0x2c]
call fcn.004205a2
push 0x4736e4
mov eax, esi
push eax
call fcn.00442373
lea edi, [eax + 0x88]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x4185ae
push 0x46377d
lea ecx, [esp + 0x58]
call fcn.004073fe
and dword [esp + 0x80], 0
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.0041bf01
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.0041bf01
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4184e3
cmp ebx, dword [esp + 0x1c]
je 0x4184e8
call fcn.0043e931
mov esi, dword [esp + 0x18]
cmp esi, dword [esp + 0x20]
je 0x41853c
test ebx, ebx
jne 0x418534
call fcn.0043e931
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x418507
call fcn.0043e931
push 0xffffffffffffffff
mov eax, esi
push 0
lea esi, [esp + 0x5c]
call fcn.00409150
test ebx, ebx
jne 0x418538
call fcn.0043e931
mov eax, dword [esp + 0x18]
cmp eax, dword [ebx + 0x10]
jb 0x41852d
call fcn.0043e931
add dword [esp + 0x18], 0x1c
jmp 0x4184c9
mov eax, dword [ebx]
jmp 0x4184fd
mov ebx, dword [ebx]
jmp 0x41851f
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push str.previous_error
push eax
call fcn.0042050e
add esp, 0xc
mov byte [esp + 0x80], 1
cmp dword [eax + 0x18], 0x10
jb 0x418566
mov eax, dword [eax + 4]
jmp 0x418569
add eax, 4
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
call fcn.0043e42d
push 0
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], vtable.silent_exception.0
mov byte [esp + 0x88], 0
call fcn.00408639
mov dword [esp + 0x1c], vtable.previous_error.0
push 0x4737a8
lea eax, [esp + 0x20]
jmp 0x418477
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret 4
Function at 0x41886f
Capabilities:
Read file via mapping

Disassembly:
push 4
mov eax, 0x45c0b5
call fcn.00442269
mov eax, dword [edi + 0x44]
push 0x800
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x4188d7
lea eax, [ebp - 0x10]
push eax
call fcn.004215fb
and dword [ebp - 4], 0
push dword [eax]
lea esi, [edi + 0xc8]
push str.Could_not_map_view_of_file:__S
call fcn.00408201
add esp, 0xc
lea eax, [ebp - 0x10]
call fcn.0040d616
mov eax, dword [edi + 0x44]
test eax, eax
je 0x4188d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0x44], 0
mov al, 1
jmp 0x4188ee
mov esi, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call sub.KERNEL32.dll_GetCurrentProcessId
xor ecx, ecx
cmp esi, eax
sete cl
mov al, cl
call fcn.00442341
ret
Function at 0x418cc4
Capabilities:
Delete file

Disassembly:
push 0x7c
mov eax, 0x45c085
call fcn.004422d2
mov ebx, ecx
lea edi, [ebx + 0xc8]
push str.Bootstrapper::forceMFCStudioCleanup___deleteCurVersionKeys
mov esi, edi
call fcn.00408201
pop ecx
lea eax, [ebp - 0x84]
call fcn.004223e3
and dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x418cff
mov eax, dword [eax + 4]
jmp 0x418d02
add eax, 4
mov cl, byte [ebx + 0x61]
mov byte [ebp - 0x68], cl
push eax
push dword [ebp - 0x68]
mov ecx, edi
call fcn.00421f54
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push 0
push 1
lea esi, [ebp - 0x84]
call fcn.00408971
call fcn.00418e3a
mov al, byte [ebx + 0x61]
mov byte [ebp - 0x68], al
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
call fcn.004142f2
xor ebx, ebx
inc ebx
push str.RobloxStudioLauncher.exe
lea esi, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.004074dc
mov eax, esi
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.0040a766
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x418d79
lea eax, [ebp - 0x28]
push eax
push str.Bootstrapper::forceMFCStudioCleanup___deleting_studio_stub:__S
mov esi, edi
call fcn.00408201
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x418d94
lea eax, [ebp - 0x28]
push eax
call fcn.0042585f
pop ecx
test al, al
je 0x418db2
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x418dab
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor edi, edi
push edi
push ebx
lea esi, [ebp - 0x2c]
call fcn.00408971
push edi
push ebx
lea esi, [ebp - 0x48]
call fcn.00408971
push edi
push ebx
lea esi, [ebp - 0x64]
call fcn.00408971
call fcn.00442355
ret

Function at 0x420497
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x4897b0], 0
jne 0x4204c7
push 0x468f68
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4204c0
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4897b4], eax
mov byte [0x4897b0], 1
mov eax, dword [0x4897b4]
test eax, eax
je 0x4204df
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x4204eb
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x4217e2
Capabilities:
Delete registry key

Disassembly:
push 0x4c
mov eax, 0x45bfcc
call fcn.00442269
test edi, edi
jne 0x42181d
push str.Attempt_to_delete_a_null_key
lea ecx, [ebp - 0x30]
call fcn.004073fe
and dword [ebp - 4], edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040128c
push 0x4732c0
lea eax, [ebp - 0x58]
push eax
call fcn.00442373
push edi
lea esi, [ebp - 0x30]
call fcn.004074dc
cmp dword [eax + 0x14], 0
push 0
push 1
sete byte [ebp - 0xd]
call fcn.00408971
cmp byte [ebp - 0xd], 0
je 0x421853
push str.Attempt_to_delete_an_empty_key
lea ecx, [ebp - 0x30]
call fcn.004073fe
mov dword [ebp - 4], 1
jmp 0x421802
push edi
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
test eax, eax
jge 0x42188d
lea eax, [ebp - 0x14]
push eax
call fcn.004215fb
pop ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
push dword [eax]
push edi
push str.Failed_to_delete_key__S__S
call fcn.00408201
add esp, 0xc
lea eax, [ebp - 0x14]
call fcn.0040d616
call fcn.00442341
ret

Function at 0x421f54
Capabilities:
Delete registry value

Disassembly:
push 0x24
mov eax, 0x45bf99
call fcn.00442269
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
push str.deleteCurVersionKeys
mov dword [ebp - 4], ebx
call fcn.00408201
xor eax, eax
cmp byte [ebp + 8], bl
mov dword [esp], 0x463940
sete al
lea ecx, [ebp - 0x14]
add eax, 0x80000001
push eax
mov eax, 0x20006
call fcn.0040bce6
test eax, eax
jl 0x422008
push str.deleteCurVersionKeys___key_Opened
call fcn.00408201
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.00421e5c
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x421fc1
mov eax, dword [eax + 4]
jmp 0x421fc4
add eax, 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00408971
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
call fcn.00421ed8
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x421ff4
mov eax, dword [eax + 4]
jmp 0x421ff7
add eax, 4
push eax
push dword [ebp - 0x14]
call edi
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00408971
cmp dword [ebp - 0x14], ebx
je 0x422016
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00442341
ret
Function at 0x422f0e
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x45bdbe
call fcn.004422d2
mov esi, ecx
push edi
mov ebx, str.deleteDesktopShortcut____S
push ebx
mov dword [ebp - 0x34], esi
call fcn.00408201
xor esi, esi
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push 6
push eax
call fcn.0042536a
add esp, 0x1c
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], esi
je 0x422fd1
mov eax, dword [0x48878c]
mov ecx, 0x48878c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x422f6d
lea eax, [ebp - 0x28]
push edi
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.0041d374
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042585f
pop ecx
test al, al
je 0x422fc9
push dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
push ebx
call fcn.00408201
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
lea eax, [ebp - 0x30]
inc bl
call fcn.0040d616
xor esi, esi
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.00408971
mov al, bl
call fcn.00442355
ret
lea eax, [ebp - 0x30]
call fcn.0040d616
xor bl, bl
jmp 0x422fb6

Function at 0x422fd5
Capabilities:
Delete file

Disassembly:
push 0x2c
mov eax, 0x45bdbe
call fcn.004422d2
mov eax, dword [ebp + 0xc]
push eax
mov edi, str.deleteProgramsShortcut____S
mov esi, ecx
push edi
mov dword [ebp - 0x34], eax
call fcn.00408201
xor eax, eax
xor ebx, ebx
cmp byte [ebp + 8], bl
push 1
sete al
push ebx
push ebx
add eax, 3
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0042536a
add esp, 0x1c
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x42307b
mov eax, dword [0x48878c]
mov ecx, 0x48878c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42303e
lea eax, [ebp - 0x28]
push dword [ebp - 0x34]
push eax
push str._s_s.lnk
lea eax, [ebp - 0x30]
call fcn.0041d374
add esp, 0xc
push dword [ebp - 0x30]
call fcn.0042585f
pop ecx
test al, al
je 0x423073
push dword [ebp - 0x30]
push edi
call fcn.00408201
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x30]
call fcn.0040d616
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.00408971
call fcn.00442355
ret
Function at 0x423823
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2898
call fcn.004511c0
mov eax, dword [0x47f180]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x2898], 0
push esi
lea eax, [ebp - 0x2898]
push eax
lea eax, [ebp - 0x2894]
push eax
mov esi, ecx
mov dword [ebp - 0x2898], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea eax, [ebp - 0x2894]
mov ecx, dword [eax + 0x1a0]
cmp ecx, 6
je 0x4238a3
cmp ecx, 0x47
je 0x4238a3
mov eax, dword [eax]
test eax, eax
jne 0x423867
and dword [ebp - 0x14], eax
push edi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push dword [ebp - 0x14]
push str._08X
call fcn.004251e2
pop ecx
pop ecx
pop edi
jmp 0x4238f0
movzx ecx, byte [eax + 0x19b]
push ecx
movzx ecx, byte [eax + 0x19a]
push ecx
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02x_02x_02x_02x_02x_02x_02x_02x
call fcn.004251e2
add esp, 0x24
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043e40d
leave
ret

Function at 0x424535
Capabilities:
Get file version info

Disassembly:
push 0x48
mov eax, 0x458217
call fcn.004422d2
mov esi, edi
mov ebx, ecx
call fcn.0042444e
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00407420
xor esi, esi
mov dword [ebp - 4], esi
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
call fcn.00438fc8
cmp dword [eax + 0x18], 8
jb 0x424574
mov eax, dword [eax + 4]
jmp 0x424577
add eax, 4
lea ecx, [ebp - 0x38]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
push esi
push 1
lea esi, [ebp - 0x54]
mov dword [ebp - 0x30], eax
call fcn.00408971
cmp dword [ebp - 0x30], 0
je 0x42463c
push dword [ebp - 0x30]
call fcn.0043d8ee
pop ecx
lea ebx, [ebp - 0x2c]
lea ecx, [ebp - 0x54]
mov dword [edi + 4], eax
call fcn.00438fc8
cmp dword [eax + 0x18], 8
jb 0x4245bb
mov eax, dword [eax + 4]
jmp 0x4245be
add eax, 4
push dword [edi + 4]
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 1
lea esi, [ebp - 0x54]
mov ebx, eax
call fcn.00408971
test ebx, ebx
je 0x42463c
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea eax, [edi + 0x10]
push eax
push 0x4638b0
push dword [edi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42463c
lea eax, [ebp - 0x30]
push eax
lea esi, [edi + 8]
push esi
push 0x46a00c
push dword [edi + 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424633
mov eax, dword [ebp - 0x30]
cmp eax, 4
jb 0x424633
shr eax, 2
mov dword [edi + 0xc], eax
mov eax, dword [esi]
mov cx, word [eax]
mov word [edi], cx
mov ax, word [eax + 2]
mov word [edi + 2], ax
mov dword [ebp - 0x34], 1
jmp 0x42464e
mov eax, dword [edi + 4]
test eax, eax
je 0x42464e
push eax
call fcn.0043e7c9
and dword [edi + 4], 0
pop ecx
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408639
mov eax, dword [ebp - 0x34]
call fcn.00442355
ret
Function at 0x425b8a
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x47f180]
xor eax, esp
mov dword [esp + 0x194], eax
push 0x4897d0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x425bcc
lea eax, [esp]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
push 0x4897d4
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.0043e40d
mov esp, ebp
pop ebp
ret

Function at 0x425d63
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
push 0xffffffffffffffff
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4897bc
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0
push dword [esi + 4]
test eax, eax
je 0x425dab
call dword [sym.imp.KERNEL32.dll_TerminateThread]
leave
ret
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret
Function at 0x425dc3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
xor edi, edi
push edi
push edi
push 1
push edi
call ebx
mov dword [esp + 8], eax
mov dword [esi + 4], eax
cmp eax, edi
jne 0x425e1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040fc90
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.entry_event
call fcn.00425a31
pop ecx
push edi
push edi
push 1
push edi
call ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [esi + 8], eax
cmp dword [ebx + 8], edi
jne 0x425e63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040fc90
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread.exit_event
call fcn.00425a31
pop ecx
lea eax, [esp + 0x14]
push eax
push edi
push esi
push 0x425ef9
push edi
push edi
mov dword [esp + 0x2c], edi
call fcn.00440c9e
add esp, 0x18
mov dword [ebx + 4], eax
cmp eax, edi
jne 0x425ed5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], eax
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [esp + 8], edi
je 0x425ea6
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx + 8]
cmp ebx, edi
je 0x425eb4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
call fcn.0040fc90
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
mov ecx, str.thread
call fcn.00425a31
pop ecx
cmp dword [esp + 8], edi
je 0x425ef1
push 0xffffffffffffffff
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4