joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4367b8
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x388]
sub esp, 0x408
mov eax, dword [0x4f0dd0]
xor eax, ebp
mov dword [ebp + 0x384], eax
mov eax, dword [ebp + 0x394]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
xor ecx, ecx
sub eax, ecx
push edi
mov edi, dword [ebp + 0x390]
je 0x436811
dec eax
jne 0x436835
lea eax, [ebp - 0x80]
push eax
push 0x1a
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push str.MicrosoftInternet_ExplorerQuick_Launch_
jmp 0x43682f
lea eax, [ebp - 0x80]
push eax
push ecx
push ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x4b883c
lea eax, [ebp - 0x7c]
push eax
call esi
push edi
lea eax, [ebp - 0x7c]
push eax
call esi
push 0x4c081c
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0x384]
test eax, eax
setne al
pop edi
xor ecx, ebp
pop esi
call fcn.0049f127
add ebp, 0x388
leave
ret 8

Function at 0x43686f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4f0dd0]
push edi
xor eax, ebp
push 0x44
mov dword [ebp + 0x94], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
pop edi
je 0x4368c1
cmp dword [ebp - 0x7c], 5
jae 0x4368bd
cmp dword [ebp - 0x7c], 4
jne 0x4368c1
cmp dword [ebp - 0x78], 0x5a
jb 0x4368c1
xor eax, eax
jmp 0x4368c4
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0049f127
add ebp, 0x98
leave
ret
Function at 0x4376db
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push dword [esp + 0xc]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push dword [esp + 0x10]
call fcn.0043c417
add esp, 0xc
lea eax, [esi + 0x1c]
push eax
push dword [esp + 0x10]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push dword [esp + 0x14]
call fcn.0043c417
add esp, 0xc
xor eax, eax
push eax
push eax
push esi
push 0x437527
push eax
push eax
mov byte [esi + 0x38], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
pop esi
ret 8
Function at 0x438ee6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4ae2e0
call fcn.0049f0d0
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], 0x4c097c
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_void_]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 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__::constructor_void_]
lea ecx, [esi + 0x4c]
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__::constructor_void_]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push dword [ebp + 8]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
mov dword [esi + 8], ebx
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__]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x78], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x7c], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x439d3f
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4ae3e5
call fcn.0049f0d0
mov eax, 0x4010
call fcn.0049f1f0
mov eax, dword [0x4f0dd0]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x4b8894
push eax
mov dword [ebp - 0x4018], edi
mov dword [ebp - 0x401c], eax
mov byte [ebp - 0x4011], 1
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
pop ecx
jne 0x439d95
xor al, al
jmp 0x439e45
push ebx
add edi, 4
push ebx
mov ecx, edi
call fcn.00439ce9
test byte [esi + 0xc], 0x10
jne 0x439deb
cmp byte [ebp - 0x4011], bl
je 0x439e37
push esi
push 0x4000
lea eax, [ebp - 0x4010]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fread]
add esp, 0x10
push ebx
push eax
lea eax, [ebp - 0x4010]
push eax
mov ecx, edi
call fcn.00436a5e
test byte [esi + 0xc], 0x10
mov byte [ebp - 0x4011], al
je 0x439da7
cmp al, bl
je 0x439e37
mov edi, dword [ebp - 0x4018]
cmp dword [edi + 0x18], ebx
je 0x439e37
push 0x48
call fcn.0049ecb8
pop ecx
mov dword [ebp - 0x4018], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x439e14
mov ecx, eax
call fcn.004066d0
mov ebx, eax
push dword [ebp - 0x401c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x10]
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__]
mov ecx, dword [edi + 0x18]
push ebx
call fcn.00438921
mov ecx, ebx
call fcn.004063b8
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
mov al, byte [ebp - 0x4011]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 4
Function at 0x43c8cf
Capabilities:
Get file size

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x4f0dd0]
push esi
mov esi, dword [ebp + 0x208]
push edi
xor eax, ebp
xor edi, edi
cmp esi, edi
mov dword [ebp + 0x1fc], eax
je 0x43c9aa
cmp word [esi], di
je 0x43c9aa
lea eax, [ebp - 0x80]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43c933
test dword [ebp - 0x80], 0x10
jne 0x43c9b5
push 1
push edi
push edi
push dword [ebp - 0x64]
call fcn.0049f6c0
mov ecx, dword [ebp - 0x60]
jmp 0x43c962
lea eax, [ebp - 0x54]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x43c96a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test dword [ebp - 0x54], 0x10
jne 0x43c9b5
push 1
push edi
push edi
push dword [ebp - 0x38]
call fcn.0049f6c0
mov ecx, dword [ebp - 0x34]
xor esi, esi
add eax, ecx
adc edx, esi
jmp 0x43c9ba
push edi
push 0x80
push 3
push edi
push 1
push Ordinal_1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43c9b5
push ebx
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, edi
pop ebx
je 0x43c9b5
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
jmp 0x43c9ba
push 0x132b3a1
call fcn.00440aa2
pop ecx
or edx, 0xffffffff
mov eax, edx
mov ecx, dword [ebp + 0x1fc]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f127
add ebp, 0x200
leave
ret

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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x43c9f6
cmp word [eax], 0
je 0x43c9f6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43c9f3
test al, 0x10
je 0x43c9f3
xor eax, eax
inc eax
ret
xor eax, eax
ret
push 0x132b3a1
call fcn.00440aa2
pop ecx
xor al, al
ret
Function at 0x43cf12
Capabilities:
Create directory

Disassembly:
mov eax, 0x4ae5d1
call fcn.0049f0d0
sub esp, 0x20
mov eax, dword [0x4f0dd0]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x43cfa1
cmp word [edi], bx
je 0x43cfa1
push edi
call fcn.0043c9d1
test al, al
pop ecx
je 0x43cf49
mov al, 1
jmp 0x43cfa3
mov esi, dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push ebx
push edi
push ebx
call esi
cmp eax, ebx
je 0x43cf45
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0043d3b0
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
je 0x43cf90
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x43cf78
lea eax, [ebp - 0x28]
push eax
call fcn.0043cf12
cmp al, bl
pop ecx
je 0x43cf90
push ebx
push edi
push ebx
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
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 al, bl
jmp 0x43cfa3
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret

Function at 0x43d7d3
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4f0dd0]
and word [ebp - 0x7c], 0
and dword [ebp - 0x80], 0
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x198]
push edi
mov dword [ebp + 0x18c], eax
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x7a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x43d82f
push 0x4b82fc
mov ecx, ebx
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_wchar_t_const__]
jmp 0x43d874
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.Xunlei
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43d85c
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x4b883c
lea eax, [ebp - 0x7c]
push eax
call esi
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
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_wchar_t_const__]
pop esi
mov ecx, dword [ebp + 0x18c]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0049f127
add ebp, 0x190
leave
ret
Function at 0x43d910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x43d9b2
cmp word [esi], bx
je 0x43d9b2
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x43d9ae
inc eax
push edi
push eax
call fcn.0049ecdd
mov edi, eax
cmp edi, ebx
pop ecx
je 0x43d9ad
push edi
push dword [ebp + 8]
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43d9a6
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4b883c
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43d9a6
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
mov al, bl
jmp 0x43d9bf
push 0x132b3a1
call fcn.00440aa2
pop ecx
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x43dde1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4f0dd0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp byte [ebp + 0xc], al
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov word [ebp - 8], ax
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], 0x74
mov word [ebp - 0xe], 0x72
mov word [ebp - 0xc], 0x75
mov word [ebp - 0xa], 0x65
mov word [ebp - 0x1c], 0x66
mov word [ebp - 0x1a], 0x61
mov word [ebp - 0x18], 0x6c
mov word [ebp - 0x16], 0x73
mov word [ebp - 0x14], 0x65
lea eax, [ebp - 0x10]
jne 0x43de43
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
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_wchar_t_const__]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret
Function at 0x43e110
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push 0x4b8670
push dword [esp + 0x20]
mov esi, ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCR71.dll__wfopen]
mov ebp, eax
test ebp, ebp
pop ecx
pop ecx
je 0x43e20e
push ebp
push 1
push 2
push 0x4c0cd0
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
cmp eax, 1
jne 0x43e206
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
cmp edi, eax
mov dword [esp + 0x14], eax
je 0x43e1f6
cmp dword [edi + 0x18], 8
jb 0x43e170
mov eax, dword [edi + 4]
jmp 0x43e173
lea eax, [edi + 4]
push eax
push str.__s__r_n
push ebp
call dword [sym.imp.MSVCR71.dll_fwprintf]
add esp, 0xc
test eax, eax
jl 0x43e206
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 0x20]
cmp ebx, eax
mov dword [esp + 0x1c], eax
je 0x43e1d7
lea esi, [ebx + 0x20]
cmp dword [esi + 0x14], 8
jb 0x43e1a2
mov ecx, dword [esi]
jmp 0x43e1a4
mov ecx, esi
cmp dword [esi - 8], 8
jb 0x43e1af
mov eax, dword [esi - 0x1c]
jmp 0x43e1b2
lea eax, [esi - 0x1c]
push ecx
push eax
push str._s_s_r_n
push ebp
call dword [sym.imp.MSVCR71.dll_fwprintf]
add esp, 0x10
test eax, eax
jl 0x43e206
add ebx, 0x38
add esi, 0x38
cmp ebx, dword [esp + 0x1c]
jne 0x43e198
mov esi, dword [esp + 0x10]
push 0x4c0d14
push ebp
call dword [sym.imp.MSVCR71.dll_fwprintf]
test eax, eax
pop ecx
pop ecx
jl 0x43e206
add edi, 0x38
cmp edi, dword [esp + 0x14]
jne 0x43e165
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
pop ecx
mov byte [esi + 0x20], 0
mov al, 1
jmp 0x43e210
push ebp
call dword [sym.imp.MSVCR71.dll_fclose]
pop ecx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4
Function at 0x440575
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
call fcn.0043fae6
push 0x4b8894
push dword [ebp + 8]
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4405f0
and dword [ebp - 4], 0
push edi
push esi
push 1
lea eax, [ebp - 4]
push 2
push eax
call dword [sym.imp.MSVCR71.dll_fread]
push esi
mov edi, eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 0x14
cmp edi, 1
pop edi
jne 0x4405ec
cmp word [ebp - 4], 0xfeff
je 0x4405e0
cmp word [ebp - 4], 0x5b
je 0x4405e0
cmp word [ebp - 4], 0x7f
jbe 0x4405e0
push dword [ebp + 8]
mov ecx, ebx
call fcn.0043fe0b
jmp 0x4405f2
push dword [ebp + 8]
mov ecx, ebx
call fcn.004401b1
jmp 0x4405f2
mov al, 1
jmp 0x4405f2
xor al, al
pop esi
pop ebx
leave
ret 4

Function at 0x4409b3
Capabilities:
Get disk information

Disassembly:
mov eax, 0x4ae9b1
call fcn.0049f0d0
sub esp, 0x24c
mov eax, dword [0x4f0dd0]
mov edx, dword [ebp + 0xc]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], eax
xor ebx, ebx
mov dword [ebp - 0x21c], ebx
xor eax, eax
mov word [ebp - 0x218], bx
mov ecx, 0x81
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x258]
push eax
mov dword [ebp - 0x220], esi
call fcn.0043d336
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
jb 0x440a16
mov eax, dword [eax + 4]
jmp 0x440a19
add eax, 4
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea ecx, [ebp - 0x258]
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 - 0x218]
push eax
lea ecx, [ebp - 0x23c]
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_wchar_t_const__]
lea eax, [ebp - 0x23c]
xor edi, edi
push eax
inc edi
push esi
mov dword [ebp - 4], edi
call fcn.00440903
pop ecx
pop ecx
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x21c], edi
mov byte [ebp - 4], 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_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret

Function at 0x448594
Capabilities:
Set global application hook

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x44852b
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
mov dword [esi + 0x14], eax
jne 0x4485b8
xor al, al
pop esi
ret
mov dword [0x4f5bb8], esi
mov al, 1
pop esi
ret
Function at 0x45468c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4b0062
call fcn.0049f0d0
sub esp, 0x20
mov eax, dword [0x4f0dd0]
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x4b8670
push eax
mov edi, ecx
call dword [sym.imp.MSVCR71.dll__wfopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4546c2
xor al, al
jmp 0x454710
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call fcn.0045464a
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
push eax
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push esi
call dword [sym.imp.MSVCR71.dll_fclose]
or dword [ebp - 4], 0xffffffff
add esp, 0x14
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4

Function at 0x455411
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4f0dd0]
xor eax, esp
push esi
mov dword [esp + 0x194], eax
lea eax, [esp + 4]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x455440
xor al, al
jmp 0x455449
mov ecx, esi
call fcn.00455272
mov al, 1
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.0049f127
add esp, 0x194
ret

Function at 0x45a744
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x84]
cmp eax, dword [esp + 0xc]
jne 0x45a77e
mov ecx, dword [esi + 0x7c]
call fcn.0044f084
test al, al
je 0x45a77e
push dword [esi + 0x84]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push dword [esi + 0x44]
and dword [esi + 0x84], 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
ret 0x10

Function at 0x45adca
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x45adfa
mov ecx, dword [esi + 0x7c]
mov byte [esi + 0x40], bl
call fcn.0044f084
test al, al
push ebx
je 0x45ae01
push ebx
push esi
push 0x45ad66
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x44], eax
jne 0x45ae2f
xor eax, eax
pop esi
pop ebx
ret 4
push 4
push esi
push 0x45ad66
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x45adfa
push ebx
push 0x1f4
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x84], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x48], eax
xor eax, eax
inc eax
jmp 0x45adfc
Function at 0x45b729
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4f0dd0]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], eax
je 0x45b7d8
cmp ebx, edi
je 0x45b7d8
cmp dword [ebp + 0x10], edi
jbe 0x45b7d8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b7d8
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
push edi
push 2
push 0x400
push esi
push 1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
je 0x45b7d8
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push 6
push dword [ebp - 0x2c]
call esi
test eax, eax
je 0x45b7bb
push dword [ebp - 0x38]
call fcn.0049ecdd
cmp eax, edi
pop ecx
mov dword [ebp - 0x34], eax
jne 0x45b7e9
cmp dword [ebp - 0x30], edi
je 0x45b7ca
push edi
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2c], edi
je 0x45b7d8
push dword [ebp - 0x2c]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret
lea ecx, [ebp - 0x38]
push ecx
push eax
push edi
push 6
push dword [ebp - 0x2c]
call esi
test eax, eax
jne 0x45b81d
cmp dword [ebp - 0x30], edi
je 0x45b809
push edi
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2c], edi
je 0x45b894
push dword [ebp - 0x2c]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
jmp 0x45b894
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0xc]
lea eax, [edx + edx + 1]
cmp dword [ebp + 0x10], eax
jb 0x45b7fa
push 8
pop ecx
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
xor ecx, ecx
cmp edx, esi
jbe 0x45b870
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
sub eax, ecx
movzx eax, byte [eax + edx - 1]
mov edi, eax
shr edi, 4
mov di, word [ebp + edi*2 - 0x28]
and eax, 0xf
mov ax, word [ebp + eax*2 - 0x28]
mov word [ebx + ecx*4], di
mov word [ebx + ecx*4 + 2], ax
inc ecx
cmp ecx, edx
jb 0x45b843
cmp dword [ebp - 0x30], esi
mov word [ebx + ecx*4], si
je 0x45b883
push esi
push dword [ebp - 0x30]
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
cmp dword [ebp - 0x2c], esi
je 0x45b891
push dword [ebp - 0x2c]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
xor edi, edi
inc edi
push dword [ebp - 0x34]
call sub.MSVCR71.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, edi
jmp 0x45b7da
Function at 0x45b8a4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4f0dd0]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
mov dword [ebp - 4], eax
je 0x45b91b
test ebx, ebx
je 0x45b91b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b91b
and word [ebp - 0x418], 0
push edi
xor eax, eax
mov ecx, 0x104
lea edi, [ebp - 0x416]
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0045b729
add esp, 0xc
test eax, eax
pop edi
je 0x45b91b
lea eax, [ebp - 0x418]
push eax
push ebx
call dword [sym.imp.MSVCR71.dll__wcsicmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x45b91d
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret