joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bd70
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x4ae9ec]
push edi
xor edi, edi
cmp eax, edi
je 0x43bd91
push 1
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov eax, dword [0x4ae9ec]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push esi
mov esi, dword [0x4ae9f4]
add esi, 0xffffffff
cmp esi, edi
mov dword [0x4ae9ec], edi
jl 0x43bdcb
mov eax, dword [0x4ae9f0]
lea ebx, [ebx]
cmp dword [eax + esi*4], edi
je 0x43bdc6
mov ecx, dword [eax + esi*4]
push ecx
call fcn.0043b8f0
mov eax, dword [0x4ae9f0]
add esp, 4
sub esi, 1
jns 0x43bdb0
mov eax, dword [0x4ae9e4]
cmp eax, edi
pop esi
je 0x43bdf3
mov ecx, dword [0x4ae9e0]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
push ecx
push eax
call edx
mov eax, dword [0x4ae9e4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x4ae9e8]
cmp eax, edi
je 0x43be09
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [0x4ae9e8], edi
mov dword [0x4ae9e4], edi
pop edi
ret

Function at 0x43bee0
Capabilities:
Create thread

Disassembly:
sub esp, 0x44
mov eax, dword [0x49f8b8]
xor eax, esp
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x43befb
mov eax, dword [0x4aead8]
cmp dword [0x4ae9e8], 0
mov dword [0x4ae9e0], eax
mov dword [esp], 0
jne 0x43bf47
push str.dsound.dll
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4ae9e8], eax
je 0x43bfdb
push str.DirectSoundCreate
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
push 0
push 0x4ae9e4
push 0
call eax
test eax, eax
jne 0x43bfdb
mov eax, dword [0x4ae9e4]
mov edx, dword [0x4ae9e0]
mov ecx, dword [eax]
push 2
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
jne 0x43bfdb
push 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea edx, [esp + 4]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x4ae9e4]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], 0x24
mov dword [esp + 0x28], 1
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x43bfdb
push 2
lea ecx, [esp + 0xc]
push 0xac44
push ecx
call fcn.0043ab20
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push eax
call edx
test eax, eax
je 0x43bffe
mov eax, dword [esp]
test eax, eax
je 0x43bfea
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call fcn.0043bd70
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00449815
add esp, 0x44
ret
mov eax, dword [esp]
test eax, eax
je 0x43c00d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [0x4ae9ec], 0
jne 0x43c033
lea eax, [esp + 4]
push eax
push 0
push 0
push 0x43b270
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov dword [0x4ae9ec], eax
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00449815
add esp, 0x44
ret
Function at 0x446af0
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
je 0x446b16
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x446b16
mov eax, dword [esp + 8]
test eax, eax
je 0x446b16
push edx
push ecx
push 1
push eax
call fcn.0044c382
add esp, 0x10
ret
xor eax, eax
ret

Function at 0x446b20
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x446b54
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x446b54
mov eax, dword [esp + 0xc]
test eax, eax
je 0x446b54
push esi
push edi
push ecx
push 1
push eax
call fcn.0044c691
push edi
mov esi, eax
call fcn.0044c51b
add esp, 0x14
mov eax, esi
pop esi
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x449815
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49f8b8]
jne 0x44981f
repz ret
jmp fcn.0044c84f
Function at 0x44d4cb
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044e6f1
xor ebx, ebx
cmp dword [0x4b4f30], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x44d5a0
push 0x486044
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov edi, eax
cmp edi, ebx
jne 0x44d50b
xor eax, eax
jmp 0x44d664
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxW
push edi
call esi
cmp eax, ebx
je 0x44d504
push eax
call fcn.0044e68e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b4f30], eax
call esi
push eax
call fcn.0044e68e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b4f34], eax
call esi
push eax
call fcn.0044e68e
mov dword [0x4b4f38], eax
lea eax, [ebp - 8]
push eax
call fcn.0044d062
test eax, eax
pop ecx
pop ecx
je 0x44d56e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044c95d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x44d5a0
push str.GetUserObjectInformationW
push edi
call esi
push eax
call fcn.0044e68e
cmp eax, ebx
pop ecx
mov dword [0x4b4f40], eax
je 0x44d5a0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e68e
pop ecx
mov dword [0x4b4f3c], eax
mov eax, dword [0x4b4f3c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x44d619
cmp dword [0x4b4f40], esi
je 0x44d619
push eax
call fcn.0044e6fa
pop ecx
call eax
cmp eax, ebx
je 0x44d5e6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4b4f40]
call fcn.0044e6fa
pop ecx
call eax
test eax, eax
je 0x44d5e6
test byte [ebp - 0x18], 1
jne 0x44d619
lea eax, [ebp - 0xc]
push eax
call fcn.0044d099
test eax, eax
pop ecx
je 0x44d601
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044c95d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x44d610
or dword [ebp + 0x10], 0x200000
jmp 0x44d64a
or dword [ebp + 0x10], 0x40000
jmp 0x44d64a
mov eax, dword [0x4b4f34]
cmp eax, esi
je 0x44d64a
push eax
call fcn.0044e6fa
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44d64a
mov eax, dword [0x4b4f38]
cmp eax, esi
je 0x44d64a
push dword [ebp - 4]
push eax
call fcn.0044e6fa
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4b4f30]
call fcn.0044e6fa
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4582c4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0044e6f1
xor ebx, ebx
cmp dword [0x4b5544], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x458399
push str.USER32.DLL
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x458304
xor eax, eax
jmp 0x45845d
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4582fd
push eax
call fcn.0044e68e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b5544], eax
call esi
push eax
call fcn.0044e68e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b5548], eax
call esi
push eax
call fcn.0044e68e
mov dword [0x4b554c], eax
lea eax, [ebp - 8]
push eax
call fcn.0044d062
test eax, eax
pop ecx
pop ecx
je 0x458367
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044c95d
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x458399
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044e68e
cmp eax, ebx
pop ecx
mov dword [0x4b5554], eax
je 0x458399
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044e68e
pop ecx
mov dword [0x4b5550], eax
mov eax, dword [0x4b5550]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x458412
cmp dword [0x4b5554], esi
je 0x458412
push eax
call fcn.0044e6fa
pop ecx
call eax
cmp eax, ebx
je 0x4583df
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4b5554]
call fcn.0044e6fa
pop ecx
call eax
test eax, eax
je 0x4583df
test byte [ebp - 0x18], 1
jne 0x458412
lea eax, [ebp - 0xc]
push eax
call fcn.0044d099
test eax, eax
pop ecx
je 0x4583fa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0044c95d
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x458409
or dword [ebp + 0x10], 0x200000
jmp 0x458443
or dword [ebp + 0x10], 0x40000
jmp 0x458443
mov eax, dword [0x4b5548]
cmp eax, esi
je 0x458443
push eax
call fcn.0044e6fa
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x458443
mov eax, dword [0x4b554c]
cmp eax, esi
je 0x458443
push dword [ebp - 4]
push eax
call fcn.0044e6fa
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4b5544]
call fcn.0044e6fa
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4654d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x465500
push esi
call fcn.00466f20
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x4654f9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x465576
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x46556b
mov eax, dword [esi + 8]
test eax, eax
je 0x465524
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46559e
cmp eax, 2
je 0x46556b
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x465517
cmp eax, 3
je 0x46554a
cmp eax, 1
jne 0x465517
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x465517
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x465517
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x465596
cmp eax, 0xcc
je 0x465596
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
jne 0x4655a2
xor al, al
pop esi
ret
push esi
call fcn.004655b0
add esp, 4
pop esi
ret
Function at 0x472c80
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x472d20
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x472cd2
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4a36ac]
xor eax, edx
inc esi
cmp esi, edi
jl 0x472cb3
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x472cfb
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x4a36ac]
xor eax, edx
inc esi
cmp esi, edi
jl 0x472cde
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x40468e
Capabilities:
Parse pe header

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

Disassembly:
call section..text
push 0
push 0x405018
push 0x405014
call fcn.00402cef
push 0
push 0x405020
push 0x40501c
call fcn.00402cef
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x402a41
Capabilities:
Packed with generic packer

Disassembly:
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
inc ecx
mov edx, dword [ebp + 0x14]
pop esi
loop 0x402a82
add dword [eax], eax
add byte [edi - 0x73], dl
and al, 0
mov edx, dword [edx + 8]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x402b27
mov edi, dword [eax]
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x44], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [esi + 4], edi
mov dword [esi + 0x48], eax
cmp dword [edi + 4], 0x12
mov dword [ebp - 0xc], eax
push edx
dec edi
dec esi
mov edx, dword [esi]
mov eax, dword [edi]
xor eax, edx
inc edi
inc esi
mov al, ah
dec dword [esp]
inc esi
stosb byte es:[edi], al
pop eax
mov edx, eax
test eax, eax
jne 0x402aa3
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, eax
loop 0x402a82
inc ecx
ret
xor byte [ebp - 0x75], dh
xor dword [edx - 0x38], 0xb9443231
test eax, 0x4741a99b
inc edi
and eax, 0xb0155c59
pop ds
jle 0x402bb8
mov esp, 0x32a021c1
pop edi
push ebp
pop ebx
shr dword [ebx + ecx*4 + 0x33], 0x3b
dec edx
inc ecx
cmp bh, 0x83
add esp, 8
add byte [eax], al
add byte [edi], cl
test dl, al
add dword [eax], eax
add byte [ebx], ch
imul ebx
in eax, dx
add byte [eax], 0
add byte [eax], al
cmp dword [edi + 4], 0x12
jne 0x402bd3
push edi
call 0x3fbd4e
add esp, 4
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x10], edi
jne 0x402bf2
push ebx
call 0x3faf7e
mov ecx, dword [ebp + 0x18]
mov edi, dword [edi + 4]
push ecx
call 0x3fc6ce
add esp, 8
jmp 0x402bf9
mov dword [ebp + 0xc], 0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
inc eax
wait
jns 0x402bb2
sahf
invalid
Function at 0x403392
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x405a44]
test eax, eax
je 0x4033ab
call eax
test eax, eax
jne 0x4033ab
push 0xfffffffffffffffe
jmp 0x4033c5
push 1
push 0x405010
push 0x405008
call fcn.00402cef
add esp, 0xc
test eax, eax
je 0x4033cb
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x405004
push section..data
call fcn.00402cef
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x4033f1
mov esi, 0x404ba5
mov cl, 0x20
jmp 0x4033fa
cmp al, 0x20
ja 0x403404
inc esi
mov al, byte [esi]
test al, al
jne 0x4033f5
cmp al, 0x20
jbe 0x40341b
mov al, byte [esi]
cmp al, 0x22
jne 0x40340d
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x403406
jmp 0x40341b
cmp al, cl
ja 0x403421
inc esi
mov al, byte [esi]
test al, al
jne 0x403416
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x40344a
movzx eax, word [ebp - 0x14]
jmp 0x40344d
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.0040273a
pop ecx
pop esi
leave
ret

Function at 0x403488
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x405386], eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0
push 0x80000000
push 0xfffffc18
push 0xfffffc18
push 0xcf0000
push 0x4058a0
push 0x405908
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4034d2
xor eax, eax
jmp 0x4034e9
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
inc eax
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
sub esp, 0xfffffffc
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
sub esp, 0xffffffe8
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x100c1cd9
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0x44
mov eax, 0x10116b92
call fcn.100f5eda
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
call fcn.10004110
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, 0x13
jne 0x100c1d07
push str.Pause
jmp 0x100c1d4a
push 0x33
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.100f6740
add esp, 0xc
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
shl eax, 0x10
add esi, 0xffffffdf
or eax, 1
cmp esi, 0xe
ja 0x100c1d39
or eax, 0x1000000
push 0x32
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
call fcn.10004b50
lea ecx, [ebp - 0x48]
call fcn.10048a03
mov esi, dword [ebp - 0x48]
xor edi, edi
cmp dword [esi - 0xc], ebx
jle 0x100c1da2
push edi
lea ecx, [ebp - 0x48]
call fcn.1002f61b
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_IsCharLowerA]
test eax, eax
jne 0x100c1d85
inc edi
cmp edi, dword [esi - 0xc]
jl 0x100c1d64
jmp 0x100c1da2
movsx eax, byte [ebp - 0x4c]
push eax
call fcn.100f9bf0
pop ecx
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push edi
call fcn.10017c60
mov esi, dword [ebp - 0x48]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x50]
push esi
call fcn.1000a055
cmp dword [ebp + 0x10], ebx
jne 0x100c1dbd
mov ecx, dword [ebp - 0x50]
push 0x2b
call fcn.1000a028
lea ecx, [esi - 0x10]
call fcn.100010d0
call fcn.100f5f5d
ret 0xc

Function at 0x100cc6cb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.1001344d
call fcn.1000850d
cmp eax, esi
pop esi
jne 0x100cc6e7
mov ecx, 0x101613c0
jmp fcn.10022eb6
ret

Function at 0x100ce89e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor eax, 0x24a345c6
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100ce4b8
push eax
push esi
push dword [ebp + 8]
call fcn.100ce46d
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.100ce4b8
push eax
push esi
push dword [ebp + 8]
call fcn.100ce46d
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.100ce4a8
mov edx, 0x88d6d8f9
popfd
jl 0x100ce92d
invalid
invalid

Function at 0x100ce9a7
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
les edx, [eax]
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x100ceca1
push dword [ebp - 0xb4]
Function at 0x100ce9d0
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
push dword [ebp + 0x10]
push esi
call fcn.100ce419
add esp, 0xc
cmp word [edi + 6], bx
les ecx, [esi]
cmp dword [edi + 6], ebx
mov dword [ebp + 0xc], ebx
jbe 0x100cea18
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.100ce419
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x100ce9e5
call fcn.100ce4a8
loope 0x100ce9da
add dl, dh
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x100cec97
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x100cea4d
cmp dword [eax + 0xc], ebx
je 0x100ceaf0
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.100ce4a8
mov eax, dword [0x39590562]
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
call fcn.100ce4a8
aam 0xb6
xor dword [ebx], esp
invalid

Function at 0x100cea7f
Capabilities:
Inspect section memory permissions

Disassembly:
invalid
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x100cea90
mov dword [ebp + 0x10], edi
jmp 0x100cea95
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.100ce4a8
popfd
jnp 0x100cea29
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x100ceade
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x100ceab9
and eax, 0xffff
push eax
jmp 0x100ceabd
invalid
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ce46d
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x100cec97
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x100cea9e
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x100cea3f
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
Function at 0x100ceb66
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
dec dword [ebx + 0x3b660c45]
inc edi
push es
jne 0x100ceb7f
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100ceb9d
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100cebfb
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x100cebe2
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100cebeb
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100cebf5
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100cebd7
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100ceb61
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x100cec48
dec eax
je 0x100cec3f
sub eax, 3
je 0x100cec36
mov dword [ebp - 4], 0x40
jmp 0x100cec65
mov dword [ebp - 4], 4
jmp 0x100cec4b
mov dword [ebp - 4], 0x20
jmp 0x100cec4b
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100cec97
invalid
invalid
push esp
invalid