joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102e6f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov eax, 1
mov ecx, edx
shl eax, cl
mov ecx, eax
sar ecx, 1
or ecx, eax
mov dword [esp + 8], ecx
xor ecx, ecx
mov dword [esp + 4], ecx
cmp dword [ebp + 0x14], ecx
jbe 0x102e70f4
push ebx
push esi
push edi
jmp 0x102e6f70
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [ebp + 0x10], ebx
jbe 0x102e70e1
nop
lea eax, [ecx + 4]
mov edi, ecx
cmp ecx, eax
jae 0x102e70d3
lea ecx, [ecx]
mov ecx, dword [ebp + 0x14]
cmp edi, ecx
jae 0x102e70cf
dec eax
cmp edi, eax
je 0x102e6fab
lea eax, [ecx - 1]
cmp edi, eax
je 0x102e6fab
xor edx, edx
jmp 0x102e6fb0
mov edx, 1
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
imul ecx, edi
inc edi
add ecx, ebx
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x20]
imul ecx, edi
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 2
add ecx, ebx
movsx esi, word [eax + ecx*2]
lea ebx, [eax + ecx*2]
mov ecx, dword [ebp]
test edx, edx
je 0x102e6fe5
and esi, 0xfffffbb9
mov edx, esi
and edx, 0xff
je 0x102e70ba
test esi, 0x5000
jne 0x102e70ba
mov eax, dword [esp + 0x28]
shl eax, 8
or eax, edx
movzx eax, byte [eax + 0x105599b8]
add eax, 6
lea eax, [ecx + eax*4]
mov dword [ecx + 0x64], eax
call fcn.102e8610
test eax, eax
je 0x102e70b2
shr esi, 4
and esi, 0xff
movzx eax, byte [esi + 0x105594a8]
add eax, 6
lea eax, [ecx + eax*4]
mov dword [ecx + 0x64], eax
call fcn.102e8610
movzx ecx, byte [esi + 0x105595a8]
mov esi, eax
xor esi, ecx
mov ecx, dword [esp + 0x14]
je 0x102e7056
neg ecx
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, ebx
mov eax, dword [ebp + 0x20]
add eax, eax
sub ecx, eax
lea edx, [eax + ebx]
movzx eax, word [esi*2 + 0x105597a8]
or word [ecx], ax
or word [ecx - 2], 2
or word [ecx + 2], 4
movzx eax, word [esi*2 + 0x105597ac]
or word [ebx - 2], ax
mov eax, 0x1000
or word [ebx], ax
movzx eax, word [esi*2 + 0x105597b0]
or word [ebx + 2], ax
movzx eax, word [esi*2 + 0x105597b4]
or word [edx - 2], 1
or word [edx], ax
or word [edx + 2], 8
mov eax, 0x4000
or word [ebx], ax
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 4]
cmp edi, eax
jb 0x102e6f90
jmp 0x102e70d3
mov ecx, dword [esp + 0x10]
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [ebp + 0x10]
jb 0x102e6f80
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebp + 0x14]
jb 0x102e6f70
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x14
ret
Function at 0x102eb130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1035b4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], cx
mov dword [esp + 0x30], 1
lea ecx, [esp + 0xc]
cmp ecx, eax
je 0x102eb1a9
push 0xffffffffffffffff
push 0
push eax
call fcn.100cd9d0
push esi
lea ecx, [esp + 0x10]
call fcn.102f8ee0
mov bl, al
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x102eb1d1
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.1033d458
add esp, 0x28
ret 8

Function at 0x102eb3a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1035b501
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.102f76b0
mov dword [esp + 0x18], 0
xor eax, eax
mov dword [esi + 0x24], 7
mov dword [esi + 0x20], 0
mov word [esi + 0x10], ax
mov byte [esp + 0x18], 1
lea eax, [esi + 0x30]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0xc], eax
mov word [eax], cx
mov byte [esp + 0x18], 2
mov dword [eax + 0x2c], 7
mov dword [eax + 0x28], ecx
mov word [eax + 0x18], cx
mov byte [esp + 0x18], 3
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov byte [eax + 0x44], cl
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x102ebb00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0xc
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 8], eax
mov edx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov edi, ecx
test edi, edi
je 0x102ebb74
test edx, edx
je 0x102ebb74
test ebx, ebx
je 0x102ebb74
xor eax, eax
mov dword [esp + 0xc], 0x207
mov word [edi], ax
mov ecx, 0x80000002
lea eax, [esp + 0xc]
push eax
push edi
push str.Path
call fcn.102eb940
add esp, 0xc
test al, al
je 0x102ebb6f
push 0x10368480
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x102ebb74
xor eax, eax
mov word [edi], ax
mov ecx, dword [esp + 0x10]
pop edi
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0xc
ret
Function at 0x102ebbf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x124], eax
push esi
push 0x110
lea eax, [esp + 0x14]
mov esi, ecx
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0x114
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x102ebc80
cmp dword [esp + 0x10], 6
jb 0x102ebc80
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, 0x80000001
call fcn.102eb940
add esp, 0xc
test al, al
je 0x102ebc80
cmp word [esi], 0
je 0x102ebc80
mov al, 1
pop esi
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.1033d458
add esp, 0x128
ret
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, 0x80000000
call fcn.102eb940
add esp, 0xc
test al, al
je 0x102ebcac
cmp word [esi], 0
jne 0x102ebc68
lea eax, [esp + 4]
mov dword [esp + 4], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, 0x80000001
call fcn.102eb940
add esp, 0xc
test al, al
je 0x102ebcd8
cmp word [esi], 0
jne 0x102ebc68
mov ecx, dword [esp + 0x128]
xor al, al
pop esi
xor ecx, esp
call fcn.1033d458
add esp, 0x128
ret
Function at 0x102ec030
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x1035b67b
mov eax, dword fs:[0]
push eax
mov eax, 0x264c
call fcn.1033e170
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x2648], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x2660]
mov dword fs:[0], eax
mov esi, ecx
push 0x1ffe
xor ebx, ebx
lea eax, [esp + 0x662]
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, 0x22
mov word [esp + 0x65c], ax
test esi, esi
je 0x102ec27b
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x102ec27b
push esi
call edi
cmp eax, 0xffa
jge 0x102ec27b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x660]
push eax
call esi
push 0x103684f8
lea eax, [esp + 0x660]
push eax
call esi
push str.Shell32.dll
lea ecx, [esp + 0x20]
call fcn.100cd5c0
mov dword [esp + 0x2668], ebx
lea eax, [esp + 0x1c]
push eax
call fcn.1016c770
mov ecx, eax
call fcn.1016c7f0
mov esi, eax
mov dword [esp + 0x2668], 0xffffffff
cmp dword [esp + 0x30], 8
jb 0x102ec125
push dword [esp + 0x1c]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
test esi, esi
je 0x102ec27b
push 0x10584d0c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
je 0x102ec27b
lea ecx, [esp + 0x34]
call fcn.102ebcf0
xor edi, edi
lea esi, [esp + 0x34]
lea esp, [esp]
cmp word [esi], 0
je 0x102ec191
push 1
push 0
lea eax, [esp + 0x664]
push eax
push esi
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x102ec19f
inc edi
add esi, 0x210
cmp edi, 2
jl 0x102ec170
jmp 0x102ec1c1
imul ebx, edi, 0x210
cmp dword [esp + ebx + 0x23c], 0
mov ebx, dword [esp + ebx + 0x240]
jne 0x102ec1b9
add ebx, 0x10
test ebx, ebx
jne 0x102ec277
push 1
push 0
push 0
lea eax, [esp + 0x668]
push eax
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x102ec272
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor esi, esi
mov dword [esp + 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
mov dword [esp + 0x18], str._programfiles_Internet_Exploreriexplore.exe
lea esp, [esp]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x45c], ax
lea eax, [esp + 0x45e]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x454]
push 0x103
push eax
push dword [esp + esi*4 + 0x1c]
call edi
lea eax, [esp + 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x102ec268
push 1
push 0
lea eax, [esp + 0x664]
push eax
lea eax, [esp + 0x460]
push eax
push str.open
push 0
call ebp
cmp eax, 0x20
ja 0x102ec272
inc esi
cmp esi, 2
jb 0x102ec200
mov eax, ebx
jmp 0x102ec27d
mov ebx, 0x10
mov eax, ebx
jmp 0x102ec27d
xor eax, eax
mov ecx, dword [esp + 0x2660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2648]
xor ecx, esp
call fcn.1033d458
add esp, 0x2658
ret
Function at 0x102ed7a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1035bae0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x54]
mov eax, dword [edi]
add eax, 0xa0
push dword [esi + 0x24]
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 0x10584d58
push eax
call fcn.1014db00
add esp, 0x18
lea ecx, [esp + 0xc]
push esi
call fcn.102ed8c0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x38]
mov esi, dword [edi]
or dword [esp + 0x34], 0x80
add esi, 0x168
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
cmp esi, eax
je 0x102ed835
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100cd9d0
mov eax, dword [esp + 0x24]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x2c], eax
mov dword [esp + 0x4c], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x102ed87b
push dword [esp + 0xc]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1033d458
add esp, 0x44
ret 4

Function at 0x102ee830
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x102ee8c7
cmp dword [esp + 8], 6
jb 0x102ee8c7
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.1033d458
add esp, 0x118
ret
Function at 0x102ee8e0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x1035bd0c
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x1c]
push str.wintrust.dll
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.100cdd90
mov dword [esp + 0x50], 0
mov eax, dword [0x105e87a0]
test al, 1
jne 0x102ee97f
or eax, 1
mov dword [0x105e87a0], eax
mov byte [esp + 0x50], 1
mov dword [0x105e879c], 0
call fcn.1016c620
push 0x10366040
call fcn.1033d620
add esp, 4
mov byte [esp + 0x50], 0
lea eax, [esp + 0x18]
mov ecx, 0x105e879c
push eax
call fcn.1016c7f0
mov edi, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x2c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x102ee9ae
push dword [esp + 0x18]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
push 0xb
mov dword [esp + 0x44], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x48], eax
push str.crypt32.dll
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
call fcn.100cdd90
mov dword [esp + 0x50], 2
mov eax, dword [0x105e87a0]
test al, 1
jne 0x102eea2d
or eax, 1
mov dword [0x105e87a0], eax
mov byte [esp + 0x50], 3
mov dword [0x105e879c], 0
call fcn.1016c620
push 0x10366040
call fcn.1033d620
add esp, 4
mov byte [esp + 0x50], 2
lea eax, [esp + 0x30]
mov ecx, 0x105e879c
push eax
call fcn.1016c7f0
mov ebp, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x44], 8
jb 0x102eea56
push dword [esp + 0x30]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
test edi, edi
je 0x102eeae9
test ebp, ebp
je 0x102eeae9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push ebp
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x102effc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1033f2ae
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.100cd9d0
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.100cd9d0
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov byte [edi + 0x64], al
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x102f12d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1035bf28
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x24]
mov edi, dword [esp + 0x54]
push esi
push eax
call fcn.102f19d0
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.101758b0
xorps xmm0, xmm0
lea eax, [esp + 0x14]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x20], 0
test eax, eax
jne 0x102f1369
xor bl, bl
jmp 0x102f1388
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x102f1381
cmp eax, 0x80
je 0x102f1381
xor bl, bl
jmp 0x102f1388
mov byte [esp + 0x18], 1
mov bl, 1
mov byte [esp + 0x20], bl
mov byte [esp + 0x48], 2
lea eax, [esp + 0x13]
push eax
push edi
push esi
mov byte [esp + 0x1f], 0
call fcn.102f1460
test al, al
jne 0x102f13bb
cmp byte [esp + 0x13], al
je 0x102f13bb
cmp dword [esi + 0x14], 8
jb 0x102f13b4
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x48], 1
test bl, bl
je 0x102f13d8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x102f13d3
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x102f13fc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x102f141f
push dword [esp + 0x24]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1033d458
add esp, 0x3c
ret 8
Function at 0x102f37e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x103516c8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x102f3828
mov eax, dword [ebx]
test eax, eax
je 0x102f3828
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x1c]
cmp eax, 0x7530
jb 0x102f38ab
push dword [ebx + 8]
lea esi, [ebx + 4]
push dword [esi]
call fcn.100d6550
mov eax, dword [esi]
lea edi, [ebx + 0x10]
mov dword [esi + 4], eax
push dword [edi + 4]
push dword [edi]
call fcn.100d6550
mov eax, dword [edi]
mov ecx, ebx
push esi
mov dword [edi + 4], eax
call fcn.102f38f0
push edi
push 0
push 0
mov ecx, ebx
call fcn.102f3b00
push edi
push 1
push 0
mov ecx, ebx
call fcn.102f3b00
push edi
push 0
push 1
mov ecx, ebx
call fcn.102f3b00
push edi
push 1
push 1
mov ecx, ebx
call fcn.102f3b00
push edi
call fcn.102f4850
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x1c], eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [ebx]
test eax, eax
je 0x102f38c0
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.1033d458
add esp, 0x14
ret
Function at 0x102f5480
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1035c61b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
push 0x18
mov byte [edi], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [edi + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esp + 0x1c], 0
lea esi, [edi + 8]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102f7260
mov dword [esi], eax
mov byte [esp + 0x1c], 3
lea esi, [edi + 0x10]
push 0
push 0
mov dword [esp + 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.102f7260
mov dword [esi], eax
mov byte [esp + 0x1c], 6
xor eax, eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x34], 7
mov dword [edi + 0x30], 0
mov word [edi + 0x20], ax
mov byte [esp + 0x1c], 7
lea ecx, [edi + 0x38]
call fcn.1019d610
mov byte [esp + 0x1c], 8
lea eax, [edi + 0xb0]
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov dword [esp + 0x10], eax
mov word [eax], cx
mov byte [esp + 0x1c], 9
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov byte [esp + 0x1c], 0xa
xor eax, eax
mov dword [edi + 0xf4], 7
mov dword [edi + 0xf0], ecx
mov word [edi + 0xe0], ax
mov dword [esp + 0x1c], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x102f5810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1035c731
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x105be7d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x28], 0
lea esi, [ebx + 4]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
test esi, esi
je 0x102f5873
mov eax, dword [esi]
test eax, eax
je 0x102f5873
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x28], 1
xor eax, eax
push 0xffffffffffffffff
mov dword [edi + 0x14], 7
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov word [edi], ax
lea eax, [ebx + 0xe0]
push eax
call fcn.100cd9d0
mov dword [esp + 0x10], 1
mov byte [esp + 0x28], 0
test esi, esi
je 0x102f58c5
mov eax, dword [esi]
test eax, eax
je 0x102f58bd
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esp + 0x18], 0
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.1033d458
add esp, 0x1c
ret 4