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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
mov ecx, dword [edi + 8]
call fcn.004b0f3a
test eax, eax
jne 0x4b0ea7
mov ecx, dword [0x7c5ac0]
test ecx, ecx
je 0x4b0dc3
call fcn.00496aa1
mov esi, eax
jmp 0x4b0dc5
xor esi, esi
push ebx
push 0x2800
call fcn.00685999
mov edi, eax
mov dword [esp], 0x5000
call fcn.00685999
mov ebx, eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
push 0x6f9ea0
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00462c90
add esp, 0x1c
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4b0e26
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00684e92
pop ecx
test esi, esi
je 0x4b0e62
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4b0e62
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SObjectFactoryMgr::CreateObject
push 0x3d
push str.d:workcode_svn_saltclass_trunkclass_soui_2017_soui_srccore_sobjectfactory.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x4b0e9b
mov ebx, 0x2800
push ebx
call fcn.00685999
push 0x3d
push str.d:workcode_svn_saltclass_trunkclass_soui_2017_soui_srccore_sobjectfactory.cpp
push str.SOUI::SObjectFactoryMgr::CreateObject
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
call fcn.004327b0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00684e92
pop ecx
push edi
call fcn.00684e92
pop ecx
xor eax, eax
pop ebx
jmp 0x4b0ec3
mov ecx, dword [edi + 8]
push esi
call fcn.004b0baf
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov ecx, edi
push esi
call fcn.004b11a5
mov eax, esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x4b9d84
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 + 0x210]
add ax, word [ebp + 0xc]
cwde
cdq
idiv ecx
movzx eax, ax
mov dword [ebp + 0xc], eax
cwde
mov word [edi + 0x210], dx
cdq
xor eax, edx
sub eax, edx
movzx ebx, ax
xor eax, eax
cmp ax, bx
jge 0x4b9e22
xor ecx, ecx
cmp word [ebp + 0xc], ax
setle cl
mov dword [ebp - 4], ecx
mov eax, dword [edi]
push 0
push ecx
push 1
mov ecx, edi
call dword [eax + 0x100]
test eax, eax
je 0x4b9ded
mov ecx, edi
call fcn.004bb5d2
mov ecx, dword [ebp - 4]
inc esi
cmp si, bx
jl 0x4b9dca
cmp si, bx
jge 0x4b9e22
push dword [ebp + 0x14]
mov edx, ebx
push dword [ebp + 0x10]
sub edx, esi
mov eax, edx
neg eax
cmp word [ebp + 0xc], 0
movzx ecx, ax
movzx eax, dx
cmovg ecx, eax
movsx eax, cx
mov ecx, edi
imul eax, eax, 0x78
movzx eax, ax
push eax
push dword [ebp + 8]
call fcn.0049068b
test bx, bx
je 0x4b9e61
mov ecx, edi
call fcn.0048e477
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
leave
ret 0x10

Function at 0x4bc0be
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x7b2214]
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.00668940
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 0x4bc119
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x4bc12d
cmp byte [ebp - 6], 1
jne 0x4bc12d
cmp dword [ebp - 0x11c], 6
jne 0x4bc12d
xor eax, eax
inc eax
jmp 0x4bc12f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00629f1d
leave
ret
Function at 0x4c79db
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x5c
mov eax, 0x6e7ee9
call fcn.0062acb0
mov esi, ecx
push esi
lea ecx, [ebp - 0x68]
call fcn.00424950
mov dword [ebp - 0x68], 0x6fca24
mov dword [ebp - 0x60], 0x6fca38
mov eax, dword [esi]
lea ecx, [ebp - 0x68]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [ebp - 0x40], 0
push ecx
mov ecx, esi
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
call dword [eax + 0x94]
cmp dword [ebp - 0x40], 0
jne 0x4c7bcd
cmp dword [ebp + 0x10], 0
je 0x4c7a54
cmp edi, 0xffffffff
je 0x4c7b9e
imul ecx, edi, 0xc
xor eax, eax
add ecx, dword [esi + 0x26c]
cmp dword [ecx + 8], eax
sete al
mov dword [ecx + 8], eax
jmp 0x4c7b90
cmp dword [esi + 0x264], 0
jne 0x4c7a66
cmp dword [esi + 0x260], 0
je 0x4c7a73
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4c7a32
cmp dword [esi + 0x264], 0
jne 0x4c7a89
cmp dword [esi + 0x260], 0
je 0x4c7b24
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4c7b24
cmp edi, 0xffffffff
je 0x4c7b9e
xor eax, eax
cmp ebx, 0xffffffff
cmovne eax, ebx
mov ebx, eax
mov eax, edi
cmp ebx, edi
mov dword [ebp + 8], ebx
mov ecx, ebx
cmovg eax, ebx
cmp eax, ebx
mov dword [ebp - 0x14], eax
cmove ecx, edi
and dword [ebp + 0x10], 0
mov dword [ebp - 0x10], ecx
mov ecx, esi
call fcn.004c7219
test eax, eax
jle 0x4c7b9e
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [esi + 0x26c]
add eax, ebx
mov ecx, dword [eax + 8]
cmp edi, dword [ebp - 0x10]
jl 0x4c7afb
cmp edi, dword [ebp - 0x14]
jg 0x4c7afb
xor edx, edx
inc edx
mov dword [eax + 8], edx
mov eax, edx
jmp 0x4c7b01
and dword [eax + 8], 0
xor eax, eax
cmp ecx, eax
je 0x4c7b0d
push edi
mov ecx, esi
call fcn.004c80be
mov ecx, esi
inc edi
add ebx, 0xc
call fcn.004c7219
cmp edi, eax
jl 0x4c7adc
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x4c7b9e
or dword [esi + 0x220], 0xffffffff
mov ecx, esi
and dword [ebp + 0x10], 0
call fcn.004c7219
test eax, eax
jle 0x4c7b7b
mov ebx, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov eax, dword [esi + 0x26c]
cmp ebx, edi
je 0x4c7b63
cmp dword [eax + ecx + 8], 0
je 0x4c7b63
and dword [eax + ecx + 8], 0
mov ecx, esi
push ebx
call fcn.004c80be
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
inc ebx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.004c7219
mov ecx, dword [ebp + 0xc]
cmp ebx, eax
jl 0x4c7b42
mov ebx, dword [ebp + 8]
cmp edi, 0xffffffff
je 0x4c7b9e
imul eax, edi, 0xc
add eax, dword [esi + 0x26c]
mov dword [eax + 8], 1
push edi
mov ecx, esi
mov dword [esi + 0x220], edi
call fcn.004c80be
push esi
lea ecx, [ebp - 0x3c]
call fcn.00424950
mov dword [ebp - 0x3c], 0x6fcaa8
mov dword [ebp - 0x34], 0x6fcabc
mov eax, dword [esi]
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x94]
call fcn.0062ac79
ret 0xc
Function at 0x4cbcc6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, esi
push edi
mov edi, ecx
sub eax, 9
je 0x4cbd27
sub eax, 1
je 0x4cbd09
sub eax, 3
je 0x4cbd09
test dword [edi + 0x370], 0x2000
je 0x4cbd42
push esi
call fcn.00693292
pop ecx
test eax, eax
jne 0x4cbd42
cmp esi, 0x2d
je 0x4cbd42
cmp esi, 0x2e
je 0x4cbd42
cmp esi, 0x2c
je 0x4cbd42
jmp 0x4cbd5d
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4cbd42
test dword [edi + 0x370], 0x1000
jmp 0x4cbd40
test byte [edi + 0x374], 0x80
jne 0x4cbd42
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4cbd5d
mov eax, dword [edi + 0x380]
push 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4cc048
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x6e82a0
call fcn.0062acb0
mov esi, ecx
push esi
lea ecx, [ebp - 0x38]
call fcn.00424950
mov dword [ebp - 0x38], 0x6fd0f4
mov dword [ebp - 0x30], 0x6fd108
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x38]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov byte [ebp - 0x10], bl
mov dword [ebp - 0x18], edi
call dword [eax + 0x94]
cmp byte [ebp - 0x10], bl
jne 0x4cc0b7
cmp edi, 0xd
jne 0x4cc0bc
test dword [esi + 0x370], 0x1000
jne 0x4cc0bc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4cc0bc
mov dword [esi + 0x10], ebx
jmp 0x4cc0d6
mov eax, dword [esi + 0x380]
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
call fcn.0062ac79
ret 0xc
Function at 0x4cca7e
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 0x4ccb98
cmp dword [ebx], 0x74
je 0x4ccb98
mov ecx, dword [0x7c5ac0]
test ecx, ecx
je 0x4ccab4
call fcn.00496aa1
mov esi, eax
jmp 0x4ccab6
xor esi, esi
push 0x2800
call fcn.00685999
mov edi, eax
mov dword [esp], 0x5000
call fcn.00685999
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.00462c90
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4ccb10
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00684e92
pop ecx
test esi, esi
je 0x4ccb4f
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4ccb4f
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SRichEdit::OnSetCharFormat
push 0x550
push str.d:workcode_svn_saltclass_trunkclass_soui_2017_soui_srccontrol_srichedit.cpp
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x4ccb8d
mov ebx, 0x2800
push ebx
call fcn.00685999
mov dword [esp], 0x550
mov esi, eax
push str.d:workcode_svn_saltclass_trunkclass_soui_2017_soui_srccontrol_srichedit.cpp
push str.SOUI::SRichEdit::OnSetCharFormat
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.004327b0
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00684e92
pop ecx
push edi
call fcn.00684e92
pop ecx
xor eax, eax
jmp 0x4ccbd9
mov eax, dword [edi + 0x380]
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 0x4ccbd6
mov eax, dword [ebp - 4]
add edi, 0x218
push 0x1d
pop ecx
mov esi, ebx
mov edx, 0x20000
mov eax, dword [eax + 0x380]
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
leave
ret 0xc
Function at 0x4ce961
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x28
mov eax, 0x6e855c
call fcn.0062acb0
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
and eax, 0x8000
and edi, 0x8000
jne 0x4ce9c7
cmp dword [ebp - 0x10], edi
jne 0x4ce9ad
test eax, eax
jne 0x4ce9a6
inc eax
xor ecx, ecx
jmp 0x4ce9fe
push 2
pop eax
push 4
jmp 0x4ce9fd
test eax, eax
jne 0x4ce9b8
push 4
pop eax
push 2
jmp 0x4ce9fd
push 6
pop eax
push 0x10
mov word [ebx + 0x170], ax
pop eax
jmp 0x4cea05
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x4ce9dc
test eax, eax
jne 0x4ce9d8
push 8
pop eax
inc ecx
jmp 0x4ce9fe
test ecx, ecx
je 0x4ce9eb
test eax, eax
jne 0x4ce9e7
push 0x40
pop eax
push 3
jmp 0x4ce9fd
test ecx, ecx
jne 0x4ce9f6
test eax, eax
je 0x4ce9f6
push 0x20
pop eax
push 5
jmp 0x4ce9fd
mov eax, 0x80
push 7
pop ecx
mov word [ebx + 0x170], cx
test word [ebx + 0x174], ax
je 0x4cea1c
mov ax, word [ebx + 0x176]
mov word [ebx + 0x170], ax
push ebx
lea ecx, [ebp - 0x34]
call fcn.00424950
mov dword [ebp - 0x34], 0x6fd95c
mov dword [ebp - 0x2c], 0x6fd970
mov ax, word [ebx + 0x170]
lea ecx, [ebp - 0x34]
and dword [ebp - 4], 0
mov word [ebp - 0x12], ax
mov ax, word [ebx + 0x172]
mov word [ebp - 0x14], ax
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x94]
call fcn.0062ac79
ret

Function at 0x4e6387
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 9
jne 0x4e63c2
push dword [ecx + 4]
call fcn.004b2435
pop ecx
test eax, eax
je 0x4e63ab
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x98]
test al, 2
jne 0x4e63c2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4e63c2
xor eax, eax
inc eax
jmp 0x4e63c4
xor eax, eax
pop ebp
ret 4
Function at 0x4e64dd
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x6e9beb
call fcn.0062acb0
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004e6387
test eax, eax
je 0x4e6518
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.004e5dff
xor eax, eax
inc eax
jmp 0x4e661a
push dword [ebx + 4]
call fcn.004b2435
mov esi, eax
mov dword [ebp - 0x10], esi
pop ecx
test esi, esi
je 0x4e65c4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
je 0x4e65c4
cmp edi, 0x25
je 0x4e6551
cmp edi, 0x27
je 0x4e655f
cmp edi, 0x26
je 0x4e6551
cmp edi, 0x28
jne 0x4e65c4
cmp edi, 0x27
je 0x4e655f
cmp edi, 0x28
je 0x4e655f
push 2
jmp 0x4e6561
push 3
pop edi
jmp 0x4e656f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4e65ae
push edi
mov ecx, esi
call fcn.0048ed20
mov esi, eax
test esi, esi
jne 0x4e6564
mov ecx, dword [ebp - 0x10]
cmp edi, 3
setne al
push eax
call fcn.0048ea15
mov ecx, eax
jmp 0x4e659e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x64]
test eax, eax
jne 0x4e65ae
push edi
mov ecx, esi
call fcn.0048ed20
mov esi, eax
test esi, esi
jne 0x4e6590
jmp 0x4e6510
push 1
mov ecx, esi
call fcn.0048ec4f
push eax
mov ecx, ebx
call fcn.004e6901
jmp 0x4e6510
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.004e76c4
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call fcn.004e666e
xor ebx, ebx
lea ecx, [ebp + 8]
test al, al
setne bl
call fcn.004e771d
mov eax, ebx
call fcn.0062ac79
ret 4
Function at 0x4e7817
Capabilities:
Log keystrokes
Parse credit card information

Disassembly:
push 4
mov eax, 0x6e9d4e
call fcn.0062acb0
and dword [ebp - 0x10], 0
mov esi, dword [ebp + 8]
mov eax, dword [0x7ae004]
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 0x4e78c0
je 0x4e78b6
mov eax, edx
sub eax, 0xd
je 0x4e78ac
sub eax, 0xe
je 0x4e78a2
sub eax, 5
je 0x4e7898
sub eax, ebx
je 0x4e788e
sub eax, ebx
je 0x4e7884
sub eax, ebx
je 0x4e787a
sub eax, ebx
jne 0x4e78f7
push str.Home
jmp 0x4e7a18
push 0x700758
jmp 0x4e7a18
push str.PageDown
jmp 0x4e7a18
push str.PageUp
jmp 0x4e7a18
push str.Space
jmp 0x4e7a18
push 0x70070c
jmp 0x4e7a18
push 0x700714
jmp 0x4e7a18
push str.Left
jmp 0x4e7a18
mov eax, edx
sub eax, 0x26
je 0x4e7a13
sub eax, 1
je 0x4e7a0c
sub eax, 1
je 0x4e7a05
sub eax, edi
je 0x4e79fe
sub eax, 3
je 0x4e79f7
sub eax, 1
je 0x4e79f0
cmp cx, 0x30
jb 0x4e7903
cmp cx, 0x39
jbe 0x4e790c
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x4e7923
movzx eax, cx
mov ecx, esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.00424fe0
jmp 0x4e7a1f
lea eax, [ecx - 0x60]
cmp ax, 9
ja 0x4e7947
lea eax, [edx - 0x60]
push eax
push str.Num__d
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0048e2b2
add esp, 0x10
mov dword [ebp - 4], ebx
jmp 0x4e7999
cmp cx, 0x6a
jne 0x4e7957
push 0x7007cc
jmp 0x4e7a18
cmp cx, 0x6b
jne 0x4e7967
push str.Num_
jmp 0x4e7a18
cmp cx, 0x6e
jne 0x4e7977
push str.Num_Del
jmp 0x4e7a18
lea eax, [ecx - 0x70]
cmp ax, 0xb
ja 0x4e79ae
lea eax, [edx - 0x6f]
push eax
push 0x7007f4
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.0048e2b2
add esp, 0x10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff4
cmp ecx, dword [section..data]
je 0x4e7a1f
call fcn.004264f0
jmp 0x4e7a1f
push edi
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp al, 0x3d
jg 0x4e79ce
je 0x4e79da
cmp al, 0x27
je 0x4e79da
cmp al, 0x2b
jle 0x4e7a1f
cmp al, 0x2f
jle 0x4e79da
cmp al, 0x3b
je 0x4e79da
jmp 0x4e7a1f
cmp al, 0x5b
jl 0x4e7a1f
cmp al, 0x5d
jle 0x4e79da
cmp al, 0x60
jne 0x4e7a1f
cbw
mov ecx, esi
movzx eax, ax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push ebx
call fcn.004aae58
jmp 0x4e7a1f
push str.Delete
jmp 0x4e7a18
push str.Insert
jmp 0x4e7a18
push str.Print
jmp 0x4e7a18
push str.Down
jmp 0x4e7a18
push str.Right
jmp 0x4e7a18
push 0x700720
mov ecx, esi
call fcn.00483d10
mov eax, esi
call fcn.0062ac79
ret
Function at 0x4eddae
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048dfd0
mov esi, eax
test esi, esi
je 0x4eddda
mov edx, dword [esi]
mov ecx, esi
push str.menuItem
call dword [edx + 4]
test eax, eax
je 0x4eddda
mov eax, esi
jmp 0x4ededc
mov ecx, dword [0x7c5ac0]
test ecx, ecx
je 0x4edded
call fcn.00496aa1
mov esi, eax
jmp 0x4eddef
xor esi, esi
push ebx
push edi
push 0x2800
call fcn.00685999
mov edi, eax
mov dword [esp], 0x5000
call fcn.00685999
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push str.menuItem
push str.FindChildByID2_Failed__no_window_of_class___s__with_id_of___d__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00462c90
add esp, 0x20
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x4ede54
xor ecx, ecx
push ecx
push ecx
push eax
push edi
push 0xffffffffffffffff
push ebx
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00684e92
pop ecx
test esi, esi
je 0x4ede93
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
call dword [eax + 0x2c]
test al, al
je 0x4ede93
push dword [ebp + 4]
mov eax, dword [esi]
mov ecx, esi
push str.SOUI::SWindow::FindChildByID2
push 0x1e9
push str.d:workcode_svn_saltclass_trunkclass_soui_2017_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [eax + 0x34]
jmp 0x4eded1
mov ebx, 0x2800
push ebx
call fcn.00685999
mov dword [esp], 0x1e9
mov esi, eax
push str.d:workcode_svn_saltclass_trunkclass_soui_2017_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByID2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push ebx
push esi
call fcn.004327b0
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00684e92
pop ecx
push edi
call fcn.00684e92
pop ecx
pop edi
xor eax, eax
pop ebx
pop esi
pop ebp
ret 8

Function at 0x4ef1fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ef264
mov ecx, esi
call fcn.004ef269
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x3ac]
test ecx, ecx
je 0x4ef23f
push 0
call fcn.00491517
and dword [esi + 0x3ac], 0
mov ecx, dword [0x7c5c14]
lea ecx, [ecx + 8]
call fcn.004f0306
mov ecx, dword [esi + 0x3a4]
test ecx, ecx
je 0x4ef264
pop esi
mov ecx, dword [ecx + 0x174]
pop ebp
jmp fcn.004f0086
pop esi
pop ebp
ret 4
Function at 0x4f2100
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4f2150
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x4f214a
shr eax, 8
cmp al, 2
jne 0x4f214a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
mov eax, 2
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret
Function at 0x4f36e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x4f370c
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x4f36fd
pop edi
xor eax, eax
pop esi
pop ebp
ret
push dword [eax + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call ecx
jmp 0x4f3740
cmp dword [esi + 8], 0
jne 0x4f3730
push 0x702080
push dword [eax + 8]
call fcn.006872c5
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4f3730
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
push dword [esi + 8]
push dword [ebp + 0x10]
push 1
push dword [ebp + 0xc]
call fcn.00687c9a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4f3762
mov eax, dword [esi + 8]
test eax, eax
je 0x4f375c
push eax
call fcn.006873a5
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [esi], eax
mov eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x4f8ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x5a
test eax, eax
jne 0x4f8af6
mov esp, ebp
pop ebp
ret
push esi
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4f8cbc
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4f8cbc
push 0x702080
push eax
call fcn.006872c5
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x4f8cbc
push 2
push 0
push eax
call fcn.00687787
add esp, 0xc
test eax, eax
jne 0x4f8c0b
push ebx
push dword [ebp + 8]
call fcn.00686f79
push 0
push 0
push dword [ebp + 8]
mov ebx, eax
call fcn.00687787
add esp, 0x10
test eax, eax
jne 0x4f8c0a
cmp ebx, 0x100000
ja 0x4f8c0a
mov eax, ebx
cdq
push edx
push eax
call fcn.00503e20
mov ebx, eax
add esp, 8
cmp esi, ebx
ja 0x4f8c0a
lea eax, [ebx + 1]
push eax
call dword [0x7ae4c8]
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x4f8c0a
push dword [ebp + 8]
push 1
push ebx
push eax
call fcn.00687c9a
add esp, 0x10
cmp eax, 1
jne 0x4f8c0a
cmp esi, ebx
jne 0x4f8c38
mov ecx, dword [ebp - 4]
sub esi, 4
jb 0x4f8bd1
lea esp, [esp]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x4f8bd6
add edi, 4
add ecx, 4
sub esi, 4
jae 0x4f8bc0
cmp esi, 0xfffffffc
je 0x4f8c03
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x4f8c0a
cmp esi, 0xfffffffd
je 0x4f8c03
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x4f8c0a
cmp esi, 0xfffffffe
je 0x4f8c03
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x4f8c0a
cmp esi, 0xffffffff
je 0x4f8c03
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
jne 0x4f8c0a
mov dword [ebp - 0xc], 0
pop ebx
push dword [ebp - 4]
call dword [0x7ae4cc]
push dword [ebp - 8]
call dword [0x7ae4cc]
push dword [ebp + 8]
mov dword [ebp - 8], 0
call fcn.006873a5
mov eax, dword [ebp - 0xc]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
mov byte [ebx + eax], 0
call fcn.004f95d0
add esp, 0xc
test eax, eax
jne 0x4f8c0a
cmp esi, dword [ebp - 0x10]
jne 0x4f8c0a
mov ecx, dword [ebp - 8]
sub esi, 4
jb 0x4f8c72
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x4f8c77
add edi, 4
add ecx, 4
sub esi, 4
jae 0x4f8c61
cmp esi, 0xfffffffc
je 0x4f8c03
mov al, byte [edi]
cmp al, byte [ecx]
jne 0x4f8cb0
cmp esi, 0xfffffffd
je 0x4f8c03
mov al, byte [edi + 1]
cmp al, byte [ecx + 1]
jne 0x4f8cb0
cmp esi, 0xfffffffe
je 0x4f8c03
mov al, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x4f8cb0
cmp esi, 0xffffffff
je 0x4f8c03
mov al, byte [edi + 3]
cmp al, byte [ecx + 3]
je 0x4f8c03
mov dword [ebp - 0xc], 0x5a
jmp 0x4f8c0a
pop edi
mov eax, 0x5a
pop esi
mov esp, ebp
pop ebp
ret