joyce8/EMBER2024-capa huggingface dataset:
Function at 0x75dd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x75dd58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0x75dd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x75dd94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x75dd94
push eax
push esi
call fcn.0076020b
add esp, 8
pop esi
ret 0x10

Function at 0x75dda0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75de22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x75de15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x776320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0075fdff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0x75ddda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0x75de30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x75dec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x75deb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x776320
push ecx
mov dword [esp + 0x1c], 4
call fcn.0075fdff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0x75deab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x75de6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0x75e000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x75e131
push esi
call fcn.00761145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00750080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x75e131
push 0
push ebp
call fcn.007503a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00750260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x75e08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.007502f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x75e121
push 0x776918
push edi
call fcn.0075f3f0
push eax
push ebx
push esi
call fcn.0075df60
push 0x7768f8
push edi
call fcn.0075f3f0
push eax
push ebx
push esi
call fcn.0075df60
push 0x7768d8
push edi
call fcn.0075f3f0
push eax
push ebx
push esi
call fcn.0075df60
push 0x7768c0
push edi
call fcn.0075f3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0075df60
push 0x7768a0
push edi
call fcn.0075f3f0
push eax
push ebx
push esi
call fcn.0075df60
push 0x776888
push edi
call fcn.0075f3f0
push eax
push ebx
push esi
call fcn.0075df60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x75f1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0075f140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0075f140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0075f140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0075f140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x75fbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x75fc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x77187c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x75fc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x75fc52
xor eax, eax
pop esi
leave
ret 4
Function at 0xd5675c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xd56766
pushal
call 0xd5676c
pop ebp
sub ebp, 0x10
sub ebp, 0x95675c
jmp 0xd56782
mov eax, 0x95675c
add eax, ebp
add eax, 0x4c
mov ecx, 0x579
mov edx, 0xe25ce25d
xor byte [eax], dl
inc eax
dec ecx
jne 0xd56799
jmp 0xd567ac
salc
nop
salc
aam 0x61
pop ebp
pop ebp
pop ebp
fcomp qword [ebp + 0x5e5d5d5d]
nop
in eax, 0x59
pop ebp
pop ebp
pop ebp
out 0x75, eax
pop ebp
pop ebp
pop ebp
stosb byte es:[edi], al
mov edi, 0xdcd6955e
push ecx
pop ebp
pop ebp
pop ebp
pop esi
cwde
or eax, 0x1509350d
inc edx
pop ebp
xor eax, 0x5d2b4258
pop esp
jno 0xd5685a
xor eax, 0x58ef050
mov ch, 0x58
pop ebp
pop ebp
pop ebp
mov ah, 0x77
pop ebp
pop ebp
pop ebp
or al, dl
xor dword [ecx + 0x5d], edi
salc
fcom dword [ebp + 0x5d]
pop ebp
pop ebp
salc
enter 0x5d51, 0x5d
pop ebp
salc
ror byte [ebp + 0x5d], 1
pop ebp
pop ebp
pushfd
mov ah, 0x5f
insb byte es:[edi], dx
pop edi
ficomp word [edi - 0x27adeba7]
test eax, 0xa2a2a2
lahf
push ecx
pop ebp
salc
sar dword [ecx + 0x59], 1
pop ebp
pop ebp
pop ebp
xor eax, 0x5d421509
xor eax, 0x5d2b4258
pop esp
jno 0xd568a7
or al, 0xb5
pop eax
pop ebp
pop ebp
pop ebp
mov ah, 0x62
pop edi
pop ebp
pop ebp
or byte [ecx], cl
add byte [edx + 0x28a25128], ah
push ebp
mov ch, 0x2f
das
pop ebp
pop ebp
pop ebp
salc
loopne 0xd5689f
pop ebp
pop ebp
pop ebp
fsubr qword [esi + eax - 0x23c80df2]
lodsb al, byte [esi]
push es
push cs
aaa
outsb dx, byte [esi]
xchg esp, eax
outsb dx, byte [esi]
invalid
loopne 0xd56843
mov byte [0x640974a2], al
pop edi
ficomp word [ebx + ebx*2 - 0x21a64822]
mov ch, 0x58
mov ah, 0xf6
mov byte [0x9f00a2a2], al
push ecx
pop ebp
or dh, dl
mov cl, 0xb
or cl, byte [eax]
salc
sub byte [ecx - 0x2a], dl
and byte [ebp - 0x5f], dl
out dx, eax
fst st(7)
pop ebx
fcomp qword [ebx + 0x5d5d5d5c]
aad 0x5a
fcomp qword [edx + 0x5d5d5d5c]
out 0x5f, al
pop ebp
pop ebp
pop ebp
pop edi
invalid
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x34d453f9
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x34056b2f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10004b42
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, 0x1019f740
xor edi, edi
push 1
push ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.100a1760
mov esi, 0x1019f770
cmp dword [esi - 8], 0
je 0x10004b7a
push esi
push dword [ebp + 8]
call fcn.1007eb9e
pop ecx
test eax, eax
pop ecx
je 0x10004b8b
add esi, 0x418
inc edi
cmp esi, 0x101a9b30
jb 0x10004b65
jmp 0x10004bb7
mov esi, edi
mov eax, dword [ebp + 0x10]
imul esi, esi, 0x418
dec eax
push eax
lea eax, [esi + 0x1019f978]
push eax
push dword [ebp + 0xc]
call fcn.1007e246
add esp, 0xc
inc dword [esi + 0x1019f76c]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.100a17c0
xor esi, esi
cmp dword [ebp - 4], esi
je 0x10004bf6
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10004bf6
push 1
push ebx
lea ecx, [ebp - 0x10]
call fcn.100a1760
imul edi, edi, 0x418
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
mov dword [edi + 0x1019f768], esi
call fcn.100a17c0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100059b6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
mov esi, 0x10160b28
push edi
push esi
call fcn.1007e283
mov edi, dword [ebp + 8]
push eax
push esi
push edi
call fcn.1007e952
add esp, 0x10
test eax, eax
je 0x10005a11
push esi
call fcn.1007e283
push eax
push 0x10160b08
push edi
call fcn.1007e952
add esp, 0x10
test eax, eax
je 0x10005a11
push esi
call fcn.1007e283
push eax
push 0x10160ae8
push edi
call fcn.1007e952
add esp, 0x10
test eax, eax
jne 0x10005a25
lea eax, [edi + 8]
push eax
push 0x10160ad8
push dword [ebp + 0xc]
call fcn.1007e911
add esp, 0xc
push 4
mov ebx, edi
pop esi
push esi
push 0x10160acc
push edi
call fcn.1007e952
add esp, 0xc
test eax, eax
je 0x10005a63
push esi
push 0x10160a78
push edi
call fcn.1007e952
add esp, 0xc
test eax, eax
je 0x10005a63
push esi
push 0x10160a84
push edi
call fcn.1007e952
add esp, 0xc
test eax, eax
jne 0x10005a66
lea ebx, [edi + 8]
push ebx
call fcn.1007e283
cmp eax, esi
pop ecx
jb 0x10005b1a
cmp word [ebx + 2], 0x3a
jne 0x10005b1a
cmp word [ebx + 4], 0x5c
lea eax, [ebx + 4]
mov dword [ebp - 4], eax
jne 0x10005b1a
mov esi, 0x10160ac4
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebx]
push eax
call fcn.1007e7d6
mov word [ebp - 0x10], ax
pop ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x10005b1a
and word [ebp - 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x104
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x10005b1a
push dword [ebp - 4]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp + 0x10]
dec eax
push 0x10160ab8
push eax
push dword [ebp + 0xc]
call fcn.1007e75e
add esp, 0x14
jmp 0x10005b2b
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
push dword [ebp + 0xc]
call fcn.1007e246
add esp, 0xc
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000c4b3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov ebx, 0x1000c34a
mov esi, dword [eax]
mov eax, dword [esi + 0xc]
add esi, 0xc
cmp eax, ebx
push edi
je 0x1000c4ff
cmp dword [0x101aa5b4], 0
jne 0x1000c4ff
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
and dword [ebp - 4], 0
mov dword [0x101aa5b4], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push esi
call edi
push 0
mov dword [esi], ebx
push dword [ebp - 4]
push 4
push esi
call edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp + 8], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push edi
call fcn.1005e85a
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
je 0x1000c56d
push dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
mov ebx, dword [esi + 0xc]
mov dword [esi + 0x1c], ecx
push dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x24], eax
mov dword [esi + 0xc], ebx
jmp 0x1000c5a6
mov edi, dword [esi + 0x18]
test edi, edi
je 0x1000c5a6
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [esi + 0xa], 0x80
mov dword [esi + 0x10], eax
je 0x1000c5a6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x100133ba
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
cmp dword [0x101b04b8], edi
je 0x100133de
push str.SetHookVIFileOpTable_called_
push str.IFileOperation
push 4
call fcn.1007bb15
add esp, 0xc
mov eax, dword [ebp + 8]
mov esi, dword [eax]
add esi, 0x14
cmp esi, edi
jne 0x100133ee
xor eax, eax
jmp 0x10013428
mov eax, dword [esi]
push ebx
cmp eax, edi
mov dword [ebp - 4], edi
je 0x10013424
mov ebx, 0x10013367
cmp eax, ebx
je 0x10013424
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
push eax
push 0x40
mov dword [ebp + 8], edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push esi
call edi
push 0
mov dword [esi], ebx
push dword [ebp + 8]
push 4
push esi
call edi
mov eax, dword [ebp - 4]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10013543
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x10134940
call fcn.1007db34
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov eax, dword [esi + 0x20]
mov ebx, dword [esi + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call fcn.1005e85a
mov eax, dword [ebp - 0x10]
add esp, 0x10
cmp eax, edi
mov edi, dword [ebp + 0x10]
je 0x100135c8
push dword [ebp + 0x18]
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x14]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x18]
mov dword [esi + 0x20], eax
push edi
mov dword [esi + 0x24], ecx
push dword [ebp + 0xc]
push esi
call eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
jmp 0x100135ff
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x100135ff
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
push dword [ebp + 0xc]
call ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [esi + 0xa], 0x80
mov dword [esi + 0x10], eax
je 0x100135ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov ebx, 0x1019f4bc
lea ecx, [ebp + 8]
push ebx
call fcn.10094520
and dword [ebp - 4], 0
test edi, edi
je 0x100136d8
push str.TSD_VOLUME_
push dword [edi + 8]
call fcn.1009eb50
pop ecx
test eax, eax
pop ecx
je 0x10013664
push ebx
lea ecx, [ebp + 0x18]
call fcn.10094520
push dword [edi + 8]
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 1
push 0x10160ad8
push eax
call fcn.10097c40
push dword [ebp + 0x18]
push dword [edi + 8]
call fcn.1007e6d0
and byte [ebp - 4], 0
add esp, 0x14
lea ecx, [ebp + 0x18]
call fcn.10094cc0
push str.TSD_VOLUME_
push dword [edi + 0xc]
call fcn.1009eb50
pop ecx
test eax, eax
pop ecx
je 0x100136af
push ebx
lea ecx, [ebp + 0x18]
call fcn.10094520
push dword [edi + 0xc]
lea eax, [ebp + 0x18]
mov byte [ebp - 4], 2
push 0x10160ad8
push eax
call fcn.10097c40
push dword [ebp + 0x18]
push dword [edi + 0xc]
call fcn.1007e6d0
and byte [ebp - 4], 0
add esp, 0x14
lea ecx, [ebp + 0x18]
call fcn.10094cc0
push dword [edi + 0x18]
lea eax, [ebp + 8]
push dword [edi + 0x14]
push dword [edi + 0x10]
push dword [edi + 0xc]
push dword [edi + 8]
push str.Buffer1__s__Buffer2__s__d__d__d_r_n
push eax
call fcn.10097c40
add esp, 0x1c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, dword [esi + 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10094cc0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x10015bc9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x10134ab7
call fcn.1007db34
push ecx
mov eax, dword [0x101421f0]
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x20]
mov dword [ecx], eax
mov edx, dword [0x101421f0]
lea ebx, [esi + 0x24]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebx], edx
mov edx, dword [0x101421f0]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x40], eax
mov edi, 0x1019f4bc
mov byte [ebp - 4], 4
push edi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
call fcn.10094f40
push edi
mov ecx, ebx
call fcn.10094f40
push edi
lea ecx, [esi + 0x28]
call fcn.10094f40
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10021bcf
Capabilities:
Delete file

Disassembly:
mov eax, 0x101352d0
call fcn.1007db34
sub esp, 0x430
push ebx
push esi
push edi
push 4
lea ecx, [ebp - 0x2c]
call fcn.1005eb25
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.10094520
mov edx, 0x81
xor eax, eax
mov ecx, edx
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
mov word [ebp - 0x43c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
rep stosd dword es:[edi], eax
push ebx
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
stosw word es:[edi], ax
call fcn.10069877
add esp, 0xc
cmp eax, 4
jne 0x10021c91
mov eax, 0x104
lea ecx, [ebp - 0x43c]
push eax
push ecx
push eax
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.10056fa5
add esp, 0x14
test eax, eax
je 0x10021c91
lea eax, [ebp - 0x234]
push 0xffffffffffffffff
push eax
push esi
call fcn.10064e1d
add esp, 0xc
test eax, eax
je 0x10021c91
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x10]
push eax
call fcn.10094f40
mov dword [ebp - 0x18], 1
mov esi, dword [ebp + 8]
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push edi
call fcn.1005e85a
mov eax, dword [ebp + 0xc]
add esp, 0x10
cmp eax, ebx
je 0x10021d00
push dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
push dword [ebp - 0x10]
mov dword [esi + 0x24], ecx
push esi
call eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xc], eax
jmp 0x10021d36
mov edi, dword [esi + 0x18]
cmp edi, ebx
je 0x10021d36
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [esi + 0xa], 0x80
mov dword [esi + 0x10], eax
je 0x10021d36
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [ebp - 0x18], ebx
je 0x10021d48
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.10094cc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1005eb48
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10