joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10018970
Capabilities:
Register raw input devices

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038441
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [0x1005aee4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1005f9a8]
cmp eax, dword [edx + 4]
jle 0x10018a02
push 0x1005f9a8
call fcn.10020d48
add esp, 4
cmp dword [0x1005f9a8], 0xffffffff
jne 0x10018a02
mov dword [ebp - 4], 0
mov ecx, 0x1005f9ac
call fcn.10018910
mov dword [ebp - 4], 0xffffffff
push 0x1005f9a8
call fcn.10020cf7
add esp, 4
mov ecx, dword [ebp - 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0
push 0
push 0x64
push 0x64
push 0
push 0
push 0x80000000
push 0x1003f70b
mov edx, dword [0x1005f9ac]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, 1
mov word [ebp - 0x1c], dx
mov eax, 2
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x18], 0x100
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
push 0xc
push 1
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_RegisterRawInputDevices]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001fd50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.10027862
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 1
mov eax, dword [ebp + 0x10]
push eax
call fcn.10027a75
add esp, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1002744b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002748a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002748a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002748a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002748a
cmp dword [ecx + 0x74], 0xe
jbe 0x1002748a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1002b3a8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003b988
push 0x1003b980
push str.FlsAlloc
push 0x1f
call fcn.1002b2c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002b3dc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003918c]
call esi
jmp 0x1002b3e2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x1002b426
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003b998
push 0x1003b990
push str.FlsGetValue
push 0x21
call fcn.1002b2c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002b45d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003918c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002b465
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003b9a0
push 0x1003b998
push str.FlsSetValue
push 0x22
call fcn.1002b2c4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002b49f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003918c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1002c956
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10036150
mov eax, dword [0x10055040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1002abb5
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1002c998
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1002caf4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10035fa0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x1005b440]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1002c56e
mov ecx, dword [esi*4 + 0x1005b440]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1002caed
cmp eax, dword [ecx + edi + 0x24]
jne 0x1002caed
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002caed
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1002c56e
add esp, 0x14
test edx, edx
jl 0x1002caed
jg 0x1002ca63
test eax, eax
jb 0x1002caed
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1002caed
jl 0x1002ca7d
cmp dword [ebp - 0x1008], eax
ja 0x1002caed
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1002ca9b
test ebx, ebx
je 0x1002cad4
cmp ecx, edi
jae 0x1002cad4
mov al, byte [ecx]
cmp al, 0xd
jne 0x1002cab5
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1002cac1
cmp byte [ecx + 1], 0xa
jne 0x1002cac1
inc ecx
jmp 0x1002cac1
movzx eax, al
movsx eax, byte [eax + 0x10055280]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1002ca9b
cmp edx, ebx
jne 0x1002ca9b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1002caf2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10021437
leave
ret
Function at 0x1002cb5d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x1005b440]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1002cb9d
cmp byte [ebx], 0xa
jne 0x1002cb9d
or byte [edi + eax + 0x28], 4
jmp 0x1002cba2
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1002cca1
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1002cc84
inc eax
cmp dl, 0xd
je 0x1002cbce
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1002cbf4
cmp eax, ecx
jae 0x1002cc02
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1002cbb6
jmp 0x1002cca1
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002cc7f
cmp dword [ebp - 0x10], 0
je 0x1002cc7f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x1005b440]
test byte [eax + edi + 0x28], 0x48
je 0x1002cc59
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1002cc44
mov byte [esi], dl
jmp 0x1002cc55
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x1005b440]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1002cca1
cmp byte [ebp - 1], 0xa
jne 0x1002cc68
cmp esi, ebx
jne 0x1002cc68
mov byte [esi], 0xa
jmp 0x1002cca0
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1002c58c
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1002cca1
mov byte [esi], 0xd
jmp 0x1002cca0
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x1005b440]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1002cc9e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1002cca1
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1002ccaa
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x1005b440]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1002ccf0
cmp word [ebx], dx
jne 0x1002ccf0
or byte [eax + edi + 0x28], 4
jmp 0x1002ccf5
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1002ce58
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1002ce38
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1002cd36
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1002cd6c
cmp eax, edx
jae 0x1002cd7a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1002cd11
jmp 0x1002ce58
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002ce33
cmp dword [ebp - 0x18], 0
je 0x1002ce33
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x1005b440]
test byte [eax + edi + 0x28], 0x48
je 0x1002ce09
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1002cdcd
mov word [esi], cx
jmp 0x1002ce04
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x1005b440]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x1005b440]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x1005b440]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1002ce58
pop eax
cmp word [ebp - 4], ax
jne 0x1002ce19
cmp esi, ebx
jne 0x1002ce19
mov word [esi], ax
jmp 0x1002ce55
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1002c58c
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1002ce58
push 0xd
pop eax
jmp 0x1002ce14
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x1005b440]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1002ce52
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1002ce58
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1002f05f
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002f0fc
push ebx
push esi
call fcn.1002f028
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002efbc
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002f0a9
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002f0fb
push edi
push eax
call fcn.100299e3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002f0c9
call fcn.100299a9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002f0fa
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002efbc
add esp, 0x20
test eax, eax
jne 0x1002f0e8
push edi
call fcn.100299a9
jmp 0x1002f0f0
push ebx
call fcn.100299a9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1003383e
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100337ba
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100339ad
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100339ad
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10033962
jg 0x1003389a
test eax, eax
je 0x10033958
push 1
push 0x1000
call fcn.1002b14e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100338bd
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1003394f
push 0x8000
push ebx
call fcn.100336eb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100338e6
jg 0x100338e1
cmp ecx, 0x1000
jb 0x100338e6
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1002c11e
add esp, 0x10
cmp eax, 0xffffffff
je 0x1003392b
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100338e1
jl 0x10033912
test ecx, ecx
jne 0x100338d3
push dword [ebp - 0xc]
push ebx
call fcn.100336eb
push esi
call fcn.100299a9
add esp, 0xc
xor ebx, ebx
jmp 0x100339bb
cmp byte [edi + 0x24], 0
je 0x10033942
cmp dword [edi + 0x20], 5
jne 0x10033942
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1003394d
mov ebx, dword [edi + 0x18]
jmp 0x1003394f
xor ebx, ebx
push esi
call fcn.100299a9
pop ecx
jmp 0x100339bb
test ecx, ecx
jg 0x10033924
jl 0x10033962
test eax, eax
jae 0x10033924
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1002c58c
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10033982
cmp byte [edi + 0x1c], 0
je 0x10033924
jmp 0x100339b3
push ebx
call fcn.10032c37
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10033924
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100339bb
cmp byte [edi + 0x1c], 0
je 0x100339b8
mov ebx, dword [edi + 0x18]
jmp 0x100339bb
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1002c58c
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10035f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10035f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10035f4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10011a30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10011a3f
pop dword [ebp - 0x48]
mov eax, 0xdbf522db
sub eax, 0xcbf4089c
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xb0c213cd
sub dword [ebp - 0x58], 0x626fce82
mov dword [ebp - 0x54], 0x3adf1616
add dword [ebp - 0x54], 0xf754362f
mov dword [ebp - 0x50], 0x66c64129
add dword [ebp - 0x50], 0xe5860305
mov dword [ebp - 0x4c], 0xcdebc0f7
sub dword [ebp - 0x4c], 0xcdebc0f7
lea eax, [ebp - 0x58]
push eax
mov eax, 0x7986a0ae
add eax, 0x967db01e
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x16c3b3ae
sub dword [ebp - 0x58], 0xa2514a58
mov dword [ebp - 0x54], 0xf2d813f
sub dword [ebp - 0x54], 0xcdc11fca
mov dword [ebp - 0x50], 0x4ebb4371
sub dword [ebp - 0x50], 0xeb4bd705
mov dword [ebp - 0x4c], 0xef4b6830
add dword [ebp - 0x4c], 0x10b497d0
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x44d49e4a
sub eax, 0x34d04e0a
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x4672d
push 0
call eax
mov ecx, 0x523a
mov ebx, eax
mov esi, 0x71a9567e
add esi, 0x9e5e4582
add esi, dword [ebp - 0x48]
mov edx, 0x96ab5a52
add edx, 0xd0106c16
add dword [ebp - 0x34], edx
mov edi, dword [esi]
xor dword [ebp - 0x14], esi
sub edi, edx
sub dword [ebp - 0x3c], 0x3dd061ba
mov dword [ebx], edi
xor dword [ebp - 0xc], 0x821bd276
add ebx, 0x263f189e
add ebx, 0xd9c0e766
add esi, 0x14b086bf
add esi, 0xeb4f7945
loop 0x10011b5b
add eax, 0x89156341
add eax, 0x76ebd87a
mov ebx, eax
add eax, 5
mov ecx, 0x2ae41dc4
add ecx, 0xe51be23c
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x10014630
Capabilities:
Enumerate process modules
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10018b90
call fcn.1000d420
call fcn.100190f0
call fcn.100092f0
call fcn.10011a30
mov ecx, eax
call fcn.10037430
call fcn.10011a30
mov ecx, eax
call fcn.10011a30
mov esi, dword [esi]
test esi, esi
je 0x10014675
mov ecx, esi
call fcn.10011a30
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
call fcn.10013770
call fcn.1002d0f0
pop esi
jmp fcn.1001f4d0
Function at 0x10016a60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ef28
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1006b894]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x40], eax
cmp dword [esi + 0x30], ebx
jne 0x10016ad9
movzx ecx, word [esi + 0x28]
mov eax, dword [esi + 4]
push ecx
lea edx, [esi + 0xc]
push edx
push eax
call fcn.1000d760
mov ecx, eax
call fcn.10011a30
mov dword [esi + 0x30], eax
cmp eax, ebx
jne 0x10016ad9
push str.Hyphenation_service_not_supported
push 0xffffff36
lea ecx, [ebp - 0x3c]
call fcn.10011a30
push 0x1005d268
lea ecx, [ebp - 0x3c]
push ecx
call sub.MSVCR100.dll__CxxThrowException
call fcn.10011a30
mov ecx, eax
call fcn.10037410
test al, al
je 0x10016b61
cmp byte [esi + 0x3d], bl
jne 0x10016b61
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x4c], esp
push 6
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push 0x10046540
mov byte [ecx], bl
call fcn.10011a30
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0xffffffffffffffff
push ebx
lea edx, [esi + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
push edx
mov dword [ebp - 4], ebx
mov byte [ecx], bl
call fcn.10011a30
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push ecx
mov edx, esp
mov dword [ebp - 0x48], esp
mov bl, 1
push edx
mov byte [ebp - 4], bl
call eax
mov byte [ebp - 4], 2
call fcn.10011a30
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10011a30
mov byte [esi + 0x3d], bl
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x40]
mov edx, dword [edx + 0xc]
push eax
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c1ea
mov esp, ebp
pop ebp
ret 4
Function at 0x10022c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004081c
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x1006b894]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x484], ebx
cmp byte [esi + 0x28], bl
je 0x10022de1
mov edx, dword [esi + 4]
push ebx
lea eax, [ebp - 0x480]
push eax
push 0x400
lea ecx, [ebp - 0x414]
push ecx
push edx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x480], ebx
call edi
cmp eax, ebx
jne 0x10022d19
call dword [sym.imp.kernel32.dll_GetLastError]
push str.MailSlotRead
push eax
lea ecx, [ebp - 0x47c]
call fcn.10011a30
push 0x1005d268
lea eax, [ebp - 0x47c]
push eax
call sub.MSVCR100.dll__CxxThrowException
cmp dword [ebp - 0x480], ebx
jne 0x10022d2a
mov dword [ebp - 4], 0xffffffff
jmp 0x10022cc1
mov dword [ebp - 0x420], 0xf
mov dword [ebp - 0x424], ebx
mov byte [ebp - 0x434], bl
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 1
call fcn.10011a30
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.10036db0
mov edx, dword [esi]
mov edx, dword [edx + 8]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x434]
push ecx
lea eax, [ebp - 0x414]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call edx
cmp al, bl
je 0x10022d99
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x434]
push ecx
mov ecx, esi
call fcn.10011a30
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call fcn.10035170
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 4
call sym.AdobeLinguistic.dll_public:_void___thiscall_devtech::RCPtr_struct_devtech::LM_UniString::StringValue_::destructor_void_
cmp dword [ebp - 0x420], 0x10
jb 0x10022dcf
mov edx, dword [ebp - 0x434]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x10022cc1
mov eax, dword [ebp - 0x484]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003c1ea
mov esp, ebp
pop ebp
ret

Function at 0x1003ba10
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x1006bd68]
test eax, eax
je 0x1003ba3b
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1003ba3b
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1003ba3b
mov ecx, dword [esp + 4]
nop
cmp dword [eax], ecx
je 0x1003ba3e
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x1003ba30
xor eax, eax
ret
mov eax, dword [eax + 0xc]
ret

Function at 0x1003bc40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x1006bd68]
push edi
mov edi, dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1003bc57
push eax
call edi
test eax, eax
jne 0x1003bc8d
push esi
call fcn.10011a30
push 0x1003b950
push 0x1006bd64
mov esi, eax
call fcn.10011a30
mov eax, dword [0x1006bd68]
add esp, 8
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov eax, dword [0x1006bd68]
pop esi
test eax, eax
jne 0x1003bc8a
pop edi
ret
push eax
call edi
pop edi
ret