joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006638d
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test esi, esi
jne 0x100664bb
cmp dword [ebx], 0x74
je 0x100664bb
mov ecx, dword [0x10282acc]
test ecx, ecx
je 0x100663c3
call fcn.1004f683
mov esi, eax
jmp 0x100663c5
xor esi, esi
push 0x2801
call fcn.100b7336
mov edi, eax
mov dword [esp], 0x5002
call fcn.100b7336
mov dword [esp], str.set_default_char_format_failed__only_CHARFORMAT2W_can_be_set_for_default_char_format
mov ebx, eax
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.10026770
add esp, 0x10
mov dword [ebp + 0xc], eax
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x2800
jge 0x1006642c
xor edx, edx
push edx
push edx
push ecx
push edi
push eax
push ebx
push edx
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp + 0xc]
mov byte [eax + edi], 0
push ebx
call fcn.100b7331
pop ecx
test esi, esi
je 0x1006646b
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x1006646b
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x4c4
push str.srccontrolSRichEdit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x100664b0
push 0x2801
call fcn.100b7336
mov dword [esp], 0x4c4
mov esi, eax
push str.srccontrolSRichEdit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.100267d0
add esp, 0x20
mov byte [eax + esi], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
pop ecx
xor eax, eax
jmp 0x100664fc
mov eax, dword [edi + 0x464]
push 0
push ebx
push esi
mov ecx, dword [eax + 0xc]
push dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test esi, esi
jne 0x100664f9
mov eax, dword [ebp - 4]
add edi, 0x2fc
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x464]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
push edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x4c]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1006784f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push 0x78
pop ecx
mov ax, word [edi + 0x2e8]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x2e8], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x100678f5
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
xor edx, edx
mov dword [ebp - 4], ecx
inc edx
mov eax, dword [edi]
push 0
push ecx
push edx
mov ecx, edi
call dword [eax + 0x120]
test eax, eax
je 0x100678bd
mov ecx, edi
call fcn.100682b5
mov ecx, dword [ebp - 4]
inc esi
push 1
pop edx
cmp si, bx
jl 0x10067898
cmp si, bx
jge 0x100678f5
push dword [ebp + 0x14]
or eax, 0xffffffff
mov ecx, ebx
push dword [ebp + 0x10]
sub ecx, esi
cmp word [ebp + 0xc], 0
push 1
pop edx
cmovg eax, edx
movsx ecx, cx
cwde
imul ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.1005b4f6
test bx, bx
je 0x10067934
mov ecx, edi
call fcn.10058f67
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
movzx edx, word [ebp + 0x14]
mov edi, eax
movzx ecx, word [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
shl edx, 0x10
or edx, ecx
push edx
push dword [ebp + 8]
push 0x200
push edi
call esi
push 0x2000001
push edi
push 0x20
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1006aa77
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x101e803b
call fcn.10043ca1
mov edi, ecx
push dword [ebp + 0x10]
lea eax, [edi + 0x1f0]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, edi
test eax, eax
jne 0x1006aaa8
call fcn.1005c036
jmp 0x1006ab2c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1005b34a
lea esi, [edi + 0x200]
push esi
lea ecx, [ebp + 8]
call fcn.10020be0
mov eax, dword [esi]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jne 0x1006ab01
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ebx
push ecx
mov ecx, edi
call dword [eax + 0x3c]
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.10026310
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff4
mov byte [ebp - 4], 2
cmp ecx, dword [0x102717b8]
je 0x1006ab01
call fcn.1001f8b0
mov esi, dword [ebp + 8]
push 1
push ebx
push ebx
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0xc]
mov dword [ebp - 4], 3
cmp ecx, dword [0x102717b8]
je 0x1006ab2c
call fcn.1001f8b0
call fcn.10043c7b
ret 0xc
Function at 0x10075fcd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10271304]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.100aeaa0
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x10076028
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1007603c
cmp byte [ebp - 6], 1
jne 0x1007603c
cmp dword [ebp - 0x11c], 6
jne 0x1007603c
xor eax, eax
inc eax
jmp 0x1007603e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1004338a
mov esp, ebp
pop ebp
ret
Function at 0x10082004
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x58
mov eax, 0x101e7101
call fcn.10043ca1
mov esi, ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.10056e44
mov dword [ebp - 0x64], 0x101f7450
mov dword [ebp - 0x5c], 0x101f7464
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x40], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], edi
call dword [eax + 0xa4]
cmp dword [ebp - 0x3c], ebx
jne 0x10082206
cmp dword [ebp + 0x10], ebx
je 0x1008207b
cmp edi, 0xffffffff
je 0x100821d4
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x350]
cmp dword [ecx + 8], ebx
sete al
mov dword [ecx + 8], eax
jmp 0x100821c6
cmp dword [esi + 0x348], ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
jne 0x10082092
cmp dword [esi + 0x344], 0
je 0x100820b4
push 0x11
call ebx
test ax, ax
jns 0x100820b4
cmp edi, 0xffffffff
je 0x100821d4
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x350]
cmp dword [ecx + 8], eax
jmp 0x10082070
cmp dword [esi + 0x348], 0
jne 0x100820ca
cmp dword [esi + 0x344], 0
je 0x1008215d
push 0x10
call ebx
test ax, ax
jns 0x1008215d
cmp edi, 0xffffffff
je 0x100821d4
xor eax, eax
mov ecx, edi
cmp dword [ebp + 8], 0xffffffff
cmovne eax, dword [ebp + 8]
cmp eax, edi
mov dword [ebp + 8], eax
mov edx, eax
cmovg ecx, eax
cmp ecx, eax
mov dword [ebp - 0x10], ecx
mov ecx, esi
cmove edx, edi
xor ebx, ebx
mov dword [ebp + 0x10], edx
call fcn.10081d26
test eax, eax
jle 0x100821d4
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x350]
add eax, edi
mov ecx, dword [eax + 8]
cmp ebx, dword [ebp + 0x10]
jl 0x10082138
cmp ebx, dword [ebp - 0x10]
jg 0x10082138
mov dword [eax + 8], 1
jmp 0x1008213c
and dword [eax + 8], 0
cmp ecx, dword [eax + 8]
je 0x10082149
push ebx
mov ecx, esi
call fcn.100826b3
mov ecx, esi
inc ebx
add edi, 0xc
call fcn.10081d26
cmp ebx, eax
jl 0x1008211a
mov edi, dword [ebp + 0xc]
jmp 0x100821d4
or dword [esi + 0x304], 0xffffffff
mov ecx, esi
xor ebx, ebx
call fcn.10081d26
test eax, eax
jle 0x100821b1
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x350]
cmp ebx, edi
je 0x1008219c
mov edx, dword [eax + ecx + 8]
test edx, edx
je 0x1008219c
and dword [eax + ecx + 8], 0
test edx, edx
je 0x1008219c
push ebx
mov ecx, esi
call fcn.100826b3
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.10081d26
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x10082176
cmp edi, 0xffffffff
je 0x100821d4
imul eax, edi, 0xc
add eax, dword [esi + 0x350]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x304], edi
call fcn.100826b3
push esi
lea ecx, [ebp - 0x38]
call fcn.10056e44
mov dword [ebp - 0x38], 0x101f74d4
mov dword [ebp - 0x30], 0x101f74e8
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], edi
call dword [eax + 0xa4]
call fcn.10043c7b
ret 0xc
Function at 0x10085031
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x101e8c33
call fcn.10043ca1
mov ebx, ecx
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call esi
push 0x11
mov edi, eax
call esi
and eax, 0x8000
push 0x10
mov dword [ebp - 0x10], eax
call esi
mov ecx, dword [ebp - 0x10]
and eax, 0x8000
and edi, 0x8000
jne 0x10085083
test ecx, ecx
jne 0x10085077
test eax, eax
je 0x100850a9
push 4
jmp 0x100850a8
test eax, eax
jne 0x1008507f
push 2
jmp 0x100850a8
push 6
jmp 0x100850a8
test ecx, ecx
jne 0x10085092
test eax, eax
jne 0x1008508e
inc eax
jmp 0x100850a9
test ecx, ecx
je 0x1008509e
test eax, eax
jne 0x1008509a
push 3
jmp 0x100850a8
test ecx, ecx
jne 0x100850a6
test eax, eax
je 0x100850a6
push 5
jmp 0x100850a8
push 7
pop eax
cmp ax, word [ebx + 0x1f4]
jne 0x100850b9
mov ax, word [ebx + 0x1f6]
push ebx
lea ecx, [ebp - 0x34]
mov word [ebx + 0x1f0], ax
call fcn.10056e44
mov dword [ebp - 0x34], 0x101f7bac
mov dword [ebp - 0x2c], 0x101f7bc0
mov ax, word [ebx + 0x1f0]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x1f2]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0xa4]
call fcn.10043c7b
ret
Function at 0x10096027
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
xor ebx, ebx
sub eax, ebx
je 0x10096117
sub eax, 1
je 0x1009610a
mov ecx, dword [0x10282acc]
push esi
push edi
test ecx, ecx
je 0x10096058
call fcn.1004f683
mov esi, eax
jmp 0x1009605a
mov esi, ebx
push 0x2801
call fcn.100b7336
mov dword [esp], str.GetSpecifiedSize_can_only_be_applied_for_Horz_or_Vert
mov edi, eax
push 0xffffffffffffffff
push 0x2800
push edi
call fcn.100267d0
add esp, 0x10
mov byte [eax + edi], bl
test esi, esi
je 0x100960b3
mov eax, dword [esi]
mov ecx, esi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x100960b3
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SLinearLayoutParam::GetSpecifiedSize
push 0x49
push str.srclayoutSLinearLayout.cpp
push edi
push str.soui
push 3
push ebx
call dword [eax + 0x34]
jmp 0x100960f2
push 0x2801
call fcn.100b7336
push 0x49
push str.srclayoutSLinearLayout.cpp
push str.SOUI::SLinearLayoutParam::GetSpecifiedSize
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.100267d0
add esp, 0x24
mov byte [eax + esi], bl
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
mov ecx, dword [ebp + 8]
and dword [esp], ebx
call fcn.100626be
mov eax, dword [ebp + 8]
pop edi
pop esi
jmp 0x10096125
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x14]
mov dword [eax], ecx
mov ecx, dword [edx + 0x18]
jmp 0x10096122
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0xc]
mov dword [eax], ecx
mov ecx, dword [edx + 0x10]
mov dword [eax + 4], ecx
pop ebx
pop ebp
ret 8
Function at 0x10097598
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
xor ebx, ebx
sub eax, ebx
je 0x1009768e
sub eax, 1
je 0x10097681
mov ecx, dword [0x10282acc]
push esi
push edi
test ecx, ecx
je 0x100975c9
call fcn.1004f683
mov esi, eax
jmp 0x100975cb
mov esi, ebx
push 0x2801
call fcn.100b7336
mov dword [esp], str.GetSpecifiedSize_can_only_be_applied_for_Horz_or_Vert
mov edi, eax
push 0xffffffffffffffff
push 0x2800
push edi
call fcn.100267d0
add esp, 0x10
mov byte [eax + edi], bl
test esi, esi
je 0x10097627
mov eax, dword [esi]
mov ecx, esi
push 3
push ebx
call dword [eax + 0x2c]
test al, al
je 0x10097627
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SGridLayoutParam::GetSpecifiedSize
push 0xbf
push str.srclayoutSGridLayout.cpp
push edi
push str.soui
push 3
push ebx
call dword [eax + 0x34]
jmp 0x10097669
push 0x2801
call fcn.100b7336
push 0xbf
push str.srclayoutSGridLayout.cpp
push str.SOUI::SGridLayoutParam::GetSpecifiedSize
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.100267d0
add esp, 0x24
mov byte [eax + esi], bl
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.100b7331
pop ecx
push edi
call fcn.100b7331
mov ecx, dword [ebp + 8]
and dword [esp], ebx
call fcn.100626be
mov eax, dword [ebp + 8]
pop edi
pop esi
jmp 0x1009769c
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x24]
mov dword [eax], ecx
mov ecx, dword [edx + 0x28]
jmp 0x10097699
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
mov dword [eax], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 4], ecx
pop ebx
pop ebp
ret 8

Function at 0x1009b16e
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
je 0x1009b17b
xor eax, eax
jmp 0x1009b1a9
push dword [ecx + 4]
call fcn.10070a9e
pop ecx
test eax, eax
je 0x1009b196
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xa8]
test al, 2
jne 0x1009b177
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
pop ebp
ret 4
Function at 0x1009b2d4
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x101e8405
call fcn.10043ca1
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.1009b16e
test eax, eax
je 0x1009b30f
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, ebx
and al, 1
movzx eax, al
push eax
call fcn.1009acf3
xor eax, eax
inc eax
jmp 0x1009b411
push dword [ebx + 4]
call fcn.10070a9e
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x1009b3bb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
je 0x1009b3bb
cmp edi, 0x25
je 0x1009b348
cmp edi, 0x27
je 0x1009b356
cmp edi, 0x26
je 0x1009b348
cmp edi, 0x28
jne 0x1009b3bb
cmp edi, 0x27
je 0x1009b356
cmp edi, 0x28
je 0x1009b356
push 2
jmp 0x1009b358
push 3
pop edi
jmp 0x1009b366
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
jne 0x1009b3a5
push edi
mov ecx, esi
call fcn.100597b0
mov esi, eax
test esi, esi
jne 0x1009b35b
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.100593a8
mov ecx, eax
jmp 0x1009b395
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x74]
test eax, eax
jne 0x1009b3a5
push edi
mov ecx, esi
call fcn.100597b0
mov esi, eax
test esi, esi
jne 0x1009b387
jmp 0x1009b307
push 1
mov ecx, esi
call fcn.10059655
push eax
mov ecx, ebx
call fcn.1009b66a
jmp 0x1009b307
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
shr eax, 0xf
lea ecx, [ebp + 8]
and al, 1
movzx eax, al
push eax
push edi
call fcn.100a22fd
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.1009b465
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.1001f8a0
mov eax, ebx
call fcn.10043c7b
ret 4
Function at 0x100a244d
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x101e893c
call fcn.10043ca1
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x102717bc]
mov dword [esi], eax
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
and dword [ebp - 4], 0
inc ebx
movzx edx, cx
mov dword [ebp - 0x10], ebx
push 2
pop edi
cmp edx, 0x25
ja 0x100a24f6
je 0x100a24ec
mov eax, edx
sub eax, 0xd
je 0x100a24e2
sub eax, 0xe
je 0x100a24d8
sub eax, 5
je 0x100a24ce
sub eax, ebx
je 0x100a24c4
sub eax, ebx
je 0x100a24ba
sub eax, ebx
je 0x100a24b0
sub eax, ebx
jne 0x100a252d
push str.Home
jmp 0x100a2664
push 0x101fb544
jmp 0x100a2664
push str.PageDown
jmp 0x100a2664
push str.PageUp
jmp 0x100a2664
push str.Space
jmp 0x100a2664
push 0x101fb4f8
jmp 0x100a2664
push 0x101fb500
jmp 0x100a2664
push str.Left
jmp 0x100a2664
mov eax, edx
sub eax, 0x26
je 0x100a265f
sub eax, 1
je 0x100a2658
sub eax, 1
je 0x100a2651
sub eax, edi
je 0x100a264a
sub eax, 3
je 0x100a2643
sub eax, 1
je 0x100a263c
cmp cx, 0x30
jb 0x100a2539
cmp cx, 0x39
jbe 0x100a2542
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x100a2559
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.10020e40
jmp 0x100a266b
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x100a257d
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.10058d9a
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x100a25cf
cmp cx, 0x6a
jne 0x100a258d
push 0x101fb5a8
jmp 0x100a2664
cmp cx, 0x6b
jne 0x100a259d
push str.Num_
jmp 0x100a2664
cmp cx, 0x6e
jne 0x100a25ad
push str.Num_Del
jmp 0x100a2664
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x100a25eb
lea eax, [edx - 0x6f]
push eax
push 0x101fb5d0
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.10058d9a
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [0x102717b8]
je 0x100a266b
call fcn.1001f8b0
jmp 0x100a266b
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, al
movsx eax, cl
cmp eax, 0x3d
jg 0x100a2615
je 0x100a2624
cmp eax, 0x27
je 0x100a2624
cmp eax, 0x2b
jle 0x100a266b
cmp eax, 0x2f
jle 0x100a2624
cmp eax, 0x3b
je 0x100a2624
jmp 0x100a266b
cmp eax, 0x5b
jl 0x100a266b
cmp eax, 0x5d
jle 0x100a2624
cmp eax, 0x60
jne 0x100a266b
movsx ax, cl
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.10057a6b
jmp 0x100a266b
push str.Delete
jmp 0x100a2664
push str.Insert
jmp 0x100a2664
push str.Print
jmp 0x100a2664
push str.Down
jmp 0x100a2664
push str.Right
jmp 0x100a2664
push 0x101fb50c
mov ecx, esi
call fcn.100209c0
mov eax, esi
call fcn.10043c7b
ret
Function at 0x100a9504
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
jne 0x100a9524
mov eax, dword [ebp + 8]
mov dword [eax], 1
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x100a95e2
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 0x10]
call fcn.100a8e16
pop ecx
pop ecx
mov ecx, eax
test ecx, ecx
je 0x100a9542
mov eax, dword [ebp + 8]
mov dword [eax], ecx
jmp 0x100a9519
push ebx
push edi
mov edi, dword [ebp - 4]
lea eax, [edi + 2]
push eax
call dword [0x1027187c]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x100a9563
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x100a9587
push dword [ebp + 0x10]
push edi
push 1
push ebx
call fcn.100b8344
add esp, 0x10
cmp eax, edi
je 0x100a958f
push ebx
call dword [0x10271880]
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], 2
mov dword [eax + 8], esi
mov dword [eax + 4], esi
jmp 0x100a95e0
push edi
push ebx
push dword [ebp + 0x18]
call fcn.100a8de5
mov edx, eax
add esp, 0xc
cmp edx, 2
je 0x100a95b1
push 2
push edx
call fcn.100a9654
pop ecx
pop ecx
test al, al
je 0x100a95bf
shr edi, 1
xor ecx, ecx
lea eax, [edi + edi]
mov word [eax + ebx], cx
lea edi, [eax + 2]
push dword [ebp + 0x1c]
push 1
push 1
push edx
push dword [ebp + 0x14]
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100a9389
mov eax, dword [ebp + 8]
add esp, 0x28
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100c521a
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c511f

Function at 0x100ca5a4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100ca423

Function at 0x100cd3d4
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100cd094
Function at 0x100d3a63
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 0x18]
xor edi, edi
xor esi, esi
push dword [ebp + 0x1c]
inc edi
mov dword [ebp - 8], esi
push edi
call fcn.100df46d
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], esi
jne 0x100d3a90
xor eax, eax
jmp 0x100d3b8c
mov eax, dword [ebp - 4]
mov ecx, SysReAllocString
push 0x40
push 0x100aefd0
mov dword [eax + 0x2a4], ecx
mov eax, dword [ebp - 4]
push dword [ebp - 4]
mov dword [eax + 0x2a8], ecx
call fcn.100d4b0e
push esi
push eax
call fcn.100aeff0
add esp, 0x14
test eax, eax
je 0x100d3acb
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 4]
call fcn.100df618
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.100d4af0
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.100d620f
add esp, 0x28
test eax, eax
jne 0x100d3b02
mov dword [ebp - 8], edi
mov eax, dword [ebp - 4]
mov dword [eax + 0xb4], 0x2000
cmp dword [ebp - 8], esi
jne 0x100d3b43
mov eax, dword [ebp - 4]
push dword [eax + 0xb4]
push dword [ebp - 4]
call fcn.100df5e9
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xb0], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xb0], esi
jne 0x100d3b3e
mov dword [ebp - 8], edi
cmp dword [ebp - 8], esi
je 0x100d3b73
mov eax, dword [ebp - 4]
push dword [eax + 0xb0]
push dword [ebp - 4]
call fcn.100df53e
push dword [ebp + 0x18]
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push dword [ebp - 4]
mov dword [eax + 0xb0], esi
call fcn.100df4f6
add esp, 0x14
jmp 0x100d3a89
push esi
push esi
push esi
push dword [ebp - 4]
call fcn.100df3bc
push dword [ebp - 4]
call fcn.100d3c36
mov eax, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100d5fb5
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x100d5feb
push edi
mov edi, 0x10c
cmp dword [ebp + 0xc], edi
jae 0x100d5fde
push eax
call fcn.100df4e2
push 2
call fcn.100df459
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call fcn.100aeaa0
add esp, 0xc
pop edi
pop esi
pop ebp
ret