joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ff6d3
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x20a
push esi
mov esi, ecx
jne 0x4ff71d
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ff71d
call fcn.004fef5c
test eax, eax
je 0x4ff71d
push dword [ebx + 0xc]
mov eax, dword [esi + 0x54]
push dword [ebx + 8]
mov ecx, dword [eax + 0xb4]
push dword [ebx + 4]
call fcn.0041d7b1
xor eax, eax
inc eax
jmp 0x4ff935
cmp dword [ebx + 4], 0x100
push edi
jne 0x4ff92c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x12
call edi
test ax, ax
jl 0x4ff81a
push 0x11
call edi
test ax, ax
jl 0x4ff81a
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ff81a
mov eax, dword [ebx + 8]
cmp eax, 0xd
je 0x4ff78d
cmp eax, 0x20
jbe 0x4ff81a
cmp eax, 0x24
jbe 0x4ff780
cmp eax, 0x26
je 0x4ff780
cmp eax, 0x28
jne 0x4ff81a
call fcn.004fef5c
test eax, eax
je 0x4ff81a
mov ecx, esi
call fcn.00425c4e
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
call fcn.004fef5c
test eax, eax
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
je 0x4ff7c2
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
call fcn.0041d7b1
jmp 0x4ff927
call fcn.00423265
test eax, eax
je 0x4ff927
mov eax, dword [esi + 0x54]
add eax, 0xb8
push eax
mov ecx, esi
call fcn.0042329d
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
test eax, eax
jne 0x4ff7f0
xor edi, edi
jmp 0x4ff7f3
mov edi, dword [eax + 0x20]
mov esi, dword [esi + 0x54]
mov ecx, dword [esi + 0xb4]
movzx esi, word [esi + 0x20]
call fcn.00423265
push edi
push esi
push 0x111
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4ff927
mov eax, dword [ebx + 8]
sub eax, 9
je 0x4ff8f6
sub eax, 0x12
je 0x4ff8ce
sub eax, 0xb
je 0x4ff83c
dec eax
dec eax
jne 0x4ff92c
push 0x12
call edi
test ax, ax
jl 0x4ff92c
push 0x11
call edi
test ax, ax
jl 0x4ff92c
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ff92c
call fcn.004fef5c
test eax, eax
jne 0x4ff927
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
push 1
call fcn.004feed6
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0xb4]
push dword [eax + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00421ea2
test eax, eax
je 0x4ff927
mov esi, dword [esi + 0x54]
lea ebx, [esi + 0x90]
mov esi, dword [esi + 0xb4]
push dword [esi + 0x20]
call edi
push eax
call fcn.00421ea2
push 1
push ebx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4ff927
mov eax, dword [esi + 0x54]
mov ecx, dword [eax + 0xb4]
test ecx, ecx
je 0x4ff8e2
push 0
call fcn.004feed6
mov ecx, esi
call fcn.004229e8
test eax, eax
je 0x4ff92c
mov ecx, esi
call fcn.004229e8
jmp 0x4ff920
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00421ea2
test eax, eax
je 0x4ff92c
push dword [esi + 0x20]
call edi
push eax
call fcn.00421ea2
push 0
push esi
mov ecx, eax
call fcn.0041d7cc
mov ecx, eax
call fcn.00425c4e
xor eax, eax
inc eax
jmp 0x4ff934
push ebx
mov ecx, esi
call fcn.0041fce0
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x50ca3b
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x53ef67
call fcn.0051d115
mov edi, ecx
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0x100
jne 0x50cb11
mov ebx, dword [esi + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x50cb11
cmp ebx, 0x43
je 0x50ca7d
cmp ebx, 0x2d
jne 0x50cb11
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x50cb11
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.0040a830
movzx ecx, byte [edi + 0xae]
and dword [ebp - 4], 0
push ecx
lea eax, [edi + 0xac]
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.0040bd30
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
add esp, 0x14
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.00409e10
mov esi, dword [ebp + 8]
push esi
mov ecx, edi
call fcn.00489d7e
call fcn.0051d1ed
ret 4

Function at 0x514c16
Capabilities:
Log keystrokes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
call dword [eax + 0x150]
mov edi, eax
movzx eax, word [ebp + 8]
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp byte [ebp + 0xc], 0
jne 0x514c56
test edi, edi
jl 0x514c56
cmp al, 0x20
je 0x514c4b
cmp word [ebp + 8], 0x71
jne 0x514c56
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x168]
pop edi
pop esi
pop ebp
ret 8

Function at 0x51a243
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x595834]
jne 0x51a24d
repz ret
jmp fcn.00522cec

Function at 0x51a765
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x51a796
call fcn.0051d701
mov dword [eax], esi
call fcn.0051d6ee
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.00524011
add esp, 0x14
or eax, 0xffffffff
jmp 0x51a7d1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x51a7b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0051d714
pop ecx
jmp 0x51a791
test byte [ebp + 0xc], 0x80
je 0x51a7be
and eax, 0xfffffffe
jmp 0x51a7c1
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x51a7a4
xor eax, eax
pop esi
pop ebp
ret
Function at 0x52eb3f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.005226c4
and dword [ebp - 4], 0
cmp dword [0x59edc0], 0
mov ebx, eax
jne 0x52ebf0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x52eca1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x571050
push edi
call esi
test eax, eax
je 0x52eca1
push eax
call fcn.00522652
mov dword [esp], 0x571040
push edi
mov dword [0x59edc0], eax
call esi
push eax
call fcn.00522652
mov dword [esp], 0x57102c
push edi
mov dword [0x59edc4], eax
call esi
push eax
call fcn.00522652
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x59edc8], eax
call esi
push eax
call fcn.00522652
pop ecx
mov dword [0x59edd0], eax
test eax, eax
je 0x52ebf0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00522652
pop ecx
mov dword [0x59edcc], eax
mov eax, dword [0x59edcc]
cmp eax, ebx
je 0x52ec48
cmp dword [0x59edd0], ebx
je 0x52ec48
push eax
call fcn.005226cd
push dword [0x59edd0]
mov esi, eax
call fcn.005226cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x52ec48
test edi, edi
je 0x52ec48
call esi
test eax, eax
je 0x52ec3f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x52ec3f
test byte [ebp - 0xc], 1
jne 0x52ec48
or dword [ebp + 0x10], 0x200000
jmp 0x52ec81
mov eax, dword [0x59edc4]
cmp eax, ebx
je 0x52ec81
push eax
call fcn.005226cd
pop ecx
test eax, eax
je 0x52ec81
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x52ec81
mov eax, dword [0x59edc8]
cmp eax, ebx
je 0x52ec81
push eax
call fcn.005226cd
pop ecx
test eax, eax
je 0x52ec81
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59edc0]
call fcn.005226cd
pop ecx
test eax, eax
je 0x52eca1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x52eca3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402480
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
test edi, edi
je 0x40261d
mov esi, dword [ebp + 8]
test esi, esi
je 0x40261d
mov dword [esi + 0xf0], 0xa
mov ecx, dword [edi]
mov eax, ecx
rol ecx, 8
and ecx, 0xff00ff
ror eax, 8
and eax, 0xff00ff00
or eax, ecx
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [edi + 4]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov dword [eax], ecx
mov edx, dword [edi + 8]
mov ecx, edx
ror ecx, 8
and ecx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ecx, edx
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0xc]
mov edi, 0x5f4344
push ebx
mov ebx, ecx
rol ecx, 8
and ecx, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, ecx
mov ecx, ebx
mov dword [esi + 0xc], ebx
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + 0x5f5870]
mov ecx, ebx
shr ecx, 8
xor edx, 0x1000000
and ecx, 0xff
and edx, 0xff000000
mov ecx, dword [ecx*4 + 0x5f5470]
and ecx, 0xff0000
xor edx, ecx
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5f5c70]
xor edx, ecx
movzx ecx, bl
mov ecx, dword [ecx*4 + 0x5f6070]
and ecx, 0xff00
xor edx, ecx
mov ecx, dword [eax]
xor edx, dword [esi]
xor ecx, edx
mov dword [esi + 0x10], edx
mov edx, dword [esi + 8]
xor edx, ecx
mov dword [esi + 0x14], ecx
mov ecx, ebx
mov dword [esi + 0x18], edx
xor ecx, edx
mov dword [esi + 0x1c], ecx
pop ebx
mov edi, edi
mov edx, dword [eax + 0x18]
lea eax, [eax + 0x10]
mov ecx, edx
shr ecx, 8
and ecx, 0xff
mov esi, dword [ecx*4 + 0x5f5470]
mov ecx, edx
shr ecx, 0x10
and esi, 0xff0000
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5f5870]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x5f5c70]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x5f6070]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [eax - 4]
xor esi, dword [edi]
add edi, 4
mov dword [eax + 0xc], esi
mov ecx, dword [eax]
xor ecx, esi
mov dword [eax + 0x10], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
cmp edi, 0x5f4368
jne 0x402590
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x402630
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call fcn.00402480
add esp, 4
test eax, eax
js 0x40281c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x4026a4
lea esi, [eax + 8]
add eax, 8
lea esi, [esi + edi*4]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x402664
mov ebx, dword [ebp + 8]
mov edi, 1
cmp dword [ebx + 0xf0], edi
jle 0x402817
lea esi, [ebx + 2]
jmp 0x4026c0
mov edx, dword [esi + 0xe]
lea esi, [esi + 0x10]
mov eax, edx
inc edi
shr eax, 0x18
movzx ecx, byte [eax*4 + 0x5f5c70]
movzx eax, byte [esi - 1]
mov ecx, dword [ecx*4 + 0x5f5070]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4870]
movzx eax, dl
mov edx, dword [esi + 2]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4470]
movzx eax, byte [esi]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4c70]
mov eax, edx
shr eax, 0x18
mov dword [esi - 2], ecx
movzx ecx, byte [eax*4 + 0x5f5c70]
movzx eax, byte [esi + 3]
mov ecx, dword [ecx*4 + 0x5f5070]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4870]
movzx eax, byte [esi + 4]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4c70]
movzx eax, dl
mov edx, dword [esi + 6]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4470]
mov eax, edx
shr eax, 0x18
mov dword [esi + 2], ecx
movzx ecx, byte [eax*4 + 0x5f5c70]
movzx eax, byte [esi + 7]
mov ecx, dword [ecx*4 + 0x5f5070]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4870]
movzx eax, byte [esi + 8]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4c70]
movzx eax, dl
mov edx, dword [esi + 0xa]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4470]
mov eax, edx
shr eax, 0x18
mov dword [esi + 6], ecx
movzx ecx, byte [eax*4 + 0x5f5c70]
movzx eax, byte [esi + 0xb]
mov ecx, dword [ecx*4 + 0x5f5070]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4870]
movzx eax, byte [esi + 0xc]
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4c70]
movzx eax, dl
movzx eax, byte [eax*4 + 0x5f5c70]
xor ecx, dword [eax*4 + 0x5f4470]
mov dword [esi + 0xa], ecx
cmp edi, dword [ebx + 0xf0]
jl 0x4026c0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4038f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6b6a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x620330]
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
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0058c5f4
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x403996
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x5f4250
push eax
lea ecx, [ebp - 0x24]
call fcn.0056bcba
push 0x61b5fc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.00570035
push edi
push esi
call fcn.0058c88a
add esp, 8
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.0056bc07
mov esp, ebp
pop ebp
ret 4

Function at 0x403f30
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a6bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x620330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00404720
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00403e60
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x403fa1
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.0056bcba
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x403fca
push dword [esp + 0xc]
call fcn.00446271
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405f80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a6dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x620330]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x620330]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [edi + 0x10]
lea ecx, [esp + 0x18]
call fcn.004201c0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x28]
add eax, 0xa
mov dword [edi], eax
add eax, 4
push eax
call fcn.00446268
mov esi, eax
mov dword [esp + 0x14], 0xe
mov eax, dword [edi]
sub esp, 0x14
mov ecx, esp
mov dword [esi], eax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
mov eax, dword [edi + 8]
mov dword [esi + 6], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xa], eax
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404720
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00405ee0
mov ecx, dword [edi]
add esp, 0x1c
add ecx, 4
mov dword [ebx], esi
cmp dword [esp + 0x2c], 0x10
mov dword [ebx + 4], ecx
jb 0x40605a
push dword [esp + 0x18]
call fcn.00446271
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0056bc07
mov esp, ebp
pop ebp
ret 4

Function at 0x407130
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a6fa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x620330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.0058cf9e
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0
mov dword [edi], vtable.std::_LaunchPad_class_std::_Bind_1__void__void____cdecl__const__struct_AgentPack::CreateAgentAppLinkPack___struct_AgentPack::CreateAgentAppLinkPack__.0
push 0xffffffffffffffff
mov eax, dword [esi]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 8]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 9]
mov byte [edi + 0x19], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x20], al
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
lea eax, [esi + 0x18]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00404720
mov ax, word [esi + 0x30]
mov word [edi + 0x40], ax
mov eax, edi
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 0x40b500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a754b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x620330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 0x30]
mov byte [edi + 0x1c], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 8], 0x2c
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, word [esi + 6]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
movzx eax, word [esi + 0xa]
mov word [edi + 0xa], ax
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
movzx eax, word [esi + 0x10]
mov word [edi + 0x10], ax
movzx eax, word [esi + 0x12]
mov word [edi + 0x12], ax
movzx eax, word [esi + 0x14]
mov word [edi + 0x14], ax
movzx eax, word [esi + 0x16]
mov word [edi + 0x16], ax
movzx eax, word [esi + 0x18]
mov word [edi + 0x18], ax
movzx eax, word [esi + 0x1a]
mov word [edi + 0x1a], ax
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
mov eax, dword [esi + 0x1d]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x21]
mov dword [edi + 0x24], eax
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x28], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x29], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x2a], al
mov eax, dword [esi + 0x28]
push eax
mov dword [edi + 0x2c], eax
lea eax, [ebp + 8]
push edx
push eax
call fcn.00408200
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [ecx + esi]
mov dword [edi + 0x48], eax
movzx eax, word [ecx + esi + 4]
mov word [edi + 0x4c], ax
movzx eax, byte [ecx + esi + 6]
mov byte [edi + 0x4e], al
mov eax, dword [ecx + esi + 7]
mov dword [edi + 0x50], eax
mov eax, dword [ecx + esi + 0xb]
mov dword [edi + 0x54], eax
mov eax, edi
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 0x414390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a8198
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x620330]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov eax, dword [0x620330]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], 0
call fcn.0043ab60
push str.pro.nlp
lea edx, [esp + 0x44]
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.004098c0
add esp, 4
mov byte [esp + 0x68], 1
lea edx, [esp + 0x28]
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x10]
cmovae edx, dword [esp + 0x28]
call fcn.00425830
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
mov edx, 0x5f426d
push 0
cmovae ecx, dword [esp + 0x14]
call fcn.00405e40
add esp, 4
test eax, eax
jne 0x41445d
cmp dword [esp + 0x20], eax
setne al
test eax, eax
jne 0x41445d
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x5f426d
mov byte [esi], al
call fcn.00404b60
jmp 0x414495
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x414489
test al, 0x10
je 0x414489
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404450
jmp 0x414495
push 0x5f426d
mov ecx, esi
call fcn.004043f0
cmp dword [esp + 0x24], 0x10
jb 0x4144a8
push dword [esp + 0x10]
call fcn.00446271
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
jb 0x4144d0
push dword [esp + 0x28]
call fcn.00446271
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x4144f8
push dword [esp + 0x40]
call fcn.00446271
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0056bc07
mov esp, ebp
pop ebp
ret
Function at 0x415d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a84d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x620330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.0043b6d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
test eax, 0xfffffffc
jne 0x415e00
test ecx, ecx
je 0x415de7
push ecx
call fcn.00446271
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056bc07
mov esp, ebp
pop ebp
ret
cmp dword [0x621734], 1
jne 0x415e0e
call fcn.00415570
cmp dword [0x6301ec], 0
je 0x415e1c
call fcn.00413e80
push 0
call fcn.0056cbfe
int3
Function at 0x41b0f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jge 0x41b116
cmp byte [ecx + 0x61], 0
jne 0x41b116
cmp byte [ecx + 0x60], 0
je 0x41b116
mov byte [ecx + 0x60], 0
jmp fcn.00440920
ret