joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000383a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1008d874], 0
je 0x10003969
push ebx
push esi
push edi
lea ecx, [ebp - 4]
call fcn.1000cd59
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.1000552b
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [ebp - 8], eax
lea ecx, [ecx - 0x10]
call fcn.1000552b
push str.user.ini
add eax, 0x10
lea ecx, [ebp - 4]
mov esi, 0x104
mov dword [ebp - 0xc], eax
push esi
call fcn.10005135
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call edi
push ecx
lea ecx, [ebp - 4]
call fcn.10005114
mov ecx, dword [ebp - 4]
call fcn.1000cee1
push str.config.ini
push esi
lea ecx, [ebp - 8]
mov ebx, eax
call fcn.10005135
push eax
call edi
push ecx
lea ecx, [ebp - 8]
call fcn.10005114
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.1000cee1
push str.Log_
push 0x104
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
call fcn.10005135
push eax
call edi
push ecx
lea ecx, [ebp - 0xc]
call fcn.10005114
mov edi, dword [ebp - 0xc]
mov ecx, edi
call fcn.1000ce0e
test ebx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
je 0x10003918
push dword [ebp - 4]
push 0xffffffffffffffff
push str.ClientDoLog
push 0x1006e908
call ebx
cmp eax, 0xffffffff
jne 0x10003932
cmp dword [ebp - 8], 0
je 0x1000392f
push esi
push 1
push str.ClientDoLog
push 0x1006e908
call ebx
jmp 0x10003932
xor eax, eax
inc eax
push dword [0x1008d874]
cmp eax, 1
jne 0x10003945
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1000394b
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [edi - 0x10]
call fcn.10005bac
lea ecx, [esi - 0x10]
call fcn.10005bac
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.10005bac
pop edi
pop esi
pop ebx
xor eax, eax
inc eax
mov esp, ebp
pop ebp
ret

Function at 0x10005a84
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10005adf
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10005ad0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10005acc
cmp esi, ecx
jae 0x10005ad0
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10005aba
cmp esi, ecx
jb 0x10005ad4
xor eax, eax
jmp 0x10005ade
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007f38
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x1008a008]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
mov ebx, ecx
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 4]
push esi
or eax, 0x2001f
mov dword [esp + 0x1c], ecx
push eax
push ecx
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.10007eda
jmp 0x10007f90
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.10007f38
mov esi, eax
test esi, esi
jne 0x10007fe4
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10007f82
cmp dword [esp + 0xc], esi
je 0x10007fd3
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], esi
push dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.100080b5
mov esi, eax
cmp dword [esp + 0xc], 0
je 0x10007ff5
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.10061b61
mov esp, ebp
pop ebp
ret 4
Function at 0x1000cd59
Capabilities:
Get common file path

Disassembly:
push 0x420
mov eax, 0x10064653
call fcn.10062fdd
mov esi, ecx
mov dword [ebp - 0x428], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x424], edi
call fcn.10005d7e
push eax
mov ecx, esi
call fcn.10005307
mov ebx, 0x208
mov dword [ebp - 4], edi
push ebx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x424], 1
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push edi
push edi
push 0x801a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1000ce06
push ebx
lea eax, [ebp - 0x420]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x218]
push eax
push str._sTencentQQPlayer_
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1000cafa
add esp, 0x1c
lea eax, [ebp - 0x420]
mov ecx, esi
push eax
call fcn.10005041
mov eax, esi
call fcn.10062f87
ret

Function at 0x1000ce0e
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xc
mov eax, 0x10064683
call fcn.10062fa9
test ecx, ecx
jne 0x1000ce25
xor eax, eax
jmp 0x1000cedb
push ecx
xor edi, edi
lea ecx, [ebp - 0x10]
inc edi
call fcn.100050c5
and dword [ebp - 4], 0
push ecx
push 0x1006fa50
lea ecx, [ebp - 0x10]
call fcn.10009ec7
cmp eax, 2
jl 0x1000cecc
mov eax, dword [ebp - 0x10]
xor esi, esi
cmp dword [eax - 0xc], esi
jle 0x1000cece
push esi
push ecx
lea ecx, [ebp - 0x10]
call fcn.1000c670
mov esi, eax
test esi, esi
js 0x1000cece
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000c629
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000ce89
test al, 0x10
je 0x1000ce89
xor ebx, ebx
inc ebx
jmp 0x1000ce8b
xor ebx, ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10005bac
test ebx, ebx
jne 0x1000cec1
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000c629
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x18]
mov edi, eax
add ecx, 0xfffffff0
call fcn.10005bac
test edi, edi
je 0x1000cecc
mov eax, dword [ebp - 0x10]
inc esi
cmp esi, dword [eax - 0xc]
jl 0x1000ce56
jmp 0x1000cece
xor edi, edi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10005bac
mov eax, edi
call fcn.10062f72
ret
Function at 0x10011840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10064b98
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x100119dd
cmp byte [ebx + 0x3e], 0
je 0x100119dd
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
sete al
test al, al
je 0x100118a3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
lea edi, [ebx + 0x40]
mov esi, dword [ebp - 0x14]
nop dword [eax]
cmp esi, 0x10
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, eax
cmovae edx, eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1001191d
sub eax, 1
je 0x10011921
mov esi, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x1001197c
xor bl, bl
jmp 0x1001197e
mov byte [ebx + 0x3e], 0
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x10]
cmovae ecx, eax
sub edi, ecx
je 0x1001195a
push dword [ebx + 0x4c]
cmp esi, 0x10
lea ecx, [ebp - 0x28]
push edi
cmovae ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
mov eax, dword [ebp - 0x28]
jne 0x10011919
cmp byte [ebx + 0x3e], 0
je 0x1001197c
test edi, edi
lea edi, [ebx + 0x40]
jne 0x100118e0
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.10011720
jmp 0x100118d3
mov bl, 1
cmp esi, 0x10
jb 0x100119ca
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x100119c1
test byte [ebp - 0x28], 0x1f
je 0x1001199a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x100119a7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub eax, ecx
cmp eax, 4
jae 0x100119b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp eax, 0x23
jbe 0x100119bf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, ecx
push eax
call fcn.10061b5c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065b54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov dword [ebx + 4], vtable.Catch::IMutableRegistryHub.0
lea ecx, [ebx + 8]
mov dword [ebx], vtable.RegistryHub.1.0
mov dword [ebx + 4], vtable.RegistryHub.0
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.Catch::TestRegistry.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 4
mov dword [ecx + 0x20], 0
add ecx, 0x24
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::ios_base::Init::constructor_void_]
lea edi, [ebx + 0x30]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 6
lea esi, [edi + 4]
mov dword [edi], vtable.Catch::ReporterRegistry.0
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10034540
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebx + 0x48], vtable.Catch::ExceptionTranslatorRegistry.0
pop edi
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001f800
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065d8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.1001f6f0
test eax, eax
jne 0x1001f8fa
cmp dword [esi + 0x10], eax
jbe 0x1001f8fa
cmp dword [esi + 0x14], 0x10
jb 0x1001f83f
mov eax, dword [esi]
jmp 0x1001f841
mov eax, esi
movsx eax, byte [eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x1001f8fa
push 2
lea ecx, [ebp - 0xd]
call fcn.1001ec80
mov dword [ebp - 4], 0
mov edx, str.Tag_name__
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.10019f00
mov edx, esi
mov ecx, eax
call fcn.10034ed0
mov edx, str.__not_allowed._n
mov ecx, eax
call fcn.10019f00
mov edx, str.Tag_names_starting_with_non_alpha_numeric_characters_are_reserved_n
mov ecx, eax
call fcn.10019f00
mov dword [ebp - 4], 1
cmp byte [ebp - 0xd], 0
jne 0x1001f8ac
xor ecx, ecx
call fcn.1001ed60
push 0x17
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
call fcn.1001ec80
mov dword [ebp - 4], 2
mov edx, edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push 0x100352b0
call fcn.10020a60
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 4], 3
cmp byte [ebp - 0xd], 0
jne 0x1001f8f2
xor ecx, ecx
call fcn.1001ed60
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100206f0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [0x1008de40]
sub esp, 8
or eax, dword [0x1008de44]
jne 0x10020716
push 0x1008de40
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0x1008dea0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp]
sub ecx, dword [0x1008dea0]
mov eax, dword [esp + 4]
sbb eax, dword [0x1008dea4]
push 0
push 0xf4240
push eax
push ecx
call fcn.10063220
push dword [0x1008de44]
push dword [0x1008de40]
push edx
push eax
call fcn.10063320
add esp, 8
ret
Function at 0x10020aa0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065f78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10020ae5
mov eax, dword [esi]
jmp 0x10020ae7
mov eax, esi
push 0xffffffffffffffff
push 0
push dword [ebp + 0xc]
mov byte [eax], 0
call fcn.10006039
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.10006039
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x100235d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066416
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
lea eax, [edi + 8]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
mov dword [edi], vtable.Catch::StreamingReporterBase.0
call fcn.1001c6f0
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov byte [edi + 0xe8], 0
mov byte [edi + 0xe8], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0xf8]
mov dword [edi], vtable.Catch::XmlReporter.0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov esi, dword [esi]
mov dword [ebp + 8], ecx
mov word [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
lea eax, [ecx + 0x10]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x100236c6
mov eax, dword [eax]
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, str.__xml_version_1.0__encoding_UTF_8____n
mov dword [ecx + 0x28], esi
mov ecx, esi
call fcn.10019f00
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov dword [edi + 0x124], 0
mov byte [edi + 0xe8], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100265f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100667cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
lea eax, [edi + 8]
mov esi, dword [ebp + 8]
mov ecx, esi
push eax
mov dword [edi], vtable.Catch::CumulativeReporterBase.0
call fcn.1001c6f0
mov eax, dword [esi]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov byte [edi + 0x60], 0
mov byte [edi + 0x60], 0
mov dword [ebp - 4], 1
lea ecx, [edi + 0x64]
mov dword [edi], vtable.Catch::JunitReporter.0
mov esi, dword [esi]
mov dword [ebp + 8], ecx
mov word [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
lea eax, [ecx + 0x10]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x10026713
mov eax, dword [eax]
mov byte [eax], 0
mov byte [ebp - 4], 3
mov edx, str.__xml_version_1.0__encoding_UTF_8____n
mov dword [ecx + 0x28], esi
mov ecx, esi
call fcn.10019f00
sub esp, 8
mov byte [ebp - 4], 4
lea ecx, [edi + 0x98]
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
call fcn.10019110
sub esp, 8
mov byte [ebp - 4], 5
lea ecx, [edi + 0x130]
call fcn.10019110
mov ecx, dword [ebp - 0xc]
mov eax, edi
mov byte [edi + 0x60], 1
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002dd80
Capabilities:
Print debug messages

Disassembly:
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__get_heap_handle]
test eax, eax
je 0x1002ddc7
push ebx
push esi
mov esi, dword fs:[0x2c]
push edi
mov edi, dword [0x1008d838]
mov eax, dword [esi + edi*4]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x1002ddbc
mov ecx, ebx
call fcn.1002d960
push 0x410
push ebx
call fcn.10061ef8
mov eax, dword [esi + edi*4]
add esp, 8
pop edi
pop esi
mov dword [eax + 4], 0
pop ebx
ret
push str.log4cplus:_CRT_heap_is_already_gone_in_threadCleanup___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [0x1008d838]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [eax + 4], 0
ret

Function at 0x1002ffb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006789a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0xec
call fcn.10061ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov esi, dword [ebp + 8]
lea ecx, [edi + 8]
push ecx
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [edi], vtable.Catch::StreamingReporterBase.0
call fcn.1001c6f0
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, edi
mov dword [edi + 0x10], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov byte [edi + 0xe8], 0
mov dword [edi], vtable.Catch::CompactReporter.0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10030090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100678ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0xf0
call fcn.10061ec5
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov esi, dword [ebp + 8]
lea ecx, [edi + 8]
push ecx
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [edi], vtable.Catch::StreamingReporterBase.0
call fcn.1001c6f0
mov eax, dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, edi
mov dword [edi + 0x10], 0
mov byte [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov byte [edi + 0xd8], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0
mov dword [edi + 0xe4], 0
mov byte [edi + 0xe8], 0
mov dword [edi], vtable.Catch::ConsoleReporter.0
mov byte [edi + 0xec], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1004ecf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a859
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1004ed45
mov eax, dword [esi]
jmp 0x1004ed47
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 0x8000
jae 0x1004ed64
push dword [esi + 0x10]
mov ecx, esi
push 0x8000
call fcn.1000b765
cmp dword [esi + 0x14], 8
push edi
jb 0x1004ed6f
mov edi, dword [esi]
jmp 0x1004ed71
mov edi, esi
xor eax, eax
mov ecx, 0x4000
rep stosd dword es:[edi], eax
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0x8000
pop edi
jb 0x1004ed8c
mov eax, dword [esi]
jmp 0x1004ed8e
mov eax, esi
xor ecx, ecx
mov word [eax + 0x10000], cx
mov dword [ebp - 4], ecx
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x10], 1
jb 0x1004edab
mov eax, dword [esi]
jmp 0x1004edad
mov eax, esi
push eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1004ede6
cmp eax, dword [esi + 0x10]
jae 0x1004ede6
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x1004edcd
mov ecx, dword [esi]
jmp 0x1004edcf
mov ecx, esi
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], vtable.std::exception.0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.GetCurrentDirectory
xorps xmm0, xmm0
mov byte [ebp - 0x18], 1
push eax
movq qword [ebp - 0x24], xmm0
call dword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
add esp, 8
mov dword [ebp - 0x28], vtable.std::runtime_error.0
lea eax, [ebp - 0x28]
push 0x100861a8
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x10051bb0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
call fcn.1002d050
push 5
push ecx
push 1
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov esi, eax
call fcn.10051b30
mov ecx, dword [esp + 0x1c]
add esp, 0xc
sub ecx, 0
je 0x10051c3a
sub ecx, 1
je 0x10051c02
sub ecx, 1
je 0x10051c8e
push 1
push str.Unknown_WinSock_state.
mov ecx, esi
call fcn.1003c0c0
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ebx, dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
mov eax, dword [0x1008d8a0]
sub eax, 1
je 0x10051c2f
sub eax, 1
je 0x10051c8e
push 1
push str.Unknown_WinSock_state.
mov ecx, esi
call fcn.1003c0c0
jmp 0x10051c10
call ebx
test eax, eax
jne 0x10051c10
push eax
call edi
jmp 0x10051c10
push 0x1008dbd8
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10051c75
push 5
push ecx
push 0
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 1
call fcn.10051b30
add esp, 0xc
mov ecx, esi
push 1
push str.Could_not_initialize_WinSock.
call fcn.1003c0c0
push 5
push ecx
push 2
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 1
call fcn.10051b30
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x10
ret