joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e844
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x105
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
push 0x22
mov dword [0x415558], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
cmp dword [0x414098], ebx
pop ecx
pop ecx
mov dword [0x41555c], eax
je 0x40e912
mov ecx, dword [0x415558]
cmp ecx, ebx
je 0x40e968
cmp eax, ebx
je 0x40e968
push dword [ebp + 8]
mov byte [ecx + 0x104], bl
call fcn.0040e58e
push 0x104
push dword [ebp + 0xc]
mov word [0x415554], ax
push dword [0x415558]
call dword [sym.imp.msvcrt.dll_strncpy]
push 0xa
push dword [0x41555c]
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0x18
push ebx
mov esi, 0x415558
push esi
push ebx
push 2
push ebx
push dword [ebp + 8]
xor eax, eax
mov ax, word [0x415554]
push ebx
push eax
push dword [0x414098]
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
cmp eax, ebx
mov dword [0x415550], eax
jne 0x40e981
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4061a4
push 1
push 1
call fcn.0040e293
add esp, 0x10
push esi
jmp 0x40e979
push 0x406164
push 1
push ebx
call fcn.0040e293
mov eax, dword [0x415558]
add esp, 0xc
cmp eax, ebx
je 0x40e968
cmp dword [0x41555c], ebx
je 0x40e968
push 0x104
push dword [ebp + 0xc]
mov byte [eax + 0x104], bl
push dword [0x415558]
call dword [sym.imp.msvcrt.dll_strncpy]
push 0xa
push dword [0x41555c]
push dword [ebp + 0x10]
call dword [sym.imp.msvcrt.dll__ultoa]
add esp, 0x18
push 0x415558
jmp 0x40e979
push 0x4061d8
push 1
push ebx
call fcn.0040e293
add esp, 0xc
push ebx
push dword [ebp + 8]
call fcn.0040e4d0
push dword [0x415558]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [0x41555c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40e99f
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push 0x105
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
xor ebx, ebx
cmp dword [0x414098], ebx
pop ecx
mov dword [0x415568], eax
je 0x40ea39
cmp eax, ebx
je 0x40ea76
push dword [ebp + 8]
mov byte [eax + 0x104], bl
call fcn.0040e58e
push 0x104
push dword [ebp + 0xc]
mov word [0x415564], ax
push dword [0x415568]
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
push ebx
mov esi, 0x415568
push esi
push ebx
push 1
push ebx
push dword [ebp + 8]
xor eax, eax
mov ax, word [0x415564]
push ebx
push eax
push dword [0x414098]
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
cmp eax, ebx
mov dword [0x415560], eax
jne 0x40ea8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4061a4
push 1
push 1
call fcn.0040e293
add esp, 0x10
push esi
jmp 0x40ea87
push 0x406164
push 1
push ebx
call fcn.0040e293
mov eax, dword [0x415568]
add esp, 0xc
cmp eax, ebx
je 0x40ea76
push 0x104
push dword [ebp + 0xc]
mov byte [eax + 0x104], bl
push dword [0x415568]
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
push 0x415568
jmp 0x40ea87
push 0x4061d8
push 1
push ebx
call fcn.0040e293
add esp, 0xc
push ebx
push dword [ebp + 8]
call fcn.0040e4d0
push dword [0x415568]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40eaa1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
xor ebx, ebx
cmp dword [0x414508], ebx
push esi
push edi
jne 0x40ebc6
push 0x416688
push 0x20019
push ebx
push 0x4056a0
push 0x80000002
mov byte [0x416684], bl
mov dword [0x414508], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
mov dword [0x416578], eax
je 0x40eaf6
push eax
push 0x800003e8
call fcn.0040e62a
jmp 0x40ebc6
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0x41404c
push 0x416580
mov edi, 0x416574
push edi
push ebx
push 0x404da4
push dword [0x416688]
call esi
cmp eax, ebx
mov dword [0x416578], eax
jne 0x40eb52
cmp dword [0x416574], 1
je 0x40eb38
push 0x4142f8
push 0x800003f5
jmp 0x40eb5c
push 0x104
push 0x416580
push 0x4142f8
call dword [sym.imp.msvcrt.dll_strncpy]
add esp, 0xc
jmp 0x40eb61
push 0x4142f8
push 0x800003eb
call fcn.0040e99f
push 0x414048
push 0x416570
push edi
push ebx
push 0x4053cc
push dword [0x416688]
call esi
cmp eax, ebx
mov dword [0x416578], eax
jne 0x40eba5
cmp dword [0x416574], 4
jne 0x40eb98
mov eax, dword [0x416570]
mov dword [0x414044], eax
jmp 0x40ebb5
push dword [0x414044]
push 0x800003f6
jmp 0x40ebb0
push dword [0x414044]
push 0x800003f7
call fcn.0040e62a
push dword [0x416688]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x416578], eax
mov edi, dword [esp + 0x10]
cmp edi, dword [0x414044]
jb 0x40ec11
cmp byte [0x4142f8], bl
je 0x40ec11
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
mov esi, 0x415570
push 0xfff
push esi
mov byte [0x41656f], bl
call dword [sym.imp.msvcrt.dll__vsnprintf]
add esp, 0x10
cmp edi, 0xffffffff
push esi
jne 0x40ec06
push ebx
jmp 0x40ec08
push 1
push ebx
call fcn.0040e293
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x40ec15
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x414050]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x40ecfd
push edi
mov edi, dword [ebp + 0x10]
test byte [edi], 1
je 0x40eced
mov byte [ebp - 8], al
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp + 0x10]
push eax
push 0
push 0x406218
push dword [ebp - 0x218]
mov dword [ebp + 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x40eced
push esi
mov esi, 0x105
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x40ece3
cmp eax, esi
ja 0x40ece3
push 2
push 0
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
mov dword [edi + 4], eax
jne 0x40ecec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10c]
push eax
push 0xc0000401
call fcn.0040e844
jmp 0x40ecec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
pop esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
pop edi
mov ecx, dword [ebp - 4]
call fcn.00412b09
leave
ret 0xc
Function at 0x40f855
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x414080]
push ebx
push esi
mov esi, eax
imul eax, eax, 0x105
add eax, dword [0x41407c]
push edi
mov edi, eax
push edi
push 0x406f54
shl esi, 2
mov ebx, dword [esi + ecx]
push 0x14
call fcn.0040eaa1
add esp, 0xc
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseEventLog]
mov eax, dword [0x414080]
and dword [esi + eax], 0
push edi
push 0
call dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
mov ebx, eax
test ebx, ebx
jne 0x40f8ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push edi
push 0x406f24
push 0x14
call fcn.0040eaa1
add esp, 0x10
push esi
push edi
push 0x80000bbf
call fcn.0040e844
jmp 0x40f92f
push ebx
push edi
push 0x406efc
push 0
call fcn.0040eaa1
mov eax, dword [0x414080]
push 0x406ec8
push 0
mov dword [esi + eax], ebx
call fcn.0040eaa1
mov eax, dword [esp + 0x2c]
add esp, 0x18
push dword [esi + eax]
mov eax, dword [0x414080]
push dword [esi + eax]
call dword [sym.imp.ADVAPI32.dll_NotifyChangeEventLog]
test eax, eax
jne 0x40f933
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push 0x406e90
push 0x14
call fcn.0040eaa1
add esp, 0xc
push esi
push 0xc0000fa2
call fcn.0040e62a
xor eax, eax
jmp 0x40f944
push 0x406e68
push 0
call fcn.0040eaa1
pop ecx
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
pop ebx
ret 8
Function at 0x412b09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414050]
jne 0x412b12
ret
jmp 0x412b17
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x414050]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x416694]
test eax, eax
je 0x412b3b
call eax
cmp dword [0x416698], 0
je 0x412b82
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x416698]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.00412b09
add ebp, 0x2a8
leave
ret
Function at 0x401058
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push edi
push 4
push 0x3000
mov esi, 0x1e5d70
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
push eax
cmp eax, 0x11
je 0x401025
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test edi, edi
je 0x401054
nop
mov al, al
push 0xf1b30
push 0
push edi
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401080
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp section..text

Function at 0x40117e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41cbe7
call sub.msvcrt.dll__EH_prolog
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0040e59b
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040e59b
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
lea eax, [edi + 0x20]
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.0040e59b
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4020b1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
and dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 8], ecx
mov byte [ecx + esi], 0
test esi, esi
je 0x40214c
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
sub eax, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0xc], eax
push 0x423178
call esi
push 0x4231e8
call esi
push 0x423278
call esi
mov ebx, dword [ebp - 4]
push dword [ebp + 0xc]
add ebx, dword [ebp - 8]
call sub.msvcrt.dll_strlen
mov ecx, eax
mov eax, dword [ebp - 4]
xor edx, edx
div ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esp], 0x4232f0
mov al, byte [edx + eax]
xor al, byte [ecx + ebx]
mov byte [ebx], al
call edi
push 0x4233d0
call edi
push str.Sorted_for_Films__Vids_is_a_compilation_of_promotional_videos_by_the_band_Pulp__released_on_VHS_in_1995.
call edi
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jb 0x4020ee
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x40468f
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d003
call sub.msvcrt.dll__EH_prolog
sub esp, 0x598
push ebx
push esi
push edi
sub esp, 0xc
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], 1
call fcn.0040e59b
lea eax, [ebp - 0xa4]
push eax
call fcn.00403f31
add esp, 0x10
push 0xf
pop ecx
push 0x5f5e0ff
mov esi, eax
xor ebx, ebx
lea edi, [ebp - 0x68]
push ebx
rep movsd dword es:[edi], dword [esi]
call dword [0x63d164]
push eax
call dword [0x63d0fc]
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
call fcn.0040e79b
push eax
call dword [0x63d060]
push dword [0x62c338]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x63d13c]
test eax, eax
jne 0x404721
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x404855
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x63d160]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x40484c
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x3c]
push 0x42370c
push dword [ebp - 0x24]
call dword [0x63d194]
mov edi, eax
cmp edi, ebx
je 0x404845
cmp esi, ebx
je 0x404799
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d128]
push ebx
mov esi, eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1a4]
push eax
push 0x13
push edi
mov dword [ebp - 0x28], 0x100
call dword [0x63d1ac]
test eax, eax
jne 0x4047e9
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.0040e5cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040e5cf
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x40487b
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040f76e
pop ecx
cmp eax, 0xc8
jne 0x4047c6
cmp esi, ebx
je 0x404845
jmp 0x404840
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x63d088]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x404845
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.0040f7bf
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x404821
cmp dword [ebp - 0x10], ebx
ja 0x404803
push edi
call dword [0x63d05c]
push dword [ebp - 0x24]
call dword [0x63d05c]
push dword [ebp - 0x18]
call dword [0x63d05c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0040e5cf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.0040e5cf
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4053e3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d211
call sub.msvcrt.dll__EH_prolog
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040e59b
lea eax, [ebp - 0xb4]
push eax
call fcn.00403f31
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x4236e6
lea ecx, [ebp - 0x30]
call fcn.0040e564
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040e79b
push eax
call dword [0x63d060]
push dword [0x62c338]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x63d13c]
test eax, eax
jne 0x40546a
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4055ae
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x63d160]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4055a5
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62c188]
push dword [ebp - 0x4c]
push 0x423814
push dword [ebp - 0x1c]
call dword [0x63d194]
mov edi, eax
cmp edi, ebx
je 0x40559c
cmp esi, ebx
je 0x4054e2
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63cf68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63d128]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x63d1ac]
test eax, eax
jne 0x405521
mov ecx, dword [ebp + 8]
push 0x423818
call fcn.0040e564
jmp 0x4055ba
lea eax, [ebp - 0x1b4]
push eax
call fcn.0040f76e
pop ecx
cmp eax, 0xc8
jne 0x4055f6
cmp esi, ebx
je 0x405595
mov esi, 0x7cf
jmp 0x40557e
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x405595
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040e6dd
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040e622
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040e5cf
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x63d088]
cmp eax, ebx
jne 0x405544
push edi
call dword [0x63d05c]
push dword [ebp - 0x1c]
call dword [0x63d05c]
push dword [ebp - 0x10]
call dword [0x63d05c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040e59b
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040e5cf
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040e5cf
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040e5cf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push 0x423820
call fcn.0040e564
jmp 0x4055ba
Function at 0x405e6e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 0xc]
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x405e8c
xor eax, eax
inc eax
jmp 0x405f1e
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x405f1b
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x405f1b
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
push 0xf8
push eax
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x405e84
cmp dword [edi], 0x4550
jne 0x405f1b
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x405f1b
movzx eax, word [esi + 0x46]
test ax, ax
je 0x405f1b
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.0040f7f2
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x405ef2
push 3
jmp 0x405f1d
push dword [ebp + 0xc]
movzx ecx, word [esi + 0x54]
mov edx, dword [esi + 0x3c]
push dword [esi + 0x140]
lea ecx, [ecx + edx + 0x18]
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x405f1e
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x406504
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40653e
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x40653e
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x40653e
push dword [ebp + 0xc]
push ecx
push dword [eax + ecx + 0x78]
call fcn.00406468
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40e2e9
Capabilities:
Get steam token

Disassembly:
mov eax, 0x41e72e
call sub.msvcrt.dll__EH_prolog
sub esp, 0x45c
push ebx
xor ebx, ebx
push 0x64000
mov dword [ebp - 0x18], ebx
call sub.msvcrt.dll_void____cdecl_operator_new___unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push ebx
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x40e353
mov ecx, dword [ebp + 8]
push 0x423d8b
call fcn.0040e1a6
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040de55
mov eax, dword [ebp + 8]
jmp 0x40e4da
push esi
push edi
push 0x207
lea eax, [ebp - 0x25f]
push ebx
push eax
mov byte [ebp - 0x260], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x10]
push 0xfff
push 0xffffffffffffffff
push ebx
push ebx
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
push dword [ebp - 0x14]
call fcn.0040dbff
add esp, 0x2c
mov edi, eax
mov esi, 0x208
add edi, esi
mov ecx, edx
adc ecx, ebx
mov dword [ebp - 0x1c], ecx
cmp edx, ebx
ja 0x40e3b4
jmp 0x40e477
cmp edx, ebx
ja 0x40e3b4
cmp eax, 0xffff
jbe 0x40e3c7
push ebx
push esi
lea ecx, [ebp - 0x260]
push ecx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0x260]
push eax
call sub.msvcrt.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040e10b
cmp dword [ebp - 0x2c], 0x12c
jbe 0x40e41d
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040e254
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], ebx
je 0x40e40f
cmp dword [ebp - 0x48], 0xa
ja 0x40e4a6
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.0040de55
push 0x207
lea eax, [ebp - 0x25f]
push ebx
push eax
mov byte [ebp - 0x260], bl
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 0x10]
push 0xfff
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push edi
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
push dword [ebp - 0x14]
call fcn.0040dbff
add esp, 0x2c
mov ecx, eax
add ecx, esi
mov edi, edx
adc edi, ebx
mov dword [ebp - 0x18], edi
mov edi, ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
cmp edx, ebx
ja 0x40e3b4
jb 0x40e47f
cmp eax, ebx
ja 0x40e3a9
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 8]
mov dword [esp], 0x423d8c
call fcn.0040e1a6
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040de55
mov eax, dword [ebp + 8]
jmp 0x40e4d8
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3c]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov byte [esi], bl
call fcn.0040e203
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0040de55
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040de55
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret