joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5703a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5acf0e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6e50b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
push 0x40
mov byte [esp + 0x20], 2
call fcn.0053d720
push 0x40
lea ecx, [esi + 0x24]
call fcn.0053d720
push 0x40
lea ecx, [esi + 0x48]
call fcn.0053d720
mov ecx, esi
call fcn.0056ff00
mov ecx, esi
call fcn.0056fd60
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x57ad80
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
sub esp, 0x804
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
push ebp
xor ecx, ecx
push esi
lea eax, [ecx + 1]
push edi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
lea esi, [eax + eax]
and edx, 0x1b
mov dword [esp + ecx*4 + 0x410], eax
mov dword [esp + eax*4 + 0x10], ecx
xor edx, esi
xor eax, edx
inc ecx
and eax, 0xff
cmp ecx, 0x100
jl 0x57ada0
mov eax, 1
mov ecx, 0x71a010
lea esp, [esp]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, 0xff
cmp ecx, 0x71a038
jl 0x57ade0
mov byte [0x71c138], 0x63
mov byte [0x71b09b], 0
mov ebx, 1
mov ecx, dword [esp + ebx*4 + 0x10]
add ecx, ecx
add ecx, ecx
lea edx, [esp + 0x80c]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x71c138], al
mov byte [eax + 0x71b038], bl
inc ebx
cmp ebx, 0x100
jl 0x57ae18
xor ecx, ecx
lea ebx, [ebx]
movzx esi, byte [ecx + 0x71c138]
mov edx, esi
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea eax, [esi + esi]
xor edx, eax
and edx, 0xff
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [ecx*4 + 0x71bd38], eax
rol eax, 8
mov dword [ecx*4 + 0x71b938], eax
rol eax, 8
mov dword [ecx*4 + 0x71b538], eax
rol eax, 8
mov dword [ecx*4 + 0x71b138], eax
movzx eax, byte [ecx + 0x71b038]
test eax, eax
je 0x57af46
mov esi, dword [esp + eax*4 + 0x10]
mov edx, dword [esp + 0x48]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [esp + 0x34]
add eax, esi
mov ebp, dword [esp + edx*4 + 0x410]
cdq
idiv edi
mov ebx, dword [esp + edx*4 + 0x410]
mov edx, dword [esp + 0x44]
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [esp + 0x3c]
add eax, esi
mov esi, 0xff
mov edi, dword [esp + edx*4 + 0x410]
cdq
idiv esi
mov edx, dword [esp + edx*4 + 0x410]
jmp 0x57af4e
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, ebp
mov dword [ecx*4 + 0x71ac38], edx
rol edx, 8
mov dword [ecx*4 + 0x71a838], edx
rol edx, 8
mov dword [ecx*4 + 0x71a438], edx
rol edx, 8
mov dword [ecx*4 + 0x71a038], edx
inc ecx
cmp ecx, 0x100
jl 0x57ae90
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005825b3
add esp, 0x804
ret
Function at 0x57afb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x11c
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x118], eax
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x124]
mov eax, edx
sub eax, 0x80
push edi
mov edi, dword [esp + 0x124]
je 0x57b001
sub eax, 0x40
je 0x57aff9
sub eax, 0x40
jne 0x57b1b4
mov dword [edi], 0xe
jmp 0x57b007
mov dword [edi], 0xc
jmp 0x57b007
mov dword [edi], 0xa
push esi
push edx
push ecx
lea eax, [esp + 0x10]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.0057a820
mov eax, dword [esp + 0x14]
shl eax, 4
add eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
mov ecx, dword [edi]
dec ecx
add esi, 0x10
sub eax, 0x10
test ecx, ecx
jle 0x57b19d
nop
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x71c138]
mov edx, dword [edx*4 + 0x71a038]
movzx edi, byte [eax + 2]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a438]
movzx edi, byte [eax + 1]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a838]
mov edi, dword [eax]
and edi, 0xff
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71ac38]
dec ecx
mov dword [esi], edx
mov edx, dword [eax + 4]
movzx edi, byte [eax + 7]
movzx edi, byte [edi + 0x71c138]
and edx, 0xff
movzx edx, byte [edx + 0x71c138]
mov edx, dword [edx*4 + 0x71ac38]
xor edx, dword [edi*4 + 0x71a038]
movzx edi, byte [eax + 6]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a438]
movzx edi, byte [eax + 5]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a838]
add esi, 0x10
mov dword [esi - 0xc], edx
mov edx, dword [eax + 8]
movzx edi, byte [eax + 0xb]
movzx edi, byte [edi + 0x71c138]
and edx, 0xff
movzx edx, byte [edx + 0x71c138]
mov edx, dword [edx*4 + 0x71ac38]
xor edx, dword [edi*4 + 0x71a038]
movzx edi, byte [eax + 0xa]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a438]
movzx edi, byte [eax + 9]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a838]
sub eax, 0x10
mov dword [esi - 8], edx
mov edx, dword [eax + 0x1c]
movzx edi, byte [eax + 0x1f]
movzx edi, byte [edi + 0x71c138]
and edx, 0xff
movzx edx, byte [edx + 0x71c138]
mov edx, dword [edx*4 + 0x71ac38]
xor edx, dword [edi*4 + 0x71a038]
movzx edi, byte [eax + 0x1e]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a438]
movzx edi, byte [eax + 0x1d]
movzx edi, byte [edi + 0x71c138]
xor edx, dword [edi*4 + 0x71a838]
mov dword [esi - 4], edx
test ecx, ecx
jg 0x57b050
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
pop esi
mov ecx, dword [esp + 0x11c]
pop edi
xor ecx, esp
call fcn.005825b3
add esp, 0x11c
ret
Function at 0x57bf40
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x730
mov eax, dword [0x6e50b4]
xor eax, esp
mov dword [esp + 0x72c], eax
mov eax, dword [esp + 0x738]
push ebx
mov ebx, dword [esp + 0x738]
push esi
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
test ebx, ebx
jne 0x57bf79
xor eax, eax
jmp 0x57c10e
test eax, eax
je 0x57bf72
push edi
push ebx
push 1
lea eax, [esp + 0x1a]
push 1
push eax
call fcn.00582f4b
push 0x200
xor edi, edi
lea ecx, [esp + 0x54c]
push edi
push ecx
add esi, 0x10
call fcn.005825d0
lea edx, [esp + 0x30]
push edx
push str._02X
push esi
call fcn.00583ec2
add esp, 0x28
test eax, eax
jle 0x57bfee
lea esp, [esp]
cmp edi, 0x200
jge 0x57bfee
mov al, byte [esp + 0x14]
lea ecx, [esp + 0x14]
push ecx
add esi, 2
push str._02X
mov byte [esp + edi + 0x540], al
push esi
inc edi
call fcn.00583ec2
add esp, 0xc
test eax, eax
jg 0x57bfc0
push ebp
push 0x100
lea edx, [esp + 0x540]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.0057afb0
mov ebp, dword [esp + 0x758]
mov cl, byte [esp + 0x75c]
add esp, 0xc
xor edi, edi
mov byte [esp + 0x13], cl
test ebp, ebp
jle 0x57c0cd
push ebx
push 0x10
lea edx, [esp + 0x144]
push 1
push edx
call fcn.00582f4b
add esp, 0x10
cmp eax, 0x10
jne 0x57c0f6
lea eax, [esp + 0x13c]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.0057b1d0
mov ecx, dword [esp + 0x30]
xor eax, eax
add esp, 0x10
xor dl, dl
mov byte [esp + 0x15], al
mov byte [esp + 0x14], al
lea esi, [ecx + edi + 1]
mov cl, byte [esp + eax + 0x13c]
add byte [esp + 0x13], cl
mov byte [esi + eax - 1], cl
mov cl, byte [esp + eax + 0x13d]
add byte [esp + 0x14], cl
mov byte [esi + eax], cl
mov cl, byte [esp + eax + 0x13e]
add byte [esp + 0x15], cl
mov byte [esi + eax + 1], cl
mov cl, byte [esp + eax + 0x13f]
mov byte [esi + eax + 2], cl
add eax, 4
add dl, cl
cmp eax, 0x10
jl 0x57c071
add dl, byte [esp + 0x15]
mov ebx, dword [esp + 0x1c]
add dl, byte [esp + 0x14]
add edi, 0x10
add byte [esp + 0x13], dl
cmp edi, ebp
jl 0x57c025
push ebx
push 1
lea edx, [esp + 0x1f]
push 1
push edx
call fcn.00582f4b
mov al, byte [esp + 0x26]
add esp, 0x10
cmp al, byte [esp + 0x17]
jne 0x57c0f6
cmp al, byte [esp + 0x13]
jne 0x57c0f6
mov eax, 1
jmp 0x57c10c
push 0
push str.Error__
push str.Header_Version_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebp
pop edi
mov ecx, dword [esp + 0x734]
pop esi
pop ebx
xor ecx, esp
call fcn.005825b3
add esp, 0x730
ret 0x10

Function at 0x5825b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6e50b4]
jne 0x5825bd
repz ret
jmp fcn.0058955c
Function at 0x592e0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6e50b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00588f55
and dword [ebp - 0x14], 0
cmp dword [0x71d060], 0
mov dword [ebp - 0x18], eax
jne 0x592ebf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x592f67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x592f67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5cbc5c
push ebx
mov dword [0x71d060], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x71d064], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x71d068], eax
call edi
push eax
call esi
mov dword [0x71d070], eax
test eax, eax
je 0x592ebf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x71d06c], eax
mov eax, dword [0x71d06c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x592f18
cmp dword [0x71d070], ecx
je 0x592f18
push eax
call esi
push dword [0x71d070]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x592f18
test ebx, ebx
je 0x592f18
call edi
test eax, eax
je 0x592f0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x592f0f
test byte [ebp - 8], 1
jne 0x592f18
or dword [ebp + 0x10], 0x200000
jmp 0x592f4b
mov eax, dword [0x71d064]
cmp eax, dword [ebp - 0x18]
je 0x592f4b
push eax
call esi
test eax, eax
je 0x592f4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x592f4b
mov eax, dword [0x71d068]
cmp eax, dword [ebp - 0x18]
je 0x592f4b
push eax
call esi
test eax, eax
je 0x592f4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x71d060]
call esi
test eax, eax
je 0x592f67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x592f69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005825b3
leave
ret
Function at 0x40b4e5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004041e5
xor ebx, ebx
cmp dword [0x434898], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x40b5ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40b525
sub eax, eax
jmp 0x40b67e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40b51e
push eax
call fcn.00404182
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434898], eax
call esi
push eax
call fcn.00404182
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43489c], eax
call esi
push eax
call fcn.00404182
mov dword [0x4348a0], eax
lea eax, [ebp - 8]
push eax
call fcn.004067af
or eax, eax
pop ecx
pop ecx
je 0x40b588
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x40b5ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404182
cmp eax, ebx
pop ecx
mov dword [0x4348a8], eax
je 0x40b5ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404182
pop ecx
mov dword [0x4348a4], eax
mov eax, dword [0x4348a4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x40b633
cmp dword [0x4348a8], esi
je 0x40b633
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
je 0x40b600
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4348a8]
call fcn.004041ee
pop ecx
call eax
or eax, eax
je 0x40b600
test byte [ebp - 0x18], 1
jne 0x40b633
lea eax, [ebp - 0xc]
push eax
call fcn.004067e6
or eax, eax
pop ecx
je 0x40b61b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00403c3f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x40b62a
or dword [ebp + 0x10], 0x200000
jmp 0x40b664
or dword [ebp + 0x10], 0x40000
jmp 0x40b664
mov eax, dword [0x43489c]
cmp eax, esi
je 0x40b664
push eax
call fcn.004041ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40b664
mov eax, dword [0x4348a0]
cmp eax, esi
je 0x40b664
push dword [ebp - 4]
push eax
call fcn.004041ee
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 [0x434898]
call fcn.004041ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0xee873c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xee8746
pushal
call 0xee874c
pop ebp
sub ebp, 0x10
sub ebp, 0xae873c
jmp 0xee8762
mov eax, 0xae873c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c0
mov edx, 0xba0a06cd
xor byte [eax], dl
inc eax
dec ecx
jne 0xee8779
jmp 0xee878c
inc esi
add byte [esi + 0x44], al
int1
int 0xcd
int 0x4c
or al, 0x35
int 0xcd
int 0xce
add byte [ebp - 0x35], dh
int 0xcd
int 0x77
in eax, 0xcd
int 0xcd
cmp ch, byte [edi]
into
add eax, 0xcdc14c46
int 0xcd
into
or byte [ebp + 0x31e9a940], bl
inc esp
leave
jmp 0xedfdad63
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435004]
jne 0x40100a
repz ret
jmp fcn.00401647

Function at 0x4071c9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x435004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00404019
and dword [ebp - 0x14], 0
cmp dword [0x437d84], 0
mov dword [ebp - 0x18], eax
jne 0x40727c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407324
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407324
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x437d84], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x437d88], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x437d8c], eax
call edi
push eax
call esi
mov dword [0x437d94], eax
test eax, eax
je 0x40727c
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x437d90], eax
mov eax, dword [0x437d90]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4072d5
cmp dword [0x437d94], ecx
je 0x4072d5
push eax
call esi
push dword [0x437d94]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4072d5
test ebx, ebx
je 0x4072d5
call edi
test eax, eax
je 0x4072cc
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4072cc
test byte [ebp - 8], 1
jne 0x4072d5
or dword [ebp + 0x10], 0x200000
jmp 0x407308
mov eax, dword [0x437d88]
cmp eax, dword [ebp - 0x18]
je 0x407308
push eax
call esi
test eax, eax
je 0x407308
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407308
mov eax, dword [0x437d8c]
cmp eax, dword [ebp - 0x18]
je 0x407308
push eax
call esi
test eax, eax
je 0x407308
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x437d84]
call esi
test eax, eax
je 0x407324
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407326
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x4318d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x808
mov eax, dword [0x435004]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [0x4382a4]
imul eax, eax, 0x343fd
cmp dword [0x22dae8c], 0x139e
mov dword [0x4382a4], eax
jne 0x431923
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTapePosition]
mov eax, dword [esp]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_GetAce]
mov eax, dword [0x4382a4]
add eax, 0x269ec3
push esi
mov dword [0x4382a4], eax
movzx esi, word [0x4382a6]
and esi, 0x7fff
cmp dword [0x22dae8c], 0x8e7
jne 0x431958
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x808
ret

Function at 0x4319e0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x435004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x4361f0]
push ebx
mov ebx, dword [0x22da830]
push edi
mov edi, dword [0x22dae8c]
call fcn.00431970
cmp dword [0x22dae8c], 0x2f
jne 0x431a45
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.004319a0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.00401000
add esp, 0x24
ret
Function at 0x431da0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409150
mov eax, dword [0x435004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x431dc9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe2aa2
jge 0x431e71
cmp dword [0x22dae8c], 0xa5f
jne 0x431e15
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.keminivefayosexerukugufebaponif
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84526b
jne 0x431e3a
mov eax, dword [0x437010]
mov dword [0x22dae8c], eax
mov ecx, dword [0x22dae8c]
add ecx, 0xa231
mov dword [0x22dae8c], ecx
cmp dword [0x22dae8c], 0x141
jne 0x431e6c
push str.renej_luwoyisawopab_dadabayegutenecisufoba_wozonotuwugewiropoxu_vogiwipeladoxakanahotucucuwi
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x4382a8], 0xec58acac
mov dword [0x4382ac], 0xffffffff
jmp 0x431dc0
call fcn.00431a60
jmp dword [0x22da830]
Function at 0x406db0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 0xc]
mov ebx, dword [0x8be328]
mov eax, dword [ebp + 8]
test esi, esi
mov dword [ebx*4 + 0x8be358], eax
je 0x406e4a
mov eax, dword [esi]
lea ecx, [ebx + ebx*4]
shl ecx, 2
lea edx, [ecx + 0x8beb58]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
mov dword [edx + 8], eax
mov eax, dword [esi + 8]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 0x10], eax
mov edx, 1
mov word [ecx + 0x8beb58], dx
lea edx, [ebx + 1]
and edx, 0x1ff
cmp edx, dword [0x8be338]
je 0x406e26
mov dword [0x8be328], edx
mov eax, 1
mov dword [0x8be348], eax
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
mov dword [0x8be328], edx
lea eax, [edx + 1]
and eax, 0x1ff
mov dword [0x8be338], eax
mov eax, 1
mov dword [0x8be348], eax
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
mov dword [esp], str.key_event_NULL
mov ebx, 0xc1
mov ecx, str.win32_libfb_io_input.c
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
call sub.MSVCRT.DLL__assert
nop
lea esi, [esi]
push ebp
mov ebp, esp
push edi
sub esp, 0x24
mov ecx, dword [ebp + 8]
cmp ecx, 6
ja 0x406e8a
mov eax, 1
shl eax, cl
test al, 0x64
jne 0x406e93
mov edi, dword [ebp - 4]
xor eax, eax
leave
ret 4
cld
xor eax, eax
lea edi, [ebp - 0x18]
mov ecx, 4
rep stosd dword es:[edi], eax
mov word [ebp - 0x12], 0x73
xor edi, edi
mov dword [ebp - 0xc], 2
mov dword [esp + 4], edi
mov dword [esp], 0x73
call sub.USER32.dll_MapVirtualKeyA
mov word [ebp - 0x10], ax
sub esp, 8
lea eax, [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], 0x6bff
call fcn.00406db0
mov edi, dword [ebp - 4]
mov eax, 1
leave
ret 4
Function at 0x407550
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
xor esi, esi
push ebx
sub esp, 0x1c
mov edx, dword [ebp + 0x14]
movzx eax, word [ebp + 0x10]
movzx ecx, byte [ebp + 8]
movzx ebx, word [ebp + 0xc]
mov dword [ebp - 0x10], eax
xor eax, eax
test cl, cl
sete al
shr edx, 8
test eax, eax
mov dword [ebp - 0x14], eax
setne al
movzx eax, al
test eax, edx
je 0x4075d0
mov esi, dword [ebp + 0x14]
xor ecx, ecx
mov eax, 0x441632
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x14]
and esi, 3
and edi, 0xc
and edx, 0x10
jmp 0x4075b0
cmp word [eax - 2], bx
je 0x4076be
inc ecx
add eax, 0xa
cmp ecx, 0xc
jne 0x4075b0
lea esp, [ebp - 0xc]
mov eax, 0xffffffff
pop ebx
pop esi
pop edi
pop ebp
ret
movzx ecx, cl
cmp bx, 0x58
mov dword [ebp - 0x18], ecx
jbe 0x407613
mov eax, edi
or eax, dword [ebp + 0x18]
jne 0x4075f0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4076b6
mov esi, esi
test edi, edi
je 0x4075c3
cmp esi, 0xff
jle 0x407609
mov eax, esi
and eax, 0xff00
lea esi, [eax + 0xff]
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 2
lea edi, [ebx*8 + 0x441350]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sub.USER32.dll_MapVirtualKeyA
movzx ebx, ax
mov eax, dword [sym.imp.MSVCRT.DLL___mb_cur_max]
sub esp, 8
cmp dword [eax], 1
jne 0x4076e7
mov eax, dword [sym.imp.MSVCRT.DLL__pctype]
mov eax, dword [eax]
movzx eax, word [eax + ebx*2]
and eax, 1
test eax, eax
jne 0x407737
mov eax, dword [sym.imp.MSVCRT.DLL___mb_cur_max]
cmp dword [eax], 1
jne 0x407712
mov eax, dword [sym.imp.MSVCRT.DLL__pctype]
mov eax, dword [eax]
movzx eax, word [eax + ebx*2]
and eax, 2
test eax, eax
mov edx, ebx
jne 0x407746
test byte [ebp + 0x14], 3
je 0x4076fd
movzx esi, word [edi + 6]
xor edi, edi
cmp esi, 0xff
jle 0x4075dc
cmp dword [ebp - 0x18], ebx
sete al
cmp dword [ebp - 0x18], edx
sete dl
or eax, edx
test al, 1
je 0x4075dc
mov edi, 1
jmp 0x4075dc
mov esi, dword [ebp - 0x18]
jmp 0x4075f4
test esi, esi
jne 0x4076d6
test edi, edi
jne 0x407728
test edx, edx
jne 0x407755
movzx esi, word [eax]
jmp 0x4075f4
movzx esi, word [eax + 6]
test esi, esi
setne al
movzx edi, al
jmp 0x4075f0
mov dword [esp], ebx
mov eax, 1
mov dword [esp + 4], eax
call sub.MSVCRT.DLL__isctype
jmp 0x407650
test byte [ebp + 0x14], 0xc
jne 0x40772e
test byte [ebp + 0x14], 0x10
je 0x40775e
movzx esi, word [edi + 2]
jmp 0x407688
mov dword [esp], ebx
mov esi, 2
mov dword [esp + 4], esi
call sub.MSVCRT.DLL__isctype
jmp 0x407674
movzx esi, word [eax + 4]
jmp 0x4076da
movzx esi, word [edi + 4]
jmp 0x407688
mov dword [esp], ebx
call sub.MSVCRT.DLL_tolower
mov edx, eax
jmp 0x40767e
mov dword [esp], ebx
call sub.MSVCRT.DLL_toupper
mov edx, eax
jmp 0x40767e
movzx esi, word [eax + 2]
jmp 0x4076da
mov ecx, dword [ebp - 0x18]
mov esi, ebx
test ecx, ecx
jne 0x407688
movzx esi, word [edi]
jmp 0x407688