joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447187
Capabilities:
Encode data using xor

Disassembly:
ret
nop
xor dword [esp - 4], eax
mov eax, dword [esp + 4]
sub dword [esp - 4], eax
jne 0x4471a1
cld
add edx, 0x1b
cld
inc eax
xchg al, al
push dword [edx - 5]
pop edi
add ecx, ecx
not al
sbb ah, ch
not ah
cmp al, 0x5a
add edi, ebx
add al, 0x40
mov esi, dword [edx + 3]
dec eax
add ecx, ebx
mov ax, word [ecx + esi]
or ch, bl
mov ecx, ebp
cwde
push dword [edi + eax*4]
add dword [esp], ebx
pop esi
mov ch, dl
xchg dh, cl
mov eax, dword [esp]
mov edx, edi
add esp, 8
inc ch
jmp eax
push 0xffffffffffffffff
lea edx, [ebx + 6]
push dword [edx + 0x36]
lea esi, [edx - 6]
add dword [esp], ebx
pop ecx
add edx, dword [ecx + 0x78]
add esi, dword [edx + 0x1a]
pop ecx
lea edi, [ecx + esi*8]
inc edi
add ecx, 1
lodsd eax, dword [esi]
mov esi, esi
cmp dword [edx + 0x12], ecx
lea edi, [eax + ebx + 4]
je 0x44708c
mov esp, esp
xor ah, 0
xor eax, eax
imul eax, eax, 0xf
test ebp, 0x1203a99a
push eax
or ebp, 0
movzx eax, byte [edi - 4]
xor dh, 0
neg eax
mov eax, eax
lea edi, [edi - 0xe]
lea esi, [esi]
sub edi, 0xfffffff1
add dword [esp], eax
cld
nop
cld
pop eax
cmp byte [edi - 4], 0xa
nop
mov bl, bl
ja 0x4471bb
nop
cmp ah, dl
cld
mov eax, 0xd5668fbc
jmp 0x447109

Function at 0x44e39d
Capabilities:
Encode data using xor

Disassembly:
dec edx
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], esi
xchg esi, eax
push 0x20
sbb edx, 0x6e
mov edi, dword [esp + 0x4c]
push 8
xor ch, al
xchg cl, ah
push esp
call edi
call dword [esp + 0x50]
inc edx
dec byte [esp]
jne 0x44e013
xor ecx, eax
adc edi, ebx
nop
dec ecx
pop eax
push 1
call fcn.0044e377
pop dword [esi + 0x1c]
or edx, edx
lea edx, [ebx + 0x514d914f]
mov dword [esi + 0x14], 0xc
lea edi, [esi - 0x443e5818]
lea eax, [ebp + 0x16e]
not ecx
push eax
mov dword [esi + 0x18], esi
sub byte [esi + 2], 0xfc
inc edx
inc edi
mov dh, bh
push 4
push 3
dec edi
lea esi, [esi + 0x14]
push esi
cmp dl, 0xb3
add dword [ebp - 0xe4], ebp
call dword [0x69b2]
or dh, 0x1a
sub dword [ebp - 0xe4], ebp
and ch, 0
ret
push 0xeb3976b6
call fcn.0044e0c7
mov dword [ebp + 0x69b2], esi
sbb ch, dh
push 0x76b15972
inc esi
dec ecx
test ecx, eax
inc edi
test edx, ebp
call fcn.0044e0c7
jmp 0x44e000
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401450
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x401479
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x401499
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x3000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4014dd
mov ecx, dword [ebx + 0x50]
push 4
push 0x3000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x4014dd
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
nop
nop
nop
nop
nop
nop
nop
push 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x401523
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
nop
nop
nop
nop
nop
nop
nop
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0x401400
mov dword [esi + 0x18], 0x401420
mov dword [esi + 0x1c], 0x401440
mov dword [esi + 0x20], eax
mov edx, dword [ebx + 0x54]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp + 8]
push ecx
push edx
push eax
mov dword [ebp - 4], eax
call fcn.0040c770
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call section..text
add esp, 0x18
nop
nop
nop
nop
nop
nop
nop
mov eax, edi
sub eax, dword [ebx + 0x34]
je 0x40159c
push eax
mov eax, esi
call fcn.004011e0
add esp, 4
call fcn.00401270
test eax, eax
je 0x4015db
mov ebx, esi
call fcn.004010c0
mov eax, esi
call fcn.004011a0
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x4015f0
push 0
push 1
add eax, edi
push edi
call eax
test eax, eax
jne 0x4015e9
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.004016e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401770
Capabilities:
Compress data via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 8], eax
test eax, eax
jne 0x40179b
push str.Load_dll_error__n
call fcn.00405d6d
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
push esi
push edi
push str.RtlDecompressBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
jne 0x4017bd
push str.Load_function_error__n
call fcn.00405d6d
add esp, 4
mov edi, 0x1000
push edi
mov dword [ebp - 4], 0
call fcn.00406381
mov esi, eax
add esp, 4
test esi, esi
je 0x40181e
push edi
push 0
push esi
call fcn.0040c6f0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
push edx
push edi
push esi
push 2
call ebx
mov eax, dword [ebp - 4]
cmp edi, eax
jae 0x40182e
test esi, esi
je 0x40180d
push esi
call fcn.00405ffe
mov eax, dword [ebp - 4]
add esp, 4
push eax
mov edi, eax
call fcn.00406381
mov esi, eax
add esp, 4
test esi, esi
jne 0x4017d8
push str.new_memory_error__n
call fcn.00405d6d
mov eax, dword [ebp - 4]
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ecx], esi
mov dword [edx], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401850
Capabilities:
Encode data using xor
Encrypt data using xxtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
cmp edi, 1
jle 0x40194d
mov eax, 0x34
cdq
idiv edi
movzx edx, byte [esi + edi - 1]
add eax, 6
mov dword [ebp - 0xc], eax
xor ecx, ecx
lea esp, [esp]
sub ecx, 0x61c88647
mov eax, ecx
shr eax, 2
and eax, 3
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
lea eax, [edi - 1]
xor ecx, ecx
test eax, eax
je 0x4018f3
lea ecx, [ecx]
movzx eax, byte [ecx + esi + 1]
lea edi, [eax*4]
mov dword [ebp - 0x10], eax
shr eax, 3
mov ebx, edx
shr ebx, 5
xor edi, ebx
mov ebx, edx
shl ebx, 4
xor eax, ebx
mov ebx, dword [ebp + 0xc]
add edi, eax
mov eax, ecx
and eax, 3
xor eax, dword [ebp - 8]
inc ecx
mov ebx, dword [ebx + eax*4]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 4]
xor ebx, edx
movzx edx, byte [ecx + esi - 1]
add eax, ebx
xor eax, edi
add eax, edx
mov byte [ecx + esi - 1], al
movzx edx, al
mov eax, dword [ebp + 8]
dec eax
cmp ecx, eax
jb 0x4018a0
movzx eax, byte [esi]
lea ebx, [eax*4]
mov edi, edx
shr edi, 5
xor ebx, edi
mov dword [ebp - 0x10], eax
shr eax, 3
mov edi, edx
shl edi, 4
xor eax, edi
add ebx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
xor ecx, dword [ebp - 8]
mov edi, dword [eax + ecx*4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor edi, edx
xor eax, ecx
add eax, edi
mov edi, dword [ebp + 8]
movzx edx, byte [esi + edi - 1]
xor eax, ebx
add eax, edx
dec dword [ebp - 0xc]
mov byte [esi + edi - 1], al
movzx edx, al
jne 0x401880
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
jge 0x401a34
neg edi
mov eax, 0x34
cdq
mov ebx, edi
idiv ebx
mov dword [ebp + 8], ebx
add eax, 6
mov ecx, eax
imul ecx, ecx, 0x9e3779b9
mov dword [ebp - 0xc], eax
movzx eax, byte [esi]
mov dword [ebp - 4], ecx
jmp 0x401983
mov ebx, dword [ebp + 8]
shr ecx, 2
and ecx, 3
lea edi, [ebx - 1]
mov dword [ebp - 8], ecx
test edi, edi
je 0x4019e1
movzx ecx, byte [edi + esi - 1]
mov ebx, ecx
shr ebx, 5
lea edx, [eax*4]
xor edx, ebx
mov ebx, eax
xor eax, dword [ebp - 4]
shr ebx, 3
shl ecx, 4
xor ebx, ecx
add edx, ebx
mov ebx, dword [ebp + 0xc]
mov ecx, edi
and ecx, 3
xor ecx, dword [ebp - 8]
mov ebx, dword [ebx + ecx*4]
movzx ecx, byte [edi + esi - 1]
xor ebx, ecx
add ebx, eax
movzx eax, byte [edi + esi]
xor edx, ebx
sub eax, edx
dec edi
mov byte [edi + esi + 1], al
movzx eax, al
jne 0x401993
mov ebx, dword [ebp + 8]
movzx ecx, byte [esi + ebx - 1]
mov bl, cl
shl bl, 4
mov edx, eax
shr edx, 3
xor dl, bl
mov dword [ebp - 0x10], ecx
shr ecx, 5
mov bl, al
add bl, bl
add bl, bl
xor cl, bl
mov bl, byte [ebp - 4]
add dl, cl
mov ecx, dword [ebp + 0xc]
and edi, 3
xor edi, dword [ebp - 8]
xor bl, al
mov cl, byte [ecx + edi*4]
xor cl, byte [ebp - 0x10]
add cl, bl
xor dl, cl
mov ecx, dword [ebp - 4]
sub byte [esi], dl
movzx eax, byte [esi]
add ecx, 0x61c88647
dec dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jne 0x401980
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403aa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4165b8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x41d29c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x403c31
cmp byte [ebx + 0x49], 0
je 0x403c31
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x403c25
lea esi, [ebp - 0x2c]
call fcn.004036e0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x403b13
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x30]
push edi
mov edi, dword [ebp - 0x1c]
add edi, edx
push edi
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x403b4c
dec eax
je 0x403b50
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x403c2c
call fcn.00402640
xor al, al
jmp 0x403c33
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x403b60
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x403b8d
cmp edi, 0x10
jae 0x403b6f
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.004061d5
add esp, 0x10
cmp esi, eax
jne 0x403c1d
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x403c29
test esi, esi
jne 0x403b07
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x403c4e
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x403c4e
cmp edi, esi
jae 0x403c06
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.004040c0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x403b07
mov ecx, eax
cmp edi, 0x10
jae 0x403be2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x403bfd
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x403b01
test esi, esi
jne 0x403bd8
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x403c15
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x403b01
lea ecx, [ebp - 0x2c]
call fcn.00402640
xor al, al
jmp 0x403c33
lea ecx, [ebp - 0x2c]
call fcn.00402640
mov al, 1
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.0040491d
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.004148f0
int3
Function at 0x403f70
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41652b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x41d29c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00414a44
push 4
mov dword [ebp - 4], 0
call fcn.00406381
mov edi, eax
add esp, 4
test edi, edi
je 0x403fec
call fcn.0041483f
mov dword [edi], eax
call fcn.004145fe
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.00414a05
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403fe2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.00414a2d
jmp 0x403fee
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40491d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d29c]
jne 0x404927
repz ret
jmp fcn.00406595
Function at 0x4135f4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d29c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004070b8
and dword [ebp - 0x14], 0
cmp dword [0x465160], 0
mov dword [ebp - 0x18], eax
jne 0x4136a7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41374f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41374f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x465160], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x465164], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x465168], eax
call edi
push eax
call esi
mov dword [0x465170], eax
test eax, eax
je 0x4136a7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46516c], eax
mov eax, dword [0x46516c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x413700
cmp dword [0x465170], ecx
je 0x413700
push eax
call esi
push dword [0x465170]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x413700
test ebx, ebx
je 0x413700
call edi
test eax, eax
je 0x4136f7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4136f7
test byte [ebp - 8], 1
jne 0x413700
or dword [ebp + 0x10], 0x200000
jmp 0x413733
mov eax, dword [0x465164]
cmp eax, dword [ebp - 0x18]
je 0x413733
push eax
call esi
test eax, eax
je 0x413733
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x413733
mov eax, dword [0x465168]
cmp eax, dword [ebp - 0x18]
je 0x413733
push eax
call esi
test eax, eax
je 0x413733
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x465160]
call esi
test eax, eax
je 0x41374f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x413751
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040491d
leave
ret
Function at 0x10004e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
xor eax, eax
mov dword [esp + 0x24], 0x64002e
mov word [esp + 0x2c], ax
lea eax, [esp]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x65004b
push eax
mov dword [esp + 0x24], 0x6c0065
mov dword [esp + 0x30], 0x6c006c
mov dword [esp + 0x28], 0x320033
mov dword [esp + 0x20], 0x6e0072
mov word [esp + 0x16], 0x6d61
mov dword [esp + 0xb], 0x75646f4d
mov word [esp + 0x10], 0x4665
mov word [esp + 9], 0x7465
mov word [esp + 0x19], 0x57
mov word [esp + 0x13], 0x656c
mov byte [esp + 0x15], 0x4e
mov byte [esp + 8], 0x47
mov byte [esp + 0xf], 0x6c
mov byte [esp + 0x12], 0x69
mov byte [esp + 0x18], 0x65
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004eca
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call eax
add esp, 0x30
ret
xor eax, eax
add esp, 0x30
ret

Function at 0x10004f50
Capabilities:
Create directory

Disassembly:
sub esp, 0x38
push esi
mov esi, dword [esp + 0x40]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000509f
push 0
push 0x2000000
push 3
push 0
push 0
push 0x60000
push esi
call fcn.1000be00
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x1000509f
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 4
push 1
push esi
call fcn.1000c0f0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x221
push 0x20
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push 2
push eax
mov word [esp + 0x64], 0x500
call fcn.1000bb40
mov eax, dword [esp + 0x50]
add esp, 0x4c
mov dword [esp + 0x38], eax
xorps xmm0, xmm0
lea eax, [esp + 8]
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 1
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x10000000
push eax
push 1
mov dword [esp + 0x34], 3
mov dword [esp + 0x44], 2
mov dword [esp + 0x40], 0
mov dword [esp + 0x18], 0
call dword [0x10051e7c]
mov eax, dword [esp + 8]
test eax, eax
je 0x10005060
push 0
push eax
push 0
push 0
push 4
push 1
push esi
call dword [0x10051e80]
push dword [esp + 4]
call dword [0x10051e84]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000507b
push eax
call fcn.1000c2d0
add esp, 4
mov eax, dword [esp + 8]
test eax, eax
je 0x1000508c
push eax
call fcn.1000c2d0
add esp, 4
push esi
call fcn.1000bc60
add esp, 4
mov eax, 1
pop esi
add esp, 0x38
ret
xor eax, eax
pop esi
add esp, 0x38
ret
Function at 0x100050b0
Capabilities:
Delete directory

Disassembly:
sub esp, 0x66c
push ebx
push ebp
push esi
push 0x400
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.1000fbd0
mov ebx, dword [esp + 0x688]
mov eax, 0x2e
mov word [esp + 0x2c], ax
lea eax, [esp + 0x24]
push ebx
push eax
lea eax, [esp + 0x28c]
mov dword [esp + 0x36], 0x2a
push eax
mov dword [esp + 0x30], 0x730025
mov dword [esp + 0x34], 0x2a005c
call dword [0x10051e6c]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [0x10051e34]
mov esi, eax
cmp esi, 0xffffffff
je 0x100051ac
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [esp + 0x2c], 0x10
je 0x10005194
cmp word [esp + 0x58], 0x2e
je 0x10005194
cmp word [esp + 0x5a], 0x2e
je 0x10005194
lea eax, [esp + 0x58]
mov dword [esp + 0x14], 0x25005c
push eax
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0x73
push eax
lea eax, [esp + 0x288]
mov dword [esp + 0x1c], 0x730025
push eax
call dword [0x10051e6c]
lea eax, [esp + 0x28c]
push eax
call fcn.100051c0
add esp, 0x14
lea eax, [esp + 0x27c]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
push esi
call dword [0x10051e38]
test eax, eax
jne 0x10005132
push esi
call dword [0x10051e3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret

Function at 0x100051c0
Capabilities:
Delete file

Disassembly:
sub esp, 0x66c
push ebx
push ebp
push esi
push 0x400
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.1000fbd0
mov ebx, dword [esp + 0x688]
mov eax, 0x2e
mov word [esp + 0x2c], ax
lea eax, [esp + 0x24]
push ebx
push eax
lea eax, [esp + 0x28c]
mov dword [esp + 0x36], 0x2a
push eax
mov dword [esp + 0x30], 0x730025
mov dword [esp + 0x34], 0x2a005c
call dword [0x10051e6c]
add esp, 0x18
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [0x10051e34]
mov esi, eax
cmp esi, 0xffffffff
je 0x10005319
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test byte [esp + 0x2c], 0x10
jne 0x100052fd
mov ecx, 0x10029318
lea eax, [esp + 0x58]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000527c
test dx, dx
je 0x10005278
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000527c
add eax, 4
add ecx, 4
test dx, dx
jne 0x10005256
xor eax, eax
jmp 0x10005281
sbb eax, eax
or eax, 1
test eax, eax
je 0x100052fd
mov eax, 0x1002931c
lea ecx, [esp + 0x58]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100052b6
test dx, dx
je 0x100052b2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100052b6
add ecx, 4
add eax, 4
test dx, dx
jne 0x10005290
xor eax, eax
jmp 0x100052bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x100052fd
lea eax, [esp + 0x58]
mov dword [esp + 0x14], 0x25005c
push eax
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0x73
push eax
lea eax, [esp + 0x288]
mov dword [esp + 0x1c], 0x730025
push eax
call dword [0x10051e6c]
add esp, 0x10
lea eax, [esp + 0x27c]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
push esi
call dword [0x10051e38]
test eax, eax
jne 0x10005242
push esi
call dword [0x10051e3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret