joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448320
Capabilities:
Enumerate files on windows

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 4]
lea ecx, [esp + 4]
push 0x45fc10
push ecx
mov dword [esp + 0xc], eax
call fcn.0043b222
nop
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x4483cb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4483cb
test esi, esi
je 0x448385
cmp esi, 0xffffffff
je 0x448385
push esi
call dword [sym.imp.KERNEL32.dll_FindClose_1]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x448411
mov eax, dword [esp + 0x160]
test eax, eax
je 0x4483b4
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x4483cb
jmp 0x4483c3
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x4483cb
mov dword [esp + 0x10], 1
test esi, esi
je 0x448411
cmp esi, 0xffffffff
je 0x448411
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x448448
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x44841e
call edi
test eax, eax
je 0x448411
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x448448
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x4483f9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x448411
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x448448
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x44842b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00448140
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
Function at 0x448d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x448d91
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x448deb
inc edi
cmp edi, esi
jl 0x448d85
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x448e20
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x448dda
cmp byte [eax], bl
je 0x448df5
cmp byte [eax + 1], bl
je 0x448dfe
cmp byte [eax + 2], bl
je 0x448e08
cmp byte [eax + 3], bl
je 0x448e14
add eax, 4
cmp eax, edi
jb 0x448db1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x4492c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x11c]
lea eax, [esp + 0x18]
mov ebx, edi
xor esi, esi
xor ecx, ecx
sub ebx, eax
mov eax, ecx
lea ebp, [esp + ecx + 0x18]
cdq
idiv dword [esp + 0x124]
mov eax, dword [esp + 0x120]
mov byte [ebx + ebp], cl
inc ecx
cmp ecx, 0x100
mov dl, byte [edx + eax]
mov byte [ebp], dl
jl 0x4492f2
lea ebp, [esp + 0x18]
mov eax, edi
sub ebp, edi
mov dword [esp + 0x10], 0x100
mov cl, byte [eax]
xor edx, edx
mov dl, byte [eax + ebp]
mov byte [esp + 0x14], cl
mov ebx, dword [esp + 0x14]
add esi, edx
and ebx, 0xff
add esi, ebx
and esi, 0x800000ff
jns 0x449352
dec esi
or esi, 0xffffff00
inc esi
mov dl, byte [esi + edi]
mov byte [eax], dl
mov byte [esi + edi], cl
mov ecx, dword [esp + 0x10]
inc eax
dec ecx
mov dword [esp + 0x10], ecx
jne 0x449329
xor al, al
mov byte [edi + 0x100], al
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret
Function at 0x449400
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x14]
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
xor esi, esi
mov byte [esp + 0x18], cl
test edi, edi
mov byte [esp + 8], dl
jle 0x44949c
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov cl, byte [esp + 0x20]
mov bl, byte [esp + 0x10]
inc cl
mov byte [esp + 0x20], cl
mov ecx, dword [esp + 0x20]
and ecx, 0xff
lea edi, [ecx + eax]
mov cl, byte [ecx + eax]
add bl, cl
mov byte [esp + 0x10], bl
mov ebx, dword [esp + 0x10]
and ebx, 0xff
lea ebp, [ebx + eax]
mov bl, byte [ebx + eax]
mov byte [edi], bl
mov byte [ebp], cl
mov bl, byte [edi]
add bl, cl
and ebx, 0xff
mov cl, byte [ebx + eax]
mov bl, byte [esi + edx]
xor bl, cl
mov ecx, dword [esp + 0x1c]
mov byte [esi + edx], bl
inc esi
cmp esi, ecx
jl 0x44942b
mov dl, byte [esp + 0x20]
mov cl, byte [esp + 0x10]
pop ebp
pop ebx
pop edi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop esi
pop ecx
ret
pop edi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop esi
pop ecx
ret

Function at 0x451161
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4511a3
call fcn.0045572f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4511a3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x45119a
xor eax, eax
jmp 0x4511ab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004511b1
pop edi
pop esi
pop ebx
ret 4
Function at 0x452282
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x459214
call fcn.0043c5e8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.0045572f
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4522c1
call fcn.0045572f
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4522cf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4522dd
or eax, 0xffffffff
jmp 0x4523c5
mov ecx, esi
call fcn.004521f8
mov dword [ebp - 0x14], eax
call fcn.0044f7a4
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x452314
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x452314
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0044f758
push dword [ebp - 0x14]
call fcn.0044f28a
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00451f90
cmp eax, edi
je 0x452387
test byte [esi + 0x24], 0x10
je 0x452355
push 4
mov ecx, esi
pop ebx
call fcn.0044eade
test ah, 1
je 0x45234d
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004512b3
cmp dword [esi + 0x1c], edi
je 0x452387
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0044ebc4
jmp 0x452387
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x45239b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4523b4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4523b4
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00452232
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4552a6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4552d4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4552f2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045520c
jmp 0x4552f2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4552f2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045520c
test edi, edi
mov eax, edi
jne 0x4552dc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40fc80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43059b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x43f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x400000
mov dword [0x440fe0], 0x438c08
mov dword [0x440fe8], 0x438d64
push 0
mov dword [ebp - 0x14], 0x440fe0
mov dword [0x440ffc], 1
mov dword [0x440ff8], 0x100
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
test ecx, ecx
je 0x40ff2e
lea eax, [ecx + 0x400000]
mov dword [0x440ff4], ecx
mov dword [0x440ff0], eax
mov edx, 0x1555
mov eax, dword [0x440ff8]
mov dword [0x440fec], ecx
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x440ff8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x440ff8]
add ecx, eax
add eax, ecx
mov dword [ecx], eax
mov eax, dword [0x440ff8]
add ecx, eax
sub edx, 1
jne 0x40fd14
mov dword [ecx], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0x441000
mov dword [ebp - 0x18], 0x441000
mov dword [ebp - 0x1c], 0x441000
mov dword [0x441000], 0x437ce8
mov dword [0x441004], edx
mov dword [0x441008], edx
mov byte [ebp - 4], 1
mov dword [0x441000], 0x437c84
mov dword [0x44100c], edx
mov dword [0x441014], edx
mov dword [0x441010], edx
mov dword [0x441018], 0x40
mov byte [ebp - 4], 2
mov dword [0x441018], 0x80
mov byte [ebp - 4], 5
mov dword [0x44101c], edx
mov byte [ebp - 4], 6
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x441030
mov dword [ebp - 0x20], 0x441030
call esi
mov byte [ebp - 4], 7
mov dword [0x441048], 0
mov byte [ebp - 4], 8
push 0x441054
mov dword [ebp - 0x24], 0x441054
call esi
mov byte [ebp - 4], 9
mov dword [0x44106c], 0x3e8
mov dword [ebp - 0x28], 0x441080
mov dword [ebp - 0x2c], 0x441080
mov dword [0x441080], 0x437ce8
mov dword [0x441084], 0
mov dword [0x441088], 0
mov byte [ebp - 4], 0xa
mov dword [0x441080], 0x437c84
mov dword [0x44108c], 0
mov dword [0x441094], 0
mov dword [0x441090], 0
mov dword [0x441098], 0x40
mov byte [ebp - 4], 0xb
mov dword [0x441098], 0x80
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x3c]
mov dword [0x441074], 0x3e80
mov dword [0x441078], 1
mov dword [0x44107c], 0
lea eax, [eax*2 + 2]
mov dword [0x441070], eax
mov byte [ebp - 4], 0xe
push 0x44109c
call esi
mov byte [ebp - 4], 0xf
push ecx
mov ecx, 0x4410b4
call fcn.0040ecd0
mov byte [ebp - 4], 0x10
mov dword [0x441020], 0
mov dword [0x4410dc], 0
movsd xmm0, qword [0x439418]
movsd qword [0x441028], xmm0
xorps xmm0, xmm0
mov dword [0x4410e0], 0
mov dword [0x4410e4], 0
mov dword [0x4410e8], 0
mov dword [0x441024], 0
movq qword [0x44104c], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, 0x440fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.0041ec94
int3
Function at 0x410a80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x14], 0
test ebx, ebx
jne 0x410a9f
pop esi
lea eax, [ebx + 1]
pop ebx
pop ebp
ret 0xc
mov eax, dword [ecx]
push edi
xor edi, edi
call dword [eax]
push dword [ebp + 0x10]
mov ecx, eax
movzx eax, bx
push eax
push ecx
mov dword [ebp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x410b75
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x410b75
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x410b6c
push dword [ebp + 8]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [esi + 0x14], 0
cmp dword [esi + 0x10], edi
jl 0x410b50
cmp edi, 1
jne 0x410b15
mov eax, dword [esi + 0xc]
mov cl, byte [ebx]
mov byte [eax], cl
inc dword [esi + 0x14]
jmp 0x410b67
cmp edi, 2
jne 0x410b28
mov eax, dword [esi + 0xc]
movzx ecx, word [ebx]
mov word [eax], cx
add dword [esi + 0x14], edi
jmp 0x410b67
cmp edi, 4
jne 0x410b39
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov dword [eax], ecx
add dword [esi + 0x14], edi
jmp 0x410b67
cmp edi, 8
jne 0x410b50
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x14], edi
jmp 0x410b67
test edi, edi
jle 0x410b67
push edi
mov ecx, esi
call fcn.004129f0
push edi
push ebx
push eax
call fcn.0041e330
add esp, 0xc
mov edi, 1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x411ad0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4308a5
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x43f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x411c8e
cmp word [esi], 0
je 0x411c8e
lea ecx, [ebp - 0x38]
call fcn.00404070
mov dword [ebp - 4], 0
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0x411c67
cmp word [esi + 2], 0
je 0x411b78
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411b34
sub ecx, edi
mov eax, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
jne 0x411b78
cmp word [esi + ecx*2 - 4], 0x3a
je 0x411b78
lea eax, [ecx - 1]
push eax
push esi
lea ecx, [ebp - 0x38]
call fcn.00413ec0
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x411b75
cmp dword [ebp - 0x14], esi
je 0x411c67
mov esi, dword [ebp - 0x1c]
movzx eax, word [esi]
movzx eax, ax
test ax, ax
je 0x411c67
cmp eax, 0x5c
jne 0x411b94
cmp word [esi + 2], 0
je 0x411c67
cmp word [esi + 2], 0x3a
jne 0x411bb8
movzx eax, word [esi + 4]
test ax, ax
je 0x411c67
cmp eax, 0x5c
jne 0x411bb8
cmp word [esi + 6], 0
je 0x411c67
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push esi
call edi
test eax, eax
jne 0x411c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x411c67
cmp eax, 3
jne 0x411c63
push 0x5c
push esi
call fcn.0041c4de
mov edx, eax
add esp, 8
test edx, edx
je 0x411c63
cmp word [edx + 2], 0
jne 0x411c15
sub edx, 2
cmp edx, esi
jb 0x411c63
cmp word [edx], 0x5c
je 0x411c15
sub edx, 2
cmp edx, esi
jae 0x411c04
xor esi, esi
jmp 0x411c6c
lea ecx, [ebp - 0x64]
call fcn.00404070
mov byte [ebp - 4], 1
sub edx, esi
sar edx, 1
lea ecx, [ebp - 0x64]
push edx
push esi
call fcn.00413ec0
lea ecx, [ebp - 0x64]
call fcn.00402b40
mov ecx, eax
call fcn.00411ad0
test eax, eax
je 0x411c57
push 0
push esi
call edi
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004034e0
jmp 0x411c6c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.004034e0
xor esi, esi
jmp 0x411c6c
mov esi, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004034e0
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
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411cb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4308ed
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push esi
mov eax, dword [0x43f00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test ecx, ecx
je 0x411e42
cmp word [ecx], 0
je 0x411e42
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x7c], 0x44
test eax, eax
js 0x411d29
or dword [ebp - 0x50], 1
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x38], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x38], vtable.CVolObject.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x38]
call fcn.00412ae0
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
cmp dword [ebp - 0x24], ecx
cmove eax, ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x411daf
xor esi, esi
jmp 0x411dd2
push 0x1f4
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x38], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x411e0d
mov eax, dword [ebp - 0x38]
push ecx
mov eax, dword [eax + 0xc]
cmp eax, method.CWConstString.virtual_12
jne 0x411e08
mov ecx, 0x440fe8
call fcn.00413580
jmp 0x411e0d
lea ecx, [ebp - 0x38]
call eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x38], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411e60
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430920
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x411fc8
cmp word [esi], 0
je 0x411fc8
lea ecx, [ebp - 0x244]
call fcn.00404070
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x411ed7
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x411f10
test ax, ax
je 0x411f42
cmp word [esi + 2], 0x3a
jne 0x411f42
cmp word [esi + 4], 0x5c
jne 0x411f42
push 0x5c
push esi
call fcn.0041c4de
add esp, 8
test eax, eax
je 0x411f42
cmp eax, esi
jbe 0x411f2e
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.00413ec0
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x411f5e
cmp dword [ebp - 0x220], edi
je 0x411fa9
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x411fa9
cmp word [edi], 0
je 0x411fa9
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x411fa9
cmp word [edi], 0
je 0x411f87
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x411fb2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x411fb2
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.004034e0
mov eax, esi
jmp 0x411fca
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b34b
mov esp, ebp
pop ebp
ret
Function at 0x426ac2
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434d48
push 0x434d40
push 0x432e48
push 0x1e
call fcn.00426983
mov esi, eax
add esp, 0x10
test esi, esi
je 0x426af6
push dword [ebp + 8]
mov ecx, esi
call dword [0x432280]
call esi
jmp 0x426afc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x426b40
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x434d58
push 0x434d50
push 0x432e6c
push 0x20
call fcn.00426983
mov esi, eax
add esp, 0x10
test esi, esi
je 0x426b77
push dword [ebp + 8]
mov ecx, esi
call dword [0x432280]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x427108
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x43f00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x427153
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004272a7
test al, al
jne 0x42714d
sub edx, 2
cmp edx, edi
jne 0x427133
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x427175
lea eax, [edi + 2]
cmp edx, eax
je 0x427175
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00427054
add esp, 0x10
jmp 0x42726f
push esi
lea ecx, [ebp - 0x255]
call fcn.004272a7
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4271b8
push dword [ebp - 0x25c]
jmp 0x427165
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4271f5
cmp word [ebp - 0x226], 0
je 0x427216
cmp word [ebp - 0x226], ax
jne 0x4271f5
cmp word [ebp - 0x224], 0
je 0x427216
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00427054
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x427262
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4271cf
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42724a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42726f
push 0x426db5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0041fe50
add esp, 0x10
jmp 0x42723f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b34b
leave
ret