joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4141c0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x670f1c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x440], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x430], 0
push 0x424
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.004c16f0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x414231
mov dword [ebp - 0x434], 0
lea ecx, [ebp + 0xc]
call fcn.00406960
mov eax, dword [ebp - 0x434]
jmp 0x4142bc
mov dword [ebp - 0x430], 0x428
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x41429a
lea ecx, [ebp - 0x410]
push ecx
lea ecx, [ebp + 0xc]
call fcn.004159d0
test eax, eax
jne 0x414286
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x438], 1
lea ecx, [ebp + 0xc]
call fcn.00406960
mov eax, dword [ebp - 0x438]
jmp 0x4142bc
lea eax, [ebp - 0x430]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x41424f
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x43c], 0
lea ecx, [ebp + 0xc]
call fcn.00406960
mov eax, dword [ebp - 0x43c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bfdfd
mov esp, ebp
pop ebp
ret 8

Function at 0x417450
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e51b1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esi + 0x40]
push edx
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00417940
push eax
lea ecx, [esi + 0x14]
mov dword [esp + 0x30], 0
call fcn.004177d0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00417850
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0x10
Function at 0x42ec70
Capabilities:
Log keystrokes

Disassembly:
push 0xffffffffffffffff
push 0x4e6e79
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], vtable.Clunet::CCluComplaintThread.0
xor ebx, ebx
cmp byte [esi + 0x1f4], bl
mov dword [esp + 0x18], 1
je 0x42eccc
mov eax, dword [esi + 0x1f0]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov byte [esi + 0x1f4], bl
mov eax, dword [esi + 0x1fa]
cmp eax, ebx
je 0x42ece5
push eax
call fcn.004aef39
add esp, 4
mov dword [esi + 0x1fa], ebx
mov ecx, dword [0x6736e0]
cmp ecx, ebx
je 0x42ed0d
call fcn.004b477b
mov ecx, dword [0x6736e0]
cmp ecx, ebx
je 0x42ed07
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736e0], ebx
mov ecx, dword [0x6736c8]
cmp ecx, ebx
je 0x42ed35
call fcn.004b477b
mov ecx, dword [0x6736c8]
cmp ecx, ebx
je 0x42ed2f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736c8], ebx
mov ecx, dword [0x6736d0]
cmp ecx, ebx
je 0x42ed5d
call fcn.004b477b
mov ecx, dword [0x6736d0]
cmp ecx, ebx
je 0x42ed57
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736d0], ebx
mov ecx, dword [0x6736d8]
cmp ecx, ebx
je 0x42ed85
call fcn.004b477b
mov ecx, dword [0x6736d8]
cmp ecx, ebx
je 0x42ed7f
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736d8], ebx
mov ecx, dword [0x6736e4]
cmp ecx, ebx
je 0x42ed9e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736e4], ebx
mov ecx, dword [0x6736e8]
cmp ecx, ebx
je 0x42edb7
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736e8], ebx
mov ecx, dword [0x6736ec]
cmp ecx, ebx
je 0x42edd0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736ec], ebx
mov ecx, dword [0x6736c0]
cmp ecx, ebx
je 0x42ee05
call fcn.004b477b
mov ecx, dword [0x6736bc]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [0x6736c0]
cmp ecx, ebx
je 0x42edff
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [0x6736c0], ebx
mov eax, dword [esi + 0x210]
sub eax, 0x10
mov byte [esp + 0x18], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004186d0
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x435f50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4e7713
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x51a3d8
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 8]
mov byte [esp + 0x18], 1
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 2
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 3
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 4
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 5
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 6
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 7
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 8
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x28]
mov byte [esp + 0x18], 9
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 0xa
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0xb
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 0xc
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 0xd
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x3c]
mov byte [esp + 0x18], 0xe
call fcn.00406e40
mov byte [esp + 0x14], 0xf
push 0x51a3d8
lea ecx, [esi + 0x40]
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x44]
mov byte [esp + 0x18], 0x10
call fcn.00406e40
push 0x51a3d8
lea ecx, [esi + 0x48]
mov byte [esp + 0x18], 0x11
call fcn.00406e40
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x436fb0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4e78db
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
xor esi, esi
mov byte [esp + 0xc], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov word [esp + 0x58], si
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 2]
mov dx, word [eax + 6]
mov dword [esp + 0xe], ecx
mov ecx, dword [eax + 8]
mov word [esp + 0x12], dx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0x192e8]
cmp ecx, esi
mov dword [esp + 0x64], esi
mov word [esp + 0x18], si
mov word [esp + 0x1a], 8
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], esi
je 0x437099
push 7
call fcn.00417a20
cmp eax, 0xfffffffe
je 0x43706a
cmp eax, esi
jl 0x437088
mov edx, dword [edi + 0x192b0]
push 0x4e
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi + 0x192e4]
push 0x12
push 7
push eax
push edx
call fcn.004175b0
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x437099
push eax
call fcn.004aef39
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x5c
ret 4
Function at 0x437390
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4e790e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov dword [esp + 0x3c], 0
call fcn.004b978a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4373d9
push 0x80004005
call fcn.004069a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x44]
mov eax, dword [edi - 0xc]
test eax, eax
mov bl, 1
mov byte [esp + 0x3c], bl
jge 0x4373ff
or eax, 0xffffffff
jmp 0x43741a
push 0x4fc090
push edi
call fcn.004c02c4
add esp, 8
test eax, eax
jne 0x437416
or eax, 0xffffffff
jmp 0x43741a
sub eax, edi
sar eax, 1
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00406390
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call fcn.00407450
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x3c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43745f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4374a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4374c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov edx, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4

Function at 0x437570
Capabilities:
Resolve dns

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push esi
xor ebx, ebx
push eax
mov dword [esp + 0xc], ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x4375ae
mov esi, dword [esp + 0x10]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x4fb92a
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004017d0
mov eax, esi
pop esi
pop ebx
pop ecx
ret 8
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
push edi
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, dword [esp + 0x14]
mov ecx, eax
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x4375d3
sub ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.004017d0
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 8
Function at 0x4378e0
Capabilities:
Get hostname
Resolve dns

Disassembly:
push 0xffffffffffffffff
push 0x4e79a4
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x670f1c]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x12c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x4fb93e
mov ecx, esi
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x1c], esi
mov byte [esi + 4], bl
call fcn.004017d0
push 0xff
lea eax, [esp + 0x1c]
push ebx
push eax
mov dword [esp + 0x130], ebx
mov dword [esp + 0x1c], 1
call fcn.004c16f0
add esp, 0xc
push 0xff
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x4379b8
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
je 0x4379b8
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
add ecx, 1
cmp dl, bl
jne 0x4379a4
sub ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.004017d0
mov eax, esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004bfdfd
add esp, 0x118
ret 4
Function at 0x4385b0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e7b0b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004b978a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4385f3
push 0x80004005
call fcn.004069a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
call fcn.00406d30
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
mov dword [esp + 0x2c], 1
call fcn.00438180
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call fcn.00407450
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebp, 0xffffffff
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438656
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
je 0x438703
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebp
je 0x4386fc
cmp dword [ebx + 0x19872], 8
lea ebp, [ebx + 0x1985a]
jb 0x438697
mov eax, dword [ebp + 4]
jmp 0x43869a
lea eax, [ebp + 4]
push 0
lea ecx, [esp + 0x20]
push ecx
push 0x1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push 0
push ebp
lea ecx, [ebx + 0x19876]
call fcn.00401640
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4386e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
mov dword [esp + 0x28], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x438720
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x438740
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e7b3e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
call fcn.004b978a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x438787
push 0x80004005
call fcn.004069a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
call fcn.00406d30
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x30], 1
call fcn.00438180
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00407450
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or esi, 0xffffffff
mov byte [esp + 0x2c], 1
lea edx, [eax + 0xc]
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4387ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx - 0xc], 0
je 0x4388d9
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp edi, esi
mov ebp, eax
je 0x4388d2
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aef3e
add esp, 4
push 0
mov esi, eax
lea eax, [esp + 0x24]
push eax
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x438860
mov ecx, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
push esi
add ecx, 0x19876
call fcn.00401930
push esi
call fcn.004aef39
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
mov dword [esp + 0x2c], 0xffffffff
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test ebp, ebp
je 0x4388ce
test edx, edx
jg 0x4388b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edx, edx
jmp 0x4388ea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x2c], esi
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x4388f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x438910
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e7b71
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004b978a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x438951
push 0x80004005
call fcn.004069a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
call fcn.00406d30
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x20], 1
call fcn.00438180
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.00407450
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edi, 0xffffffff
mov byte [esp + 0x1c], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4389b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0xc]
cmp dword [esi - 0xc], 0
je 0x4389c5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x1c], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x4389e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x445770
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4e867e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov word [esi + 0x10], bx
mov word [esi + 0x12], bx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov word [esi + 0x1c], 1
mov dword [esi + 0x1e], ebx
mov word [esi + 0x22], bx
mov dword [esi + 0x24], ebx
mov word [esi + 0x28], bx
mov dword [esi + 0x2a], ebx
mov word [esi + 0x2e], bx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.CWz_PeerEx.0
call fcn.004b978a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4457f8
push 0x80004005
call fcn.004069a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x64], eax
lea edi, [esi + 0x78]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.0045bfc0
mov dword [edi + 4], eax
mov byte [eax + 0x11], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push ebx
lea ecx, [esi + 0x86]
mov byte [esp + 0x20], 2
call fcn.00411700
lea edi, [esi + 0x90]
mov ecx, edi
call fcn.00422c60
mov dword [edi + 4], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push 0x4fce50
lea ecx, [esi + 0x3c]
push 0x10
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0x9c], vtable.CCluProtVersionInfo.0
mov word [esi + 0xac], bx
mov dword [esi + 0xae], ebx
mov dword [esi + 0xb2], 0x1000000
mov dword [esi + 0xb6], ebx
mov byte [esi + 0xba], bl
push ecx
mov dword [esi + 0x38], ebx
call fcn.004c1687
add esp, 0xc
xor eax, eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov byte [esi + 0x68], bl
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov word [esi + 0x84], bx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret