joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c6f0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4f2a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 1
mov byte [esp + 0x40], 1
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
add eax, edx
push eax
mov eax, dword [esp + 0x54]
sub ecx, edx
mov edx, dword [eax + 4]
add edx, dword [eax]
lea eax, [esp + 0x28]
push edx
call fcn.0041cd00
add esp, 8
push 0x38
call sub.WS2_32.dll_htons
movzx eax, ax
mov dword [esp + 0x48], eax
lea eax, [ebx + 2]
lea esi, [esp + 0x10]
call fcn.0041b5f0
mov eax, dword [esp + 0x1c]
mov cx, word [esp + 0x48]
mov edx, dword [esp + 0x10]
mov word [eax + edx], cx
add eax, 2
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x38]
call fcn.0041b5f0
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
push 0x38
lea ecx, [esi + eax]
push 0x60a99c
push ecx
call sub.MSVCR80.dll_memcpy
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x34]
add esi, 0x38
mov dword [esp + 0x28], esi
add esp, 0xc
mov eax, edi
lea esi, [esp + 0x10]
call fcn.0041b5f0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
add edx, eax
push edi
push edx
lea edx, [esi + ecx]
push edx
call sub.MSVCR80.dll_memcpy
add esi, edi
mov dword [esp + 0x28], esi
add esp, 0xc
lea eax, [ebx + 1]
lea esi, [esp + 0x10]
call fcn.0041b5f0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov al, 3
mov byte [edi + ecx], al
mov edx, dword [ebp]
mov eax, dword [edx + 0x18]
add edi, 1
mov dword [esp + 0x1c], edi
sub edi, dword [esp + 0x14]
mov ecx, ebp
push edi
call eax
mov edx, dword [ebp]
mov esi, dword [esp + 0x4c]
mov eax, dword [edx + 4]
push esi
mov ecx, ebp
call eax
test al, al
jne 0x41c87a
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov esi, dword [sym.imp.MSVCR80.dll_free]
je 0x41c855
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41c863
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
mov eax, edi
call fcn.0041b5f0
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [esi + 0xc]
add edx, dword [esi]
push edi
add ecx, ebp
push ecx
push edx
call sub.MSVCR80.dll_memcpy
add dword [esi + 0xc], edi
mov esi, dword [sym.imp.MSVCR80.dll_free]
add esp, 0xc
cmp ebp, ebx
je 0x41c8ae
push ebp
call esi
add esp, 4
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41c8bc
push eax
call esi
add esp, 4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x41ce80
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi]
push eax
call sub.WS2_32.dll_ntohl
mov ecx, dword [edi + 4]
push ecx
mov esi, eax
call sub.WS2_32.dll_ntohl
mov ebp, dword [esp + 0x24]
lea edx, [esp + 0x10]
xor ebx, ebx
mov edi, eax
sub ebp, edx
lea ebx, [ebx]
lea eax, [ebp + ebx*4]
mov ecx, dword [esp + eax + 0x10]
push ecx
call sub.WS2_32.dll_ntohl
mov dword [esp + ebx*4 + 0x10], eax
add ebx, 1
cmp ebx, 4
jl 0x41ceb0
xor eax, eax
lea ecx, [eax + 0x10]
nop
mov edx, edi
shr edx, 5
add edx, dword [esp + 0x14]
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x10]
sub eax, 0x61c88647
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
add esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x1c]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x18]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add edi, edx
sub ecx, 1
jne 0x41ced0
push esi
call sub.WS2_32.dll_htonl
mov esi, dword [esp + 0x28]
push edi
mov dword [esi], eax
call sub.WS2_32.dll_htonl
pop edi
mov dword [esi + 4], eax
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x41cf30
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, eax
mov eax, dword [esi]
push edi
push eax
call sub.WS2_32.dll_ntohl
mov ecx, dword [esi + 4]
push ecx
mov edi, eax
call sub.WS2_32.dll_ntohl
mov ebp, dword [esp + 0x28]
lea edx, [esp + 0x14]
xor ebx, ebx
mov esi, eax
sub ebp, edx
lea ebx, [ebx]
lea eax, [ebp + ebx*4]
mov ecx, dword [esp + eax + 0x14]
push ecx
call sub.WS2_32.dll_ntohl
mov dword [esp + ebx*4 + 0x14], eax
add ebx, 1
cmp ebx, 4
jl 0x41cf60
mov ecx, dword [esp + 0x20]
mov eax, 0xe3779b90
mov dword [esp + 0x10], 0x10
jmp 0x41cf90
mov ebx, edi
shl ebx, 4
add ebx, dword [esp + 0x1c]
mov edx, edi
shr edx, 5
add edx, ecx
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
shr edx, 5
add edx, dword [esp + 0x18]
mov ebx, esi
shl ebx, 4
add ebx, dword [esp + 0x14]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
sub edi, edx
add eax, 0x61c88647
sub dword [esp + 0x10], 1
jne 0x41cf90
push edi
call sub.WS2_32.dll_htonl
mov edi, dword [esp + 0x2c]
push esi
mov dword [edi], eax
call sub.WS2_32.dll_htonl
mov dword [edi + 4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4206d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e78fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push esi
push eax
lea ecx, [esp + 0xc]
xor ebx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov esi, dword [esp + 0x28]
cmp esi, ebx
mov dword [esp + 0x1c], ebx
je 0x42074e
push 0x5d77c8
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x28], 1
call fcn.00401030
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 8]
push ebx
lea edx, [esp + 0x10]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4207b8
mov edx, dword [esp + 0x30]
cmp edx, ebx
je 0x4207a8
mov eax, edx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420780
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [esp + 0xc]
push ecx
push edx
mov edx, dword [esp + 0x34]
push 1
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [esp + 0xc]
cmp eax, ebx
push ecx
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x14]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x423630
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e7d4f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x258
push ebx
push edi
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x26c], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
push 0x5c
mov ebx, 1
push 0x2f
lea ecx, [esp + 0x10]
mov byte [esp + 0x270], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_5484]
push 0x5c
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
add eax, ebx
push eax
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x26c], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0xc]
mov byte [esp + 0x268], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [esp + 0x270]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x423749
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00401030
add esp, 0xc
mov ecx, dword [esi + 4]
push 0
push ecx
push eax
mov ecx, esi
mov byte [esp + 0x278], 3
call fcn.00424f60
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42371f
mov dword [ecx], eax
jmp 0x423721
mov dword [esi], eax
lea ecx, [esp + 0x10]
mov dword [esi + 4], eax
mov byte [esp + 0x26c], bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [esp + 0x14]
push edx
push edi
call ebp
test eax, eax
jne 0x4236e7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
lea ecx, [esp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x270]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x260]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x264
ret

Function at 0x42a700
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov ebp, ecx
jne 0x42a71d
push edi
push edi
push edi
push 2
call fcn.0042cdf0
pop edi
xor eax, eax
pop ebp
ret 0x10
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_fseek]
push esi
push 2
push 0
push edi
call ebx
push edi
call dword [sym.imp.MSVCR80.dll_ftell]
mov esi, dword [esp + 0x2c]
push 0
push 0
push edi
mov dword [esi], eax
call ebx
mov eax, dword [esi]
add esp, 0x1c
test eax, eax
jg 0x42a758
mov dword [esi], 0
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret 0x10
add eax, 1
push eax
call sub.MFC80U.DLL_Ordinal_265
mov ecx, dword [esi]
push edi
push 1
push ecx
push eax
mov dword [esp + 0x28], eax
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x42a796
mov edx, dword [esp + 0x14]
push edx
mov dword [esi], 0
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret 0x10
cmp byte [esp + 0x20], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax], 0
je 0x42a7b9
mov edx, dword [esp + 0x18]
push esi
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
call fcn.0042f0f0
mov eax, dword [esp + 0x14]
pop esi
pop ebx
pop edi
pop ebp
ret 0x10
Function at 0x42b020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e7fc4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
or eax, 0xffffffff
push edi
xor edi, edi
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esp + 8], esi
mov dword [esi + 0xc], edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov dword [esi], vtable.TiXmlAttribute.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x10], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42b090
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e8010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
or eax, 0xffffffff
xor ebp, ebp
mov dword [esi + 8], eax
mov dword [esi + 4], eax
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0xc], ebp
lea edi, [esi + 0x14]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esi], vtable.TiXmlAttribute.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ebx, [esi + 0x30]
mov ecx, ebx
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x20], 2
call dword [0x582858]
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, ebx
call dword [0x582858]
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x50], ebp
mov dword [esi + 0x4c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x42b990
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e81d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 8]
lea esi, [edi + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 0
call dword [0x582870]
cmp dword [esi + 0x18], 0x10
jb 0x42b9de
mov esi, dword [esi + 4]
jmp 0x42b9e1
add esi, 4
push 0x5ee9bc
push esi
call fcn.0042a3b0
mov esi, eax
add esp, 8
test esi, esi
mov ecx, edi
je 0x42ba3c
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ebx
push edx
push eax
push esi
call fcn.0042a7d0
push esi
mov bl, al
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
push 0
push 0
push 0
push 2
call fcn.0042cdf0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x42fb00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e840c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push ebx
push esi
mov dword [esp + 8], 0
mov esi, dword [esp + 0x240]
mov ecx, esi
mov dword [esp + 0x238], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x208
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x244], 0
mov dword [esp + 0x14], 1
call sub.MSVCR80.dll_memset
mov bl, byte [esp + 0x250]
add esp, 0xc
mov cl, bl
neg cl
push 1
lea edx, [esp + 0x2c]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42fbfd
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
mov ecx, esi
mov dword [esp + 0x23c], 1
call dword [sym.imp.MSVCP80.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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0xc]
mov byte [esp + 0x238], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
mov ecx, esi
je 0x42fbcf
push str.TencentDeskUpdate
jmp 0x42fbd4
push str.TencentDesktop
call dword [sym.imp.MSVCP80.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__]
push esi
call fcn.0042f540
add esp, 4
test al, al
jne 0x42fbf0
push esi
call fcn.0042f690
add esp, 4
push 0x595870
mov ecx, esi
call dword [sym.imp.MSVCP80.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 [esp + 0x230]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x234
ret
Function at 0x42fd10
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e846c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.0042fb00
add esp, 8
mov eax, dword [esp + 0x34]
mov ebp, 8
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x2a4], ebx
jae 0x42fd59
lea eax, [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fe2d
lea ecx, [esp + 0x14]
push 1
push ecx
call fcn.0042fb00
mov eax, dword [esp + 0x3c]
add esp, 8
cmp dword [esp + 0x48], ebp
jae 0x42fd96
lea eax, [esp + 0x34]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x42fdb0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42fdff
lea eax, [esp + 0x14]
push eax
call fcn.0042fa90
add esp, 4
test al, al
je 0x42fdff
cmp dword [esp + 0x48], ebp
mov ecx, dword [esp + 0x34]
jae 0x42fdcf
lea ecx, [esp + 0x34]
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x42fddd
lea eax, [esp + 0x18]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x42fdff
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x42fdf8
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x42fe0d
lea eax, [esp + 0x18]
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
call edi
lea ecx, [esp + 0x14]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, 0xffffffff
je 0x42fe65
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x10
jb 0x42fe5e
mov edx, dword [esp + 0x2ac]
push ebx
lea ecx, [esp + 0x14]
push ecx
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42fe5e
cmp dword [esp + 0x10], edi
jne 0x42fe5e
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x30]
mov dword [esp + 0x2a4], 0xffffffff
call dword [sym.imp.MSVCP80.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 [esp + 0x29c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 4
Function at 0x42fea0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e8489
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0042fb00
add esp, 8
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], ebx
jae 0x42fede
lea eax, [esp + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42ff38
lea ecx, [esp + 0xc]
push 1
push ecx
call fcn.0042fb00
mov eax, dword [esp + 0x18]
add esp, 8
cmp dword [esp + 0x24], 8
jae 0x42ff18
lea eax, [esp + 0x10]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
call edi
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, 0xffffffff
je 0x42ff60
mov eax, dword [esp + 0x54]
push ebx
lea edx, [esp + 0x58]
push edx
push 0x10
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42ff59
cmp dword [esp + 0x54], 0x10
jne 0x42ff59
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call dword [sym.imp.MSVCP80.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 [esp + 0x44]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4
Function at 0x430980
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x430bf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e853a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x20]
push edi
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp edi, ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], 1
jg 0x430c74
mov ebx, dword [esp + 0x28]
lea esp, [esp]
movzx eax, byte [ebx + edi*2 + 1]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
movzx ecx, word [ebx + edi*2]
and ecx, 0x800000ff
jns 0x430c62
dec ecx
or ecx, 0xffffff00
inc ecx
push ecx
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
add edi, 1
cmp edi, ebp
jle 0x430c40
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x430cb9
mov ebp, 0x10
mov edi, edi
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
cmp edi, eax
jbe 0x430c90
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], ebp
jb 0x430c9a
mov eax, dword [esi + 4]
jmp 0x430c9d
lea eax, [esi + 4]
cmp byte [eax + edi], 0x20
jne 0x430cb9
mov eax, dword [esi + 0x14]
push 1
add eax, 0xffffffff
push eax
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::erase_unsigned_int__unsigned_int_]
cmp dword [esi + 0x14], ebx
jne 0x430c80
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret