joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a2f5
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x41d008
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, eax
xor eax, eax
cmp edx, esi
mov word [ebp - 0x214], si
mov ecx, 0x81
lea edi, [ebp - 0x212]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jne 0x40a384
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.Path
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
leave
ret 4

Function at 0x40a61e
Capabilities:
Check if file exists
Create thread
Query environment variable

Disassembly:
mov eax, 0x41a20b
call fcn.0040e0b0
sub esp, 0x210
call fcn.004013d6
test al, al
je 0x403a9e
push esi
push edi
xor eax, eax
xor esi, esi
mov word [ebp - 0x21c], si
mov ecx, 0x81
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str._temp_xmpAPlayerAPlayerCodecs.exe
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040123d
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x403a69
push str.http:__xmp.down.sandai.net_kankan_APlayerCodecs.exe
lea ecx, [ebp - 0x14]
call fcn.0040123d
push dword [ebp - 0x10]
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
push 0x3e8
call fcn.004058d0
mov ecx, eax
call fcn.00405f6d
push dword [ebp - 0x14]
call edi
jmp 0x403a97
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x403a97
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push esi
push esi
push eax
push 0x40386d
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
call fcn.00404080
mov ecx, eax
jmp 0x4039c1

Function at 0x40ad61
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and word [ebp - 0x208], 0
push edi
mov edx, ecx
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
mov ecx, edx
call fcn.0040a38a
push 0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
leave
ret 4

Function at 0x40adb4
Capabilities:
Get common file path
Set current directory

Disassembly:
call fcn.0040ac40
mov ecx, eax
jmp fcn.0040ac6c
Function at 0x40b252
Capabilities:
Download url
Receive data

Disassembly:
mov eax, 0x41a669
call fcn.0040e0b0
sub esp, 0x490
push ebx
push esi
push edi
push str.http:__pv.xmp.stat.xunlei.com_UPV_cf1gsxmpconvtt
lea ecx, [ebp - 0x10]
call fcn.0040ac10
xor ebx, ebx
mov word [ebp - 0x49c], bx
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x49a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040abf4
mov esi, 0x41d8d4
push esi
lea ecx, [ebp - 0x10]
call fcn.0040abf4
add edi, 0x80
push edi
lea ecx, [ebp - 0x10]
call fcn.0040abf4
push esi
lea ecx, [ebp - 0x10]
call fcn.0040abf4
lea eax, [ebp - 0x4c]
push eax
call fcn.0040b1a0
pop ecx
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 1
jb 0x40b2da
mov eax, dword [eax + 4]
jmp 0x40b2dd
add eax, 4
push eax
lea ecx, [ebp - 0x10]
call fcn.0040abf4
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push esi
lea ecx, [ebp - 0x10]
call fcn.0040abf4
xor eax, eax
mov word [ebp - 0x294], bx
mov ecx, 0x81
lea edi, [ebp - 0x292]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
push esi
lea eax, [ebp - 0x294]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x1c
lea eax, [ebp - 0x294]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
lea eax, [ebp - 0x30]
push eax
call fcn.0040a05a
add esp, 0x20
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
jae 0x40b358
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040abf4
push str.ct
lea ecx, [ebp - 0x10]
call fcn.0040abf4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
push 0xf
pop ecx
xor eax, eax
mov word [ebp - 0x8c], bx
lea edi, [ebp - 0x8a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xa
lea eax, [ebp - 0x8c]
push eax
push edx
call dword [sym.imp.MSVCR71.dll__itow]
add esp, 0xc
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040abf4
push ebx
push ebx
push esi
lea eax, [ebp - 0x49c]
push eax
push dword [ebp - 0x10]
push ebx
call sub.urlmon.dll_URLDownloadToCacheFileW
push dword [ebp + 8]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x40b41e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
je 0x40b465
cmp dword [ebp + 0xc], esi
je 0x40b465
push 0x280
call fcn.0040deb6
cmp eax, esi
pop ecx
je 0x40b450
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.00409bee
jmp 0x40b452
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push 0x40b3ee
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
leave
ret 8

Function at 0x40b9ea
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor eax, eax
cmp dword [esi + 4], ebx
jne 0x40bad3
push edi
mov edx, 0x81
mov word [ebp - 0x208], bx
mov ecx, edx
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x410], bx
mov ecx, edx
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea eax, [ebp - 0x208]
push eax
push ebx
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.......xar_tray
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.maintray.cab
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop edi
je 0x40bad1
push ebx
lea eax, [ebp - 0x410]
push 0x40a555
mov dword [0x429020], eax
push ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupIterateCabinetW]
test eax, eax
mov ecx, esi
je 0x40bac2
push 0x41d954
push str.xmp_maintrayxar_update
call fcn.0040b41e
xor eax, eax
inc eax
jmp 0x40bad3
push 0x41d91c
push str.xmp_maintrayxar_update
call fcn.0040b41e
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x40d069
Capabilities:
Connect socket
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
mov esi, ecx
je 0x40d13f
cmp dword [ebp + 0xc], ebx
jbe 0x40d13f
cmp dword [esi], 0xffffffff
jne 0x40d09d
call fcn.0040ceac
test eax, eax
je 0x40d13f
cmp dword [esi + 8], 2
jne 0x40d0be
push 0x10
lea eax, [esi + 0xc]
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_sendto]
xor ecx, ecx
test eax, eax
jmp 0x40d138
xor edi, edi
inc edi
cmp dword [esi + 0x1c], ebx
jne 0x40d11e
push 0x10
lea eax, [esi + 0xc]
push eax
push dword [esi]
mov dword [ebp - 4], edi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40d13f
mov eax, dword [esi]
mov dword [ebp - 0x10c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
mov dword [ebp - 0x110], edi
mov dword [ebp - 8], ebx
call dword [sym.imp.WS2_32.dll_select]
lea eax, [ebp - 4]
push eax
push 0x8004667e
push dword [esi]
mov dword [ebp - 4], ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov dword [esi + 0x1c], edi
xor eax, eax
cmp dword [esi + 8], edi
jne 0x40d134
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
cmp eax, ebx
setg cl
mov eax, ecx
jmp 0x40d141
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40d435
Capabilities:
Create thread

Disassembly:
mov eax, 0x41a7cb
call fcn.0040e0b0
push ecx
push ecx
push esi
push edi
xor edi, edi
push 0xf03b
mov dword [ebp - 0x10], edi
call fcn.0040deb6
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x40d468
call fcn.0040d334
mov esi, eax
jmp 0x40d46a
xor esi, esi
or dword [ebp - 4], 0xffffffff
push 1
push 0x3ee
mov ecx, esi
mov byte [esi + 2], 0xd
call fcn.0040d148
push edi
push 0x36b1
mov ecx, esi
call fcn.0040d148
push edi
push 0x36b2
mov ecx, esi
call fcn.0040d148
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0x40d396
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40d4bb
Capabilities:
Create thread

Disassembly:
mov eax, 0x41a7f7
call fcn.0040e0b0
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
push 0xf03b
mov dword [ebp - 0x18], ebx
call fcn.0040deb6
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x40d4f0
call fcn.0040d334
mov edi, eax
jmp 0x40d4f2
xor edi, edi
or dword [ebp - 4], 0xffffffff
xor esi, esi
inc esi
push esi
push 0x3ea
mov ecx, edi
mov byte [edi + 2], 0xc
call fcn.0040d148
mov dword [ebp - 0x10], ebx
push ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.0040997d
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00407933
test eax, eax
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
ja 0x40d543
cmp dword [ebp - 0x34], ebx
jg 0x40d543
push str.Startup102
lea ecx, [ebp - 0x10]
call fcn.00404104
jmp 0x40d56a
push str.sstartfrom
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004098af
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00407ccd
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call esi
push str._embedding
lea ecx, [ebp - 0x10]
call fcn.0040abf4
push ebx
push dword [ebp - 0x10]
mov ecx, edi
push 0x32cd
call fcn.0040d17a
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x40d396
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004098d5
push dword [ebp - 0x10]
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40d5ba
Capabilities:
Create thread

Disassembly:
mov eax, 0x41a80b
call fcn.0040e0b0
push ecx
push ecx
push esi
push edi
xor edi, edi
push 0xf03b
mov dword [ebp - 0x10], edi
call fcn.0040deb6
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, edi
mov dword [ebp - 4], edi
je 0x40d5ed
call fcn.0040d334
mov esi, eax
jmp 0x40d5ef
xor esi, esi
or dword [ebp - 4], 0xffffffff
push 1
push 0x7d1
mov ecx, esi
mov byte [esi + 2], 0xe
call fcn.0040d148
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push 0x40d396
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40e4d3
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x41da78
call fcn.0040e140
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x40e513
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e513
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x40e52b
cmp eax, 0x20b
je 0x40e518
mov dword [ebp - 0x1c], ebx
jmp 0x40e53f
cmp dword [ecx + 0x84], 0xe
jbe 0x40e513
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x40e539
cmp dword [ecx + 0x74], 0xe
jbe 0x40e513
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x429444], 0xffffffff
or dword [0x429448], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4293e4]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4293e0]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x429440], eax
call fcn.0040e76c
call fcn.0040e815
cmp dword [0x428124], ebx
jne 0x40e59f
push 0x40e812
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0040e7fa
push 0x42802c
push 0x428028
call sub.MSVCR71.dll__initterm
push 0x40e7b0
call fcn.0040e1ee
mov eax, dword [0x4293dc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4293d8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x40e5f3
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x428024
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x40e671
cmp al, bl
je 0x40e61d
cmp dword [ebp - 0x20], ebx
jne 0x40e671
mov al, byte [esi]
cmp al, bl
je 0x40e62d
cmp al, 0x20
ja 0x40e62d
inc esi
mov dword [ebp - 0x24], esi
jmp 0x40e61d
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x40e649
movzx eax, word [ebp - 0x54]
jmp 0x40e64c
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00409b12
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x40e669
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x40e6c6
cmp al, 0x22
jne 0x40e680
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x40e693
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x40e60b
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040e17b
ret
Function at 0x40f86b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41aac6
call fcn.0040e0b0
sub esp, 0x268
mov eax, dword [0x428120]
and dword [ebp - 0x258], 0
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edi, ecx
cmp dword [edi + 0x58], 0
mov dword [ebp - 0x254], eax
jne 0x40f9bc
push esi
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
push str.ThunderLiveUD_
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.00412840
lea eax, [ebp - 0x218]
mov dword [esp], str.CopyFile_
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call fcn.00412840
lea eax, [ebp - 0x274]
push eax
call fcn.00415c8e
and dword [ebp - 4], 0
push 0x41db50
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0040eb38
add esp, 0x14
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp - 0x238], 8
mov eax, dword [ebp - 0x24c]
jae 0x40f93b
lea eax, [ebp - 0x24c]
push 0x2e
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004156da
add esp, 0xc
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
mov byte [ebp - 4], 3
jae 0x40f966
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call esi
push 0x41cf30
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea ecx, [edi + 0x44]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
lea eax, [ebp - 0x218]
push eax
call fcn.00412840
pop ecx
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop esi
mov ecx, dword [ebp - 0x254]
add edi, 0x44
push edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x254]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop edi
call fcn.0040e703
leave
ret 4
Function at 0x40f9eb
Capabilities:
Copy file

Disassembly:
mov eax, 0x41aaeb
call fcn.0040e0b0
sub esp, 0x74
mov eax, dword [0x428120]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push edi
lea eax, [ebp - 0x80]
push eax
mov edi, ecx
call fcn.00415c8e
and dword [ebp - 4], 0
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040eb38
add esp, 0x10
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0040f86b
push esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 3
call fcn.0040eb38
mov ecx, dword [ebp - 0x44]
add esp, 0xc
cmp dword [ebp - 0x30], 8
pop edi
pop esi
jae 0x40fa5f
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x40fa6b
lea eax, [ebp - 0x28]
push ebx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [ebp - 0x48]
setne bl
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0040e703
leave
ret 4

Function at 0x410925
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x64], edi
jne 0x41094b
lea eax, [esi + 0x68]
push eax
push edi
push esi
push 0x41075f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
mov dword [esi + 0x64], eax
je 0x410972
xor ebx, ebx
push edi
push dword [esp + 0x14]
push 0x402
push dword [esi + 0x68]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
cmp eax, edi
jne 0x41097d
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 0x32
jl 0x41094d
push dword [esp + 0x10]
mov ecx, esi
call fcn.004101f7
pop edi
pop esi
pop ebx
ret 4
Function at 0x41124a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
cmp byte [ebp + 0x14], bl
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
je 0x411284
call fcn.00410f47
test al, al
mov dword [ebp - 0x30], 0x41ddac
jne 0x41128b
mov dword [ebp - 0x30], str.open
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x411299
mov eax, dword [eax + 4]
jmp 0x41129c
add eax, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 8
jb 0x4112ad
mov eax, dword [eax + 4]
jmp 0x4112b0
add eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 8
jb 0x4112c1
mov eax, dword [eax + 4]
jmp 0x4112c4
add eax, 4
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x20], 5
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x38], 0x400
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
pop ebx
je 0x4112eb
xor eax, eax
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret

Function at 0x411534
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
je 0x411574
mov esi, dword [esp + 0x10]
cmp dword [esi + 4], 0
je 0x411574
mov ebx, dword [sym.imp.ADVAPI32.dll_IsValidSid]
push eax
call ebx
test eax, eax
je 0x411574
push dword [esi + 4]
call ebx
test eax, eax
je 0x411574
push dword [esi + 4]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
jmp 0x411576
xor al, al
pop edi
pop esi
pop ebx
ret 4