joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e0330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
push ebp
push edi
mov ebp, ecx
xor edi, edi
mov eax, dword [eax]
and eax, 7
mov dword [esp + 0x10], ebp
cmp edx, 5
jae 0x100e0353
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ebp
push esi
mov dword [esp + 0x10], edx
lea esi, [edi + ebp]
cmp esi, edx
jae 0x100e0377
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x100e0377
inc esi
cmp esi, edx
jb 0x100e0368
mov edi, esi
sub edi, ebp
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x100e0482
cmp ecx, 3
jbe 0x100e03b5
xor eax, eax
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [esp + 0x14], ebx
test cl, cl
je 0x100e03f1
cmp cl, 0xff
je 0x100e03f1
mov edx, dword [esp + 0x10]
and eax, 3
add eax, eax
mov ecx, 1
or eax, 1
add edi, ecx
jmp 0x100e0361
dec ecx
shl eax, cl
and eax, 7
je 0x100e038e
cmp byte [eax + 0x101e4720], 0
je 0x100e03e1
movzx ecx, byte [eax + 0x101e4728]
mov edx, esi
sub edx, ecx
mov cl, byte [edx + 4]
test cl, cl
je 0x100e03dd
cmp cl, 0xff
jne 0x100e038e
mov edx, dword [esp + 0x10]
and eax, 3
mov ebx, edi
add eax, eax
or eax, 1
inc edi
jmp 0x100e0361
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
nop
lea ebx, [edx + 5]
add ebx, edi
test eax, eax
je 0x100e044a
movzx ebp, byte [eax + 0x101e4728]
mov ecx, 0x18
shl ebp, 3
mov edx, ebx
sub ecx, ebp
shr edx, cl
test dl, dl
je 0x100e0437
cmp dl, 0xff
jne 0x100e044a
mov ecx, 0x20
mov edx, 1
sub ecx, ebp
shl edx, cl
dec edx
xor edx, ebx
jmp 0x100e0410
mov ebp, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x10]
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
neg cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [esp + 0x14]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
add edi, ecx
jmp 0x100e0361
pop esi
pop ebx
cmp ecx, 3
jbe 0x100e0499
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebp
add esp, 0xc
ret
dec ecx
shl eax, cl
mov ecx, dword [esp + 0x1c]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x10113090
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.100e4210
mov esi, eax
add esp, 8
test esi, esi
jne 0x101130b8
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x1022356c], 0
mov edi, dword [esp + 0x14]
je 0x10113101
mov eax, dword [0x1022365c]
test eax, eax
je 0x101130dc
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x10113101
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x100e7100
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 0x1011310e
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10113126
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x1011ff30
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
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.10124e00
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x1011ff6a
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.10124e00
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x10124f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x10124fbb
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x10124f73
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x10124f98
test edx, edx
jne 0x10124faa
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.100e8ed0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1012501a
jmp 0x10124fb1
movzx ecx, byte [ecx + 0x101e6e10]
movzx edx, byte [edx + 0x101e6e10]
sub edx, ecx
jne 0x10124fad
inc eax
jmp 0x10124f60
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x10124f40
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x10124fe6
test ecx, ecx
jne 0x10124ff8
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x10124ffb
neg eax
sbb eax, eax
jmp 0x1012500a
movzx eax, byte [eax + 0x101e6e10]
movzx ecx, byte [ecx + 0x101e6e10]
sub ecx, eax
jne 0x10125018
inc ebp
jmp 0x10124fc2
test eax, eax
je 0x10125018
mov edx, eax
call fcn.100e7a30
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x10125018
mov ebp, str.sqlite_temp_master
jmp 0x10124f33
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10125360
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x101253fa
push ebp
mov ebp, dword [esp + 0x20]
push esi
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 [esp + 0x10], eax
test ebp, ebp
je 0x101253b9
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x101253e5
test edx, edx
jne 0x101253f7
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.100e8ed0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x101253db
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x10125382
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x101e6e10]
movzx edx, byte [edx + 0x101e6e10]
sub edx, ecx
jne 0x101253d1
inc eax
jmp 0x101253a6
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x1017ba20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.1016be90
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1017bbfe
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.10177510
mov esi, eax
add esp, 8
test esi, esi
jne 0x1017bbfe
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10177630
mov esi, eax
cmp esi, 0x64
jne 0x1017bbfe
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.101680e0
lea esi, [edi + eax]
cmp esi, ebp
jae 0x1017bbde
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.101680e0
add esi, eax
cmp esi, ebp
jae 0x1017bbda
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x1017bb86
cmp ecx, 1
jne 0x1017bb46
test edx, edx
je 0x1017bb86
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.1017b970
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x1017bbd2
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x1017bba8
lea edx, [esp + 0x30]
call fcn.101680e0
add esi, eax
jmp 0x1017bbd2
lea edx, [esp + 0x20]
call fcn.101680e0
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x1017bbca
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x1017bbd2
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x1017bb11
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10177630
mov esi, eax
cmp esi, 0x64
je 0x1017bad4
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x1017bc06
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.10177d90
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x101861c0
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x101861fc
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.101860e0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x101862bc
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.1010a5c0
push edi
call fcn.101092d0
add esp, 0x14
cmp eax, 0x65
jne 0x10186253
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.10186160
add esp, 0x1c
jmp 0x101862aa
cmp eax, 0x64
jne 0x101862aa
push 0
push edi
call fcn.10109c30
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x10186275
cmp edx, ecx
je 0x101862aa
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.10186160
add esp, 0x2c
push edi
call fcn.101082d0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x101862bc
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x1018ea30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c3a4e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.10193520
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1018d5b5
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.100ae8a0
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1019d810
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101c44c8
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 0x1019d9e8
je case.0x1019d85e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1019d85e.4
movzx eax, byte [eax + 0x1019da84]
jmp dword [eax*4 + 0x1019da48]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101964d0
push 0x1021eed8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101963b0
push 0x1021efb0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10196480
push 0x1021ee90
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101960a0
push 0x1021eff8
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10196170
push 0x1021f0d0
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.10196bc0
push 0x1021f040
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.101969d0
push 0x1021f088
lea eax, [ebp - 0x38]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.10014150
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.10196400
push 0x1021ee4c
lea eax, [ebp - 0x64]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.10014150
mov dword [ebp - 4], 1
jmp 0x1019d92f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.10014150
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.101969a0
push 0x1021f088
jmp 0x1019d944
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.10014150
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.10196b90
push 0x1021f040
jmp 0x1019d944
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.10014150
mov dword [ebp - 4], 4
jmp 0x1019d92f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.101968e0
push 0x1021edc4
jmp 0x1019d944
cmp esi, 0x781
je case.0x1019d85e.3
cmp esi, 0x1779
je 0x1019da17
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.10196430
push 0x1021ee4c
lea eax, [ebp - 0x90]
jmp 0x1019d947
push 0x1779
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10196520
push 0x1021ef68
jmp 0x1019d944
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.10196890
push 0x1021ef20
jmp 0x1019d944
Function at 0x101a3980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4509
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
push 0x100
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], 0x100
mov dword [esi + 0x3c], 0
call fcn.1018dc7d
mov dword [esi + 0x40], eax
add esp, 4
mov dword [esi + 0x44], 2
lea ecx, [eax + 4]
mov eax, dword [esi + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov dword [esi + 0x48], eax
mov eax, esi
mov dword [esi], vtable.Poco::DigestBuf.0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x101a4020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4509
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
push 0x1000
mov dword [ebp - 4], 0
mov dword [esi], vtable.Poco::BasicBufferedBidirectionalStreamBuf_char__struct_std::char_traits_char___class_Poco::BufferAllocator_char__.0
mov dword [esi + 0x38], 0x1000
mov dword [esi + 0x3c], 0
call fcn.1018dc7d
push dword [esi + 0x38]
mov dword [esi + 0x40], eax
call fcn.1018dc7d
mov ecx, dword [esi + 0x40]
add esp, 8
mov dword [esi + 0x44], eax
add ecx, 4
mov eax, dword [esi + 0xc]
mov dword [esi + 0x48], 3
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x38]
mov dword [eax], ecx
mov eax, dword [esi + 0x20]
mov dword [eax], ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, esi
mov dword [esi], vtable.Poco::FileStreamBuf.0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xf
mov byte [esi + 0x50], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x101a45a0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x101a4601
mov ecx, dword [esi + 0x48]
test cl, 1
je 0x101a4601
test cl, 2
je 0x101a45c3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x18]
push dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101a45f1
lea eax, [esi + 0x50]
push eax
call fcn.1019d800
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
pop ecx
ret 0xc
or eax, 0xffffffff
pop esi
pop ecx
ret 0xc

Function at 0x101a48e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x68]
cmp eax, 0xffffffff
je 0x101a498c
mov ecx, dword [esi + 0x48]
test cl, 2
je 0x101a498c
test cl, 8
je 0x101a494c
push 2
lea ecx, [esp + 0x10]
xorps xmm0, xmm0
push ecx
push 0
push eax
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
jne 0x101a493f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x101a493b
lea eax, [esi + 0x50]
push eax
call fcn.1019d800
add esp, 4
mov eax, dword [esp + 8]
mov dword [esi + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x68]
push 0
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
push dword [esp + 0x20]
push dword [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101a497a
lea eax, [esi + 0x50]
push eax
call fcn.1019d800
add esp, 4
mov eax, dword [esp + 4]
add dword [esi + 0x70], eax
adc dword [esi + 0x74], 0
pop esi
add esp, 0xc
ret 0xc
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc

Function at 0x101a4c00
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 0x1c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
pop esi
ret
Function at 0x10024e7
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x100250c
cmp dword [ebp - 4], 0
jne 0x100255d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, dword [sym.imp.msvcrt.dll_wcstok]
mov edi, 0x1001664
push edi
push eax
call esi
push edi
push 0
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x100255b
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1001654
push edi
call esi
test eax, eax
jne 0x100254a
call fcn.010020d7
jmp 0x100255b
push 0x1001638
push edi
call esi
test eax, eax
jne 0x100255b
call fcn.01001a9f
pop edi
pop esi
xor eax, eax
leave
ret

Function at 0x10026f1
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001670
call fcn.010028a8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100272c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100272c
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1002744
cmp eax, 0x20b
je 0x1002731
mov dword [ebp - 0x1c], edi
jmp 0x1002758
cmp dword [ecx + 0x84], 0xe
jbe 0x100272c
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x1002752
cmp dword [ecx + 0x74], 0xe
jbe 0x100272c
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004034], 0xffffffff
or dword [0x1004038], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004030]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100402c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100403c], eax
call fcn.0100289e
cmp dword [0x100401c], edi
jne 0x10027b3
push fcn.0100289e
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002887
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004028]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004024]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010024e7
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x100282a
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100285f
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010028e3
ret