joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff79
Capabilities:
Create tcp socket

Disassembly:
push 4
mov eax, 0x44f666
call fcn.0044d3ea
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [esi]
call dword [eax + 0x6c]
push 0x10
lea ebx, [esi + 0xe4]
xor ecx, ecx
pop edx
mov dword [ebx + 0x10], ecx
cmp dword [ebx + 0x14], edx
jb 0x40ffa6
mov eax, dword [ebx]
jmp 0x40ffa8
mov eax, ebx
mov byte [eax], cl
lea eax, [esi + 0x110]
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x40ffba
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [esi + 0xac]
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x40ffcc
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [esi + 0xc8]
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], edx
jb 0x40ffde
mov eax, dword [eax]
lea edi, [esi + 0x100]
mov byte [eax], cl
call fcn.004130a7
lea edi, [esi + 0x12c]
call fcn.004130a7
xor eax, eax
cmp dword [ebp + 8], eax
je 0x41018c
mov edi, dword [ebp + 0x10]
cmp edi, eax
je 0x41018c
cmp dword [ebp + 0x14], eax
je 0x41018c
cmp dword [ebp + 0x18], eax
je 0x41018c
push dword [ebp + 8]
call fcn.0043b330
pop ecx
test eax, eax
je 0x41018c
push edi
call fcn.0043b330
pop ecx
test eax, eax
je 0x41018c
push dword [ebp + 0x14]
call fcn.0043b330
pop ecx
test eax, eax
je 0x41018c
push dword [ebp + 0x18]
call fcn.0043b330
pop ecx
test eax, eax
je 0x41018c
mov ax, word [ebp + 0xc]
push dword [ebp + 8]
mov word [esi + 8], ax
call fcn.0043b330
pop ecx
mov ecx, dword [ebp + 8]
add esi, 0x90
call fcn.0040103b
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x18], 0
push edi
je 0x410126
call fcn.0043b330
pop ecx
mov ecx, edi
mov esi, ebx
call fcn.0040103b
mov esi, str._http:__
push esi
call fcn.0043b330
pop ecx
mov edi, eax
push esi
mov eax, ebx
call fcn.00408367
push dword [ebp + 8]
push ebx
call fcn.00412edb
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
movzx eax, word [ebp + 0xc]
and dword [ebp - 4], 0
push eax
lea eax, [ebp + 8]
push str.:_ld
push eax
call fcn.00413962
add esp, 0xc
push dword [ebp + 8]
push ebx
call fcn.00412edb
push dword [ebp + 0x14]
push ebx
call fcn.00412edb
mov esi, 0x45956c
push esi
call fcn.0043b330
pop ecx
mov edi, eax
push esi
mov eax, ebx
call fcn.00408367
push dword [ebp + 0x18]
push ebx
call fcn.00412edb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00402c12
jmp 0x41016e
call fcn.0043b330
pop ecx
mov ecx, edi
mov esi, ebx
call fcn.0040103b
mov esi, 0x45956c
push esi
call fcn.0043b330
pop ecx
mov edi, eax
push esi
mov eax, ebx
call fcn.00408367
push dword [ebp + 0x14]
push ebx
call fcn.00412edb
push esi
call fcn.0043b330
pop ecx
mov edi, eax
push esi
mov eax, ebx
call fcn.00408367
push dword [ebp + 0x18]
push ebx
call fcn.00412edb
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xc], eax
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x41018e
xor eax, eax
call fcn.0044d4c2
ret 0x14
Function at 0x410491
Capabilities:
Connect socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0xc], 0xffffffff
jne 0x4104ae
xor eax, eax
jmp 0x41057c
cmp dword [esi + 0x18], 0
push edi
lea edi, [esi + 0x20]
jne 0x4104be
lea edi, [esi + 0x90]
cmp dword [edi + 0x14], 0x10
jb 0x4104c6
mov edi, dword [edi]
push ebx
push edi
call fcn.0043b330
mov ebx, eax
pop ecx
test ebx, ebx
je 0x410574
movsx eax, byte [edi]
push eax
call fcn.0043c1eb
pop ecx
test eax, eax
jne 0x4104f6
movsx eax, byte [ebx + edi - 1]
push eax
call fcn.0043c1eb
pop ecx
test eax, eax
je 0x410510
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x410574
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
push 2
pop eax
push edi
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x10], eax
je 0x41052d
movzx eax, word [esi + 0x1c]
jmp 0x410531
movzx eax, word [esi + 8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x41056d
lea eax, [ebp - 0x18]
push eax
push 0x8004667e
push dword [esi + 0xc]
xor edi, edi
inc edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x410578
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x6c]
xor eax, eax
jmp 0x41057a
mov eax, edi
pop ebx
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438e18
leave
ret
Function at 0x4121e9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e631
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x464140]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x464140]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], edi
cmp esi, ebx
jne 0x41225a
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00438e18
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx]
call dword [eax + 0x58]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp edx, ebx
jg 0x412271
jl 0x412238
cmp eax, ebx
jbe 0x412238
push edi
push edx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call esi
add esp, 0x24
test eax, eax
je 0x412238
mov dword [esp + 0x30], ebx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x60], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
call esi
mov dword [esp + 0x2c], eax
jmp 0x412329
call esi
mov ecx, eax
sub ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
add edi, eax
cmp ecx, ebx
jbe 0x4122cb
imul eax, eax, 0x3e8
xor edx, edx
div ecx
mov dword [esp + 0x30], eax
cmp dword [esp + 0x48], 0x10
mov ecx, dword [esp + 0x34]
jae 0x4122da
lea ecx, [esp + 0x34]
push dword [esp + 0x20]
xor eax, eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push eax
push edi
push dword [esp + 0x58]
mov eax, edi
push ecx
imul eax, eax, 0x64
push dword [esp + 0x4c]
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
push eax
call fcn.00446a60
push eax
call dword [esp + 0x48]
add esp, 0x24
test eax, eax
je 0x412350
call esi
mov dword [esp + 0x2c], eax
xor eax, eax
cmp eax, dword [esp + 0x18]
jg 0x41233f
jl 0x412329
cmp edi, dword [esp + 0x14]
jae 0x41233f
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
call dword [eax + 0x50]
test eax, eax
jne 0x4122ab
cmp ebx, dword [esp + 0x18]
jl 0x412364
jg 0x41234d
cmp edi, dword [esp + 0x14]
jb 0x412364
xor ebx, ebx
inc ebx
push 1
xor edi, edi
lea esi, [esp + 0x38]
call fcn.0040138b
mov eax, ebx
jmp 0x41223a
push dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push ebx
push edi
push ebx
push ebx
push ebx
push 0xffffffffffffffff
call dword [esp + 0x48]
add esp, 0x24
jmp 0x412350
Function at 0x4142ee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.004244f0
movzx eax, word [ebp + 8]
sub eax, 0x11d1
je 0x414319
dec eax
dec eax
jne 0x414367
push 1
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x414367
xor edi, edi
cmp dword [esi + 0x450], edi
je 0x414367
cmp dword [esi + 0x44c], 5
jne 0x414344
push 1
push edi
push edi
push str.http:__serv2.itools.hk_redirect_pavm_setup
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
jmp 0x414311
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 4]
call ebx
mov esi, dword [esi + 0x450]
push 5
push dword [esi + 4]
call ebx
push edi
mov edi, esi
call fcn.00407be5
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x414fee
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450e55
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x464140]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
and dword [esp + 0x28], 0
cmp dword [ebp + 0x18], 0
mov eax, 0x459d38
jne 0x415041
mov eax, 0x459d3c
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.00415a69
push eax
lea eax, [esp + 0x1c]
push 0x459d40
push eax
call fcn.004058ae
fldz
and dword [esp + 0x30], 0
fstp qword [esp + 0x28]
lea eax, [esp + 0x28]
mov byte [esp + 0x44], 1
mov esi, dword [esp + 0x24]
push eax
push esi
call fcn.0041515c
add esp, 0x24
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0041a0c0
lea eax, [esi - 0x10]
call fcn.00402c12
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x415340
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x40
xor ebx, ebx
push ebx
push esi
call fcn.00438e30
mov edi, 0x114
push edi
lea eax, [ebp - 0x118]
push ebx
push eax
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
call fcn.00438e30
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x108]
push 2
pop ecx
sub eax, ecx
je 0x4153aa
xor eax, eax
inc eax
jmp 0x4153c2
cmp dword [ebp - 0x114], 6
jae 0x4153bf
cmp dword [ebp - 0x110], ecx
jae 0x4153bf
mov eax, ecx
jmp 0x4153c2
push 3
pop eax
mov dword [esi + 0x40], eax
sub eax, ecx
je 0x4153e8
dec eax
jne 0x415432
push str.GetSystemFirmwareTable
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x58], eax
jmp 0x415432
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.NtOpenSection
push ebx
call edi
push str.NtMapViewOfSection
push ebx
mov dword [esi + 0x44], eax
call edi
push str.NtUnmapViewOfSection
push ebx
mov dword [esi + 0x48], eax
call edi
push str.RtlInitUnicodeString
push ebx
mov dword [esi + 0x4c], eax
call edi
push str.RtlNtStatusToDosError
push ebx
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.00438e18
leave
ret
Function at 0x415726
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push edi
push str.devicephysicalmemory
lea eax, [ebp - 0x20]
push eax
call dword [esi + 0x50]
push 0x18
pop ebx
push ebx
xor edi, edi
lea eax, [ebp - 0x38]
push edi
push eax
call fcn.00438e30
lea eax, [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
push 4
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], 0x40
mov dword [ebp - 4], edi
call dword [esi + 0x44]
test eax, eax
jns 0x415779
xor eax, eax
pop edi
pop ebx
leave
ret 8
push 0x24
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00438e30
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp + 8]
mov eax, ecx
xor edx, edx
div dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
push 2
push edi
push 1
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edi
mov ebx, edx
add eax, ebx
push eax
push edi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [esi + 0x48]
test eax, eax
jns 0x4157db
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x415773
mov edi, dword [ebp - 0xc]
push edi
call fcn.0043996d
mov ecx, dword [ebp - 8]
sub edi, ebx
push edi
add ecx, ebx
push ecx
push eax
mov dword [ebp + 8], eax
call fcn.00438eb0
add esp, 0x10
push dword [ebp - 8]
push 0xffffffffffffffff
call dword [esi + 0x4c]
mov edi, dword [ebp + 8]
jmp 0x4157ce
Function at 0x41719d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test ebx, ebx
je 0x417310
push esi
push edi
lea esi, [ebp - 0x14]
mov dword [edi + 0xc], ebx
call fcn.0041712f
cmp byte [ebx + 0x161], 0
mov dword [ebp - 4], 0x50000080
je 0x4171cf
mov dword [ebp - 4], 0x500000a0
cmp dword [ebx + 0x138], 0
je 0x4171df
or dword [ebp - 4], 0x200004
push dword [ebx + 0x154]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
sub esi, dword [ebp - 0x10]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebx]
push dword [ebp - 0x14]
mov ecx, ebx
push 0
push 0x45a0b8
call dword [eax + pe_nt_image_headers32]
push 0x45833c
push dword [ebp - 4]
mov ecx, eax
mov edx, esi
mov eax, edi
call fcn.00426bd0
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax + 0x16c]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0xc]
push 0
push dword [eax + 0x15c]
push 0xc5
push dword [edi + 4]
call esi
mov eax, dword [edi + 0xc]
cmp byte [eax + 0x161], 0
je 0x417269
movzx eax, word [eax + 0x162]
push 0
push eax
push 0xcc
push dword [edi + 4]
call esi
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
lea edx, [ebp - 4]
push edx
call dword [eax + 0x15c]
push dword [eax]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00402c12
push 0
push 0
push 0xb9
push dword [edi + 4]
call esi
mov eax, edi
call fcn.004277e0
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp byte [eax + 0x14], 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [edi + 0xc]
xor ecx, ecx
cmp byte [eax + 0x160], 1
push 0
sete cl
push ecx
push 0xcf
push dword [edi + 4]
call esi
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [ebx + 0x164]
or ecx, eax
push ecx
push 0xfffffffffffffff0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov dword [edi + 0x14], 1
pop esi
leave
ret

Function at 0x417370
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 0xc], 0
push ebx
push edi
jne 0x41738a
xor eax, eax
jmp 0x4173ca
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00443350
mov ebx, esp
test ebx, ebx
je 0x417386
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0xc]
push ebx
call fcn.00417480
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00438e18
leave
ret 4
Function at 0x417ca6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x464140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x110]
sub ecx, dword [esi + 0x10c]
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
sar ecx, 2
imul ecx, ecx, 0x19
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
add ecx, 0x1bf
mov dword [ebp - 0x14], 0xcd
mov dword [ebp - 0x10], 0x192
mov dword [ebp - 0xc], 0x195
mov dword [ebp - 8], ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_ClientToScreen]
push eax
call ebx
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
call edi
push eax
call ebx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00427670
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 1
push 0
mov ecx, esi
call dword [eax + 0xf8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438e18
leave
ret

Function at 0x417d50
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8

Function at 0x417d60
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x44f55c
call fcn.0044d3ea
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, dword [edi + 0x108]
jne 0x417da2
push 0
push dword [edi + 4]
call ebx
push 0
push 0x3ed
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x110]
sub eax, dword [edi + 0x10c]
and dword [ebp - 0x10], 0
sar eax, 2
test eax, eax
je 0x417e36
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 0xf8]
mov ecx, dword [ebp + 8]
shl esi, 2
cmp ecx, dword [esi + eax]
jne 0x417e1f
push 0
push dword [edi + 4]
call ebx
mov eax, dword [edi + 0xf8]
add eax, esi
mov eax, dword [eax]
lea esi, [ebp - 0x14]
call fcn.004178d0
and dword [ebp - 4], 0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
jl 0x417e51
movzx eax, word [eax]
push eax
push 0x3f4
push 0x111
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [edi + 0x110]
sub eax, dword [edi + 0x10c]
inc dword [ebp - 0x10]
sar eax, 2
cmp dword [ebp - 0x10], eax
jb 0x417db9
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00423cc0
call fcn.0044d4c2
ret 0x10
push 0x80070057
call fcn.00402bfa
int3
Function at 0x417e5c
Capabilities:
Get disk information

Disassembly:
push 0x198
mov eax, 0x450918
call fcn.0044d453
mov esi, ecx
mov ebx, esi
call fcn.00417f1b
xor eax, eax
push 0x18e
mov word [ebp - 0x1a0], ax
xor ebx, ebx
lea eax, [ebp - 0x19e]
push ebx
push eax
call fcn.00438e30
add esp, 0xc
lea eax, [ebp - 0x1a0]
push eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edi, [ebp - 0x1a0]
cmp word [ebp - 0x1a0], bx
je 0x417f15
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x417f05
lea eax, [ebp - 0x1a4]
push eax
mov ecx, edi
call fcn.004061b9
push 0x45833c
push 0x45a358
lea eax, [ebp - 0x1a4]
push eax
mov dword [ebp - 4], ebx
call fcn.0040db21
lea ecx, [ebp - 0x1a4]
call fcn.0040de92
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1a4]
add eax, 0xfffffff0
call fcn.00402c12
push edi
call fcn.004398c1
lea edi, [edi + eax*2 + 2]
pop ecx
cmp word [edi], bx
jne 0x417eb5
call fcn.0044d4d6
ret

Function at 0x4180e0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e5eb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x464140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 2
mov eax, dword [esi + 4]
xor ebx, ebx
test eax, eax
je 0x418132
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], ebx
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x50]
cmp ecx, ebx
je 0x41814f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp ecx, edi
setne dl
movzx edx, dl
push edx
call eax
mov dword [edi + 0x10], ebx
lea edi, [esi + 0x38]
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x418170
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
cmp ecx, edi
setne al
movzx eax, al
push eax
call edx
mov dword [edi + 0x10], ebx
lea edi, [esi + 0x20]
mov byte [ebp - 4], bl
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x418190
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
cmp ecx, edi
setne dl
movzx edx, dl
push edx
call eax
mov dword [edi + 0x10], ebx
lea edi, [esi + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 3
mov eax, dword [edi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea esi, [ebp - 0x10]
mov eax, edi
call fcn.00425580
mov ecx, dword [edi + 4]
push ecx
call fcn.00438e0d
add esp, 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 0x418240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax + 4]
push esi
lea esi, [eax + 4]
test ecx, ecx
jne 0x41827f
push eax
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
push 0
push 0x4181d0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.0043cccb
add esp, 0xc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [esi]
xor eax, eax
test edx, edx
setne al
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x418290
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e318
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x464140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [edi + 4]
mov dword [ebp - 4], 0
mov eax, dword [ebx]
test eax, eax
jne 0x418370
lea esi, [edi + 0x20]
lea ecx, [ebp + 8]
cmp esi, ecx
je 0x418311
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4182f0
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
cmp ecx, esi
setne al
movzx eax, al
push eax
call edx
mov dword [esi + 0x10], 0
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x4182fc
mov dword [esi + 0x10], ecx
jmp 0x418311
mov edx, dword [ecx]
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [edx]
jne 0x41830a
push esi
jmp 0x41830c
push 0
call eax
mov dword [esi + 0x10], eax
push edi
push 0
mov dword [edi], 0
push 0x4181d0
call fcn.0043cccb
add esp, 0xc
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [ebx]
xor edx, edx
test ecx, ecx
setne dl
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov esi, edx
test ecx, ecx
je 0x41835b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x418391
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [ebp + 8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x4183b0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x4183d4
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
ret

Function at 0x4183e0
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x418417
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 4]
test edx, edx
je 0x418417
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
ret