joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ad230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
mov eax, edx
mov ecx, dword [ebp + 8]
push edi
mov dword [esp + 0x18], ecx
xor edi, edi
cmp byte [esi + 0x11], 0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], ecx
je 0x100ad31a
mov edi, dword [esp + 0x10]
lea esi, [eax + 1]
lea ebx, [esi - 2]
cmp esi, 2
jae 0x100ad280
xor edx, edx
jmp 0x100ad2af
mov eax, 0xcccccccd
mul dword [edi + 0x28]
mov eax, ebx
mov ecx, edx
xor edx, edx
shr ecx, 2
inc ecx
div ecx
mov eax, dword [0x10311a04]
mov ecx, ebx
sub ecx, edx
xor edx, edx
div dword [edi + 0x24]
xor edx, edx
dec eax
cmp ecx, eax
sete dl
add edx, 2
add edx, ecx
cmp edx, esi
je 0x100ad2c2
mov eax, dword [0x10311a04]
xor edx, edx
div dword [edi + 0x24]
inc eax
cmp esi, eax
jne 0x100ad2c6
inc esi
inc ebx
jmp 0x100ad277
cmp esi, dword [edi + 0x30]
mov edi, 0
ja 0x100ad310
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x13]
mov edx, esi
push eax
call fcn.100a9130
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x100ad382
cmp byte [esp + 0xf], 4
mov edx, dword [esp + 0x14]
jne 0x100ad30a
cmp dword [esp + 0x20], edx
jne 0x100ad30a
mov eax, esi
lea ebx, [edi + 0x65]
jmp 0x100ad384
mov esi, dword [esp + 0x10]
jmp 0x100ad31c
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x100ad31c
mov edx, eax
mov ecx, dword [esi]
xor eax, eax
cmp dword [esp + 0x18], eax
mov ebx, 2
cmove eax, ebx
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ecx + 0xcc]
push edx
push ecx
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x100ad382
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + 8]
cmp eax, dword [edi + 4]
je 0x100ad377
mov ecx, dword [edx + 4]
cmp eax, 1
mov dword [edi + 4], eax
setne al
mov dword [edi + 0x38], ecx
dec al
mov dword [edi + 0x48], edx
and al, 0x64
mov dword [edi + 0x34], esi
mov byte [edi + 9], al
mov eax, dword [ecx]
bswap eax
jmp 0x100ad384
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [ecx]
bswap eax
jmp 0x100ad384
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100ad396
mov dword [eax], edi
jmp 0x100ad3e9
test edi, edi
je 0x100ad3e9
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x100ad3e2
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.101b0580
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x100ad3e9
mov ecx, edx
call fcn.1009ee90
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ebx, 0x65
pop edi
cmove ebx, eax
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret
Function at 0x100c6df0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.100961d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100c6e20
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x10310524], 0
mov edi, dword [ebp + 8]
je 0x100c6e6b
mov eax, dword [0x10310614]
test eax, eax
je 0x100c6e43
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x100c6e6b
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x10098fd0
push 0
push 0
mov dword [esi + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x100c6e78
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x100c6e91
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1013bc70
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10268318
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1030f644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1013bcb3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
lea ecx, [ebp - 0x14]
mov word [edi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.1008b070
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1013bcdc
lea edx, [esi + 8]
jmp 0x1013bcde
xor edx, edx
mov ecx, ebx
call fcn.1004d050
test al, al
jne 0x1013bcf0
call fcn.1004b830
jmp 0x1013bcf2
xor eax, eax
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1013bd13
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1013bd13
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1013bd3c
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1013bd51
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.101afe54
add esp, 8
mov dword [ebp - 0x14], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101afab5
mov esp, ebp
pop ebp
ret 4

Function at 0x1013e530
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x1013e5b2
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x1013e5b2
test ecx, ecx
je 0x1013e5ae
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x1013e570
xor eax, eax
jmp 0x1013e5b7
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1013e5c1
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101afab5
add esp, 0xc
ret 0xc
Function at 0x1013e640
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1013e66e
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1013e657
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1013e6b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1013e6b4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4
mov ecx, dword [esp + 8]
xor eax, eax
add eax, edi
mov dword [esi], eax
adc ecx, 0
xor eax, eax
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
add esp, 8
ret 4

Function at 0x10148f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10268910
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x10148f95
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x10148f85
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10148fc5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push str.cannot_create_thread
lea ecx, [ebp - 0x24]
call fcn.1004b980
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.1013fec0
push 0x103091d0
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x3c]
call fcn.1004b980
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
call fcn.1013fec0
push 0x103091d0
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1014fa10
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102690f8
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x1014fbe8
je case.0x1014fa5e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1014fa5e.4
movzx eax, byte [eax + 0x1014fc84]
jmp dword [eax*4 + 0x1014fc48]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f770
push 0x10301048
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f650
push 0x10301120
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f720
push 0x10301000
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f340
push 0x10301168
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013f410
push 0x10301240
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013ff90
push 0x103011b0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1013fd50
push 0x103011f8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.1004b980
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.1013f6a0
push 0x10300fbc
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.1004b980
mov dword [ebp - 4], 1
jmp 0x1014fb2f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.1004b980
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.1013fd20
push 0x103011f8
jmp 0x1014fb44
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.1004b980
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.1013ff60
push 0x103011b0
jmp 0x1014fb44
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.1004b980
mov dword [ebp - 4], 4
jmp 0x1014fb2f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1013fc60
push 0x10300f50
jmp 0x1014fb44
cmp esi, 0x781
je case.0x1014fa5e.3
cmp esi, 0x1779
je 0x1014fc17
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.1013f6d0
push 0x10300fbc
lea eax, [ebp - 0x90]
jmp 0x1014fb47
push 0x1779
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1013f7c0
push 0x103010d8
jmp 0x1014fb44
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1013fc10
push 0x10301090
jmp 0x1014fb44
Function at 0x1017c790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026bbfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [esi + 4]
push eax
lea ecx, [edi + 4]
mov dword [edi], vtable.Poco::Data::MetaColumn.0
call fcn.1004d130
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [edi + 0x28], eax
mov al, byte [esi + 0x2c]
mov byte [edi + 0x2c], al
push dword [ebp + 0xc]
lea ecx, [edi + 0x30]
mov dword [ebp - 4], 0
call fcn.1017d360
lea ebx, [edi + 0x38]
mov byte [ebp - 4], 1
push 8
mov dword [ebp + 8], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call fcn.101afade
mov dword [ebx], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebx]
mov dword [eax], ebx
mov edx, dword [edi + 0x34]
mov byte [ebp - 4], 2
test edx, edx
jne 0x1017c86a
push 0xc8
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_srcdataincludepocodatacolumn.h
push str._pData
call fcn.1013ef60
mov edx, dword [edi + 0x34]
add esp, 0xc
test edx, edx
je 0x1017c8b8
mov ecx, dword [edx + 0xc]
mov esi, dword [edx]
test ecx, ecx
jns 0x1017c88b
mov eax, ecx
neg eax
je 0x1017c88b
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub esi, eax
jmp 0x1017c893
mov eax, ecx
shr eax, 5
lea esi, [esi + eax*4]
and ecx, 0x1f
push ecx
push esi
push 0
push dword [edx]
mov ecx, ebx
call fcn.10170f60
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push 0
lea ecx, [ebp - 0x40]
call fcn.1013fbd0
push 0x1030932c
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1017d3e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1026bf44
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
mov ebx, ecx
push edi
push 0
mov dword [ebp - 0x14], ebx
lea eax, [ebx + 0xc]
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push eax
mov dword [ebx], vtable.Poco::Data::StatementImpl.0
mov dword [ebx + 8], 0
call fcn.1017b7d0
add esp, 0xc
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov eax, dword [ebp + 8]
lea edi, [ebx + 0x30]
mov dword [ebx + 0x24], eax
lea ecx, [edi + 0x50]
mov dword [ebx + 0x28], 3
mov dword [ebp + 8], edi
mov byte [ebp - 4], 1
mov dword [edi], 0x102e1138
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea esi, [edi + 4]
mov byte [ebp - 4], 2
push esi
mov ecx, edi
mov dword [ebp - 0x10], 1
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [edi]
mov dword [ebp - 4], 3
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 4
mov dword [ebx + 0xc8], 0
mov dword [ebx + 0xcc], 0
mov dword [ebx + 0xd0], 0
lea esi, [ebx + 0xd4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea edi, [ebx + 0xec]
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebx + 0x24]
mov byte [ebp - 4], 7
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
test al, al
je 0x1017d595
push esi
push 1
mov ecx, esi
call fcn.1016bcd0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
lea ecx, [ebx + 0x18]
push ecx
push 1
call fcn.1016b9f0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push edi
push 1
mov ecx, edi
call fcn.10138d80
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x24]
push 0
call fcn.10163ec0
push eax
lea ecx, [ebp - 0x44]
call fcn.10168a80
push 0x103037f8
lea eax, [ebp - 0x44]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x101a0900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10269ed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov edi, dword [esi + 8]
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 4], 0
test edi, edi
je 0x101a0962
push dword [esi + 0x10]
mov eax, dword [edi]
mov ecx, edi
push dword [esi + 0xc]
call dword [eax + 0x30]
lea ecx, [ebp - 0x14]
call fcn.10148dc0
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40]
call fcn.1013fbd0
push 0x1030932c
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x101b5cb0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x9c
call fcn.102610d0
mov eax, dword [0x1030f644]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0xb0]
push ebx
mov ebx, dword [esp + 0xac]
push ebp
mov ebp, dword [esp + 0xac]
push esi
mov esi, dword [esp + 0xac]
push edi
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], 0
test edi, edi
je 0x101b5d1d
cmp edi, eax
je 0x101b5d11
test ebp, ebp
je 0x101b5d90
test ebx, ebx
js 0x101b5d90
mov dword [esp + 0x10], 1
mov dword [esi], edi
jmp 0x101b5d23
test eax, eax
je 0x101b5d90
mov edi, eax
push edi
call fcn.101b3730
add esp, 4
test al, 2
jne 0x101b5d90
test ebp, ebp
je 0x101b5e9b
push edi
mov dword [esp + 0x14], 1
call fcn.101b3b30
add esp, 4
cmp eax, 0x90
jg 0x101b5d90
cmp eax, ebx
jge 0x101b5dab
push dword [esp + 0x14]
push edi
push dword [esi + 4]
call fcn.101bd150
add esp, 0xc
test eax, eax
je 0x101b5d90
push ebx
push ebp
push dword [esi + 4]
call fcn.101bd2f0
add esp, 0xc
test eax, eax
je 0x101b5d90
lea ebp, [esi + 0x10]
push ebp
lea eax, [esi + 0x14]
push eax
push dword [esi + 4]
call fcn.101bd0b0
add esp, 0xc
test eax, eax
jne 0x101b5dc7
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101afab5
add esp, 0x9c
ret
cmp ebx, 0x90
ja 0x101b5d90
push ebx
lea eax, [esi + 0x14]
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
lea ebp, [esi + 0x10]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x90
je 0x101b5dea
mov eax, 0x90
sub eax, ecx
push eax
lea eax, [esi + 0x14]
add eax, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ebx, dword [esp + 0x10]
xor ecx, ecx
mov al, byte [esi + ecx + 0x14]
xor al, 0x36
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x101b5df0
mov ebp, dword [esp + 0x14]
push ebp
push edi
push dword [esi + 8]
call fcn.101bd150
add esp, 0xc
test eax, eax
je 0x101b5ea8
push edi
call fcn.101b3b30
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 8]
call fcn.101bd2f0
add esp, 0x10
test eax, eax
je 0x101b5ea8
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x14]
xor al, 0x5c
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x90
jl 0x101b5e40
push ebp
push edi
push dword [esi + 0xc]
call fcn.101bd150
add esp, 0xc
test eax, eax
je 0x101b5ea8
push edi
call fcn.101b3b30
push eax
lea eax, [esp + 0x20]
push eax
push dword [esi + 0xc]
call fcn.101bd2f0
add esp, 0x10
test eax, eax
je 0x101b5ea8
push dword [esi + 8]
push dword [esi + 4]
call fcn.101bd310
xor ebp, ebp
add esp, 8
test eax, eax
mov ecx, 1
cmovne ebp, ecx
jmp 0x101b5eaa
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x101b5e7f
jmp 0x101b5dee
xor ebp, ebp
test ebx, ebx
je 0x101b5ec0
lea eax, [esp + 0x18]
push 0x90
push eax
call fcn.10001320
add esp, 8
mov eax, ebp
jmp 0x101b5d92
Function at 0x401960
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov dword [ebp - 8], 0x400
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call sub.MFC42D.DLL_Ordinal_721
add esp, 4
movsx edx, word [0x41f668]
add edx, 6
push edx
push 0x41f620
mov eax, dword [ebp - 8]
shl eax, 2
push eax
call sub.MFC42D.DLL_Ordinal_714
add esp, 0xc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
mov ecx, dword [ebp - 8]
shl ecx, 2
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x401a0c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
shr edx, 2
mov eax, dword [ebp - 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 4]
jbe 0x401998
mov ecx, dword [ebp - 4]
call fcn.004011a4
pop edi
pop esi
pop ebx
add esp, 0x50
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret
Function at 0x402510
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40b289
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x84]
mov ecx, 0x1e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
push 0x400
push 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004010eb
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401159
mov dword [ebp - 0x30], eax
jmp 0x402577
lea ecx, [ebp - 0x2c]
call fcn.0040121c
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4025e4
mov dword [ebp - 0x34], 0
mov esi, esp
lea ecx, [ebp - 0x34]
push ecx
push 0x64
push 0xa
push 0
push 0
push 0x11
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
cmp dword [ebp - 0x34], 0
jne 0x4025c9
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040134d
mov eax, dword [ebp - 0x40]
jmp 0x402679
mov esi, esp
push 0
push 0
push 0x10
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp 0x40256c
mov dword [ebp - 0x38], 1
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x402661
mov esi, esp
push 0x1388
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
test eax, eax
je 0x40264e
cmp dword [ebp + 0xc], 0
je 0x402647
mov esi, esp
push 0
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp 0x40264e
mov dword [ebp - 0x38], 0
mov esi, esp
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040134d
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x84
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 8