joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b1da
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0048f4cd
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0048f4cd
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x49b251
cmp word [ecx], dx
je 0x49b251
mov eax, dword [0x4b924c]
push edi
dec eax
push eax
push 0x4b9138
call fcn.0049b179
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x49b2c4
cmp word [eax], dx
je 0x49b2c4
mov eax, dword [edi]
test eax, eax
je 0x49b275
cmp word [eax], dx
je 0x49b275
lea eax, [ebp - 0x10]
push eax
call fcn.0049ab5c
jmp 0x49b27e
lea eax, [ebp - 0x10]
push eax
call fcn.0049abf7
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x49b2ee
mov eax, dword [0x4b9134]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4b8e28
call fcn.0049b179
add esp, 0xc
test al, al
je 0x49b2ee
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x49b2b9
cmp word [eax], di
je 0x49b2b9
lea eax, [ebp - 0x10]
push eax
call fcn.0049ab5c
pop ecx
jmp 0x49b2f0
lea eax, [ebp - 0x10]
push eax
call fcn.0049abf7
jmp 0x49b2b6
mov eax, dword [edi]
test eax, eax
je 0x49b2db
cmp word [eax], dx
je 0x49b2db
lea eax, [ebp - 0x10]
push eax
call fcn.0049ab11
pop ecx
jmp 0x49b2ee
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x49b3b9
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0049affe
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x49b3b9
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x49b3b9
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x49b3b9
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x49b346
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0048ff62
test ebx, ebx
je 0x49b3b4
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0048ff62
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49b3b9
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x49b3b9
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004a0f86
add esp, 0x10
xor eax, eax
inc eax
jmp 0x49b3bb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004717ca
leave
ret
Function at 0x4a1855
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.004a17d1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x4a19c4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x4a19c4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x4a1979
jg 0x4a18b1
test eax, eax
je 0x4a196f
push 1
push 0x1000
call fcn.0048f7b8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4a18d4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x4a1966
push 0x8000
push ebx
call fcn.0048d86a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x4a18fd
jg 0x4a18f8
cmp ecx, 0x1000
jb 0x4a18fd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.004911db
add esp, 0x10
cmp eax, 0xffffffff
je 0x4a1942
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 0x4a18f8
jl 0x4a1929
test ecx, ecx
jne 0x4a18ea
push dword [ebp - 0xc]
push ebx
call fcn.0048d86a
push esi
call fcn.0048f815
add esp, 0xc
xor ebx, ebx
jmp 0x4a19d2
cmp byte [edi + 0x24], 0
je 0x4a1959
cmp dword [edi + 0x20], 5
jne 0x4a1959
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x4a1964
mov ebx, dword [edi + 0x18]
jmp 0x4a1966
xor ebx, ebx
push esi
call fcn.0048f815
pop ecx
jmp 0x4a19d2
test ecx, ecx
jg 0x4a193b
jl 0x4a1979
test eax, eax
jae 0x4a193b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00492b80
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4a1999
cmp byte [edi + 0x1c], 0
je 0x4a193b
jmp 0x4a19ca
push ebx
call fcn.004990d5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4a193b
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 0x4a19d2
cmp byte [edi + 0x1c], 0
je 0x4a19cf
mov ebx, dword [edi + 0x18]
jmp 0x4a19d2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00492b80
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4a1dd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4a1dfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4a1dfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov al, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
and al, 1
mov byte [ebp - 2], al
cmp dword [ebp + 8], 0
jne 0x4021a4
mov byte [ebp - 1], 0
jmp 0x4021f2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
sub esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4021c9
mov byte [ebp - 1], 0
jmp 0x4021f2
test byte [ebp - 2], 1
je 0x4021dd
mov al, 1
mov byte [ebp - 9], al
jmp 0x4021ea
mov al, byte [ebp - 8]
shr al, 4
and al, 1
neg al
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
and al, 1
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
and al, 1
movzx eax, al
add esp, 0x10
pop ebp
ret
Function at 0x406cc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x415840
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00417390
test al, 1
jne 0x406d07
jmp 0x406d10
mov byte [ebp - 0x1d], 0
jmp 0x406e4e
mov ecx, dword [ebp + 8]
call fcn.004163d0
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00402180
test al, 1
jne 0x406d37
jmp 0x406d40
mov byte [ebp - 0x1d], 1
jmp 0x406e4e
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [ebp + 8]
call fcn.004163d0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
call fcn.00416460
mov dword [ebp - 0x44], 0
mov edx, dword [0x4880a0]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0
mov eax, esp
lea esi, [ebp - 0x44]
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0045269b
mov dword [ebp - 0x4c], eax
jmp 0x406d8b
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x406e1c
mov ecx, dword [ebp - 0x28]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x40]
call fcn.00418340
sub esp, 4
jmp 0x406db2
mov ecx, dword [0x4880a0]
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0x40]
call fcn.00418340
sub esp, 4
jmp 0x406dcc
lea ecx, [ebp - 0x40]
call fcn.004163d0
mov ecx, eax
mov eax, esp
mov dword [eax], ecx
call fcn.00452863
mov dword [ebp - 0x50], eax
jmp 0x406de7
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4880a0]
mov eax, esp
lea edx, [ebp - 0x44]
mov dword [eax + 8], edx
mov dword [eax + 4], ecx
mov dword [eax], 0
call fcn.0045269b
mov dword [ebp - 0x54], eax
jmp 0x406e11
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x28], eax
jmp 0x406d91
cmp dword [ebp - 0x24], 0xffffffff
jne 0x406e36
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x48], 1
jmp 0x406e41
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x48], 1
lea ecx, [ebp - 0x40]
call fcn.004164b0
jmp 0x406e4e
mov al, byte [ebp - 0x1d]
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
and al, 1
movzx eax, al
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x407bd0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 0x32
mov ecx, dword [ebp + 8]
lea eax, [0x48a708]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x32
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
sub esp, 0xc
cmp eax, 0
je 0x407c18
lea eax, [0x48a708]
mov dword [ebp - 4], eax
jmp 0x407c1f
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x14
pop ebp
ret
Function at 0x420010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
cmp dword [eax + 0x38], 0
je 0x420070
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov edx, dword [ebp + 8]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], edx
call fcn.0041dc00
sub esp, 0xc
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
jmp 0x4201c6
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x20], xmm0
call fcn.0041f010
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub ecx, 1
sbb eax, 0
jl 0x42014e
jmp 0x4200a6
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
sub ecx, 1
sbb eax, 0
jl 0x42014e
jmp 0x4200bf
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub edx, esi
sbb eax, ecx
jge 0x4200ea
jmp 0x4200de
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
call fcn.0041e3f0
mov edx, dword [esp + 0x10]
mov ecx, eax
mov eax, esp
mov dword [eax + 8], esi
mov dword [eax + 4], edx
mov dword [eax], ecx
call fcn.0041e930
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp + 8], eax
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub edx, edi
sbb eax, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0041f060
sub esp, 4
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
sub ecx, 1
sbb eax, 0
jl 0x4201aa
jmp 0x420167
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x4c], 0
je 0x4201aa
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x4c]
mov edx, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [eax + 0xc], esi
mov dword [eax + 8], edx
mov dword [eax], ecx
mov dword [eax + 4], 1
call fcn.00454a59
mov ecx, eax
mov eax, dword [esp + 0x30]
sub eax, ecx
sbb dword [esp + 0x34], 0
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub ecx, esi
sbb eax, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x420630
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x58
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x48], eax
cmp dword [eax + 0x38], 0
je 0x420658
mov eax, dword [ebp - 0x48]
test byte [eax + 0x3d], 1
jne 0x420661
mov byte [ebp - 9], 1
jmp 0x42078e
call fcn.0041e7d0
mov ecx, dword [ebp - 0x48]
mov edx, eax
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0xc]
sub esp, 4
mov dword [ebp - 0x14], eax
call fcn.0041e7d0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x14]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0041e850
test al, 1
jne 0x4206a0
jmp 0x4206a9
mov byte [ebp - 9], 0
jmp 0x42078e
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0x20
mov ecx, dword [edx + 0x38]
lea esi, [ebp - 0x1c]
add edx, 0x40
mov eax, esp
lea edi, [ebp - 0x40]
mov dword [eax + 0xc], edi
mov dword [eax + 8], esi
lea esi, [ebp - 0x3c]
mov dword [eax + 4], esi
mov dword [eax], edx
call fcn.00420880
sub esp, 0x10
mov ecx, eax
mov dword [ebp - 0x4c], ecx
test eax, eax
je 0x42070b
jmp 0x4206e9
mov eax, dword [ebp - 0x4c]
sub eax, 1
je 0x420712
jmp 0x4206fa
mov eax, dword [ebp - 0x4c]
sub eax, 3
je 0x42077a
jmp 0x42078a
mov eax, dword [ebp - 0x48]
mov byte [eax + 0x3d], 0
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
sub eax, ecx
mov dword [ebp - 0x44], eax
xor eax, eax
cmp eax, dword [ebp - 0x44]
jae 0x420768
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x50], ecx
mov eax, dword [eax + 0x4c]
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x3c]
mov dword [esp], edx
mov dword [esp + 4], 1
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.00454a59
mov ecx, eax
mov eax, dword [ebp - 0x50]
cmp eax, ecx
je 0x420768
mov byte [ebp - 9], 0
jmp 0x42078e
mov eax, dword [ebp - 0x48]
mov al, byte [eax + 0x3d]
xor al, 0xff
and al, 1
mov byte [ebp - 9], al
jmp 0x42078e
mov eax, dword [ebp - 0x48]
mov byte [eax + 0x3d], 0
mov byte [ebp - 9], 1
jmp 0x42078e
mov byte [ebp - 9], 0
mov al, byte [ebp - 9]
and al, 1
movzx eax, al
add esp, 0x58
pop esi
pop edi
pop ebp
ret

Function at 0x423630
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jae 0x423678
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
movzx eax, byte [eax + ecx]
xor eax, dword [ebp + 8]
mov dword [ebp + 8], eax
imul eax, dword [ebp + 8], 0x1000193
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x423644
mov eax, dword [ebp + 8]
add esp, 4
pop ebp
ret
Function at 0x43ff50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov esi, esp
mov dword [esi + 0xf0], ebp
mov dword [esi + 0xf4], esp
mov dword [esi + 0x100], 0xffffffff
lea eax, [esi + 0xf8]
mov dword [esi + 0xfc], 0x440d90
mov ecx, dword fs:[0]
mov dword [esi + 0xf8], ecx
mov dword fs:[0], eax
lea edi, [esi + 0x40]
mov ecx, edi
push 1
push 0x40
push 2
push str.steam_appid.txt
call fcn.00440e10
mov dword [esi + 0x100], 1
push str.261180_n
push edi
call fcn.00415fc0
add esp, 8
lea ecx, [esi + 0x40]
call fcn.00440ff0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
test byte [esi + eax + 0x4c], 6
jne 0x440030
lea edi, [esi + 0xa8]
mov dword [esi + eax + 0x40], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x68]
mov dword [esi + eax + 0x3c], ecx
lea ecx, [esi + 0x44]
call fcn.0041f2d0
mov dword [esi + 0xa8], vtable.std::ios_base.0
mov dword [esi + 0x100], 0
push edi
call fcn.0044dbeb
add esp, 4
mov eax, dword [esi + 0xf8]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 4], vtable.el::base::Writer.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 8
mov dword [esi + 0x10], str.main.cpp
mov dword [esi + 0x14], 0x59
mov dword [esi + 0x18], str.void___cdecl_create_steam_appid_void_
mov word [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x46fbc0
movaps xmm0, xmmword [0x4723c0]
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x100], 2
lea eax, [esi + 4]
push str.default
push 1
push eax
call fcn.00411a90
add esp, 0xc
mov ecx, eax
push str.Failed_to_create_steam_appid.txt
call fcn.00440dc0
lea ecx, [esi + 4]
call fcn.0041be20
mov dword [esi + 0x100], 1
push 1
call fcn.0045a5e8
add esp, 4
nop dword [eax]
push ebp
sub esp, 0x10
lea esi, [ebp - 0x104]
mov ebp, dword [esi + 0xf0]
lea ecx, [esi + 4]
call fcn.0041be20
add esp, 0x10
pop ebp
ret
Function at 0x461632
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004614a8

Function at 0x465803
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00465480
Function at 0x433001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x125104b3
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
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
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x5b564349
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x405a83
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x405aa9
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x405aa9
xor al, al
jmp 0x405ac9
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00414490
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x40cdf0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a510
call fcn.00413954
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b694
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b748
push 4
mov ebx, 0x41b684
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.004032a8
mov dword [esi + 0x3c], 0x41b7f8
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.004032a8
mov dword [edi], 0x41b800
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c3f8
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c3f8
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c3f8
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b99b
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c3f8
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c3f8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40f90c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
xchg ebp, eax
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040f55a
cld
invalid
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0040f50f
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x40f9e5
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040f55a
push eax
push esi
push dword [ebp + 8]
call fcn.0040f50f
add esp, 0x30
mov dword [ebp - 0xb8], eax
invalid

Function at 0x413220
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.004148be
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413248
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413257
mov eax, 1
ret 4