joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c0470
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jg 0x100c0493
push 0x2726
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push esi
test edi, edi
jle 0x100c053b
mov esi, dword [ebp + 0xc]
add esi, 4
mov edx, esi
mov eax, closesocket
sub eax, ebx
cmp dword [edx], eax
ja 0x100c0526
add ebx, dword [edx]
inc ecx
add edx, 8
mov dword [ebp + 0x10], ebx
cmp ecx, edi
jl 0x100c04a6
test ebx, ebx
je 0x100c053b
push ebx
call dword [0x10163180]
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x100c04e5
push 0xc
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, eax
push dword [esi]
push dword [esi - 4]
push ebx
call fcn.100c29f0
add ebx, dword [esi]
lea esi, [esi + 8]
add esp, 0xc
sub edi, 1
jne 0x100c04e7
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp - 4]
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
push edi
mov esi, eax
call dword [0x10163188]
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x2726
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c0a70
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
movzx ecx, word [ebx]
mov eax, ecx
sub eax, 2
je 0x100c0a94
sub eax, 0x15
je 0x100c0a8b
xor eax, eax
pop ebx
pop ebp
ret
mov dword [ebp + 0xc], 0x1c
jmp 0x100c0a9b
mov dword [ebp + 0xc], 0x10
push esi
push edi
mov edi, dword [ebp + 8]
push 0x11
push 2
push ecx
push edi
call fcn.100bc180
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
jne 0x100c0ad0
call fcn.100c9f8f
pop edi
pop esi
pop ebx
mov eax, dword [eax]
sub eax, 0x273f
neg eax
sbb eax, eax
pop ebp
ret
push dword [ebp + 0xc]
push ebx
push esi
push edi
call fcn.100bc0e0
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100c0b01
call fcn.100c9f8f
cmp dword [eax], 0x2714
je 0x100c0ad0
push esi
push edi
call fcn.100bc0b0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x10]
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
push esi
push edi
test eax, eax
je 0x100c0b25
call fcn.100bc0b0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.100bc0b0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100d39b9
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d3838

Function at 0x100d5ac4
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d59c9

Function at 0x100d8ab6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d8776

Function at 0x100dfa40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100dfa6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100dfa6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100e2000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011772d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], 0x100e1fe0
mov dword [esi], 0x100e20d0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x25], 0
mov dword [esi + 0x29], 0
mov dword [esi + 0x21], eax
mov eax, dword [ecx]
mov dword [esi + 0x25], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x29], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
cmp dword [ebp + 8], 0
mov ecx, 2
mov eax, 0x10002
xorps xmm0, xmm0
cmovne eax, ecx
mov dword [esi + 0x30], eax
add esi, 8
movups xmmword [esi], xmm0
lea eax, [esi + 0xc]
movq qword [esi + 0x10], xmm0
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100b7ce3
add esp, 4
mov dword [esi + 0x14], 0
lea eax, [esi - 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100fc710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011772d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], 0x100fc6f0
mov dword [esi], 0x100fc7e0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x25], 0
mov dword [esi + 0x29], 0
mov dword [esi + 0x21], eax
mov eax, dword [ecx]
mov dword [esi + 0x25], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x29], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
cmp dword [ebp + 8], 0
mov ecx, 2
mov eax, 0x10002
xorps xmm0, xmm0
cmovne eax, ecx
mov dword [esi + 0x30], eax
add esi, 8
movups xmmword [esi], xmm0
lea eax, [esi + 0xc]
movq qword [esi + 0x10], xmm0
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100b7ce3
add esp, 4
mov dword [esi + 0x14], 0
lea eax, [esi - 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10100f40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011af6d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], 0x10100f20
mov dword [esi], 0x10100ff0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x25], ecx
mov ecx, dword [eax]
mov dword [eax], 0
mov dword [esi + 0x29], ecx
cmp dword [ebp + 8], 0
mov ecx, 2
mov eax, 0x10002
cmovne eax, ecx
mov dword [esi + 0x30], eax
add esi, 8
lea eax, [esi + 0xc]
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100b7ce3
add esp, 4
mov dword [esi + 0x14], 0
mov byte [esi + 0x1a], 0
lea eax, [esi - 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10105070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011772d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [esi + 4], 0x10105050
mov dword [esi], 0x10105140
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x25], 0
mov dword [esi + 0x29], 0
mov dword [esi + 0x21], eax
mov eax, dword [ecx]
mov dword [esi + 0x25], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x29], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
cmp dword [ebp + 8], 0
mov ecx, 2
mov eax, 0x10002
xorps xmm0, xmm0
cmovne eax, ecx
mov dword [esi + 0x30], eax
add esi, 8
movups xmmword [esi], xmm0
lea eax, [esi + 0xc]
movq qword [esi + 0x10], xmm0
push eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100b7ce3
add esp, 4
mov dword [esi + 0x14], 0
lea eax, [esi - 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0xfffffc19
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0xc], 0
jle 0x401641
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4015b4
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x401641
push 0
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push 2
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4015ed
mov dword [ebp - 0x14], 0xfffffffc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x401641
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x401619
mov dword [ebp - 0x14], 0xfffffffd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
je 0x401633
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
jmp 0x40163a
mov dword [ebp - 0x14], 0
jmp 0x401641
cmp dword [ebp - 0x18], 0xffffffff
je 0x401651
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x402850
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4462a0]
jne 0x40285a
repz ret
jmp fcn.00404ffc
Function at 0x40af05
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.00406073
and dword [ebp - 4], 0
cmp dword [0x4483f0], 0
mov ebx, eax
jne 0x40afb6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b067
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x434d40
push edi
call esi
test eax, eax
je 0x40b067
push eax
call fcn.00406001
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4483f0], eax
call esi
push eax
call fcn.00406001
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4483f4], eax
call esi
push eax
call fcn.00406001
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4483f8], eax
call esi
push eax
call fcn.00406001
pop ecx
mov dword [0x448400], eax
test eax, eax
je 0x40afb6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406001
pop ecx
mov dword [0x4483fc], eax
mov eax, dword [0x4483fc]
cmp eax, ebx
je 0x40b00e
cmp dword [0x448400], ebx
je 0x40b00e
push eax
call fcn.0040607c
push dword [0x448400]
mov esi, eax
call fcn.0040607c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b00e
test edi, edi
je 0x40b00e
call esi
test eax, eax
je 0x40b005
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b005
test byte [ebp - 0xc], 1
jne 0x40b00e
or dword [ebp + 0x10], 0x200000
jmp 0x40b047
mov eax, dword [0x4483f4]
cmp eax, ebx
je 0x40b047
push eax
call fcn.0040607c
pop ecx
test eax, eax
je 0x40b047
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b047
mov eax, dword [0x4483f8]
cmp eax, ebx
je 0x40b047
push eax
call fcn.0040607c
pop ecx
test eax, eax
je 0x40b047
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4483f0]
call fcn.0040607c
pop ecx
test eax, eax
je 0x40b067
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b069
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ccf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0x55b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x57a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x57b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x57c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x57d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0
jmp 0x40cd7e
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x446f78], 0
je 0x40cdc9
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x446f78]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x446fc8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40cd75
mov esp, ebp
pop ebp
ret

Function at 0x40cdd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 5
push 0x55b
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x57a
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x57b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x57c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push 0x57d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0
jmp 0x40ce5e
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax*4 + 0x446f78], 0
je 0x40cea9
push 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x446f78]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x446fc8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40ce55
mov esp, ebp
pop ebp
ret
Function at 0x40def0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40df36
mov dword [ebp - 8], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x40df72
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40df64
mov dword [ebp - 8], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40df72
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40e090
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x4462a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1b0], 0x94
lea eax, [ebp - 0x1b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x1a0], 2
jne 0x40e0e1
cmp dword [ebp - 0x1ac], 5
jb 0x40e0e1
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x114], eax
jmp 0x40e153
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str.winhlp32.exe
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40e140
push 0x6a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40e153
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret
Function at 0x418d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4462a0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x238], ax
push 0x22e
push 0
lea ecx, [ebp - 0x236]
push ecx
call fcn.00402860
add esp, 0xc
mov dword [ebp - 0x240], 0xffffffff
cmp dword [ebp + 0xc], 0
jle 0x418db1
lea edx, [ebp - 0x238]
push edx
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x238]
push ecx
call fcn.00401400
add esp, 0x10
test eax, eax
jne 0x418dad
mov dword [ebp - 0x240], 0
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x418db1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4462a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x446f74], 0xffffffff
je 0x42c87a
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x40c]
push ecx
movzx edx, word [ebp - 0x40e]
push edx
movzx eax, word [ebp - 0x410]
push eax
movzx ecx, word [ebp - 0x412]
push ecx
movzx edx, word [ebp - 0x416]
push edx
movzx eax, word [ebp - 0x418]
push eax
push str.__04d__02d__02d__02d:_02d:_02d__
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
lea edx, [ebp + 0xc]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x3f2]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jle 0x42c869
mov dword [ebp - 0x424], 0
push 0x442ee8
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x408]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x408]
push eax
mov ecx, dword [0x446f74]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x420], 0
jmp 0x42c87a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret

Function at 0x42c890
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc24
mov eax, dword [0x4462a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x446f74], 0xffffffff
je 0x42c9c3
lea eax, [ebp - 0xc18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x400
push 0
lea ecx, [ebp - 0xc08]
push ecx
call fcn.00402860
add esp, 0xc
movzx edx, word [ebp - 0xc0c]
push edx
movzx eax, word [ebp - 0xc0e]
push eax
movzx ecx, word [ebp - 0xc10]
push ecx
movzx edx, word [ebp - 0xc12]
push edx
movzx eax, word [ebp - 0xc16]
push eax
movzx ecx, word [ebp - 0xc18]
push ecx
push 0x442e80
lea edx, [ebp - 0x808]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc20], eax
mov ecx, dword [ebp - 0xc20]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x7dc]
push eax
call dword [sym.imp.USER32.dll_wvsprintfW]
mov dword [ebp - 0xc1c], eax
cmp dword [ebp - 0xc1c], 0
jle 0x42c9b2
mov dword [ebp - 0xc24], 0
push 0
push 0
push 0x3ff
lea ecx, [ebp - 0xc08]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0x808]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x442e7c
lea eax, [ebp - 0xc08]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
lea ecx, [ebp - 0xc24]
push ecx
lea edx, [ebp - 0xc08]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xc08]
push eax
mov ecx, dword [0x446f74]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0xc20], 0
jmp 0x42c9c3
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402850
mov esp, ebp
pop ebp
ret
Function at 0x42ce80
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 1
jne 0x42cea6
mov dword [ebp - 4], str.RootCIMV2
jmp 0x42cead
mov dword [ebp - 4], str.RootWMI
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x210], 0
jne 0x42cf00
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x20c], 0
je 0x42cf00
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20c], 1
je 0x42cf00
mov ecx, dword [ebp - 0x18]
mov dword [ecx], str._CoInitializeEx_Call_Error
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
jmp 0x42d075
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x210], 0
jne 0x42cf77
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x20c], 0
je 0x42cf6a
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20c], 0x80010119
je 0x42cf6a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], str._CoInitializeSecurity_Call_Error
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 2
jmp 0x42d075
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x210], 1
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x214], 0
jne 0x42cfdb
mov dword [ebp - 0x10], 7
mov ecx, dword [ebp - 0x18]
add ecx, 0x214
push ecx
push 0x434df0
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0x434ec0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x20c], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x20c], 0
je 0x42cfdb
mov eax, dword [ebp - 0x18]
mov dword [eax], str._CoCreateInstance_Call_Error
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 3
jmp 0x42d075
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x218], 0
jne 0x42d06e
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, 0x218
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x214]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x214]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0xc]
call ecx
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x20c], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x20c], 0
je 0x42d064
mov ecx, dword [ebp - 0x18]
mov dword [ecx], str._ConnectServer_Call_Error
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x218], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x42d075
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4