joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100607f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
xor edx, edx
mov dword [ebp - 0x10], ecx
test esi, esi
jle 0x100608e6
cmp esi, 8
jb 0x100608c7
mov eax, esi
and eax, 0x80000007
jns 0x10060827
dec eax
or eax, 0xfffffff8
inc eax
mov edi, esi
xorps xmm4, xmm4
mov esi, ebx
sub edi, eax
sub esi, ecx
mov eax, ecx
mov dword [ebp - 4], esi
xorps xmm3, xmm3
lea esi, [ebx + 4]
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
nop dword [eax]
movd xmm2, dword [ebx + eax]
lea eax, [eax + 8]
movd xmm1, dword [eax - 8]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
movd xmm1, dword [eax - 4]
por xmm4, xmm2
punpcklbw xmm1, xmm0
movd xmm2, dword [ecx + edx]
add edx, 8
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
pxor xmm2, xmm1
por xmm3, xmm2
cmp edx, edi
jl 0x10060850
mov ebx, dword [ebp - 0xc]
por xmm3, xmm4
mov ecx, dword [ebp - 0x10]
movaps xmm0, xmm3
psrldq xmm0, 8
por xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
por xmm3, xmm0
movd edi, xmm3
cmp edx, esi
jge 0x100608e6
sub ebx, ecx
lea eax, [edx + ecx]
sub esi, edx
movzx edx, byte [eax + ebx]
lea eax, [eax + 1]
movzx ecx, byte [eax - 1]
xor edx, ecx
or edi, edx
sub esi, 1
jne 0x100608d2
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100780a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov al, byte [esi + 0x44]
test al, al
js 0x1007819a
xor ebx, ebx
test al, al
jle 0x10078137
lea ecx, [esi + 0x78]
mov dword [esp + 0x10], ecx
nop word [eax + eax]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x1007811e
mov eax, dword [ecx + 0x14]
dec dword [eax + 0x78]
mov edx, dword [eax + 0x88]
mov dword [ecx + 0x10], edx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], ecx
push dword [ecx + 4]
mov eax, dword [eax + 0x98]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.10180ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x24]
add esp, 0x10
jmp 0x10078123
call fcn.1006e3b0
mov ecx, dword [esp + 0x10]
inc ebx
movsx eax, byte [esi + 0x44]
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ebx, eax
jl 0x100780d0
mov eax, dword [esi + 0x74]
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007818f
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.10180ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov esi, dword [esp + 0x24]
add esp, 0x10
mov byte [esi + 0x44], 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
call fcn.1006e3b0
mov byte [esi + 0x44], 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007c740
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x102d2008]
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 0x1007c82a
mov edi, dword [esp + 0x10]
lea esi, [eax + 1]
lea ebx, [esi - 2]
cmp esi, 2
jae 0x1007c790
xor edx, edx
jmp 0x1007c7bf
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 [0x102d49fc]
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 0x1007c7d2
mov eax, dword [0x102d49fc]
xor edx, edx
div dword [edi + 0x24]
inc eax
cmp esi, eax
jne 0x1007c7d6
inc esi
inc ebx
jmp 0x1007c787
cmp esi, dword [edi + 0x30]
mov edi, 0
ja 0x1007c820
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x13]
mov edx, esi
push eax
call fcn.10078650
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1007c892
cmp byte [esp + 0xf], 4
mov edx, dword [esp + 0x14]
jne 0x1007c81a
cmp dword [esp + 0x20], edx
jne 0x1007c81a
mov eax, esi
lea ebx, [edi + 0x65]
jmp 0x1007c894
mov esi, dword [esp + 0x10]
jmp 0x1007c82c
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x1007c82c
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 0x1007c892
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [edx + 8]
cmp eax, dword [edi + 4]
je 0x1007c887
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 0x1007c894
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, dword [ecx]
bswap eax
jmp 0x1007c894
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007c8a6
mov dword [eax], edi
jmp 0x1007c8f9
test edi, edi
je 0x1007c8f9
mov edx, dword [edi + 0x48]
test byte [edx + 0x1c], 0x20
je 0x1007c8f2
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.10180ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x1007c8f9
mov ecx, edx
call fcn.1006e3b0
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.1010eeaf
mov esp, ebp
pop ebp
ret
Function at 0x10080e40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], edx
push edi
xor edi, edi
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 0x48]
mov ebx, dword [esi + 0x34]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x10080e83
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x10080e83
cmp dword [edx + 0x60], edi
je 0x10080eb6
call fcn.10072870
jmp 0x10080ea8
mov ebx, dword [edx + 0x28]
test ebx, ebx
jne 0x10080f72
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x10080ea3
call fcn.10074180
jmp 0x10080ea8
call fcn.10073f50
mov ebx, eax
test ebx, ebx
jne 0x10080f72
mov ebx, dword [esp + 0x10]
push 0
push dword [esi + 4]
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
lea edx, [esp + 0x24]
call fcn.1007d990
mov edi, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x10], eax
mov edx, edi
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.1007f920
add esp, 4
cmp byte [ebx + 0x11], 0
je 0x10080f05
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push dword [esi + 4]
mov ecx, ebx
push 5
call fcn.10078510
add esp, 0xc
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x10080f72
movzx eax, byte [esi + 0xc]
add eax, eax
push eax
lea eax, [esi + 0x1c]
push eax
lea eax, [edi + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memcpy
movzx eax, byte [esi + 0xc]
add esp, 0xc
shl eax, 2
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [edi + 0x24]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov al, byte [esi + 0xc]
add esp, 0xc
mov byte [edi + 0xc], al
mov ecx, esi
mov eax, dword [edi + 0x38]
movzx edx, byte [eax]
and edx, 0xfffffff7
call fcn.10079850
mov eax, dword [esi + 0x38]
movzx ecx, byte [esi + 9]
mov edx, dword [esp + 0x14]
bswap edx
mov dword [ecx + eax + 8], edx
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
test edi, edi
je 0x10080fd4
mov ecx, dword [edi + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x10080fcf
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov esi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov edi, dword [esi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.10180ab0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1006e3b0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100962f0
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.100656f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10096320
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x102d3524], 0
mov edi, dword [ebp + 8]
je 0x1009636b
mov eax, dword [0x102d3614]
test eax, eax
je 0x10096343
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1009636b
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x100684f0
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 0x10096378
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10096391
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 0x100a33e0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.100a84f0
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x100a341b
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.100a84f0
add esp, 0x10
pop edi
pop ebx
pop ebp
ret

Function at 0x100a8610
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
xor esi, esi
cmp dword [ecx + 0x14], esi
jle 0x100a86ab
jmp 0x100a8634
mov eax, dword [ebp + 8]
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test eax, eax
je 0x100a8665
mov ecx, dword [ecx + 0x10]
mov edx, edi
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [ebp + 8]
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x100a868a
test edx, edx
jne 0x100a869c
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
add edi, edi
push 0
mov edx, ebx
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.10069e10
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x100a870f
jmp 0x100a86a2
movzx ecx, byte [ecx + 0x102a9778]
movzx edx, byte [edx + 0x102a9778]
sub edx, ecx
jne 0x100a869f
inc eax
jmp 0x100a8650
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
inc esi
cmp esi, dword [ecx + 0x14]
jl 0x100a8631
mov edx, str.sqlite_master
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x100a86d7
test ecx, ecx
jne 0x100a86e9
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x10]
test ebx, ebx
jne 0x100a86ec
neg eax
sbb eax, eax
jmp 0x100a86fc
movzx eax, byte [eax + 0x102a9778]
movzx ecx, byte [ecx + 0x102a9778]
sub ecx, eax
jne 0x100a870d
inc ebx
jmp 0x100a86b2
test eax, eax
je 0x100a870d
mov edx, eax
mov ecx, ebx
call fcn.10068970
mov ecx, dword [ebp - 4]
test eax, eax
jne 0x100a870d
mov ebx, str.sqlite_temp_master
mov dword [ebp - 8], ebx
jmp 0x100a8621
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100a8a40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, ecx
mov dword [ebp - 8], edx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x100a8ad6
mov edx, dword [ebp + 8]
push esi
nop dword [eax]
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x100a8a95
mov esi, dword [esi]
mov eax, edx
sub esi, edx
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x100a8ac1
test edx, edx
jne 0x100a8ad3
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.10069e10
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x100a8ab8
mov eax, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [eax + 0x14]
jl 0x100a8a60
pop esi
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x102a9778]
movzx edx, byte [edx + 0x102a9778]
sub edx, ecx
jne 0x100a8aac
inc eax
jmp 0x100a8a83
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10105450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x10105481
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10105470
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x10108210
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x1010842c
cmp eax, 0x7c
je 0x1010842c
cmp eax, 0x29
jne 0x1010824c
cmp dword [esi + 0x10], 0
jne 0x1010842c
test dword [esi + 0x50], 0x10000000
je 0x10108443
cmp eax, 0x2e
jne 0x10108260
push 5
lea ecx, [esi + 0x24]
call fcn.101084a0
jmp 0x10108410
cmp eax, 0x5c
jne 0x101082c5
mov ecx, esi
call fcn.101081b0
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x10108292
cmp byte [esi + 0x48], 0x62
jne 0x10108292
push 4
lea ecx, [esi + 0x24]
call fcn.101084a0
mov ecx, esi
call fcn.101081b0
jmp 0x1010841e
test eax, eax
je 0x101082b9
cmp byte [esi + 0x48], 0x42
jne 0x101082b9
push 4
lea ecx, [esi + 0x24]
call fcn.101084a0
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.101081b0
jmp 0x1010841e
mov ecx, esi
call fcn.10109240
jmp 0x10108417
cmp eax, 0x5b
jne 0x10108377
mov ecx, esi
call fcn.101081b0
lea ecx, [esi + 0x24]
call fcn.1010a780
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x101082f6
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.101081b0
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x10108361
cmp eax, 0x5d
jne 0x10108361
test dword [esi + 0x2c], 0x100
mov bl, al
je 0x1010831f
mov eax, dword [esi + 0x30]
push 0x5d
mov ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::ctype_char_::tolower_char_const]
mov bl, al
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 0x18]
test ecx, ecx
jne 0x10108345
push 0x20
call fcn.1010eec0
xorps xmm0, xmm0
mov dword [ebp - 4], eax
add esp, 4
mov ecx, eax
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [edi + 0x18], eax
movzx edx, bl
mov eax, edx
and edx, 7
shr eax, 3
add ecx, eax
movzx eax, byte [ecx]
bts eax, edx
mov byte [ecx], al
mov ecx, esi
call fcn.101081b0
mov ecx, esi
call fcn.1010a2c0
cmp dword [esi + 0x4c], 0x5d
jne 0x1010843c
jmp 0x10108410
cmp eax, 0x28
jne 0x101083a3
mov ecx, esi
call fcn.101081b0
mov ecx, esi
call fcn.10109440
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x10108443
mov ecx, esi
call fcn.101081b0
test bl, bl
je 0x1010841e
jmp 0x10108417
cmp eax, 0x5e
jne 0x101083bb
push 2
lea ecx, [esi + 0x24]
call fcn.101084a0
mov ecx, esi
call fcn.101081b0
jmp 0x1010841e
cmp eax, 0x24
jne 0x101083d3
push 3
lea ecx, [esi + 0x24]
call fcn.101084a0
mov ecx, esi
call fcn.101081b0
jmp 0x1010841e
cmp eax, 0x2a
je 0x10108435
cmp eax, 0x2b
je 0x10108435
cmp eax, 0x3f
je 0x10108435
cmp eax, 0x7b
je 0x10108435
cmp eax, 0x7d
jne 0x101083f5
test dword [esi + 0x50], 0x10000000
je 0x1010844a
cmp eax, 0x5d
jne 0x10108403
test dword [esi + 0x50], 0x10000000
je 0x1010843c
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.101096b0
mov ecx, esi
call fcn.101081b0
mov ecx, esi
call fcn.10109550
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10108227
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.10107160
push 4
call fcn.10107160
push 5
call fcn.10107160
push 6
call fcn.10107160
int3
Function at 0x1010bdd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102345d8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x102d2008]
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 0x1010be13
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.1005aad0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
cmp dword [esi], 0
je 0x1010be3c
lea edx, [esi + 8]
jmp 0x1010be3e
xor edx, edx
mov ecx, ebx
call fcn.1004d2e0
test al, al
jne 0x1010be50
call fcn.1004d2f0
jmp 0x1010be52
xor eax, eax
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi], eax
test eax, eax
je 0x1010be73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1010be73
mov byte [edi + 5], 1
cmp dword [edi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
test eax, eax
je 0x1010be9c
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 0x1010beb1
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi + 4], 0
push 0x2c
push esi
call fcn.1010f236
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.1010eeaf
mov esp, ebp
pop ebp
ret 4

Function at 0x1010e6b0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x102d2008]
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 0x1010e732
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 0x1010e732
test ecx, ecx
je 0x1010e72e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x1010e6f0
xor eax, eax
jmp 0x1010e737
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1010e741
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010eeaf
add esp, 0xc
ret 0xc
Function at 0x1010e7c0
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x102d2008]
xor eax, esp
mov dword [esp + 4], eax
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1010e7ee
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1010eeaf
add esp, 8
ret 4
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
je 0x1010e7d7
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 0x1010e834
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1010e834
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1010eeaf
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.1010eeaf
add esp, 8
ret 4

Function at 0x101126c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10234bb0
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 0x10112725
mov eax, dword [esi + 0x10]
pop esi
test eax, eax
je 0x10112715
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
test eax, eax
je 0x10112755
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.1004d500
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x68]
call fcn.10110d80
push 0x102cc6c0
lea eax, [ebp - 0x68]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.cannot_set_thread_priority
lea ecx, [ebp - 0x3c]
call fcn.1004d500
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x94]
call fcn.10110d80
push 0x102cc6c0
lea eax, [ebp - 0x94]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1014abf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1023791e
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.10050ca0
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.1014b7c0
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.1010eec0
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 0x1014acca
push 0xc8
push str.e:xhsundcode_remote_trunk_rhinopcinfrastructure_thirdpartypoco_srcdataincludepocodatacolumn.h
push str._pData
call fcn.101101a0
mov edx, dword [edi + 0x34]
add esp, 0xc
test edx, edx
je 0x1014ad18
mov ecx, dword [edx + 0xc]
mov esi, dword [edx]
test ecx, ecx
jns 0x1014aceb
mov eax, ecx
neg eax
je 0x1014aceb
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub esi, eax
jmp 0x1014acf3
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.1013f3c0
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.10110bb0
push 0x102cc694
lea eax, [ebp - 0x40]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3