joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d9b80
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100d9b93
test esi, esi
jne 0x100d9bab
push 0x789
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0._third_party_imgui_master_imgui_imgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x100d9bba
mov dword [ebp], 0
push esi
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x100d9bcf
pop edi
pop esi
pop ebp
ret
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push ebx
push esi
call edi
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x100d9cbf
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100d9cbf
push esi
call edi
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100d9cbf
push 0
push ebx
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100d9cbf
mov eax, dword [0x10180f98]
test eax, eax
je 0x100d9c32
inc dword [eax + 0xb0]
push dword [0x10180fa8]
mov eax, dword [esp + 0x24]
add eax, edi
push eax
call dword [0x10180d4c]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100d9cbf
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
cmp eax, edi
je 0x100d9c90
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10180f98]
add esp, 4
test eax, eax
je 0x100d9c79
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ebx
call dword [0x10180d50]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x100d9ca7
push eax
lea eax, [edi + ebx]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebp, ebp
je 0x100d9cb8
mov dword [ebp], edi
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100dc0c0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x100dc122
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100dc106
cmp edi, 2
jb 0x100dc106
cmp byte [esi], cl
jne 0x100dc106
cmp byte [esi + 1], cl
jne 0x100dc106
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10147368]
jmp 0x100dc0d7
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10147368]
test edi, edi
jne 0x100dc0d7
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x100dc158
nop dword [eax]
cmp cl, 0x23
jne 0x100dc13f
cmp byte [esi], cl
jne 0x100dc13f
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10147368]
test cl, cl
jne 0x100dc130
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x100dc380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
xor edx, edx
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], edx
test ebp, ebp
je 0x100dc3a1
cmp eax, ebp
jae 0x100dc51c
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x100dc51c
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, ebp
movsx ecx, byte [ecx + 0x101484dc]
test ecx, ecx
mov dword [esp + 0x14], ecx
sete bl
add ebx, ecx
test ebp, ebp
jne 0x100dc3d2
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x100dc3ed
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x100dc3f2
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x100dc401
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x100dc406
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x100dc411
mov ch, byte [esi]
jmp 0x100dc413
xor ch, ch
mov ebp, dword [esp + 0x14]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x101484fc]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
shl ebp, 6
or ebp, ecx
and esi, 0xc0
shl ebp, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or ebp, ecx
mov ecx, edi
and ecx, 0x3f
shr edi, 2
or edi, edx
shl ebp, 6
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x14]
or edi, esi
mov esi, dword [esp + 0x14]
shr edi, 2
mov ecx, dword [ecx*4 + 0x10148524]
shr ebp, cl
cmp ebp, dword [esi*4 + 0x10148510]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, ebp
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0x10ffff
or edi, edx
cmp ecx, ebp
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [esi*4 + 0x10148538]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100dc500
xor edx, edx
cmp byte [esp + 0x13], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [esp + 0x18]
inc edx
jmp 0x100dc38d
add eax, ebx
test ebp, ebp
je 0x100dc510
mov edx, dword [esp + 0x18]
inc edx
jmp 0x100dc38d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0xc
ret
Function at 0x100dc5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
dec eax
push ebp
mov ebp, edx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
cmp edx, eax
mov eax, dword [esp + 0x24]
jae 0x100dc76f
push esi
mov esi, dword [esp + 0x2c]
push ebx
push edi
nop dword [eax]
test esi, esi
je 0x100dc5dc
cmp eax, esi
jae 0x100dc768
mov cl, byte [eax]
mov byte [esp + 0x2c], cl
test cl, cl
je 0x100dc768
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x101484dc]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
mov dword [esp + 0x1c], ebx
test esi, esi
jne 0x100dc611
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x2c]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x100dc628
mov bh, byte [esi]
jmp 0x100dc62a
xor bh, bh
lea esi, [eax + 2]
mov byte [esp + 0x12], bh
cmp esi, edx
jae 0x100dc639
mov ch, byte [esi]
jmp 0x100dc63b
xor ch, ch
lea esi, [eax + 3]
mov byte [esp + 0x11], ch
cmp esi, edx
jae 0x100dc64a
mov bl, byte [esi]
jmp 0x100dc64c
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [esp + 0x2c], bl
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx*4 + 0x101484fc]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebx
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebx, dword [esp + 0x14]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x10148524]
shr ebx, cl
mov esi, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
cmp esi, dword [ebx*4 + 0x10148510]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0x10ffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x10148538]
mov ebx, dword [esp + 0x1c]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x100dc74e
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x2c], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x100dc754
add eax, ebx
test esi, esi
je 0x100dc768
mov dword [ebp], esi
add ebp, 4
mov esi, dword [esp + 0x34]
cmp ebp, dword [esp + 0x20]
jb 0x100dc5d0
mov edx, dword [esp + 0x28]
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x2c]
mov dword [ebp], 0
test ecx, ecx
je 0x100dc780
mov dword [ecx], eax
sub ebp, edx
sar ebp, 2
mov eax, ebp
pop ebp
add esp, 0x14
ret
Function at 0x100e2120
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x624c], 0
lea esi, [edi + 0x6250]
je 0x100e219a
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100e2154
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10102650
push dword [esp + 0x14]
mov ecx, esi
mov dword [esi], 0
push dword [esp + 0x14]
call fcn.10101d30
mov edx, dword [esi]
mov ecx, 0x10180f9c
push dword [edi + 0x624c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x6258]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
ret
push dword [esp + 0x14]
mov ecx, esi
push dword [esp + 0x14]
call fcn.10101d30
pop edi
pop esi
ret
Function at 0x100eec70
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x10180f98]
push esi
mov esi, dword [esp + 8]
mov dword [eax + 0x61e4], 0
test esi, esi
je 0x100eeccb
lea eax, [esp + 8]
mov dword [esp + 8], 0
push edi
push eax
call fcn.100eecd0
push 0x1014c874
push esi
mov edi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100eecca
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
ret
Function at 0x100f95f0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [0x10180f98]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [eax + 0x49d0]
cmp ebx, 0xffffffff
jne 0x100f960d
cmp dword [esi + 0x5c], ebx
cmovne ebx, dword [esi + 0x5c]
mov eax, dword [esi + 0x54]
cmp ebx, eax
jne 0x100f9619
or ebx, 0xffffffff
jmp 0x100f961e
cmp ebx, 0xffffffff
jl 0x100f9622
cmp ebx, eax
jl 0x100f963a
push 0xbe6
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0._third_party_imgui_master_imgui_imgui_tables.cpp
push str.column_n____1__column_n___table__ColumnsCount
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
test byte [esi + 4], 7
je 0x100f9699
mov ax, word [esi + 0x60]
mov cl, 0x23
push edi
mov edi, dword [esi]
mov word [esi + 0x62], ax
not edi
mov byte [esi + 0x1d2], 1
mov eax, edi
mov byte [esi + 0x1c4], bl
mov esi, 0x10150fed
cmp cl, 0x23
jne 0x100f9672
cmp byte [esi], cl
jne 0x100f9672
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10147368]
test cl, cl
jne 0x100f9663
pop edi
not eax
push 0
push eax
call fcn.100e7bc0
add esp, 8
pop esi
pop ebx
ret
Function at 0x101011a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x101011dd
mov dword [esi + 4], 0
mov dword [esi], 0
mov eax, dword [0x10180f98]
test eax, eax
je 0x101011c6
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ecx
call dword [0x10180d50]
add esp, 8
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10101218
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov eax, dword [0x10180f98]
test eax, eax
je 0x10101201
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ecx
call dword [0x10180d50]
add esp, 8
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10101253
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov eax, dword [0x10180f98]
test eax, eax
je 0x1010123c
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ecx
call dword [0x10180d50]
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x101012aa
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov eax, dword [0x10180f98]
test eax, eax
je 0x10101293
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ecx
call dword [0x10180d50]
add esp, 8
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x101012e5
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov eax, dword [0x10180f98]
test eax, eax
je 0x101012ce
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ecx
call dword [0x10180d50]
add esp, 8
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10101320
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov eax, dword [0x10180f98]
test eax, eax
je 0x10101309
dec dword [eax + 0xb0]
push dword [0x10180fa8]
push ecx
call dword [0x10180d50]
add esp, 8
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100d3040
Function at 0x1010dd20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [edx + 0x10]
mov edi, dword [edx + 0x14]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
movzx ebx, byte [esp + 0x24]
xor esi, esi
sub ebp, edi
jbe 0x1010dda7
lea ecx, [edi + 1]
add edi, dword [edx + 0xc]
xor esi, esi
nop dword [eax + eax]
movzx ebx, byte [edi + esi]
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jae 0x1010dd6b
lea eax, [ecx + esi]
inc esi
cmp ebp, esi
mov dword [edx + 0x14], eax
jne 0x1010dd50
mov esi, ebp
jmp 0x1010dd9a
cmp ebx, 0x2e
je 0x1010de6e
cmp ebx, 0x45
je 0x1010dd7e
cmp ebx, 0x65
jne 0x1010dd9a
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp]
push esi
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.10009270
jmp 0x1010de85
movzx ebx, byte [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
movd xmm1, eax
movd xmm0, ecx
mov eax, esi
punpckldq xmm1, xmm0
neg eax
punpckldq xmm1, xmmword [0x10116330]
cmovs eax, esi
cmp eax, 0x135
subpd xmm1, xmmword [0x10116340]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
jb 0x1010de18
movsd xmm2, qword [0x10116350]
xorpd xmm1, xmm1
nop dword [eax]
ucomisd xmm0, xmm1
jne 0x1010ddf8
jnp 0x1010de41
test esi, esi
jns 0x1010de8a
divsd xmm0, xmm2
add esi, 0x134
mov eax, esi
neg eax
cmovs eax, esi
cmp eax, 0x134
ja 0x1010ddf0
mov ecx, dword [0x10180d58]
test esi, esi
movsd xmm1, qword [ecx + eax*8]
js 0x1010de64
mulsd xmm0, xmm1
movapd xmm1, xmmword [0x10116360]
andpd xmm1, xmm0
ucomisd xmm1, qword [0x10116370]
jae 0x1010de8a
test bl, bl
jne 0x1010de4d
xorpd xmm0, xmmword [0x10116380]
mov eax, dword [esp]
movsd qword [eax + 8], xmm0
xor eax, eax
mov ecx, dword [esp]
mov dword [ecx], eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
divsd xmm0, xmm1
test bl, bl
je 0x1010de45
jmp 0x1010de4d
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp]
push esi
push dword [esp + 0x30]
push dword [esp + 0x30]
push eax
call fcn.10008ae0
add esp, 0x20
jmp 0x1010de5f
lea eax, [esp + 4]
mov dword [esp + 4], 0xe
push eax
push edx
call fcn.1010e0a0
mov ecx, dword [esp + 8]
add esp, 8
mov dword [ecx + 4], eax
mov eax, 1
jmp 0x1010de57
Function at 0x10112bb0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1009d2a0
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x101585b9
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10112c16
mov edi, eax
push 0x101585da
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10112c16
mov esi, eax
push 0x101585e8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10112c16
mov edi, eax
xor ebx, ebx
jmp 0x10112c83
push 0x10158574
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10112cf8
mov esi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10112cf8
mov edi, eax
push str.NtReleaseKeyedEvent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10112cf8
mov ebx, eax
push str.NtWaitForKeyedEvent
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10112cf8
mov esi, eax
lea eax, [ebp - 0x28]
push 0
push 0
push 0xc0000000
push eax
call edi
test eax, eax
jne 0x10112cf8
mov edi, dword [ebp - 0x28]
movzx eax, byte [0x10180e99]
push 4
push 0xc
call fcn.100218a0
add esp, 8
test eax, eax
je 0x10112d09
mov dword [eax], ebx
mov dword [eax + 4], esi
mov ecx, eax
mov dword [eax + 8], edi
xor eax, eax
lock cmpxchg dword [0x10180fd4], ecx
je 0x10112ce5
cmp dword [ecx], 0
mov esi, eax
mov dword [ebp - 0x20], ecx
je 0x10112cd4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 8]
push eax
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24]
push 4
push 0xc
push dword [ebp - 0x20]
call fcn.100218b0
add esp, 0xc
mov ecx, esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10158754
push 0x5b
push str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.3_src_thread_parkerwindowsmod.rs
call fcn.10112910
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0
push 0xc
push 4
call fcn.10113cc0
add esp, 8
ud2
Function at 0x10113360
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.100b53a0
add esp, 0xc
mov eax, dword [ebp - 0x20]
cmp eax, 0x80000000
jne 0x101133d9
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call dword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x10113405
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x10113425
jmp 0x10113431
mov ecx, dword [0x10159c68]
mov edx, dword [0x10159c6c]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x10113431
push 1
push eax
push dword [ebp - 0x1c]
call fcn.100218b0
add esp, 0x40
jmp 0x10113434
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x10113431
push 1
push ebx
push edi
call fcn.100218b0
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401235
Capabilities:
Check for peb beingdebugged flag

Disassembly:
jmp 0x410370
push 0xffffffffffffffff
push 0x5a3820
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x5bca48
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_3
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call sub.MFC42.DLL_CDC::LineTo
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call sub.MFC42.DLL_CDC::LineTo
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebp
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_3
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x5bca18
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x401514
Capabilities:
Allocate or change rwx memory

Disassembly:
jmp 0x438210
push ebx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
lea ebx, [esi + 0xa]
push eax
push 0x40
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x438265
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, ecx
push edi
mov edi, ebp
lea eax, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x40151e
Capabilities:
Get common file path

Disassembly:
jmp 0x430210
mov eax, 0x1004
call fcn.004bf010
mov al, byte [0x65ab44]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x430253
mov dl, al
mov ecx, 0x65ab40
or dl, bl
mov byte [0x65ab44], dl
call sub.MFC42.DLL_CString::CString_3
push 0x430320
call fcn.004beff4
add esp, 4
mov eax, dword [0x65ab40]
push 0x659680
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4302b9
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x6468b4
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x65ab40
call fcn.004be0ae
pop edi
mov esi, dword [esp + 0x1010]
push 0x65ab40
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret