joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c6c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x53239c
call fcn.004e499e
mov esi, edx
push dword [0x5e57b0]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x45c702
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_OpenClipboard_failed:__d
push 1
push 0
call fcn.0043a0a0
add esp, 0x14
xor al, al
jmp 0x45c7fd
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x45c727
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_EmptyClipboard_failed:__d
jmp 0x45c7e6
lea eax, [esi + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [eax]
lea eax, [eax*2 + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x45c75b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_GlobalAlloc_failed:__d
jmp 0x45c7e6
push edi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jne 0x45c77e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.CopyToClipboard
push str._s:_GlobalLock_failed:__d
jmp 0x45c7e6
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
jb 0x45c78b
mov esi, dword [esi]
add eax, eax
push eax
push esi
push ecx
call fcn.004fd330
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [eax]
push edi
mov word [ecx + eax*2], dx
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
jne 0x45c7cc
call esi
test eax, eax
je 0x45c7cc
call esi
push eax
push str.CopyToClipboard
push str._s:_GlobalUnlock_failed:__d
jmp 0x45c7e6
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x45c7f3
call esi
push eax
push str.CopyToClipboard
push str._s:_SetClipboardData_failed:__d
push 1
push ebx
call fcn.0043a0a0
add esp, 0x14
jmp 0x45c7f5
mov bl, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, bl
call fcn.004e4967
ret

Function at 0x45c877
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0xa
push ecx
push dword [0x5e57ac]
and dword [edi], 0
and dword [ebx], 0
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov esi, eax
test esi, esi
jne 0x45c8ba
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetResourceBytes___FindResource_failed___d_
push 0
push 0
call fcn.0043a0a0
add esp, 0x10
xor al, al
jmp 0x45c8eb
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x45c8d5
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.GetResourceBytes___LoadResource_failed___d_
jmp 0x45c8aa
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push 0
mov dword [edi], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov dword [ebx], eax
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45c9fe
Capabilities:
Get common file path

Disassembly:
push 0x244
mov eax, 0x532415
call fcn.004e49d2
push 0x105
lea eax, [ebp - 0x220]
xor esi, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x45caaf
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x250]
call fcn.00426582
push 0x5b6464
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x238]
call fcn.004250a2
or dword [ebp - 4], 0xffffffff
pop ecx
push esi
push 1
lea ecx, [ebp - 0x250]
call fcn.00427ba9
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
push esi
push 1
lea ecx, [ebp - 0x238]
mov edi, eax
call fcn.00427ba9
test edi, edi
je 0x45caaf
push str.SetProcessDpiAwareness
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x45caa8
push 2
call eax
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, esi
call fcn.004e497c
ret
Function at 0x45cbf0
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0x50
mov eax, 0x532478
call fcn.004e49d2
mov dword [ebp - 0x4c], ecx
mov eax, 0x3a98
xor ebx, ebx
mov dword [ebp - 0x44], eax
push 2
pop edi
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x50], esi
test esi, esi
je 0x45cd14
lea eax, [ebp - 0x44]
push eax
push esi
push 0
push 0xe
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
cmp edi, 0x6f
jne 0x45cc61
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
xor esi, esi
inc ebx
cmp ebx, 3
jge 0x45cce3
mov eax, dword [ebp - 0x44]
jmp 0x45cc09
test edi, edi
jne 0x45cce3
mov eax, esi
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x48], eax
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x45ccd4
push 2
pop edx
mov ecx, dword [ebx + 0xc]
cmp word [ecx], dx
jne 0x45ccca
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 0x16
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ecx + 4]
push eax
push edx
call dword [sym.imp.WS2_32.dll_inet_ntop]
test eax, eax
je 0x45ccc7
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.0042738f
and dword [ebp - 4], 0
mov ecx, esi
push eax
call fcn.00424286
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
push 0
push 1
call fcn.00427ba9
push 2
pop edx
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x45cc77
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 8]
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x45cc6d
mov esi, dword [ebp - 0x50]
jmp 0x45ccfa
push edi
push str.GetLocalIPv4Addresses
push str._s___GetAdaptersAddresses_failed___d_
push 0
push 0
call fcn.0043a0a0
add esp, 0x14
test esi, esi
je 0x45cd0e
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
call fcn.004e497c
ret
push str.GetLocalIPv4Addresses
push str._s___HeapAlloc_failed
push 0
push 0
call fcn.0043a0a0
add esp, 0x10
lea ecx, [ebp - 0x5c]
push str.GetLocalIPv4Addresses:2192:_memory_allocation_failed
call fcn.0040ea4b
push 0x5da238
lea eax, [ebp - 0x5c]
push eax
call fcn.004fda0a
int3
Function at 0x4750b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528b46
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5dd390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esi + 0x30]
xor al, al
mov ecx, dword [esi + 0x2c]
mov edi, edx
rep stosb byte es:[edi], al
push edx
call fcn.0050c82a
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4750ff
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x475110
push 0x44
push esi
call fcn.004e460c
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47ce10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5341c9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5dd390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
cmp dword [0x5e5884], 0
jne 0x47ce5d
call fcn.0046eac0
mov dword [0x5e5884], 0x464210
mov esi, dword [ebp + 8]
mov ecx, 2
mov dword [esi], vtable.CryptoPP::Integer.0
mov dword [esi + 8], 2
call fcn.00473e30
mov ecx, 8
call fcn.0047ed50
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov ecx, edi
push dword [ebp + 0xc]
mov edx, dword [edi]
push esi
mov dword [ebp - 0x10], 1
call dword [edx + 0x30]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b1640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_LockResource]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
shr eax, 4
and edi, 0xf
inc eax
mov dword [ebp - 8], 0
movzx ecx, ax
xor esi, esi
mov dword [ebp - 4], 0x409
mov dword [ebp + 8], ecx
movzx eax, word [ebp + esi*4 - 8]
push eax
push ecx
push 6
push dword [0x5e8a58]
call dword [sym.imp.KERNEL32.DLL_FindResourceExW]
test eax, eax
je 0x4b16c5
push eax
push dword [0x5e8a58]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x4b16c5
push eax
call ebx
test eax, eax
je 0x4b16c5
test edi, edi
jle 0x4b16be
mov edx, edi
nop dword [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + ecx*2]
add eax, 2
sub edx, 1
jne 0x4b16b0
movzx ecx, word [eax]
test ecx, ecx
jne 0x4b16d0
inc esi
cmp esi, 2
jae 0x4b16da
mov ecx, dword [ebp + 8]
jmp 0x4b1671
pop edi
pop esi
add eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x5ab1bc
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b4a00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5dd390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
push ebx
push dword [esi + 0xc]
call fcn.004b1310
mov eax, dword [ebx + 4]
add esp, 0xc
inc eax
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 8], eax
lea eax, [ebp - 0x18]
push 2
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
je 0x4b4a7f
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add eax, edx
mov dword [ebx + 0xc], eax
add ecx, edx
mov eax, dword [ebp - 0xc]
sub eax, edx
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
jmp 0x4b4a9b
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov eax, dword [ebx]
mov esi, ecx
mov edi, dword [ebx + 8]
sub ecx, edi
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x34], ecx
add edx, edi
mov ecx, dword [ebp - 8]
lea eax, [eax + eax*2]
shl eax, 2
sub ecx, edi
sub esi, eax
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp - 0x14]
sub esi, edi
mov dword [ebx + 0x2c], esi
add eax, edi
sub esi, edi
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + 0x24], esi
xor ecx, ebp
pop esi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edx
pop ebx
call fcn.004e3e0d
mov esp, ebp
pop ebp
ret
Function at 0x4b5cb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x5dd390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebx]
mov dword [ebp - 0x258], esi
mov dword [ebp - 0x254], ebx
call fcn.004cdea0
add esp, 4
cmp dword [ebp + 0x14], 0
je 0x4b5d30
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 5
call ebx
movzx esi, al
or esi, 0xffffff00
push 5
shl esi, 8
call ebx
shr eax, 8
movzx edi, al
or edi, esi
push 5
shl edi, 8
call ebx
mov ebx, dword [ebp - 0x254]
shr eax, 0x10
movzx eax, al
or eax, edi
push eax
push dword [ebx]
call fcn.004ce3a0
mov esi, dword [ebp - 0x258]
add esp, 8
lea eax, [ebp - 0x250]
push eax
push esi
call fcn.004b4a00
mov eax, dword [ebp - 0x244]
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp eax, ecx
jge 0x4b5de3
mov edx, dword [ebp - 0x240]
mov edi, dword [ebp - 0x238]
cmp edx, edi
jge 0x4b5de3
movd xmm0, eax
lea eax, [ebp - 0x204]
cvtdq2ps xmm0, xmm0
push 0x100
push eax
push dword [esi]
movss dword [ebp - 0x214], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x210], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x20c], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x208], xmm0
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xff000000
push dword [ebx + 4]
call fcn.004cdd10
push 9
push dword [ebx + 4]
lea eax, [ebp - 0x204]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x214]
push eax
push dword [ebx + 8]
push dword [ebx]
call fcn.004ce8d0
add esp, 0x24
lea eax, [ebp - 0x250]
push eax
push ebx
push esi
call fcn.004b5820
mov ecx, dword [esi + 0x10]
add esp, 0xc
and ecx, 0x3f
cmp ecx, 9
ja case.default.0x4b5e03
jmp dword [ecx*4 + 0x4b5ebc]
lea eax, [ebp - 0x250]
push eax
push ebx
push esi
call fcn.004ba0f0
add esp, 0xc
jmp case.default.0x4b5e03
lea eax, [ebp - 0x250]
push eax
push ebx
push esi
call fcn.004bb610
add esp, 0xc
jmp case.default.0x4b5e03
cmp ecx, 3
je 0x4b5e41
cmp ecx, 5
je 0x4b5e41
xor edx, edx
jmp 0x4b5e46
mov edx, 1
cmp ecx, 4
je 0x4b5e54
cmp ecx, 5
je 0x4b5e54
xor eax, eax
jmp 0x4b5e59
mov eax, 1
lea ecx, [ebp - 0x250]
push ecx
push ebx
push edx
push eax
push esi
call fcn.004b8e70
add esp, 0x14
jmp case.default.0x4b5e03
lea eax, [ebp - 0x250]
push eax
xor eax, eax
cmp ecx, 7
push ebx
sete al
push eax
push esi
call fcn.004b7820
jmp 0x4b5e9e
lea eax, [ebp - 0x250]
push eax
xor eax, eax
cmp ecx, 9
push ebx
sete al
push eax
push esi
call fcn.004b3e50
add esp, 0x10
push dword [ebx]
call fcn.004ce110
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e3e0d
mov esp, ebp
pop ebp
ret
Function at 0x4b6980
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x5dd390]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
add eax, dword [edi + 4]
mov cl, byte [edi + 8]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x4b6a96
test eax, eax
je 0x4b6a96
push esi
test cl, cl
jle 0x4b6a0c
push eax
push 0x53f7dc
push ebx
call fcn.004b3320
mov edx, eax
add esp, 0xc
movsx eax, byte [edi + 8]
mov ecx, edx
add eax, edx
cmp edx, eax
jge 0x4b69ef
mov esi, 0x30
nop dword [eax + eax]
mov word [ebx + ecx*2], si
inc ecx
movsx eax, byte [edi + 8]
add eax, edx
cmp ecx, eax
jl 0x4b69e0
movsx eax, byte [edi + 8]
add eax, edx
xor ecx, ecx
pop esi
pop edi
mov word [ebx + eax*2], cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3e0d
mov esp, ebp
pop ebp
ret
movsx eax, cl
mov esi, 0xa
neg eax
cmp eax, 1
je 0x4b6a2a
dec eax
nop dword [eax]
lea esi, [esi + esi*4]
add esi, esi
sub eax, 1
jne 0x4b6a20
push 4
lea eax, [ebp - 0xc]
push eax
push 0xe
call dword [sym.imp.KERNEL32.DLL_GetThreadLocale]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4b6a56
mov eax, 0x2e
mov dword [ebp - 0x10], 1
mov word [ebp - 0xc], ax
mov eax, dword [ebp + 0xc]
cdq
xor eax, edx
movsx ecx, byte [edi + 8]
sub eax, edx
neg ecx
cdq
idiv esi
lea eax, [ebp - 0xc]
push edx
push ecx
push eax
mov eax, dword [ebp + 0xc]
cdq
idiv esi
push dword [ebp - 0x10]
push eax
push str._d_.s_0.d
push ebx
call fcn.004b3320
add esp, 0x1c
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e3e0d
mov esp, ebp
pop ebp
ret
push eax
push 0x53f7dc
push ebx
call fcn.004b3320
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop edi
pop ebx
call fcn.004e3e0d
mov esp, ebp
pop ebp
ret

Function at 0x4bd820
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x13]
and eax, 1
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004b1640
Function at 0x4c35c0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5dd390]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
mov dword [ebp - 0x68], 0x30
xor eax, eax
mov dword [ebp - 0x1c], edi
xor esi, esi
mov dword [ebp - 0x64], 0xe3
mov dword [ebp - 0x3c], 0xffffffff
cmp ax, word [ebx + 0x22]
jae 0x4c366e
mov edx, 0x1000
nop word [eax + eax]
lea eax, [esi + 0x3e8]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], eax
xor ecx, ecx
movsx eax, word [ebx + 0x4c]
cmp esi, eax
mov eax, dword [ebx + 0x1c]
cmove ecx, edx
mov dword [ebp - 0x5c], ecx
movzx ecx, si
add ecx, ecx
mov ecx, dword [eax + ecx*8]
mov dword [ebp - 0x44], ecx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3640
lea eax, [ebp - 0x68]
sub ecx, edx
push eax
push 1
push esi
sar ecx, 1
push edi
mov dword [ebp - 0x40], ecx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
movzx eax, word [ebx + 0x22]
inc esi
mov edx, 0x1000
cmp esi, eax
jl 0x4c3610
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x1c
push eax
push edi
mov dword [ebp - 0x34], 0x10
call dword [sym.imp.USER32.dll_GetMenuInfo]
or dword [ebp - 0x30], 0x4000000
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.USER32.dll_SetMenuInfo]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xca
push 0x419
push dword [ebx + 8]
call edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x14
push ecx
push eax
push 0x41d
push dword [ebx + 8]
call edi
push 0
push 0xca
push 0x412
push dword [ebx + 8]
call edi
movzx esi, ax
mov eax, esi
or eax, 2
push eax
push 0xca
push 0x411
push dword [ebx + 8]
call edi
push 2
lea eax, [ebp - 0x14]
push eax
push 0
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 8
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_DestroyMenu]
push esi
push 0xca
push 0x411
push dword [ebx + 8]
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3e0d
mov esp, ebp
pop ebp
ret
Function at 0x10139a1
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1018718
call fcn.01013ce4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x101ef14
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1013758
cmp eax, esi
jne 0x101374b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x101375b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1013732
xor esi, esi
inc esi
mov eax, dword [0x101ef10]
cmp eax, esi
jne 0x101376e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x101379d
mov eax, dword [0x101ef10]
test eax, eax
jne 0x1013797
mov dword [0x101ef10], esi
push 0x1001304
push 0x10012f8
call fcn.01013697
pop ecx
pop ecx
test eax, eax
je 0x101379d
jmp 0x10138c5
mov dword [0x101ebd8], esi
mov eax, dword [0x101ef10]
cmp eax, esi
jne 0x10137c1
push 0x10012f4
push 0x10012e4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x101ef10], 2
test ebx, ebx
jne 0x10137cd
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x101ef20], 0
je 0x10137f1
push 0x101ef20
call fcn.01013c59
pop ecx
test eax, eax
je 0x10137f1
push 0
push 2
push 0
call dword [0x101ef20]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x101384d
test al, al
je 0x101380b
cmp dword [ebp - 0x1c], 0
jne 0x101384d
mov al, byte [esi]
test al, al
je 0x101381b
cmp al, 0x20
ja 0x101381b
inc esi
mov dword [ebp - 0x20], esi
jmp 0x101380b
test byte [ebp - 0x3c], 1
je 0x1013827
movzx eax, word [ebp - 0x38]
jmp 0x101382a
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x101ebd4], eax
cmp dword [0x101ebc8], 0
jne 0x10138a1
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x101385c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x101386f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10137f8
cmp dword [0x101ebd8], 0
jne 0x10138b0
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x101ebd4]
jmp 0x10138d1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01013d29
ret
call fcn.01013e29
jmp 0x10136f8

Function at 0x101418f
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x101a118]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10141d6
cmp dword [ebp - 0x108], 2
jne 0x10141d6
cmp dword [ebp - 0x114], 5
jb 0x10141d6
xor eax, eax
inc eax
jmp 0x10141d8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010139bb
leave
ret

Function at 0x1004fa70
Capabilities:
Encode data using xor

Disassembly:
or esi, eax
or byte [esi], 0xb
mov esp, 0xc6b46b3c
jge sym.Steam_GSBLoggedOn
jmp 0x1004fa37
Function at 0xe1bdf8
Capabilities:
Authenticate hmac

Disassembly:
idiv byte [ebx + 0xee41f6e]
out dx, eax
or ch, ah
invalid
dec ecx
fstp dword [esi]
sbb edi, dword [ebx]
test dword [ecx - 0x18], eax
call fcn.01061ae2
inc ecx
call fcn.01061ae2
inc ebp
fucomi st(7)
out dx, eax
jl 0xe1bda4
mov byte [0xc6498b9b], al
wait
mov ecx, dword [ecx - 0x3a]
jbe 0xe1be4a
mov dword [0x499d0ac0], eax
cld
cld
loope 0xe1bdff
and al, byte [esi]
jns 0xe1be01
loopne 0xe1bdf7
xor edi, eax
test byte [eax - 0x134e616c], dh
mov dl, 0x84
dec ebx
inc edi
pop eax
adc eax, 0xa98c5c8
pop es
mov byte [0x804b8274], al
sbb al, 0x36
jmp 0x63d871d2
adc eax, 0xfa782c38
inc ebp
movsb byte es:[edi], byte [esi]
lcall 0x63de, 0x7638e1f2
mov dl, byte [ecx - 0x76485bbf]
jge 0xe1bdf0
inc ebx
cmp esp, esp
jecxz 0xe1bebe
cli
sub bh, ah
cmp byte [ebp + 0x1f2c4b84], dh
out dx, al
cdq
lodsd eax, dword [esi]
sub dword [ecx], ebp
mov esi, 0x589e29a2
dec dword [eax - 0x48119dc2]
and dword [esi + 0x67f7232e], ecx
aaa
sbb cl, byte [esi + 0x655fb4e1]
cdq
aam 5
insd dword es:[edi], dx
sahf
add byte ds:[esi], ah
enter 0x429d, 0xffffffffffffffee
les esi, [edx + edx*2 + 0x1bb6a521]
mov dh, 0x1b
sub ebx, dword [eax - 0x58]
lcall 0x654f, 0xd4133fec
adc eax, 0xfdf9626
add al, 0x94
mov dword [ebp + 0x65], eax
dec ecx
fstp dword [0x8dfb4bbd]
sti
mov al, 0x77
enter 0x1d7b, 0xffffffffffffff95
jnp 0xe1bedd
xchg ebp, eax
and eax, 0x8e734f4
stc
loope 0xe1be9d
daa
cmc
sbb ecx, dword [edi - 0x7e]
out dx, eax
xor byte [edx + 0x21ef5e48], 0xb7
mov eax, 0x8a490c6a
sbb bl, 0xee
out dx, al
pop ebp
fstp qword [edi]
retf 0x9690

Function at 0x1061133
Capabilities:
Encode data using xor

Disassembly:
push ebx
lea esp, [esp + 4]
jne 0x18d0aad
pushal
pushal
jmp 0x10649ac
jmp 0x18d99f8
jmp 0x1060c77
mov byte [esp], al
adc al, al
pushfd
mov byte [esp + 4], bl
pushfd
lea esp, [esp + 0xc]
jae 0x1067d34
jmp 0x1065cb4

Function at 0x18ce609
Capabilities:
Encode data using xor

Disassembly:
pushfd
clc
cmp al, 0x5a
call fcn.018dc154
jmp fcn.01064333