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

Disassembly:
pushal
push dword [ebx + 0x40]
push 0x8569a9
lea esi, [esp + 0x1c]
call fcn.005b0ca0
add esp, 8
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0xff
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
push 0
mov ecx, dword [ebx + 0xc]
add ecx, 0x28
push ecx
mov ecx, dword [ebx + 8]
mov edx, esi
push edi
mov ebx, dword [0x6a74b0]
call fcn.00511ce0
add esp, 0x1c
popal
ret

Function at 0x8672b1
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [edi + 0x128], 0
jne 0x8672c8
mov dword [edi + 0x128], 0x9c4
sub dword [edi + 0x128], 1
cmp dword [edi + 0x128], 0x32
jne 0x8672e6
mov dword [edi + 0xb8], 0x64
cmp dword [edi + 0x128], 1
jne 0x867307
pushal
push 2
push 6
push dword [edi + 0xc]
push dword [edi + 8]
mov ecx, dword [edi + 4]
call fcn.0040cb10
popal
ret

Function at 0x8673f0
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [edi + 0x54], 0
jne 0x867401
mov dword [edi + 0x54], 0x9c4
cmp dword [edi + 0x54], 1
jne 0x86741f
pushal
mov ecx, dword [edi + 4]
push 2
push 4
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0040cb10
popal
cmp dword [edi + 0x54], 0x32
jne 0x867433
mov dword [edi + 0xb8], 0x64
ret

Function at 0x867600
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [edi + 0x54], 0
jne 0x867611
mov dword [edi + 0x54], 0x9c4
cmp dword [edi + 0x54], 1
jne 0x86763e
push ebx
mov ebx, 0
pushal
mov ecx, dword [edi + 4]
push 2
push 4
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0040cb10
popal
add ebx, 1
cmp ebx, 1
jle 0x867621
pop ebx
cmp dword [edi + 0x54], 0x32
jne 0x867652
mov dword [edi + 0xb8], 0x64
ret

Function at 0x867660
Capabilities:
Packed with generic packer

Disassembly:
sub dword [edi + 0x84], 1
cmp dword [edi + 0x84], 0x32
jne 0x86767e
mov dword [edi + 0xbc], 0x64
cmp dword [edi + 0x84], 0
jne 0x8676e8
mov eax, 0xc8
call fcn.005af400
add eax, 0x1f4
mov dword [edi + 0x84], eax
pushal
mov ebx, 1
mov eax, 0x64
call fcn.005af400
cmp eax, 0x60
jle 0x8676be
mov ebx, 3
cmp eax, 0x40
jle 0x8676cc
mov ebx, 2
mov ecx, dword [edi + 4]
push 2
push ebx
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0040cb10
mov dword [eax + 0xd8], 1
popal
ret

Function at 0x867e20
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [edi + 0x54], 0
jne 0x867e58
pushal
mov eax, 4
cmp dword [edi + 0x58], 0
jg 0x867e3f
mov eax, 6
mov ecx, dword [edi + 4]
push 2
push eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0040cb10
popal
mov dword [edi + 0x54], 0x9c4
cmp dword [edi + 0x58], 0
je 0x867ee6
sub dword [edi + 0x58], 1
cmp dword [edi + 0x58], 1
jne 0x867e7e
add dword [edi + 0x40], 0xfa0
add dword [edi + 0x44], 0xfa0
cmp dword [edi + 0x58], 0x19
je 0x867eb0
cmp dword [edi + 0x58], 0x14
je 0x867eb0
cmp dword [edi + 0x58], 0xf
je 0x867eb0
cmp dword [edi + 0x58], 0xa
je 0x867eb0
cmp dword [edi + 0x58], 5
jne 0x867ee6
fld dword [edi + 0xe0]
fadd dword [0x867ee7]
fstp dword [edi + 0xe0]
fld dword [edi + 0xe4]
fadd dword [0x867eef]
fstp dword [edi + 0xe4]
fld dword [edi + 0xe8]
fadd dword [0x867ef7]
fstp dword [edi + 0xe8]
ret
Function at 0x868e00
Capabilities:
Packed with generic packer

Disassembly:
cmp dword [edi + 0x54], 0
jne 0x868e25
mov dword [edi + 0x54], 0x9c4
pushal
mov ecx, dword [edi + 4]
push 2
push 4
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.0040cb10
popal
ret

Function at 0x86d9a0
Capabilities:
Packed with generic packer

Disassembly:
mov ebp, esi
pushal
mov dword [esp + 0x14], 0
lea esi, [esp + 0x14]
mov edx, dword [ebp + 4]
call fcn.0041c9b0
test al, al
je 0x86d9e8
mov edx, dword [esi]
cmp dword [edx + 0x5c], 0xd
jne 0x86d9af
mov eax, dword [ebp + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x86d9af
mov eax, dword [edx + 8]
sub eax, dword [ebp + 8]
cmp eax, 0
jl 0x86d9af
cmp eax, 0x32
jg 0x86d9af
mov dword [edx + 0x5c], 0x1d
jmp 0x86d9af
popal
ret

Function at 0x86d9f0
Capabilities:
Packed with generic packer

Disassembly:
mov ebp, esi
pushal
mov dword [esp + 0x14], 0
lea esi, [esp + 0x14]
mov edx, dword [ebp + 4]
call fcn.0041c9b0
test al, al
je 0x86da38
mov edx, dword [esi]
cmp dword [edx + 0x5c], 0xd
jne 0x86d9ff
mov eax, dword [ebp + 0x1c]
cmp eax, dword [edx + 0x1c]
jne 0x86d9ff
mov eax, dword [edx + 8]
sub eax, dword [ebp + 8]
cmp eax, 0
jl 0x86d9ff
cmp eax, 0x32
jg 0x86d9ff
mov dword [edx + 0x5c], 0x1e
jmp 0x86d9ff
popal
ret

Function at 0x86e9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
push dword [ebx + 0x40]
push 0x86ead9
lea esi, [esp + 0x1c]
call fcn.005b0ca0
add esp, 8
sub esp, 0x10
mov eax, esp
mov dword [eax], 0xff
mov dword [eax + 4], 0xff
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
push 0
mov ecx, dword [ebx + 0xc]
add ecx, 0x40
push ecx
mov ecx, dword [ebx + 8]
mov edx, esi
push edi
mov ebx, dword [0x6a74b0]
call fcn.00511ce0
add esp, 0x1c
popal
ret

Function at 0x86ea34
Capabilities:
Packed with generic packer

Disassembly:
pushal
push dword [ebx + 0x40]
push 0x86ead9
lea esi, [esp + 0x1c]
call fcn.005b0ca0
add esp, 8
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0xff
mov dword [eax + 8], 0xff
mov dword [eax + 0xc], 0xff
push 0
mov ecx, dword [ebx + 0xc]
push ecx
mov ecx, dword [ebx + 8]
mov edx, esi
push edi
mov ebx, dword [0x6a74b0]
call fcn.00511ce0
add esp, 0x1c
popal
ret

Function at 0x86ea85
Capabilities:
Packed with generic packer

Disassembly:
pushal
push dword [ebx + 0x40]
push 0x86ead9
lea esi, [esp + 0x1c]
call fcn.005b0ca0
add esp, 8
sub esp, 0x10
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0xff
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0xff
push 0
mov ecx, dword [ebx + 0xc]
add ecx, 0x28
push ecx
mov ecx, dword [ebx + 8]
mov edx, esi
push edi
mov ebx, dword [0x6a74b0]
call fcn.00511ce0
add esp, 0x1c
popal
ret

Function at 0x86ed25
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov ecx, dword [ebp + 4]
push 2
push 6
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040cb10
popal
ret
Function at 0x86ee40
Capabilities:
Packed with generic packer

Disassembly:
mov dword [ecx + 0x128], 0x10086
pushal
mov ebp, ecx
mov ebx, ebp
mov eax, dword [0x6a72f0]
lea esi, [ecx - 0x14]
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0xd8]
push eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
call edx
push 0x7f
push 0
push 0
push 0x3c
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
push dword [ebp + 0x1c]
push dword [ebp + 4]
call fcn.0041d8a0
mov eax, ebp
mov esi, dword [ebp]
mov esi, dword [esi + 0x820]
mov esi, dword [esi]
push 0x30
push 0x61a80
sub esp, 8
fild dword [ebp + 0xc]
fadd qword [0x679338]
fstp dword [esp + 4]
fild dword [ebp + 8]
fadd qword [0x679338]
fadd qword [0x679338]
fstp dword [esp]
call fcn.00518a70
popal
ret

Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
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 eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a
Function at 0x40d14a
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407d4b
mov dword [ebp - 0x14], eax
cmp dword [0x447ffc], esi
jne 0x40d23d
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d1ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d31d
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d31d
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d31d
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x447ffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x448000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x448004], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x44800c], eax
test eax, eax
je 0x40d23a
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x448008], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d262
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d255
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d277
push 4
pop eax
jmp 0x40d31f
cmp dword [ebp - 0x14], esi
je 0x40d277
push dword [0x447ffc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d25c
mov eax, dword [0x448008]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d2d5
cmp dword [0x44800c], edi
je 0x40d2d5
push eax
call ebx
push dword [0x44800c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d2d5
test eax, eax
je 0x40d2d5
call ecx
test eax, eax
je 0x40d2ca
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d2ca
test byte [ebp - 8], 1
jne 0x40d2d5
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d305
mov eax, dword [0x448000]
cmp eax, edi
je 0x40d302
push eax
call ebx
test eax, eax
je 0x40d302
call eax
mov esi, eax
test esi, esi
je 0x40d302
mov eax, dword [0x448004]
cmp eax, edi
je 0x40d302
push eax
call ebx
test eax, eax
je 0x40d302
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x447ffc]
call ebx
test eax, eax
je 0x40d31d
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d31f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00404248
mov esp, ebp
pop ebp
ret
Function at 0x401ac0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
je 0x401aeb
mov edx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x401ad4
pop edi
mov eax, edx
pop esi
pop ebp
ret
mov eax, dword [ebp + 8]
pop esi
pop ebp
ret

Function at 0x405f50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x51b170]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x5c]
jne 0x405f9f
mov eax, dword [ebx + 4]
add eax, 1
je 0x4060d6
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004996e8
mov esp, ebp
pop ebp
ret
mov edi, 1
xor eax, eax
mov ecx, edi
lock cmpxchg dword [ebx], ecx
cmp dword [ebx], edi
jne 0x405fb8
test eax, eax
je 0x4060b8
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movlpd qword [ebp - 0x48], xmm0
mov dword [ebp - 0x3c], 0
nop
mov ecx, edi
xor eax, eax
lock cmpxchg dword [ebx], ecx
cmp dword [ebx], 1
jne 0x405fe5
test eax, eax
je 0x4060b8
mov esi, dword [ebp - 0x3c]
test esi, esi
jne 0x40600f
mov eax, dword [0x526678]
test eax, eax
jne 0x406002
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x6c]
cmp edi, eax
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x20
mov dword [ebp - 0x3c], esi
cmp esi, 8
jb 0x406058
cmp esi, 0x20
jae 0x406021
pause
inc esi
mov dword [ebp - 0x3c], esi
jmp 0x405fd0
jne 0x406034
lea ecx, [ebp - 0x48]
call fcn.00405a40
mov esi, dword [ebp - 0x3c]
inc esi
mov dword [ebp - 0x3c], esi
jmp 0x405fd0
mov edi, dword [ebp - 0x40]
test edi, edi
jne 0x406061
mov al, byte [ebp - 0x3c]
and al, 1
je 0x4060a2
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
test eax, eax
jne 0x406053
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 1
inc esi
mov dword [ebp - 0x3c], esi
jmp 0x405fd0
mov ecx, 8
call fcn.004136b0
lea ecx, [ebp - 0x58]
push ecx
call eax
test eax, eax
jne 0x406085
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ecx
jmp 0x40608b
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x48]
sbb ecx, dword [ebp - 0x44]
test ecx, ecx
jb 0x406042
ja 0x40609b
cmp eax, edi
jb 0x406042
mov dword [ebp - 0x40], 0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
mov edi, 1
mov dword [ebp - 0x3c], esi
jmp 0x405fd0
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], 1
xor ecx, ebp
pop ebx
call fcn.004996e8
mov esp, ebp
pop ebp
ret
push str.boost::interprocess::spin_recursive_mutex_recursive_lock_overflow
lea ecx, [ebp - 0x30]
call fcn.004056b0
push 0x5185f4
lea eax, [ebp - 0x30]
push eax
call fcn.004b0fc9
int3
Function at 0x406470
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x5263a0
push 0x4228e0
push 0x52640c
mov edi, ecx
call fcn.00483a79
add esp, 0xc
test eax, eax
je 0x406575
cmp byte [edi + 0x18], 0
je 0x406528
cmp byte [edi + 0x19], 0
jne 0x406528
mov eax, dword [edi + 0x10]
mov eax, dword [eax]
cmp eax, 0x103
jne 0x406528
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.004066b0
test al, al
je 0x406528
mov eax, dword [edi]
test eax, eax
je 0x406524
cmp eax, 0xffffffff
je 0x406524
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.004066b0
test al, al
je 0x406524
push 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x5263a0
push 0x4228e0
push 0x52640c
mov esi, eax
call fcn.00483a79
add esp, 0xc
test esi, esi
jne 0x406512
test eax, eax
je 0x406575
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x406524
test eax, eax
je 0x406575
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0xffffffff
mov byte [edi + 0x19], 1
mov esi, dword [edi + 0x14]
test esi, esi
je 0x40655f
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x40655f
mov eax, dword [esi]
cmp eax, vtable.std::_Ref_count_obj_struct_std::atomic_int__.0
jne 0x40657a
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x40655f
mov eax, dword [esi]
mov ecx, esi
mov edx, dword [eax + 4]
cmp eax, vtable.std::_Ref_count_obj_struct_std::atomic_int__.0
jne 0x406580
push 1
call dword [eax + 8]
push dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [edi + 4]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004bbdd4
mov ecx, esi
call dword [eax]
jmp 0x406544
call edx
jmp 0x40655f
Function at 0x407020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9936
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x51b170]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x208
push eax
mov dword [ebp - 0x250], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4071a1
xor eax, eax
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407095
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x24c]
call fcn.00417920
push ecx
push 0x4fc900
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.0041c400
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x24c]
push eax
push esi
call fcn.00404bb0
mov edx, dword [ebp - 0x220]
add esp, 0xc
cmp edx, 8
jb 0x40712a
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407120
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071a6
push edx
push ecx
call fcn.00499ae0
add esp, 8
mov edx, dword [ebp - 0x238]
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
cmp edx, 8
jb 0x407183
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407179
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071ab
push edx
push ecx
call fcn.00499ae0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004996e8
mov esp, ebp
pop ebp
ret 4
call fcn.00406190
call fcn.004bbc5b
call fcn.004bbc5b
int3
Function at 0x40a520
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d99e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51b170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CryptoPP::FilterWithBufferedInput.0
mov dword [esi + 4], vtable.CryptoPP::FilterWithBufferedInput.1.0
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x30]
cmp eax, ecx
mov edx, dword [esi + 0x34]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.004606d0
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x40a584
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x40a595
push 0x48
push esi
call fcn.00499ae0
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 0x40ade0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d99e0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51b170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.004606d0
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x40ae37
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x40ae48
push 0x3c
push esi
call fcn.00499ae0
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 0x40ae60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9e60
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x51b170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
xor al, al
and ecx, 0xfffffffc
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.004606d0
mov dword [ebp - 4], 1
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.004606d0
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x40aedc
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x40aeed
push 0x40
push esi
call fcn.00499ae0
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 0x40b6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x218
mov eax, dword [0x51b170]
xor eax, esp
mov dword [esp + 0x214], eax
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004b1bf0
add esp, 0xc
lea eax, [esp + 8]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
xor eax, eax
mov dword [0x526494], 0
mov word [0x526484], ax
lea eax, [esp + 8]
mov dword [0x526498], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b721
sub eax, edx
mov ecx, 0x526484
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00417920
mov ecx, dword [esp + 0x214]
mov eax, 0x526484
xor ecx, esp
call fcn.004996e8
mov esp, ebp
pop ebp
ret 4