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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cef8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x474ba4
cmp byte [ebx + 0x3d], 0
je 0x474ba4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x474ab9
xor al, al
jmp 0x474ba6
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
lea edi, [ebx + 0x40]
nop
cmp esi, 0x10
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [ebx + 0x38]
push edi
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x474b2c
sub eax, 1
je 0x474b30
mov esi, dword [ebp - 0x14]
sub eax, 2
je 0x474b88
xor bl, bl
jmp 0x474b8a
mov byte [ebx + 0x3d], 0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp esi, 0x10
mov edi, dword [ebp - 0x2c]
cmovae eax, ecx
sub edi, eax
je 0x474b66
push dword [ebx + 0x4c]
cmp esi, 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov esi, dword [ebp - 0x14]
add esp, 0x10
cmp edi, eax
jne 0x474b28
cmp byte [ebx + 0x3d], 0
je 0x474b88
test edi, edi
lea edi, [ebx + 0x40]
jne 0x474af0
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00455f30
jmp 0x474ae9
mov bl, 1
cmp esi, 0x10
jb 0x474ba0
push 1
lea ecx, [esi + 1]
push ecx
push dword [ebp - 0x28]
call fcn.0045bf60
add esp, 0xc
mov al, bl
jmp 0x474ba6
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4772f1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4772e0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x477490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x4774ab
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x4774c7
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x4774b6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x4774fd
cmp dword [ecx], edi
jne 0x4774f5
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [ecx + esi + 4], eax
jmp 0x477505
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x477505
cmp dword [ecx], edi
jne 0x477508
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0045ae90
push 0x38
push 1
push edi
call fcn.0045bf60
mov eax, dword [ebp + 8]
add esp, 0xc
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x478060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x47807e
mov esi, dword [ebx]
jmp 0x478080
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x4780a4
mov ebx, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x478090
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x18]
and ecx, edx
mov edx, dword [edi + 0xc]
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov esi, dword [edx + ecx*4]
inc ecx
mov dword [ebp - 0xc], esi
mov esi, dword [edi + 4]
mov dword [ebp - 8], esi
lea ecx, [edx + ecx*4]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0xc], esi
jne 0x4780cd
mov ecx, esi
jmp 0x4780d1
mov ecx, dword [ecx]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x47820d
cmp dword [ebx + 0x14], 0x10
lea edx, [eax + 8]
jb 0x4780e6
mov edi, dword [ebx]
jmp 0x4780e8
mov edi, ebx
cmp dword [edx + 0x14], 0x10
lea ecx, [edx + 0x10]
jb 0x4780f3
mov edx, dword [edx]
mov ecx, dword [ecx]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 4]
mov esi, ecx
cmp dword [ebp + 0xc], ecx
cmovb esi, dword [ebp + 0xc]
test esi, esi
je 0x478163
sub esi, 4
jb 0x478121
nop dword [eax]
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x478126
add edx, 4
add edi, 4
sub esi, 4
jae 0x478110
cmp esi, 0xfffffffc
je 0x47815a
mov cl, byte [edx]
cmp cl, byte [edi]
jne 0x478153
cmp esi, 0xfffffffd
je 0x47815a
mov cl, byte [edx + 1]
cmp cl, byte [edi + 1]
jne 0x478153
cmp esi, 0xfffffffe
je 0x47815a
mov cl, byte [edx + 2]
cmp cl, byte [edi + 2]
jne 0x478153
cmp esi, 0xffffffff
je 0x47815a
mov cl, byte [edx + 3]
cmp cl, byte [edi + 3]
je 0x47815a
sbb ecx, ecx
or ecx, 1
jmp 0x47815c
xor ecx, ecx
test ecx, ecx
jne 0x47816c
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, ecx
jb 0x47816c
jbe 0x478179
mov eax, dword [eax]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
jmp 0x4780c4
cmp dword [eax + 0x1c], 0x10
lea edx, [eax + 8]
lea edi, [edx + 0x10]
jb 0x478187
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x47818f
mov ebx, dword [ebx]
mov edi, dword [edi]
cmp ecx, edi
mov esi, edi
cmovb esi, ecx
test esi, esi
je 0x4781f4
sub esi, 4
jb 0x4781b2
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x4781b7
add ebx, 4
add edx, 4
sub esi, 4
jae 0x4781a1
cmp esi, 0xfffffffc
je 0x4781eb
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x4781e4
cmp esi, 0xfffffffd
je 0x4781eb
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x4781e4
cmp esi, 0xfffffffe
je 0x4781eb
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x4781e4
cmp esi, 0xffffffff
je 0x4781eb
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x4781eb
sbb ecx, ecx
or ecx, 1
jmp 0x4781ed
xor ecx, ecx
test ecx, ecx
jne 0x4781fa
mov ecx, dword [ebp - 4]
cmp ecx, edi
jb 0x4781fa
jbe 0x4781fd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x479cb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d285
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x479d17
mov eax, dword [esi]
jmp 0x479d19
mov eax, esi
mov byte [eax], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x8c], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x479d52
xor ecx, ecx
jmp 0x479d66
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479d57
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0047a540
push 1
push 0
push 0x58d060
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.0047a7e0
mov edi, eax
cmp edi, 0xffffffff
je 0x479e8e
push 1
lea ebx, [edi + 1]
push ebx
push 0x58d060
lea ecx, [ebp - 0x28]
call fcn.0047a7e0
cmp eax, 0xffffffff
je 0x479e8e
sub eax, edi
lea ecx, [ebp - 0x28]
dec eax
push eax
push ebx
lea eax, [ebp - 0x88]
push eax
call fcn.0047aeb0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00486660
add esp, 8
push 0x587ab4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00454680
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00484f50
add esp, 0xc
mov ecx, esi
push eax
call fcn.00454580
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x479e22
push 1
inc eax
push eax
push dword [ebp - 0x58]
call fcn.0045bf60
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x479e4b
push 1
inc eax
push eax
push dword [ebp - 0x70]
call fcn.0045bf60
add esp, 0xc
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x479e62
push 1
inc eax
push eax
push dword [ebp - 0x40]
call fcn.0045bf60
add esp, 0xc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp eax, 8
jb 0x479e8e
push 2
inc eax
push eax
push dword [ebp - 0x88]
call fcn.0045bf60
add esp, 0xc
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x479ea5
push 2
inc ecx
push ecx
push dword [ebp - 0x28]
call fcn.0045bf60
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret
Function at 0x479ed0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x479f36
mov eax, dword [esi]
jmp 0x479f38
mov eax, esi
mov byte [eax], 0
push 0x20a
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x268], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
mov edx, eax
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479f80
sub ecx, edi
sar ecx, 1
je 0x47a12b
test edx, edx
je 0x47a12b
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00479800
push 1
push 0
push 0x58d064
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 1
call fcn.0047a6f0
mov edi, eax
cmp edi, 0xffffffff
je 0x47a003
push 1
push 0x58d068
push 1
push edi
lea ecx, [ebp - 0x234]
call fcn.0047ac90
push 1
lea eax, [edi + 1]
push eax
push 0x58d064
lea ecx, [ebp - 0x234]
call fcn.0047a6f0
mov edi, eax
cmp edi, 0xffffffff
jne 0x479fd1
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
push 1
dec eax
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.0047aeb0
cmp dword [eax + 0x14], 8
lea ecx, [eax + 0x10]
jb 0x47a02a
mov eax, dword [eax]
push 1
push 0x58d068
push dword [ecx]
push eax
call fcn.0047a350
mov edi, eax
add esp, 0x10
mov eax, dword [ebp - 0x250]
cmp eax, 8
jb 0x47a05b
inc eax
push 2
push eax
push dword [ebp - 0x264]
call fcn.0045bf60
add esp, 0xc
test edi, edi
jne 0x47a091
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
dec eax
push eax
push edi
lea eax, [ebp - 0x264]
push eax
call fcn.0047aeb0
push eax
lea ecx, [ebp - 0x234]
call fcn.00479860
lea ecx, [ebp - 0x264]
call fcn.0045d430
cmp dword [ebp - 0x224], 0
je 0x47a10e
lea eax, [ebp - 0x234]
push 0x58d06c
push eax
call fcn.004797b0
add esp, 8
test al, al
je 0x47a10e
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00486660
add esp, 8
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 2
je 0x47a0ed
push 1
push eax
call fcn.00483c80
add esp, 8
test al, al
je 0x47a103
lea eax, [ebp - 0x24c]
cmp esi, eax
je 0x47a103
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x24c]
mov ecx, esi
push eax
call fcn.00455e10
lea ecx, [ebp - 0x24c]
call fcn.00454540
mov ecx, dword [ebp - 0x220]
cmp ecx, 8
jb 0x47a12b
push 2
inc ecx
push ecx
push dword [ebp - 0x234]
call fcn.0045bf60
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret
Function at 0x47b520
Capabilities:
Get memory capacity

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 4], eax
push str._______________________memory_________________________
push 4
call fcn.00482760
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x14
mov dword [ebp - 0x70], 0x40
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x47b62f
push dword [ebp - 0x6c]
xorps xmm0, xmm0
push str._phy_mem_:__used___u__
push 4
movaps xmmword [ebp - 0x30], xmm0
call fcn.00482760
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
call fcn.00485860
add esp, 8
fstp qword [esp]
push str._phy_mem_:__tota___f__s
push 4
call fcn.00482760
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.00485860
add esp, 8
fstp qword [esp]
push str._phy_mem_:__free___f__s
push 4
call fcn.00482760
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.00485860
add esp, 8
fstp qword [esp]
push str._vir_mem_:__tota___f__s
push 4
call fcn.00482760
add esp, 0x14
lea eax, [ebp - 0x30]
push eax
push 0x10
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00485860
add esp, 8
fstp qword [esp]
push str._vir_mem_:__free___f__s
push 4
call fcn.00482760
add esp, 0x14
jmp 0x47b66a
lea eax, [ebp - 0x30]
push eax
call fcn.00485aa0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x47b643
mov eax, dword [eax]
push eax
push str.fail_to_obtain_memory_information___s_
push 4
call fcn.00482760
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, 0x10
jb 0x47b66a
push 1
inc eax
push eax
push dword [ebp - 0x30]
call fcn.0045bf60
add esp, 0xc
push str.______________________________________________________
push 4
call fcn.00482760
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x47b690
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 4], eax
push str.__________________system_information__________________
push 4
call fcn.00482760
add esp, 8
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x38]
push eax
push 0x65
push 0
call sub.NETAPI32.dll_NetServerGetInfo
test eax, eax
jne 0x47b71c
mov eax, dword [ebp - 0x38]
push dword [eax]
lea eax, [ebp - 0x34]
push eax
call fcn.0047b290
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, dword [ecx + 8]
push dword [ecx + 0xc]
and edx, 0xf
cmp dword [ebp - 0x20], 0x10
push edx
cmovae eax, dword [ebp - 0x34]
push eax
push str._plat_:__s__u___u
push 4
call fcn.00482760
add esp, 0x1c
push dword [ebp - 0x38]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x47b71c
push 1
inc eax
push eax
push dword [ebp - 0x34]
call fcn.0045bf60
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push dword [ebp - 0x5c]
lea eax, [ebp - 0x1c]
push eax
call fcn.0047b3e0
add esp, 8
cmp dword [ebp - 0xc], 0
je 0x47b759
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x1c]
push eax
push str._arch_:__s_x__u
push 4
call fcn.00482760
add esp, 0x10
push str.______________________________________________________
push 4
call fcn.00482760
mov eax, dword [ebp - 8]
add esp, 8
cmp eax, 0x10
jb 0x47b77f
push 1
inc eax
push eax
push dword [ebp - 0x1c]
call fcn.0045bf60
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret

Function at 0x47dda0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d95c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5fad8c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [esi], 0
push 0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
call fcn.0047e450
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 0
call fcn.0047db10
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 1
call fcn.0047d670
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 2
call fcn.0047d670
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 3
call fcn.0047d670
mov dword [edi], 0
mov eax, edi
mov dword [edi + 0x18], 0x5e45cc
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0x5e45cc
mov dword [edi + 0x24], 0x7d0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0x1000
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0x1f4
mov byte [edi + 0x48], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47e490
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57da08
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x47e506
push 0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x47e4fd
push str.exec_steam_t::abort_thread:_TerminateThread_failed
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.0047dc80
push 0x5ee674
lea eax, [ebp - 0x4c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, esi
call fcn.0047e610
jmp 0x47e508
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret
Function at 0x480da0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57df1b
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
mov edi, dword [ebp + 0xc]
je 0x480e46
push 0x35
push str.thread_buffer_t::start_thread:_thread_already_started
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00455d10
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x34], vtable.exec_stream_t::error_t.0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.00455e10
push 0x5ee6cc
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea ecx, [esi + 4]
call fcn.0047e720
mov eax, dword [ebp + 8]
push dword [esi + 0x3c]
mov dword [esi + 0x40], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x480e8f
push str.thread_buffer_t::start_thread:_unable_to_initialize_m_stop_thread_event
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x70]
call fcn.0047dc80
push 0x5ee674
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x480eca
push str.thread_buffer_t::start_thread:_unable_to_initialize_m_got_data_event
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x70]
call fcn.0047dc80
push 0x5ee674
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push dword [esi + 0x34]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x480f05
push str.thread_buffer_t::start_thread:_unable_to_initialize_m_want_data_event
lea ecx, [ebp - 0x28]
call fcn.00454680
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.0047dc80
push 0x5ee674
lea eax, [ebp - 0x70]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
lea eax, [ebp - 0xb0]
mov ecx, 0x47ffb0
push eax
push 0
push esi
cmp edi, 1
mov eax, 0x481220
cmove eax, ecx
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x480f6b
push str.thread_buffer_t::start_thread:_unable_to_start_thread
lea ecx, [ebp - 0x88]
call fcn.00454680
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 6
push eax
lea ecx, [ebp - 0xac]
call fcn.0047dc80
push 0x5ee674
lea eax, [ebp - 0xac]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
xor eax, eax
cmp edi, 1
setne al
inc eax
mov dword [esi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret 8
Function at 0x482260
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x5fad8c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], eax
test edi, edi
jne 0x48228f
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0
push edi
mov dword [ebp - 0x28], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x48234b
push ebx
call fcn.005366b4
add esp, 4
mov esi, eax
push esi
push ebx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x482342
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x482342
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
lea eax, [ebp - 0x30]
push eax
push 0x58d068
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x482342
mov ecx, dword [ebp - 0x30]
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.00447ba0
push esi
call fcn.005366bd
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x24]
add esp, 0x1c
push eax
call fcn.00454500
pop esi
pop ebx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053658e
mov esp, ebp
pop ebp
ret
push esi
call fcn.005366bd
add esp, 4
mov ecx, dword [ebp - 4]
xor al, al
pop esi
pop ebx
xor ecx, ebp
pop edi
call fcn.0053658e
mov esp, ebp
pop ebp
ret