joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10028551
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.100284cd
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100286c0
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100286c0
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10028675
jg 0x100285ad
test eax, eax
je 0x1002866b
push 1
push 0x1000
call fcn.10018bb2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100285d0
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10028662
push 0x8000
push ebx
call fcn.100283fe
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100285f9
jg 0x100285f4
cmp ecx, 0x1000
jb 0x100285f9
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001e48a
add esp, 0x10
cmp eax, 0xffffffff
je 0x1002863e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100285f4
jl 0x10028625
test ecx, ecx
jne 0x100285e6
push dword [ebp - 0xc]
push ebx
call fcn.100283fe
push esi
call fcn.10018c0f
add esp, 0xc
xor ebx, ebx
jmp 0x100286ce
cmp byte [edi + 0x24], 0
je 0x10028655
cmp dword [edi + 0x20], 5
jne 0x10028655
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10028660
mov ebx, dword [edi + 0x18]
jmp 0x10028662
xor ebx, ebx
push esi
call fcn.10018c0f
pop ecx
jmp 0x100286ce
test ecx, ecx
jg 0x10028637
jl 0x10028675
test eax, eax
jae 0x10028637
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001ff05
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10028695
cmp byte [edi + 0x1c], 0
je 0x10028637
jmp 0x100286c6
push ebx
call fcn.10026076
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10028637
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100286ce
cmp byte [edi + 0x1c], 0
je 0x100286cb
mov ebx, dword [edi + 0x18]
jmp 0x100286ce
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1001ff05
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10029d80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10029dad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10029dad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x46b770
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 0x11
add esi, esi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 4
and al, 1
push 0x12
cmove edi, esi
call ebx
shr eax, 0xf
mov esi, edi
or esi, 8
and al, 1
push 0x90
cmove esi, edi
call ebx
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call ebx
mov ebx, edi
or ebx, 1
and al, 1
mov eax, dword [ebp + 8]
cmove ebx, edi
add eax, 0xfffffff4
mov esi, ebx
cmp eax, 0x84
ja case.0x46b7e5.14
movzx eax, byte [eax + 0x46b8c0]
jmp dword [eax*4 + 0x46b89c]
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmove esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmovne esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
or esi, 0x200
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne case.0x46b7e5.91
push 0xa1
call edi
shr eax, 0xf
test al, 1
je case.0x46b7e5.14
or esi, 0x800
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
shr eax, 0xf
test al, 1
jne case.0x46b7e5.91
push 0xa3
jmp 0x46b842
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
shr eax, 0xf
test al, 1
jne case.0x46b7e5.91
push 0xa5
jmp 0x46b842
or esi, 0x400
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret

Function at 0x46b950
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
shr ecx, 1
mov eax, ebx
and ecx, 4
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or esi, 2
and al, 4
push 0x12
cmove esi, ecx
call edi
shr eax, 0xf
mov ecx, esi
or ecx, 8
and al, 1
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 0x10
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
push 0x90
cmove ecx, edx
mov esi, ecx
or esi, 0x40
and bl, 2
cmove esi, ecx
call edi
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, edi
or ecx, 1
and al, 1
cmove ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x4c8d7f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c8bf5

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x366972ae
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x32a55196
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x77dc406e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x37b25535
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10002bb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x10047634], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x10002c60
xor ebx, ebx
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x10047630], eax
inc ebx
cmp ebx, 0x100
jb 0x10002bc6
mov ebx, dword [esp + 0x10]
not ebx
mov eax, ebx
test edi, edi
jle 0x10002c90
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10047630]
sub edi, 1
jne 0x10002c70
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10002cbf
cmp cl, 0x23
jne 0x10002ca6
cmp byte [esi], cl
jne 0x10002ca6
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10047630]
test cl, cl
jne 0x10002c97
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x100031e0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
test ebx, ebx
je 0x100031f0
mov dword [ebx], 0
mov edx, 0x1003d3e0
call fcn.10003090
mov esi, eax
test esi, esi
jne 0x10003203
pop esi
pop ebx
ret
push ebp
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
push 2
push 0
push esi
call ebp
add esp, 0xc
test eax, eax
jne 0x100032ad
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x100032ad
push 0
push 0
push esi
call ebp
add esp, 0xc
test eax, eax
jne 0x100032ad
mov eax, dword [0x10047020]
inc dword [eax + 0x310]
mov ecx, dword [eax + 0xbc]
lea eax, [edi + 1]
push eax
call ecx
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x100032ad
push esi
push edi
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, edi
je 0x10003293
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10047020]
push ebp
dec dword [eax + 0x310]
mov eax, dword [eax + 0xc0]
call eax
add esp, 8
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret
mov byte [edi + ebp], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x100032a6
mov dword [ebx], edi
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x10021730
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xdc
push ebx
push ebp
push esi
mov esi, dword [esp + 0xec]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x10047020]
push ebx
inc dword [eax + 0x310]
mov eax, dword [eax + 0xbc]
call eax
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
mov ebp, eax
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x10021826
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x10021826
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x1004b098], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x1004b09c], ebp
shl ecx, 8
add ecx, ebp
mov dword [0x1004b0a0], ebp
add edi, ecx
mov ecx, esi
mov dword [0x1004b094], edi
call fcn.10023dc0
cmp eax, esi
je 0x10021826
cmp dword [0x1004b0a0], edi
ja 0x10021826
mov ecx, eax
mov esi, eax
call fcn.10023dc0
cmp eax, esi
jne 0x10021811
mov esi, dword [esp + 0xf8]
test esi, esi
je 0x10021842
mov ecx, 0x19
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x18]
jmp 0x1002184b
lea ecx, [esp + 0x18]
call fcn.100211b0
movss xmm0, dword [esp + 0x10]
lea edi, [esp + 0x80]
mov esi, eax
mov ecx, 0x19
mov eax, dword [esp + 0xfc]
test eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x19
mov byte [esp + 0x88], 1
lea esi, [esp + 0x80]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x20], ebx
movss dword [esp + 0x2c], xmm0
call fcn.100213f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xdc
ret 0x10
Function at 0x10022f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003b306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x3f800000
call fcn.100230d0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10029f00
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x10029f92
cmp byte [esi + 0x3d], 0
je 0x10029f92
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x10029f8a
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x10029f59
sub eax, 1
je 0x10029f5d
sub eax, 2
jne 0x10029f8a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
add esp, 0x24
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x10029f7d
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x10029f8a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
add esp, 0x24
ret
pop edi
xor al, al
pop esi
add esp, 0x24
ret
mov al, 1
pop esi
add esp, 0x24
ret

Function at 0x10030e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov edx, 0x811c9dc5
mov esi, dword [eax + 4]
mov edi, dword [eax]
test esi, esi
je 0x10030eb1
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x10030ea0
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100348f0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 8], 1
jne 0x1003491c
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10034907
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push esi
push 0x100348e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop esi
mov al, 1
ret 0xc
Function at 0x100363b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c05d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x128
push esi
push edi
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x1c], 0
cmp dword [edi + 4], 0
jle 0x100365b0
xor esi, esi
mov dword [ebp - 0x14], esi
nop dword [eax]
mov edi, dword [edi]
add edi, esi
je 0x10036594
mov eax, dword [edi]
movsx eax, byte [eax]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isdigit]
add esp, 4
test eax, eax
jne 0x10036594
mov eax, dword [edi]
mov esi, 0x811c9dc5
mov dl, byte [eax]
lea eax, [eax + 1]
movsx ecx, dl
xor ecx, esi
imul esi, ecx, 0x1000193
test dl, dl
jne 0x10036428
cmp esi, 0xa0e5aef0
je 0x10036591
cmp dword [edi + 4], 6
jne 0x10036477
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x10036477
mov eax, dword [ecx + 0xc]
cmp byte [eax], 0x44
jne 0x10036477
mov ax, word [edi + 0x2c]
add ax, word [ebx + 0x10]
movzx eax, ax
push eax
push ecx
push dword [ebx + 8]
mov ecx, 0x1004b130
call fcn.100363b0
push dword [ebx + 8]
lea eax, [ebp - 0x138]
push 0x100
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea eax, [ebp - 0x138]
add esp, 0xc
push 0x100420bc
push 0x100
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x138]
push dword [edi]
push 0x100
push eax
call esi
add esp, 0xc
lea edx, [ebp - 0x138]
mov esi, 0x811c9dc5
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
movsx eax, cl
xor eax, esi
imul esi, eax, 0x1000193
test cl, cl
jne 0x100364d0
mov dword [ebp - 0x18], esi
mov ecx, 0x1004b130
mov ax, word [edi + 0x2c]
add ax, word [ebx + 0x10]
movzx eax, ax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.10031d50
mov eax, dword [ebp - 0x28]
cmp byte [eax + 0xd], 0
jne 0x10036516
cmp esi, dword [eax + 0x10]
jae 0x10036588
cmp dword [0x1004b134], 0x9249249
je 0x100365c5
mov esi, dword [0x1004b130]
mov dword [ebp - 0x24], 0x1004b130
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x20], 0
call fcn.10038369
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
mov dword [ecx + 0x10], eax
movq qword [ecx + 0x14], xmm0
push ecx
push dword [ebp - 0x2c]
mov dword [ecx], esi
push dword [ebp - 0x30]
mov dword [ecx + 4], esi
mov dword [ecx + 8], esi
mov word [ecx + 0xc], 0
mov ecx, 0x1004b130
call fcn.100300b0
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], ecx
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
add esi, 0x3c
mov eax, dword [ebx + 0xc]
inc edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], esi
cmp edi, dword [eax + 4]
jge 0x100365b0
mov edi, eax
jmp 0x10036400
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.100244c0
int3
Function at 0x40109d
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
push edi
mov ebx, eax
lea eax, [ebp - 0x220]
push eax
push 0x104
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
push ebx
call fcn.004013e2
lea edi, [ebx + 0x10]
cmp dword [edi], 0
jne 0x4010e6
push 0xffffffffffffffff
push dword [ebx + 0x18]
mov esi, 0x47ad30
push 1
call fcn.0040f9e9
jmp 0x401137
lea eax, [ebp - 2]
push eax
mov al, byte [0x4669c4]
lea esi, [ebx + 0x24]
push edi
mov ecx, 0x47ad30
call fcn.0040fe74
test al, al
jne 0x401110
mov dword [0x4669dc], 1
jmp 0x40126b
mov al, byte [0x47ad30]
mov byte [ebx + 0x14], al
mov al, byte [0x47ad31]
mov byte [ebp - 1], al
lea eax, [ebx + 0xc]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov esi, 0x47ad30
call fcn.0040fe42
push dword [edi]
lea eax, [ebx + 0x24]
mov dword [ebp - 8], eax
push eax
mov esi, 0x478e08
mov eax, esi
call fcn.0041fb4d
test eax, eax
je 0x401180
mov edi, 0x47ad30
call fcn.0040fb91
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
mov dword [0x4669dc], 1
jmp 0x401278
cmp byte [ebp - 1], 1
jne 0x40123e
cmp byte [0x478bbd], 1
jne 0x40123e
call fcn.00416139
test al, al
jne 0x40123e
push 0x104
lea eax, [ebp - 0x42c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
cmp byte [ebp - 2], 0
je 0x401214
mov edi, 0x45b5c4
push edi
lea esi, [ebp - 0x14]
call fcn.00416a9d
push dword [ebp - 8]
or eax, 0xffffffff
mov ecx, esi
call fcn.00416d89
push edi
or eax, 0xffffffff
mov ecx, esi
call fcn.00416d89
push 1
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x42c]
push eax
push str.runas
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x14]
call fcn.00448a22
pop ecx
jmp 0x401261
push 1
lea eax, [ebp - 0x220]
push eax
push dword [0x47acf8]
lea eax, [ebp - 0x42c]
push eax
push str.runas
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x401261
call fcn.0040127d
call fcn.00401371
cmp byte [ebx + 0x14], 0
jne 0x401258
mov ebx, 0x4796a8
call fcn.004128ff
push 1
mov ecx, esi
call fcn.0041fd9e
mov edi, 0x47ad30
call fcn.0040fb91
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401d86
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [esi]
push ebp
xor ebp, ebp
cmp eax, ebp
jne 0x401d96
xor al, al
jmp 0x401e22
push ebx
push edi
push 1
push eax
push esi
call fcn.00403029
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push ebp
push 0x25
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x10], ebp
push eax
jge 0x401de3
push 0x25
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x401e05
push 0x27
push 0x100
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push dword [esi]
call ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_Sleep]
push ebp
push dword [esi]
push esi
call fcn.00403029
pop edi
mov al, 1
pop ebx
pop ebp
ret 4

Function at 0x40236b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
test eax, eax
jne 0x40237e
xor al, al
jmp 0x402408
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0xb0
push eax
call esi
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jne 0x4023a1
xor al, al
jmp 0x402407
push edi
push 0
push 0
push 0xe
push dword [ebx]
call esi
mov edi, eax
test edi, edi
je 0x402404
lea eax, [edi + edi + 0x202]
push eax
call fcn.00448b1a
pop ecx
push eax
mov dword [ebp - 4], eax
lea eax, [edi + 1]
push eax
push 0xd
push dword [ebx]
call esi
test eax, eax
je 0x4023fb
mov eax, dword [ebp - 8]
cmp eax, edi
mov esi, dword [ebp - 4]
je 0x4023e1
and word [esi + eax*2], 0
mov eax, dword [ebp - 0xc]
lea eax, [esi + eax*2]
push eax
push dword [ebp + 8]
call fcn.00416b9f
push esi
call fcn.00448a22
pop ecx
mov al, 1
jmp 0x402406
push dword [ebp - 4]
call fcn.00448a22
pop ecx
xor al, al
pop edi
pop esi
leave
ret 4