joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4179b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4179c3
pop dword [ebp - 0x2c]
mov eax, 0x4179c3
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x3ff05
push 0
mov eax, 0x7e7b241f
sub eax, 0x7e38d207
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0x50b9
mov esi, eax
mov edx, 0xb318499d
add edx, 0x4d2b0a63
add edx, dword [ebp - 0x2c]
mov edi, 0xd2dbbcb1
sub dword [ebp - 0x24], 0x8a0fbb02
mov ebx, dword [edx]
sub dword [ebp - 8], 0x15f859c9
sub ebx, edi
sub dword [ebp - 0xc], 0xdb1dd3e8
mov dword [esi], ebx
xor dword [ebp - 0x18], ebx
add esi, 0x685d7135
add esi, 0x97a28ecf
add edx, 0xca30fdaf
sub edx, 0xca30fdab
loop 0x417a11
add eax, 0x871a265
sub eax, 0x8706cae
xor ebx, ebx
add ebx, eax
add eax, 0x7181237e
add eax, 0x8e7edc87
mov ecx, 0x4ffb7030
sub ecx, 0x4fbb7030
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0xf00e40
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf00e4a
pushal
call 0xf00e50
pop ebp
sub ebp, 0x10
sub ebp, 0xb00e40
jmp 0xf00e66
mov eax, 0xb00e40
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c6
mov edx, 0xfb18a816
xor byte [eax], dl
inc eax
dec ecx
jne 0xf00e7d
jmp 0xf00e90
mov ebx, dword [edi]
rcl ebx, 0x9d
popfd
fistp dword [ebp + 0x16162a9f]
push ss
xchg edi, eax
xlatb
out dx, al
push ss
push ss
push ss
adc eax, 0x1610aedb
scasb al, byte es:[edi]
adc byte [esi], dl
push ss
push ss
lodsb al, byte [esi]
push ss
push ss
push ss
loope 0xf00ea0
adc eax, 0x1a979dde
push ss
push ss
push ss
adc eax, 0x729b46d3
xor ch, dl
lahf
adc dh, byte [edx]
jle 0xf00f3a
fdiv qword [edi]
push ss
jle 0xf00e8c
push ebp
cwde
push ss
pop ss
cmp dh, byte [edx]
jle 0xf00f28
push edx
stc
mov byte [0x161613fe], al
push ss
jmp dword [edx]
xor bh, dh
adc edx, dword [esi]
push ss
push ss
inc dword [edi + 0x14]
push ss
push ss
inc ebx
inc edx
dec ebx
jmp 0x64d9299e
arpl word [esi], bx
invalid

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x100097c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x10009810
cmp edi, esi
jb 0x1000987b
cmp edi, dword [ebp + 0x10]
ja 0x1000988e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x10009812
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x10009800
jmp 0x1000986f
ja 0x10009819
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x100097d5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x10009850
mov ebx, esi
sub ecx, edx
jns 0x10009867
jmp 0x10009871
cmp esi, edi
je 0x100098a2
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10009871
xor al, 1
cmp ebx, edi
jne 0x10009830
jmp 0x10009871
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x647544c
call fcn.100083d0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x647544c
call fcn.10007b00
add esp, 4
ud2
mov ecx, 0x647dbcc
mov edx, 0x2b
push 0x647543c
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1002abf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
cmp byte [edx + 0x1195], 0
mov edi, edx
mov dword [esp + 4], ecx
je 0x1002ac56
mov edx, edi
lea ecx, [esp + 8]
push ebx
push esi
push eax
push 3
push 0
call fcn.100292c0
add esp, 0x14
movq xmm0, qword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movd ecx, xmm0
test ecx, ecx
je 0x1002ad1d
mov ecx, dword [esp + 4]
movq qword [ecx], xmm0
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
jmp 0x1002ad54
cmp byte [edi + 0x1196], 0
je 0x1002ad5c
mov byte [edi + 0x1190], 0xc
xor edi, edi
lea esi, [0x6476f1d]
lea edx, [0x6476f1e]
mov eax, 0xfffffff9
mov dword [esp + 0x18], 0
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1002acb5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1002adb7
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x1002acd6
shld dword [esp + 0x18], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x1002ac90
mov ecx, 0x6476a5b
mov edx, 9
xor ebx, 0x12
call fcn.1000bf90
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x6476860
mov edx, 0x12
cmove edi, esi
call fcn.1000bf90
mov ecx, dword [esp + 4]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
jmp 0x1002ad54
movzx ecx, byte [edi + 0x118b]
cmp ecx, 0x10
jae 0x1002ada3
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], eax
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
mov eax, dword [esp + 4]
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1190], 0xd
mov dword [eax], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
lea ecx, [esp + 8]
push ebx
push esi
push eax
push 2
push 0
call fcn.100292c0
add esp, 0x14
movq xmm0, qword [esp + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
movd ecx, xmm0
test ecx, ecx
jne 0x1002ac43
movzx ecx, byte [edi + 0x118b]
cmp ecx, 0x10
jb 0x1002ad29
mov edx, 0x10
push 0x6476f28
jmp 0x1002adad
mov edx, 0x10
push 0x6476f38
call fcn.10007630
add esp, 4
ud2
mov ecx, 0x647d85c
mov edx, 0xe
push 0x6475de0
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1002c110
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x118a], 3
mov edi, edx
mov esi, ecx
jne 0x1002c16a
movzx ecx, byte [edi + 0x118c]
cmp ecx, 0x10
jae 0x1002c262
movzx eax, byte [edi + 0xa8]
mov dword [esi], 0
and al, 1
mov byte [edi + ecx*8], al
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1190], 0xd
jmp 0x1002c25a
lea ecx, [esp + 8]
mov edx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.100292c0
add esp, 0x14
movq xmm0, qword [esp + 8]
movd eax, xmm0
test eax, eax
je 0x1002c1aa
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x1002c25a
mov dword [esp], esi
mov byte [edi + 0x1190], 0xc
xor edi, edi
lea esi, [0x6476ee1]
lea edx, [0x6476ee2]
mov eax, 0xfffffff9
mov dword [esp + 4], 0
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1002c1f5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1002c276
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x1002c216
shld dword [esp + 4], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x1002c1d0
mov ecx, 0x6476a5b
mov edx, 9
xor ebx, 0x1a
call fcn.1000bf90
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x6476860
mov edx, 0x12
cmove edi, esi
call fcn.1000bf90
mov ecx, dword [esp]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 0x10
push 0x6476f0c
call fcn.10007630
add esp, 4
ud2
mov ecx, 0x647d85c
mov edx, 0xe
push 0x6475de0
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1003b310
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x14]
movzx esi, byte [ebp + 0x18]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or esi, edx
mov edx, dword [ebp + 0xc]
and ecx, 0xfffff000
or esi, ecx
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.100376c0
add esp, 8
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x1003b362
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 0xc], ecx
mov dword [edi + 8], esi
jmp 0x1003b439
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], edi
xor edi, edi
lea esi, [0x647a4e1]
mov ecx, 0xfffffff9
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
lea eax, [0x647a4e2]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, eax
mov eax, ebx
add al, 0xd0
cmp al, 0xa
jb 0x1003b3b1
or bl, 0x20
mov eax, ebx
add al, 0x9f
cmp al, 6
jae 0x1003b441
add bl, 0xa9
mov eax, ebx
mov edx, edi
movzx ebx, al
lea eax, [esi + 1]
shl edx, 4
or ebx, edx
test ecx, ecx
cmove eax, esi
je 0x1003b3d1
shld dword [ebp - 0x18], edi, 4
inc ecx
test esi, esi
mov edi, ebx
jne 0x1003b390
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1003b3f2
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
and eax, 0xfff
movzx eax, byte [ecx + eax]
mov byte [edx + 4], al
mov dword [edx], 0
jmp 0x1003b439
mov ecx, 0x647da71
mov edx, 0x13
xor ebx, 0x2c7
call fcn.1000bf90
mov ecx, 0x647da4d
mov edx, 6
mov edi, eax
call fcn.1000bf90
mov edx, dword [ebp - 0x10]
test eax, eax
mov ecx, 1
cmove eax, ecx
test edi, edi
cmove edi, ecx
mov dword [edx], edi
mov dword [edx + 4], eax
mov dword [edx + 8], ebx
mov dword [edx + 0xc], 0
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x647d85c
mov edx, 0xe
push 0x6475de0
call fcn.10007ff0
add esp, 4
ud2
Function at 0x1003e510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x350
mov dword [esp + 0x30c], ecx
call fcn.1003e52b
Function at 0x10061d70
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x5040
call 0x100741ef
call fcn.10061d88
Function at 0x401000
Capabilities:
Terminate process

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

Function at 0x40425b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a4004]
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.00403568
and dword [ebp - 0x14], 0
cmp dword [0x4a6940], 0
mov dword [ebp - 0x18], eax
jne 0x40430e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4043b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4043b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4a6940], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4a6944], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4a6948], eax
call edi
push eax
call esi
mov dword [0x4a6950], eax
test eax, eax
je 0x40430e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4a694c], eax
mov eax, dword [0x4a694c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404367
cmp dword [0x4a6950], ecx
je 0x404367
push eax
call esi
push dword [0x4a6950]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404367
test ebx, ebx
je 0x404367
call edi
test eax, eax
je 0x40435e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40435e
test byte [ebp - 8], 1
jne 0x404367
or dword [ebp + 0x10], 0x200000
jmp 0x40439a
mov eax, dword [0x4a6944]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40439a
mov eax, dword [0x4a6948]
cmp eax, dword [ebp - 0x18]
je 0x40439a
push eax
call esi
test eax, eax
je 0x40439a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4a6940]
call esi
test eax, eax
je 0x4043b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4043b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret

Function at 0x4a0550
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0x20
add dword [ebp - 4], 0x20
mov edx, dword [0x1f78de4]
mov eax, dword [0x1f78b08]
xor ecx, ecx
mov word [0x1f78e00], cx
lea ecx, [ebp - 8]
push ecx
push 0x40
push edx
push eax
mov dword [0x1f78dec], 0x6e0072
mov dword [0x1f78df0], 0x6c0065
mov dword [0x1f78df4], 0x320033
mov dword [0x1f78df8], 0x64002e
mov dword [0x1f78dfc], 0x6c006c
mov dword [0x1f78de8], 0x65006b
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret
Function at 0x4a06d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x820
mov eax, dword [0x4a4004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp edi, 0x182
jne 0x4a06fd
lea eax, [ebp - 0x820]
push eax
push str.wosevir
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
push esi
xor esi, esi
test edi, edi
jle 0x4a0744
cmp edi, 0x2d
jne 0x4a0711
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
call fcn.004a0610
xor byte [ebx + esi], al
cmp edi, 0xf
jne 0x4a073f
push 0
lea ecx, [ebp - 0x804]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
inc esi
cmp esi, edi
jl 0x4a0704
pop esi
cmp edi, 0x2d
jne 0x4a075e
mov dword [0x1f79170], 0xa62e7790
mov dword [0x1f79174], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x4a0770
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a4dc0]
sub esp, 0x10
push ebx
mov ebx, dword [0x1f78b08]
push edi
mov edi, dword [0x1f78de4]
push eax
call fcn.004a0680
add esp, 4
cmp dword [0x1f78de4], 0x2f
jne 0x4a07cd
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.004a06d0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405f20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x405f43
mov eax, 1
jmp 0x40604e
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x405f59
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x405f63
mov eax, 2
jmp 0x40604e
mov edx, dword [ebp + 0x10]
push edx
push pe_nt_image_headers32
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x405f8e
mov eax, 1
jmp 0x40604e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x405fb4
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x405fb4
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x405fbe
mov eax, 2
jmp 0x40604e
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.00415110
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x405fff
mov eax, 3
jmp 0x40604e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x40604c
mov eax, 1
jmp 0x40604e
xor eax, eax
pop ebp
ret

Function at 0x4069e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x4069f6
xor eax, eax
jmp 0x406a36
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x406a1b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x406a1f
xor eax, eax
jmp 0x406a36
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00406a40
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x413d90
Capabilities:
Get steam token

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x484
push 0x64000
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
add esp, 4
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
push 0x41d28b
lea ecx, [ebp - 0x1c]
call fcn.00416d40
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x413e08
mov dword [ebp - 0x45c], 0x41d2aa
lea ecx, [ebp - 0x1c]
call fcn.00416e00
mov eax, dword [ebp - 0x45c]
jmp 0x413f9f
mov edx, 1
test edx, edx
je 0x413f6e
mov byte [ebp - 0x438], 0
push 0x207
push 0
lea eax, [ebp - 0x437]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0xfff
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.65_79_41_69_64_48_6C_77_49_6A_6F_67_49_6B_70_58_56_43_49_73_49_43_4A_68_62_47_63_69_4F_69_41_69_52_57_52_45_55_30_45_69_49_48_30
mov edx, dword [ebp - 4]
push edx
call fcn.00413bc0
add esp, 0x20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x28]
add eax, 0x208
mov ecx, dword [ebp - 0x24]
adc ecx, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x24], 0
ja 0x413e8a
jb 0x413e85
cmp dword [ebp - 0x28], 0
ja 0x413e8a
jmp 0x413f6e
cmp dword [ebp - 0x24], 0
ja 0x413e99
cmp dword [ebp - 0x28], 0xffff
jbe 0x413eb5
push 0
push 0x208
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea edx, [ebp - 0x438]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00416e20
lea ecx, [ebp - 0x1c]
call fcn.004170d0
push eax
call dword [0x624f48]
cmp eax, 0x12c
jle 0x413f69
lea ecx, [ebp - 0x1c]
call fcn.004170d0
push eax
lea ecx, [ebp - 0x478]
call fcn.00413fe0
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x454]
push ecx
call fcn.00413820
add esp, 8
lea ecx, [ebp - 0x478]
call fcn.00407a30
lea ecx, [ebp - 0x454]
call fcn.00414040
movzx edx, al
test edx, edx
jne 0x413f5e
lea ecx, [ebp - 0x454]
call fcn.00414020
cmp eax, 0xa
jbe 0x413f5e
lea ecx, [ebp - 0x1c]
call fcn.004170d0
mov dword [ebp - 0x47c], eax
lea ecx, [ebp - 0x454]
call fcn.00407a30
lea ecx, [ebp - 0x1c]
call fcn.00416e00
mov eax, dword [ebp - 0x47c]
jmp 0x413f9f
lea ecx, [ebp - 0x454]
call fcn.00407a30
jmp 0x413e08
mov eax, dword [ebp - 8]
mov dword [ebp - 0x480], eax
mov ecx, dword [ebp - 0x480]
push ecx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [ebp - 0x484], 0x41d2ab
lea ecx, [ebp - 0x1c]
call fcn.00416e00
mov eax, dword [ebp - 0x484]
mov esp, ebp
pop ebp
ret
Function at 0x415dc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x415df0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x415e03
xor eax, eax
jmp 0x415ec1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x415e1e
xor eax, eax
jmp 0x415ec1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x415e3c
xor eax, eax
jmp 0x415ec1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x415e7e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x415ebf
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.00415130
add esp, 8
test eax, eax
jne 0x415ebd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x415ec1
jmp 0x415e75
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x417b4e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4232b0]
jne 0x417b58
repz ret
jmp fcn.00418d8b