joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f3c20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb1000]
push edi
jmp 0x4f3c3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4f3c41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3c30
mov eax, 1
add ebx, ebx
jne 0x4f3c53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4f3c64
jne 0x4f3c83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3c83
dec eax
add ebx, ebx
jne 0x4f3c70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4f3c48
add ebx, ebx
jne 0x4f3c7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4f3cd5
xor ecx, ecx
sub eax, 3
jb 0x4f3c9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4f3d0a
sar eax, 1
mov ebp, eax
jmp 0x4f3ca6
add ebx, ebx
jne 0x4f3ca6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3c74
inc ecx
add ebx, ebx
jne 0x4f3cb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4f3c74
add ebx, ebx
jne 0x4f3cc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4f3cb6
jne 0x4f3cd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4f3cb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4f3cf4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4f3ce6
jmp 0x4f3c36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4f3cf4
add edi, ecx
jmp 0x4f3c36
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4f3d12
cmp byte [edi], 0x11
jne 0x4f3d12
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4f3d17
lea edi, [esi + 0xef000]
mov eax, dword [edi]
or eax, eax
je 0x4f3d8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x135c68]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x135dbc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4f3d44
mov ecx, edi
jns 0x4f3d73
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x135dc0]
or eax, eax
je 0x4f3d89
mov dword [ebx], eax
add ebx, 4
jmp 0x4f3d61
call dword [esi + 0x135dd0]
mov ebp, dword [esi + 0x135dc4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4f3dc3
sub esp, 0xffffff80
jmp 0x416310
Function at 0x40e155
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.0041a670
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp word [esi], bx
je 0x40e370
push esi
call fcn.0041a337
pop ecx
cmp eax, 0x7f6
jae 0x40e370
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.0041a3a0
movzx ecx, word [esi]
add esp, 0xc
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0x1c0
cmp cx, 0x22
jne 0x40e1b0
lea eax, [esi + 2]
mov dword [ebp - 0x38], eax
jmp 0x40e1b3
mov dword [ebp - 0x38], esi
xor eax, eax
cmp cx, bx
je 0x40e209
mov ecx, esi
cmp word [ecx], 0x22
jne 0x40e1db
jmp 0x40e1cb
cmp word [esi + eax*2], 0x22
je 0x40e1d4
inc eax
cmp word [esi + eax*2], bx
jne 0x40e1c4
jmp 0x40e1db
push 0x20
pop ecx
mov word [esi + eax*2], cx
cmp word [esi + eax*2], 0x20
je 0x40e1f5
cmp word [esi + eax*2 + 2], 0x2f
je 0x40e1f5
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0x40e1bc
jmp 0x40e209
lea eax, [esi + eax*2]
cmp word [eax], 0x20
jne 0x40e203
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x40e215
cmp word [eax], bx
jne 0x40e22a
cmp byte [ebp + 0xc], bl
jne 0x40e22a
cmp word [0x44187a], bx
je 0x40e22a
mov dword [ebp - 0x34], 0x44187a
push dword [ebp - 0x38]
mov dword [ebp - 0x2c], 1
call fcn.0040a27a
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40e256
push str..inf
push eax
call fcn.004119e5
test eax, eax
jne 0x40e256
mov dword [ebp - 0x3c], 0x42a8f8
push dword [ebp - 0x38]
call fcn.00409010
test al, al
je 0x40e27f
push 0x800
lea eax, [ebp - 0x1048]
push eax
push dword [ebp - 0x38]
call fcn.0040a74c
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40e36f
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
mov edi, 0x3e8
cmp byte [0x440870], bl
jne 0x40e2b4
cmp byte [ebp + 0xc], bl
jne 0x40e2b4
cmp byte [0x44085d], bl
je 0x40e311
cmp dword [ebp + 8], ebx
je 0x40e2d0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40e2d0
push ebx
push dword [ebp + 8]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
call fcn.0040d547
cmp byte [0x44085d], bl
je 0x40e311
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e311
mov eax, dword [ebp - 0xc]
add eax, edi
cmp eax, dword [0x440860]
jbe 0x40e311
mov dword [0x440860], eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40e330
push 0x42a8ec
push dword [ebp - 8]
call fcn.004119e5
test eax, eax
je 0x40e35e
cmp byte [0x440870], bl
je 0x40e349
cmp byte [ebp + 0xc], bl
jne 0x40e349
mov dword [0x440864], 0x1b58
jmp 0x40e35e
xor eax, eax
cmp byte [ebp + 0xc], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, edi
mov dword [0x440864], eax
cmp byte [ebp - 1], bl
je 0x40e36f
cmp byte [ebp + 0xc], bl
je 0x40e36f
push 1
push dword [ebp + 8]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x403460
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x47], 0
je 0x403482
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x46
jb 0x403470
mov byte [esi + 0x47], 0
mov eax, esi
pop esi
ret

Function at 0x403490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 0xa], 0
je 0x4034ba
xor edx, edx
lea ecx, [edi + edx]
lea eax, [edx - 9]
inc edx
xor byte [ecx], al
cmp edx, 9
jb 0x4034a8
mov byte [edi + 0xa], 0
mov dword [esi + 0x10], 0
lea ecx, [edi + 9]
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edi, ecx
je 0x4034f0
push 9
push edi
mov ecx, esi
call fcn.00405310
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x403500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 6], 0
je 0x40352a
xor edx, edx
lea ecx, [edi + edx]
lea eax, [edx - 9]
inc edx
xor byte [ecx], al
cmp edx, 5
jb 0x403518
mov byte [edi + 6], 0
mov dword [esi + 0x10], 0
lea ecx, [edi + 5]
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edi, ecx
je 0x403560
push 5
push edi
mov ecx, esi
call fcn.00405310
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x403650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp byte [edi + 7], 0
je 0x40367a
xor edx, edx
lea ecx, [edi + edx]
lea eax, [edx - 9]
inc edx
xor byte [ecx], al
cmp edx, 6
jb 0x403668
mov byte [edi + 7], 0
mov dword [esi + 0x10], 0
lea ecx, [edi + 6]
mov dword [esi + 0x14], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp edi, ecx
je 0x4036b0
push 6
push edi
mov ecx, esi
call fcn.00405310
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4037a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x136], 0
je 0x4037c7
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax - 9]
inc eax
xor byte [edx], cl
cmp eax, 0x135
jb 0x4037b0
mov byte [esi + 0x136], 0
mov eax, esi
pop esi
ret
Function at 0x407bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e89fc
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5200a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x407ca4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.00405610
cmp byte [edi + 0x68], 1
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x407ce2
cmp dword [edi + 0x70], 0
jne 0x407ce2
push 0x4c8
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::object__m_value.object___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 2
jne 0x407d02
cmp dword [edi + 0x70], 0
jne 0x407d02
push 0x4c9
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::array__m_value.array___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 3
jne 0x407d22
cmp dword [edi + 0x70], 0
jne 0x407d22
push 0x4ca
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::string__m_value.string___nullptr
call ebx
add esp, 0xc
cmp byte [edi + 0x68], 8
jne 0x407d42
cmp dword [edi + 0x70], 0
jne 0x407d42
push 0x4cb
push str.C:UsersMustafaDesktopNew_folder__3_keyauth_cpp_library_main_nlohmannjson.hpp
push str.m_type___value_t::binary__m_value.binary___nullptr
call ebx
add esp, 0xc
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 6
push eax
lea ecx, [edi + 0x10]
mov byte [ebp - 0xd], 1
call fcn.00408a50
mov dword [ebp - 4], 7
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x407d75
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4113f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5200a8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x40], ecx
mov ecx, 0xb
mov esi, str._pipediscord_ipc_0
lea edi, [ebp - 0x34]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0x44], 0x15
mov eax, 2
imul ecx, eax, 0x15
mov edx, 0x30
mov word [ebp + ecx - 0x34], dx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0xffffffff
je 0x411467
mov ecx, dword [ebp - 0x38]
mov byte [ecx], 1
mov al, 1
jmp 0x4114d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jne 0x4114aa
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [ebp + eax - 0x34]
cmp ecx, 0x39
jge 0x4114a8
mov edx, 2
imul eax, edx, 0x15
mov cx, word [ebp + eax - 0x34]
add cx, 1
mov edx, 2
imul eax, edx, 0x15
mov word [ebp + eax - 0x34], cx
jmp 0x411435
jmp 0x4114cf
cmp dword [ebp - 0x3c], 0xe7
jne 0x4114cf
push 0x2710
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x4114ca
xor al, al
jmp 0x4114d8
jmp 0x411435
xor al, al
jmp 0x4114d8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e635f
mov esp, ebp
pop ebp
ret

Function at 0x4114f0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
jne 0x411506
xor al, al
jmp 0x411599
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x411519
xor al, al
jmp 0x411599
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x411526
xor al, al
jmp 0x411599
mov dword [ebp - 0xc], 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x41158f
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jb 0x41158d
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x411585
mov al, 1
jmp 0x411599
mov ecx, dword [ebp - 8]
call fcn.00411390
jmp 0x411597
mov ecx, dword [ebp - 8]
call fcn.00411390
xor al, al
mov esp, ebp
pop ebp
ret 8
Function at 0x4115a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 0xc], 0
jne 0x4115b3
mov al, 1
jmp 0x411622
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4115c3
xor al, al
jmp 0x411622
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0xffffffff
jne 0x4115d0
xor al, al
jmp 0x411622
cmp dword [ebp + 8], 0
jne 0x4115da
xor al, al
jmp 0x411622
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x411618
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0xc]
jne 0x411618
mov dword [ebp - 0x10], 1
jmp 0x41161f
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x411a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x411ac1
mov ecx, 2
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx]
test ecx, ecx
je 0x411ac1
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x411abb
mov eax, dword [ebp - 8]
jmp 0x411afb
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
je 0x411af8
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 8]
je 0x411af8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x411bb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xaa0
mov eax, dword [0x5200a8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20
lea edx, [ebp - 0x44]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0xa9c]
push ecx
push 0x20019
push 0
push str.SoftwareValveSteam
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xa94], eax
cmp dword [ebp - 0xa94], 0
je 0x411c43
push str.Error_opening_Steam_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00411e10
add esp, 8
jmp 0x411d4d
mov dword [ebp - 0xa98], 0x208
lea edx, [ebp - 0xa98]
push edx
lea eax, [ebp - 0x28c]
push eax
push 0
push 0
push str.SteamExe
mov ecx, dword [ebp - 0xa9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xa94], eax
mov edx, dword [ebp - 0xa9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xa94], 0
jne 0x411c96
cmp dword [ebp - 0xa98], 1
jae 0x411cb4
push str.Error_reading_SteamExe_key_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.00411e10
add esp, 8
jmp 0x411d4d
mov eax, dword [ebp - 0xa98]
shr eax, 1
mov dword [ebp - 0xaa0], eax
mov dword [ebp - 0xa90], 0
jmp 0x411cdd
mov ecx, dword [ebp - 0xa90]
add ecx, 1
mov dword [ebp - 0xa90], ecx
mov edx, dword [ebp - 0xa90]
cmp edx, dword [ebp - 0xaa0]
jae 0x411d13
mov eax, dword [ebp - 0xa90]
movzx ecx, word [ebp + eax*2 - 0x28c]
cmp ecx, 0x2f
jne 0x411d11
mov edx, 0x5c
mov eax, dword [ebp - 0xa90]
mov word [ebp + eax*2 - 0x28c], dx
jmp 0x411cce
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28c]
push edx
push str.__s__steam:__rungameid__s
push 0x800
lea eax, [ebp - 0xa8c]
push eax
call fcn.00411910
add esp, 0x14
lea ecx, [ebp - 0xa8c]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00411630
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e635f
mov esp, ebp
pop ebp
ret
Function at 0x4128a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e906d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5200a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00413140
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x4127f0
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.00414130
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x412920
lea ecx, [ebp - 0x14]
call fcn.00415f90
jmp 0x412931
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00413fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x422990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e906d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5200a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00423070
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0x422910
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.00414130
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
je 0x422a10
lea ecx, [ebp - 0x14]
call fcn.00415f90
jmp 0x422a21
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
push 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00413fd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x423e80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e82f0
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5200a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [0x55f1a4], 0x30
mov dword [0x55f1a8], 0x40
mov dword [0x55f1ac], 0x426420
mov dword [0x55f1b0], 0
mov dword [0x55f1b4], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x55f1b8], eax
mov dword [0x55f1bc], 0
mov dword [0x55f1c0], 0
mov dword [0x55f1c4], 0
mov dword [0x55f1c8], 0
mov dword [0x55f1cc], 0x4ed59c
mov dword [0x55f1d0], 0
push 0x55f1a4
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
mov eax, dword [0x55f1b8]
push eax
push 0
push 0
push 0x1a4
push 0x1f4
push 0x64
push 0x64
push closesocket
mov ecx, dword [ebp + 8]
push ecx
push str.class001
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x55f1a0], eax
push 0xa
mov edx, dword [0x55f1a0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x55f1a0]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x4241c0
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e97bd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5200a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
push eax
push 0x4ed60c
lea ecx, [ebp + 8]
push ecx
push 0x4ed618
lea edx, [ebp - 0x58]
push edx
call fcn.00405c20
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00405d50
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x68]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00405da0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00404b30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call fcn.00404b30
lea ecx, [ebp - 0x28]
call fcn.00404970
mov dword [ebp - 0x6c], eax
push 0x4ed628
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00404b30
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00404b30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.00404b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e635f
mov esp, ebp
pop ebp
ret