joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416532
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4798e0
cmp edx, dword [eax]
je 0x416554
add eax, 8
inc ecx
cmp eax, 0x479970
jl 0x416545
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4798e0]
jne 0x416682
mov eax, dword [0x47d8a4]
cmp eax, 1
je 0x41665c
test eax, eax
jne 0x416585
cmp dword [0x4793f4], 1
je 0x41665c
cmp edx, 0xfc
je 0x416682
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4165bc
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410f10
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00410d40
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4165ff
lea eax, [ebp - 0x1a4]
push eax
call fcn.00410d40
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x46b1c8
push edi
call fcn.0041b4f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410f10
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410f20
lea eax, [ebp - 0xa0]
push 0x46b1a8
push eax
call fcn.00410f20
push dword [esi + 0x4798e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410f20
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0041b458
add esp, 0x2c
pop edi
jmp 0x416682
lea eax, [ebp + 8]
lea esi, [esi + 0x4798e4]
push 0
push eax
push dword [esi]
call fcn.00410d40
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x423f00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00411260
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x423fcb
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x423fcb
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x423f7e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x423f89
or bh, 8
and edi, 0x8000000
je 0x423fa4
mov eax, dword [0x47f6bc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x423fcb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4243a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4243cb
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x4243ef
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42440a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x437cb6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x437cee
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0043b658
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0043b630
jmp 0x437cfa
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x437cfe
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x47d230
mov ecx, edi
call fcn.0043b33a
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x437d51
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x437d64
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0043b658
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0043b630
jmp 0x437d64
mov ecx, esi
call fcn.0043a424
test eax, eax
je 0x437d64
push edi
mov ecx, eax
call fcn.00437cb6
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x439ab8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x439afa
call fcn.0045072a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x439afa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x439af1
xor eax, eax
jmp 0x439b02
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00439b08
pop edi
pop esi
pop ebx
ret 4
Function at 0x45e8b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x45ea6b
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
cmpsd dword [esi], dword es:[edi]
cmp dword [ebp - 0x6fc], 1
jne 0x45eb1c
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
invalid

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x60d64113
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
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
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x129f71cb
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x10011db0
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x1001aa48]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x10011df8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10011ddc
mov eax, 1
jmp 0x10011df3
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x10011ed8
mov eax, 2
mov dword [0x1001aa48], eax
cmp eax, 2
jne 0x10011e18
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x10011eea
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10011e33
mov ecx, dword [0x1001a588]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x10011e52
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.1000a910
mov esi, eax
add esp, 4
test esi, esi
jne 0x10011e69
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10011ecf
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x10011eb0
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x10011ecf
push esi
call fcn.1000a9e0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x10011edf
push esi
call fcn.1000a9e0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.1000a9e0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100010db
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x1001bb57
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.1000e4f6
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.1000e4f6
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.1000e4f6
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 0x1000200e
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 0x100020a9
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 0x10022140
call esi
push 0x100221b0
call esi
push 0x10022240
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], 0x100222b8
mov al, byte [edx + eax]
xor al, byte [ecx + ebx]
mov byte [ebx], al
call edi
push 0x10022398
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 0x1000204b
pop edi
pop ebx
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x100045ed
Capabilities:
Check http status code

Disassembly:
mov eax, 0x1001bf73
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.1000e4f6
lea eax, [ebp - 0xa4]
push eax
call fcn.10003e8f
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 [0x1023c164]
push eax
call dword [0x1023c0fc]
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.1000e6f6
push eax
call dword [0x1023c060]
push dword [0x1022b338]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x64]
xor esi, esi
call dword [0x1023c13c]
test eax, eax
jne 0x1000467f
mov esi, edi
cmp dword [ebp - 0x18], ebx
je 0x100047b3
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x50]
push dword [ebp - 0x58]
push dword [ebp - 0x18]
call dword [0x1023c160]
mov dword [ebp - 0x24], eax
cmp eax, ebx
je 0x100047aa
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x1022b188]
push dword [ebp - 0x3c]
push 0x10022730
push dword [ebp - 0x24]
call dword [0x1023c194]
mov edi, eax
cmp edi, ebx
je 0x100047a3
cmp esi, ebx
je 0x100046f7
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x1023bf68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x1023c128]
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 [0x1023c1ac]
test eax, eax
jne 0x10004747
lea ecx, [ebp + 8]
xor esi, esi
mov byte [ebp - 4], bl
call fcn.1000e52a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000e52a
mov eax, dword [ebp - 0x2c]
mov edx, esi
jmp 0x100047d9
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000f379
pop ecx
cmp eax, 0xc8
jne 0x10004724
cmp esi, ebx
je 0x100047a3
jmp 0x1000479e
lea eax, [ebp - 0x10]
push eax
push 0x400
lea eax, [ebp - 0x5a4]
push eax
push edi
call dword [0x1023c088]
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x100047a3
push 1
lea eax, [ebp + esi - 0x5a4]
push eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
push eax
call fcn.1000f3ca
inc dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x1000477f
cmp dword [ebp - 0x10], ebx
ja 0x10004761
push edi
call dword [0x1023c05c]
push dword [ebp - 0x24]
call dword [0x1023c05c]
push dword [ebp - 0x18]
call dword [0x1023c05c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.1000e52a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.1000e52a
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 0x10005341
Capabilities:
Check http status code

Disassembly:
mov eax, 0x1001c181
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.1000e4f6
lea eax, [ebp - 0xb4]
push eax
call fcn.10003e8f
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x1002270a
lea ecx, [ebp - 0x30]
call fcn.1000e4bf
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.1000e6f6
push eax
call dword [0x1023c060]
push dword [0x1022b338]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x1023c13c]
test eax, eax
jne 0x100053c8
inc esi
cmp dword [ebp - 0x10], ebx
je 0x1000550c
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x1023c160]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x10005503
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x1022b188]
push dword [ebp - 0x4c]
push 0x10022838
push dword [ebp - 0x1c]
call dword [0x1023c194]
mov edi, eax
cmp edi, ebx
je 0x100054fa
cmp esi, ebx
je 0x10005440
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x1023bf68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x1023c128]
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 [0x1023c1ac]
test eax, eax
jne 0x1000547f
mov ecx, dword [ebp + 8]
push 0x1002283c
call fcn.1000e4bf
jmp 0x10005518
lea eax, [ebp - 0x1b4]
push eax
call fcn.1000f379
pop ecx
cmp eax, 0xc8
jne 0x10005554
cmp esi, ebx
je 0x100054f3
mov esi, 0x7cf
jmp 0x100054dc
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x100054f3
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000e638
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.1000e57d
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.1000e52a
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x1023c088]
cmp eax, ebx
jne 0x100054a2
push edi
call dword [0x1023c05c]
push dword [ebp - 0x1c]
call dword [0x1023c05c]
push dword [ebp - 0x10]
call dword [0x1023c05c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.1000e4f6
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.1000e52a
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.1000e52a
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.1000e52a
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 0x10022844
call fcn.1000e4bf
jmp 0x10005518
Function at 0x10005dcc
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 0x10005dea
xor eax, eax
inc eax
jmp 0x10005e7c
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x10005e79
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x10005e79
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 0x10005de2
cmp dword [edi], 0x4550
jne 0x10005e79
mov eax, 0x10b
cmp word [esi + 0x58], ax
jne 0x10005e79
movzx eax, word [esi + 0x46]
test ax, ax
je 0x10005e79
imul eax, eax, 0x28
push eax
mov dword [esi + 0x140], eax
call fcn.1000f3fd
pop ecx
mov dword [esi + 0x138], eax
test eax, eax
jne 0x10005e50
push 3
jmp 0x10005e7b
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 0x10005e7c
push 2
pop eax
pop edi
pop ebp
ret

Function at 0x10006462
Capabilities:
Parse pe header

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

Disassembly:
mov eax, 0x1001d68c
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 0x1000e2ae
mov ecx, dword [ebp + 8]
push 0x10022db3
call fcn.1000e101
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000ddb0
mov eax, dword [ebp + 8]
jmp 0x1000e435
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.1000db5a
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 0x1000e30f
jmp 0x1000e3d2
cmp edx, ebx
ja 0x1000e30f
cmp eax, 0xffff
jbe 0x1000e322
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.1000e066
cmp dword [ebp - 0x2c], 0x12c
jbe 0x1000e378
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000e1af
pop ecx
pop ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x48], ebx
je 0x1000e36a
cmp dword [ebp - 0x48], 0xa
ja 0x1000e401
push ebx
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], bl
call fcn.1000ddb0
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.1000db5a
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 0x1000e30f
jb 0x1000e3da
cmp eax, ebx
ja 0x1000e304
push dword [ebp - 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete___void__
mov ecx, dword [ebp + 8]
mov dword [esp], 0x10022db4
call fcn.1000e101
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000ddb0
mov eax, dword [ebp + 8]
jmp 0x1000e433
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.1000e15e
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.1000ddb0
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.1000ddb0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret