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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4387ed
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x438809
call fcn.00406130
mov dword [ebp - 8], eax
jmp 0x438810
mov dword [ebp - 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call ebx
test eax, eax
je 0x43885b
cmp dword [ebp - 4], 4
jne 0x43885b
mov ecx, dword [edi]
test ecx, ecx
je 0x43883c
call fcn.0046a770
jmp 0x43883e
xor eax, eax
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 8]
push eax
push esi
call ebx
test eax, eax
je 0x43885b
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x43885b
mov bl, 1
jmp 0x43885d
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
jne 0x438871
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4394e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489b58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call esi
push 0
push 0x4bc114
call fcn.0040f500
add esp, 8
test eax, eax
jne 0x439539
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.0040f070
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test eax, eax
je 0x4395aa
mov eax, dword [eax]
test eax, eax
je 0x4395aa
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4395aa
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x439571
mov eax, dword [eax]
jmp 0x439573
xor eax, eax
push 0x4bc114
push eax
call fcn.0040f2d0
mov edi, eax
add esp, 8
test edi, edi
je 0x4395cd
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x439592
mov eax, dword [ecx]
jmp 0x439594
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, 0x800704d6
jne 0x4395a7
push 4
jmp 0x4395a8
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.00403a00
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
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4395e1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x4395b2
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x4395b2
Function at 0x43a6e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489c76
mov eax, dword fs:[0]
push eax
mov eax, 0x2006c
call fcn.00472750
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0
push 3
push 0
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x20030], ebx
cmp ebx, 0xffffffff
jne 0x43a742
xor al, al
jmp 0x43a939
push 0x4bda10
mov dword [ebp - 0x20050], 0x4bda10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x20048]
mov dword [ebp - 4], 0
push eax
push ebx
mov dword [0x4bde38], 4
mov byte [ebp - 0x20025], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ecx, [ebp - 0x20025]
mov dword [ebp - 0x2004c], eax
push ecx
push 0
push 0x3e8
push dword [ebp - 0x20048]
push eax
call fcn.00472390
push eax
push 0x4a2c80
push esi
lea ecx, [ebp - 0x20078]
call fcn.0040c870
cmp byte [ebp - 0x20025], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
movlpd qword [ebp - 0x2003c], xmm0
jne 0x43a90c
mov eax, dword [ebp - 0x20038]
mov dword [ebp - 0x2002c], eax
mov eax, dword [ebp - 0x2003c]
mov dword [ebp - 0x20034], eax
jmp 0x43a7f0
push 0
push dword [0x4bde44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43a90c
push 0
lea eax, [ebp - 0x20014]
push eax
push 0x20000
lea eax, [ebp - 0x20010]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43a90c
mov eax, dword [ebp - 0x20014]
test eax, eax
je 0x43a90c
xor edi, edi
cmp eax, 0x34
jb 0x43a90c
lea ebx, [ebp - 0x20010]
add ebx, edi
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x34]
movzx ecx, word [ebx + 0x28]
lea esi, [eax + ecx*4]
sub esi, ebx
add esi, edx
lea eax, [esi + edi]
mov dword [ebp - 0x20038], eax
cmp eax, dword [ebp - 0x20014]
ja 0x43a8bb
push esi
push ebx
call fcn.0043ade0
mov eax, dword [ebp - 0x20034]
add esp, 8
mov ebx, dword [ebp - 0x2002c]
add eax, esi
mov dword [ebp - 0x20034], eax
adc ebx, 0
push 0
push 0x3e8
push ebx
push eax
mov dword [ebp - 0x2002c], ebx
call fcn.00472390
mov edi, dword [ebp - 0x20038]
mov dword [ebp - 0x20074], eax
mov eax, dword [ebp - 0x20014]
sub eax, edi
cmp eax, 0x34
jae 0x43a843
test edi, edi
je 0x43a906
push 0
mov ecx, 0x4bda10
call fcn.004183a0
sub edi, dword [ebp - 0x20014]
lea ecx, [ebp - 0x20040]
mov ebx, dword [ebp - 0x20030]
mov eax, edi
push 1
cdq
push ecx
push eax
push ebx
mov dword [ebp - 0x20044], eax
mov dword [ebp - 0x20040], edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp byte [ebp - 0x20025], 0
je 0x43a7f0
jmp 0x43a90c
mov ebx, dword [ebp - 0x20030]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x20078]
mov dword [0x4bde38], 0
mov byte [ebp - 4], 0
call fcn.0040c9c0
push 0x4bda10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x43aa10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 1
push 2
mov dword [ebp - 0x18], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43aa51
push 0x4a2cec
call fcn.0046a680
push eax
push 0x4a2cec
jmp 0x43aabe
mov eax, 2
mov dword [ebp - 0xa], 0
xorps xmm0, xmm0
mov word [ebp - 0x14], ax
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x12], xmm0
push 0x5ab3
mov word [ebp - 6], 0
mov dword [ebp - 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x14]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x43aaae
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0x4a2d98
call fcn.0046a680
push eax
push 0x4a2d98
jmp 0x43aabe
push 0
mov dword [0x4bc118], edi
call fcn.0046a680
push eax
push 0
call fcn.0046a810
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x43b1a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
add edi, esi
cmp esi, edi
jae 0x43b1d7
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push 0
mov eax, edi
sub eax, esi
push eax
push esi
push dword [0x4bc118]
call ebx
test eax, eax
je 0x43b1de
cmp eax, 0xffffffff
je 0x43b1de
add esi, eax
cmp esi, edi
jb 0x43b1b8
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x43b310
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x4be2e9], 0
je 0x43b322
call fcn.0043a960
cmp byte [ebp + 8], 0
je 0x43b37c
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x439ac0
push 0
push 0
call fcn.00472eb0
mov dword [0x4bde2c], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x4420a0
push 0
push 0
call fcn.00472eb0
mov dword [0x4bde30], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x43b060
push 0
push 0
call fcn.00472eb0
add esp, 0x48
mov dword [0x4bde34], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x439630
push 0
push 0
call fcn.00472eb0
mov dword [0x4bde24], eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x439930
push 0
push 0
call fcn.00472eb0
add esp, 0x30
mov dword [0x4bde28], eax
mov esp, ebp
pop ebp
ret
Function at 0x43b4a0
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns
Start tcp server

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 1
push 2
mov dword [ebp - 0x124], 0
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43b4ea
push 0x4a2cec
call fcn.0046a680
push eax
push 0x4a2cec
jmp 0x43b5f2
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x118], xmm0
mov cx, word [eax + 8]
mov word [ebp - 0x118], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x114]
push eax
call fcn.004709a0
add esp, 0xc
push 0x5ab3
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x116], ax
lea eax, [ebp - 0x118]
push 0x10
push eax
push edi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x43b57c
push 0x4a2d1c
call fcn.0046a680
push eax
push 0x4a2d1c
jmp 0x43b5f2
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], 0x10
push eax
lea eax, [ebp - 0x118]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43b5b1
push 0x4a2d48
call fcn.0046a680
push eax
push 0x4a2d48
jmp 0x43b5f2
push 0
push edi
call dword [sym.imp.WS2_32.dll_listen]
push 0
push 0
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov dword [0x4bc118], eax
cmp eax, 0xffffffff
jne 0x43b5e1
push 0x4a2d7c
call fcn.0046a680
push eax
push 0x4a2d7c
jmp 0x43b5f2
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
push 0
call fcn.0046a680
push eax
push 0
call fcn.0046a810
mov ecx, dword [ebp - 4]
add esp, 0xc
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop edi
pop esi
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x43cab0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x114
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], 0x11c
push 0
push eax
mov dword [ebp - 0x11c], 0
call fcn.00470180
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x11c]
cmp eax, 6
jb 0x43cb15
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
cmp eax, 5
jne 0x43cb59
mov eax, dword [ebp - 0x118]
test eax, eax
je 0x43cb59
cmp eax, 1
jne 0x43cb3f
cmp word [ebp - 0xc], 2
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x43cb59
cmp byte [ebp - 6], 1
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
Function at 0x445320
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a7db
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
test eax, eax
je 0x4453a1
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [edi + 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x34]
call fcn.004451c0
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
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 0x4453e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a808
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4bc1dc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CResizer.0
mov dword [esi + 0xc], 0
mov dword [esi + 0x2c], 0x32
mov dword [esi + 0x30], 0x43
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov byte [esi + 0x34], 1
test eax, eax
je 0x445451
push eax
call fcn.00445eb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x446aa0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aaab
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x240]
mov ebx, dword [ebp + 0xc]
push eax
call fcn.0040e9a0
add esp, 4
mov eax, dword [ebp - 0x240]
mov dword [ebp - 4], 0
test eax, eax
je 0x446af8
mov eax, dword [eax]
jmp 0x446afa
xor eax, eax
lea ecx, [ebp - 0x23c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x446c65
test byte [ebp - 0x23c], 0x10
jne 0x446c65
call fcn.0043a9e0
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
test ebx, ebx
jne 0x446c07
cmp dword [ebp - 0x21c], 0
jne 0x446b79
cmp dword [ebp - 0x220], 0
jne 0x446b79
push 0x30
push 0x497944
push 0x4a6300
push esi
call edi
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x446b6b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x446c65
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x446c65
push 0x24
push 0x497944
push 0x4a63e8
push esi
call edi
cmp eax, 6
jne 0x446c65
push 0x4a64e8
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046f05c
push 0x54
lea eax, [ebp - 0x294]
push 0
push eax
call fcn.00470180
add esp, 0x18
mov dword [ebp - 0x298], 0x58
lea eax, [ebp - 0x218]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x27c], eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x278], 0x104
push eax
mov dword [ebp - 0x28c], 0x4a4788
mov dword [ebp - 0x264], 0x20008
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
jne 0x446c1c
jmp 0x446c65
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0046f05c
add esp, 0xc
push 0x4a3f0c
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00435670
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, 0x4bda10
push 0x4be500
push 0x4be2f8
push 0
push eax
call fcn.00416530
test al, al
jne 0x446cd4
push 0x10
push 0x497944
push 0x4a6500
push esi
call edi
xor bl, bl
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x446cb6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x446cb6
test esi, esi
je 0x446cb6
mov eax, dword [esi]
test eax, eax
je 0x446c96
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x446cad
push eax
call fcn.0046f057
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0046f057
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x446ce2
mov eax, dword [eax]
jmp 0x446ce4
xor eax, eax
push eax
push esi
call fcn.0043a6e0
mov ecx, dword [ebp - 0x240]
add esp, 8
mov bl, al
test ecx, ecx
je 0x446cfe
mov ecx, dword [ecx]
jmp 0x446d00
xor ecx, ecx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
jne 0x446d1c
push 0x10
push 0x497944
push 0x4a6550
jmp 0x446c62
mov bl, 1
jmp 0x446c67
Function at 0x44da90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48b29b
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
push dword [eax + 4]
call fcn.0045cc50
mov eax, dword [esi]
xor edi, edi
push edi
push edi
push edi
mov dword [eax + 4], eax
mov eax, dword [esi]
push edi
mov dword [ebp - 0x21c], 0x104
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 8], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
mov dword [esi + 4], 0
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x44dbd3
jmp 0x44db20
push dword [0x4bc124]
lea eax, [ebp - 0x218]
push 0x4a3d20
push eax
call fcn.0046ffcb
add esp, 0xc
test eax, eax
jne 0x44dba2
mov eax, dword [0x4bc124]
lea esi, [ebp - 0x218]
lea esi, [esi + eax*2]
push esi
call fcn.0046a680
push eax
push esi
call fcn.0046a810
add esp, 0xc
mov dword [ebp - 0x220], eax
movzx eax, byte [0x4bece3]
mov ecx, dword [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.0041cd40
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x44dba2
call fcn.0046a850
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x104
push eax
lea eax, [ebp - 0x218]
inc edi
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x44db20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret 4

Function at 0x452f40
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4bece4]
test eax, eax
je 0x452f6d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4bece4], 0
push dword [0x4bde44]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
call fcn.0043a650
add esp, 8
cmp byte [0x4be2eb], 0
jne 0x452fef
push 0x38
lea eax, [ebp - 0x244]
mov dword [ebp - 0x24c], 0x40
push 0
push eax
mov dword [ebp - 0x248], 0
call fcn.00470180
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x4a6f68
push eax
call fcn.00401f90
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x10
push 0x497944
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4582d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4bc1dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea edx, [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov edi, dword [ebp + 8]
push edx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
push 0
push 0
push eax
push ecx
movdqu xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x50], 0x2c
movdqu xmmword [ebp - 0x1c], xmm0
movq qword [ebp - 0xc], xmm0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x458458
cmp dword [ebp - 0x30], 0x2c
jne 0x458458
push ebx
push esi
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
mov eax, dword [ebp - 0x28]
sub eax, 2
je 0x458356
dec eax
jne 0x45836c
and ebx, 0xdfffffff
or ebx, 0x1000000
jmp 0x458362
and ebx, 0xfeffffff
or ebx, 0x20000000
push ebx
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x40]
shr ebx, 0x12
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x40]
and bl, 1
je 0x458398
mov ecx, edx
sub ecx, eax
mov eax, dword [ebp - 0xc]
sub eax, esi
cmp eax, ecx
jge 0x45839f
mov eax, dword [ebp - 0x40]
sub edx, eax
add edx, esi
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 0x10]
test bl, bl
mov edx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x3c]
je 0x4583b9
mov eax, dword [ebp - 8]
mov ecx, edx
sub ecx, ebx
sub eax, esi
cmp eax, ecx
jge 0x4583c0
sub edx, ebx
add edx, esi
mov dword [ebp - 8], edx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4c
call esi
push 0x4d
mov dword [ebp - 0x4c], eax
call esi
push 0x4e
mov dword [ebp - 0x44], eax
call esi
push 0x4c
mov ebx, eax
call esi
push 0x4f
add ebx, eax
call esi
push 0x4d
mov dword [ebp - 0x48], eax
call esi
mov ecx, dword [ebp - 0x48]
mov esi, dword [sym.imp.USER32.dll_OffsetRect]
add ecx, eax
mov eax, dword [ebp - 8]
cmp eax, ecx
jle 0x458408
sub ecx, eax
lea eax, [ebp - 0x14]
push ecx
push 0
push eax
call esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jge 0x45841d
sub eax, ecx
push eax
push 0
lea eax, [ebp - 0x14]
push eax
call esi
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jle 0x45842f
push 0
sub ebx, eax
lea eax, [ebp - 0x14]
push ebx
push eax
call esi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
jge 0x458444
push 0
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
call esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowPlacement]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046f8ce
mov esp, ebp
pop ebp
ret