joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4277c0
Capabilities:
Acquire debug privileges
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.MPQEditor_MixScanner_Event
xor edi, edi
mov dword [ebp - 0x108], ecx
push edi
push 0x100000
mov esi, 0x236
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ebx, eax
test ebx, ebx
jne 0x4278b2
mov esi, dword [ebp - 0x108]
push str.SeDebugPrivilege
mov esi, dword [esi + 0x28]
call fcn.00476c40
push esi
push ebx
push 0x2a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x42783f
push ecx
push 0x2c0
push ecx
xor edx, edx
mov ecx, ebx
call fcn.00418db0
add esp, 0xc
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427847
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jne 0x4279f9
push str.MPQEditor_MixScanner_Event
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ebx, eax
test ebx, ebx
jne 0x4278b2
nop word [eax + eax]
mov eax, dword [ebp - 0x108]
push 0x1f4
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x427916
cmp edi, 0x2710
jae 0x427900
push str.MPQEditor_MixScanner_Event
push 0
push 0x100000
add edi, 0x1f4
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov ebx, eax
test ebx, ebx
je 0x427870
mov edi, dword [ebp - 0x108]
push 0xea60
push 0
mov dword [ebp - 0x110], ebx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x114]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x4279e9
sub eax, 1
je 0x42792c
sub eax, 0x101
jne 0x4279ee
mov esi, 0x5b4
jmp 0x4279ee
pop edi
pop esi
mov eax, 0x5b4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x4c7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0x80
push edi
call fcn.00427370
add esp, 8
xor edi, edi
nop dword [eax]
push edi
push str.WAR3_MIX__04u
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.00401670
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x4279cf
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push dword [ebp - 0x10c]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4279cf
cmp dword [esi], 0x2d58494d
jne 0x4279c8
cmp dword [esi + 4], 0x504d5544
jne 0x4279c8
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x4279c8
mov eax, dword [ebp - 0x108]
push esi
push 0
push 0x1406
push dword [eax + 0x40]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x4279cf
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x108]
test byte [eax + 0x34], 2
jne 0x4279e9
inc edi
cmp edi, 0x64
jb 0x427940
xor esi, esi
jmp 0x4279ee
mov esi, 0x4c7
test ebx, ebx
je 0x4279f9
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
Function at 0x427c80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x40
mov ebx, eax
mov dword [ebp - 0x470], 0x44
lea eax, [ebp - 0x46c]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x428], xmm0
call fcn.0047df00
add esp, 0xc
lea eax, [ebp - 0x418]
lea ecx, [ebx + 0x48]
mov edx, esi
push 0x104
push eax
call fcn.00427280
add esp, 8
test eax, eax
jne 0x427dc3
lea ecx, [ebp - 0x210]
mov edx, 0x104
lea esi, [ebp - 0x418]
mov eax, ecx
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x427d20
movzx eax, word [esi + ecx]
test ax, ax
je 0x427d20
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x427d02
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x210]
mov cx, word [ebp - 0x210]
mov esi, eax
test cx, cx
je 0x427d64
movzx edx, cx
cmp dx, 0x5c
je 0x427d55
cmp word [eax], 0x2f
je 0x427d55
add eax, 2
jmp 0x427d5a
add eax, 2
mov esi, eax
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x427d44
xor eax, eax
mov word [esi - 2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x24], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x418]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [ebx + 0x34]
xor esi, eax
and esi, 1
xor dword [ebx + 0x34], esi
test al, 1
je 0x427db9
mov ecx, edi
call fcn.00427a40
jmp 0x427dd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x427dd2
push eax
push 0xcc
push edi
call fcn.00479a10
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
Function at 0x4281e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [edx + 0x1c]
mov ebx, ecx
push edi
push esi
push 8
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
test byte [esi + 0x34], 4
jne 0x42821a
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push 0x5a
push eax
mov dword [esi + 0x38], eax
call fcn.004781b0
push dword [esi + 0x38]
call fcn.00477df0
or dword [esi + 0x34], 4
push 0
push ebx
push 0x481
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x486
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3ea
push ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x40], ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4282d9
push 0x3ea
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
test eax, eax
je 0x4282d9
cmp dword [esi + 0x44], 2
je 0x42828a
push 2
push 0
push 0x470
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [esi + 0x44], 2
add esi, 0x48
mov ecx, esi
call fcn.004185e0
test al, al
je 0x4282c1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4282be
push 0x104
push esi
call fcn.0047ac90
push 0x4a43f0
push 0x104
push esi
call fcn.00404fc0
push esi
jmp 0x4282d0
cmp word [0x4b39e0], 0
je 0x4282d9
push 0x4b39e0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x494
push ebx
call edi
mov esi, eax
test esi, esi
je 0x428312
push 0x14020
push 0
push 0x1036
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00417870
push 0x4afdb8
push esi
call fcn.004778c0
push 0x489
push ebx
call edi
mov esi, eax
test esi, esi
je 0x428355
push 0x14020
push 0
push 0x1036
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.00417870
push 0x4afdb8
push esi
call fcn.004778c0
push 0
push 0
push 0x1400
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428360
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
cmp dword [ebx + 0x20], 0
jne 0x42840c
push 0x3ea
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x428473
push 0x104
lea esi, [ebx + 0x48]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0
xor edx, edx
mov ecx, esi
call fcn.00427280
add esp, 8
test eax, eax
jne 0x4283de
push eax
push eax
mov edx, str.Warcraft_III.exe
mov ecx, esi
call fcn.00427280
add esp, 8
test eax, eax
je 0x428412
push 0
push 0
mov edx, str.Frozen_Throne.exe
mov ecx, esi
call fcn.00427280
add esp, 8
test eax, eax
je 0x428412
push esi
cmp eax, 0x10b
je 0x4283fc
push 0x455
push 1
push edi
call fcn.00479dc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0xcb
push 1
push edi
call fcn.00479dc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 0x492
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x428473
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x428473
mov ecx, 0x4b39e0
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x428461
movzx eax, word [esi + ecx]
test ax, ax
je 0x428461
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x428443
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.00401470
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x428482
push eax
push edi
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
mov dword [ebx + 0x10], 0
mov eax, 1
pop ebx
ret
Function at 0x428e40
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 5
mov edi, ecx
mov dword [ebp - 0x210], edx
push str.http:
push edi
call fcn.00485aa4
test eax, eax
lea esi, [edi + 0xa]
push 4
cmovne esi, edi
push str.map:
push esi
call fcn.00485aa4
add esp, 0x18
lea ecx, [esi + 8]
test eax, eax
cmovne ecx, esi
mov esi, ecx
mov dword [ebp - 0x214], esi
movzx eax, word [ecx]
mov edi, eax
test ax, ax
je 0x428ecb
mov esi, eax
lea edx, [ecx + 2]
cmp si, 0x5c
je 0x428eae
cmp ax, 0x2f
jne 0x428eb4
mov dword [ebp - 0x214], edx
movzx eax, word [ecx + 2]
add ecx, 2
add edx, 2
mov esi, eax
test ax, ax
jne 0x428ea2
mov esi, dword [ebp - 0x214]
xor ebx, ebx
mov ecx, 0x4afed8
mov dword [ebp - 0x218], ebx
nop dword [eax + eax]
mov edx, dword [ebx + ecx]
test edx, edx
je 0x428fec
mov ecx, esi
call fcn.00422000
test eax, eax
je 0x428ff4
push 0x4b35d0
push 0
lea ecx, [ebp - 0x20c]
call fcn.00416680
mov edi, dword [ebx + 0x4afedc]
lea eax, [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
lea esi, [eax + 2]
add esp, 8
xor ebx, ebx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x428f26
sub eax, esi
sar eax, 1
je 0x428f4e
lea ecx, [ebp + eax*2 - 0x20e]
nop
cmp word [ecx], 0x5c
jne 0x428f4e
sub ecx, 2
sub eax, 1
jne 0x428f40
test edi, edi
je 0x428f7f
cmp word [edi], 0x5c
jne 0x428f69
nop dword [eax + eax]
add edi, 2
cmp word [edi], 0x5c
je 0x428f60
mov ebx, edi
lea esi, [ebx + 2]
nop
mov cx, word [ebx]
add ebx, 2
test cx, cx
jne 0x428f70
sub ebx, esi
sar ebx, 1
test eax, eax
je 0x428f9f
lea esi, [eax + eax]
push esi
lea eax, [ebp - 0x20c]
push eax
push edx
call fcn.0047e060
mov edx, dword [ebp - 0x210]
add esp, 0xc
add edx, esi
test edi, edi
je 0x428fce
test ebx, ebx
je 0x428fce
mov eax, 0x5c
lea esi, [ebx + ebx]
push esi
mov word [edx], ax
add edx, 2
push edi
push edx
mov dword [ebp - 0x21c], edx
call fcn.0047e060
mov edx, dword [ebp - 0x21c]
add esp, 0xc
add edx, esi
mov esi, dword [ebp - 0x210]
xor eax, eax
push esi
mov word [edx], ax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x42901b
mov ebx, dword [ebp - 0x218]
jmp 0x428ffa
mov esi, dword [ebp - 0x210]
jmp 0x428fff
mov esi, dword [ebp - 0x210]
mov ecx, 0x4afed8
add ebx, 8
mov dword [ebp - 0x218], ebx
cmp ebx, 0x128
jae 0x42902e
mov esi, dword [ebp - 0x214]
jmp 0x428ee0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
mov word [esi], ax
xor ecx, ebp
pop esi
xor al, al
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
Function at 0x431200
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x2000
xor ebx, ebx
mov dword [ebp - 0x18], edx
push ebx
push dword [0x4b2a38]
mov edi, ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x43124d
lea eax, [ebx + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x10], edi
cmp edi, 0xffffffff
jne 0x43127d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x4313cc
push 0
push 0
push 1
push 0
push 1
push 0xc0000000
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x4312ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x4313c0
lea eax, [ebp - 8]
mov dword [ebp - 0x1c], ebx
push eax
push 0x100
push 0
push dword [ebp - 0x14]
call fcn.00435960
test al, al
je 0x431327
push 0
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0
push eax
push 5
push dword [ebp - 8]
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
call fcn.00438c60
push 0
push 4
lea eax, [ebp - 0x14]
push eax
push 0x27
push dword [ebp - 8]
call fcn.00438c60
push dword [ebp - 8]
call fcn.00435720
mov eax, dword [ebp - 0x14]
and eax, 0x404
cmp eax, 0x404
jne 0x431322
mov edi, 0x200
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
jmp 0x43134e
mov edi, dword [ebp - 0x20]
jmp 0x43134e
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, 0x1000000
jae 0x4313a9
cmp dword [ebp - 0x24], 0
jne 0x4313a9
mov eax, dword [ebp - 0x1c]
mov ebx, eax
test eax, eax
jne 0x4313ae
test edi, edi
je 0x4313ae
mov esi, 0x2000
lea eax, [ebp - 0xc]
push 0
cmp edi, esi
push eax
cmovb esi, edi
push esi
push dword [ebp - 4]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0xc], esi
jne 0x43139f
push 0
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 4]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 0xc], esi
jne 0x431395
sub edi, esi
jne 0x431352
mov esi, dword [ebp - 4]
jmp 0x4313ae
mov esi, dword [ebp - 4]
mov ebx, 0x70
jmp 0x4313ae
mov esi, dword [ebp - 4]
mov ebx, 0x570
jmp 0x4313ae
mov ebx, 0x3ee
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4313bd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x10]
cmp edi, 0xffffffff
je 0x4313cc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0
push dword [0x4b2a38]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4330a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x218], edx
push edi
push edi
push 0xffffffffffffffff
push eax
mov ebx, ecx
mov dword [ebp - 0x21c], eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
xor esi, esi
mov dword [ebp - 0x220], eax
test eax, eax
je 0x433151
mov eax, dword [0x4b3fb4]
test eax, eax
je 0x4330ef
test byte [eax + 0x40], 1
jne 0x433164
push 0x104
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, 2
cmp eax, 0xffffffff
je 0x433148
test al, 0x10
lea eax, [ebp - 0x214]
push eax
je 0x43313c
mov edx, dword [ebp - 0x218]
mov ecx, ebx
call fcn.00432e20
add esp, 4
jmp 0x433146
push ebx
call dword [ebp - 0x218]
add esp, 8
mov edi, eax
inc esi
cmp esi, dword [ebp - 0x220]
jb 0x4330e0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
Function at 0x433180
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [ebp + 8]
lea edx, [esp + 4]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
xor edi, edi
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x28], xmm0
mov ecx, dword [esi + 4]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
mov dword [esp + 0x20], 0xc6
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], 1
call fcn.00415500
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x43320f
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, 2
cmp eax, 0xffffffff
je 0x43320a
push ebx
test al, 0x10
je 0x4331ff
mov edx, fcn.004327e0
mov ecx, esi
call fcn.00432e20
add esp, 4
lea ebx, [esi + 0x28]
mov edi, eax
jmp 0x43322b
push esi
call fcn.004327e0
add esp, 8
mov edi, eax
lea ebx, [esi + 0x28]
jmp 0x43322b
mov eax, dword [esi + 0x28]
lea ebx, [esi + 0x28]
test eax, eax
je 0x43322b
push eax
mov edx, fcn.004327e0
mov ecx, esi
call fcn.004330a0
add esp, 4
mov edi, eax
mov eax, dword [esi]
lea edx, [esp + 0x10]
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 0xc3
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], 1
call fcn.00415500
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xc], eax
test eax, eax
je 0x43329d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, 2
cmp eax, 0xffffffff
je 0x4332b5
push dword [esp + 0xc]
test al, 0x10
je 0x433292
mov edx, fcn.00432ae0
mov ecx, esi
call fcn.00432e20
jmp 0x4332b0
push esi
call fcn.00432ae0
add esp, 8
jmp 0x4332b3
mov eax, dword [ebx]
test eax, eax
je 0x4332b5
push eax
mov edx, fcn.00432ae0
mov ecx, esi
call fcn.004330a0
add esp, 4
mov edi, eax
xorps xmm0, xmm0
mov dword [esp + 0x20], 0xc8
lea edx, [esp + 0x10]
movlpd qword [esp + 0x10], xmm0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x24], 0
call fcn.00415500
mov eax, dword [esi + 0x14]
push dword [eax + 0x10]
call fcn.00435860
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433b90
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x470], edx
mov dword [ebp - 0x468], ecx
push edi
lea edi, [ebp - 0x214]
test edx, edx
je 0x433c0b
mov esi, edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x433bc3
sub esi, ecx
sar esi, 1
je 0x433c0b
lea eax, [edx - 2]
lea eax, [eax + esi*2]
nop word [eax + eax]
cmp word [eax], 0x5c
jne 0x433bf0
sub eax, 2
sub esi, 1
jne 0x433be0
jmp 0x433c0b
add esi, esi
lea eax, [ebp - 0x214]
push esi
push edx
push eax
call fcn.0047e060
lea edi, [ebp - 0x214]
add esp, 0xc
add edi, esi
mov eax, 0x5c
lea esi, [edi + 2]
mov word [edi], ax
mov ax, word [0x4a3f10]
mov word [edi + 2], ax
xor eax, eax
mov word [edi + 4], ax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x46c], esi
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x433d46
nop dword [eax + eax]
mov eax, dword [0x4b3fb4]
test eax, eax
je 0x433c63
test byte [eax + 0x40], 1
jne 0x433d30
mov ecx, esi
mov edx, 0x104
lea esi, [ebp - 0x438]
sub esi, dword [ebp - 0x46c]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x433c94
movzx eax, word [esi + ecx]
test ax, ax
je 0x433c94
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x433c76
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test byte [ebp - 0x464], 0x10
je 0x433d02
cmp word [ebp - 0x438], 0x2e
jne 0x433cd4
mov ax, word [ebp - 0x436]
cmp ax, 0x2e
jne 0x433cca
cmp word [ebp - 0x434], cx
jmp 0x433ccd
test ax, ax
sete al
test al, al
jne 0x433d13
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x214]
mov ecx, dword [ebp - 0x468]
inc eax
push eax
call fcn.00433b90
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x433d3f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x433d0f
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x433d37
lea eax, [ebp - 0x464]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x433d3f
mov esi, dword [ebp - 0x46c]
jmp 0x433c50
mov ebx, 0x4c7
jmp 0x433d3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
jne 0x433dab
test ebx, ebx
je 0x433dab
cmp ebx, 0x4c7
jne 0x433d88
push 0x126
push 3
push dword [ebp - 0x468]
call fcn.00415fe0
xor ecx, ecx
add esp, 0xc
cmp eax, 6
cmovne ecx, ebx
mov eax, ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x470]
push 0x8f
push 3
push dword [ebp - 0x468]
call fcn.00415fe0
xor ecx, ecx
add esp, 0x10
cmp eax, 6
cmove ebx, ecx
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
Function at 0x43d7f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
sub esp, 8
mov eax, ecx
and ecx, 0x100
and eax, 0x200
or eax, 0x100
push esi
push 0
push 0
shr eax, 8
neg ecx
push 3
sbb ecx, ecx
push 0
and ecx, 0xfffffefa
push eax
add ecx, 0x187
push ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [ebp + 8]
mov dword [esi + 0x58], eax
cmp eax, 0xffffffff
jne 0x43d844
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x44], eax
lea eax, [esi + 0x50]
push eax
push 0
push 0
push dword [esi + 0x58]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov dword [esi + 0x48], 0
mov al, 1
mov dword [esi + 0x4c], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x440000
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x7c]
test al, al
je 0x44001b
push 0x32
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
pop ebp
ret
test eax, 0x100
je 0x44002f
push 5
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 0xc]
push edi
mov eax, dword [edi + 0x3c]
call eax
mov eax, dword [esi + 0x3c]
push esi
call eax
add esp, 8
push dword [esi + 0x64]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [esi + 0x64]
push dword [edi + 0x64]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x44007d
push dword [esi + 0x7c]
push dword [esi + 0x64]
push esi
call fcn.0043d7f0
add esp, 0xc
test al, al
je 0x44007d
push edi
call fcn.0043f960
add esp, 4
mov al, 1
pop edi
pop esi
pop ebp
ret
pop edi
xor al, al
pop esi
pop ebp
ret

Function at 0x4408f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov al, byte [ecx]
test al, al
je 0x440918
cmp al, 0x5c
je 0x44090b
cmp al, 0x2f
jne 0x44090e
lea edx, [ecx + 1]
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x440903
mov al, byte [edx]
mov esi, 0x7fed7fed
push edi
mov edi, 0xeeeeeeee
test al, al
je 0x440951
movzx eax, al
lea edx, [edx + 1]
add esi, edi
movzx ecx, byte [eax + 0x4ac488]
mov eax, edi
shl eax, 5
add eax, ecx
add eax, edi
xor esi, dword [ecx*4 + 0x4b0f70]
lea edi, [esi + 3]
add edi, eax
mov al, byte [edx]
test al, al
jne 0x440927
test dword [ebp + 0x18], 0x20000
pop edi
je 0x440965
lea eax, [esi + ebx]
xor eax, dword [ebp + 0x14]
pop esi
pop ebx
pop ebp
ret
mov eax, esi
pop esi
pop ebx
pop ebp
ret