joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e160
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4706f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov esi, ecx
mov dword [ebp - 0x34], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x43e1b9
lea ecx, [ebp - 0x34]
push ecx
call eax
lea eax, [esi + 4]
call fcn.00401489
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043dde0
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e1f0
mov byte [ebp - 0x2d], 1
test al, 0x10
je 0x43e1f4
mov byte [ebp - 0x2d], 0
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x43e20d
lea edx, [ebp - 0x34]
push edx
call eax
lea ecx, [ebp - 0x2c]
call fcn.004012b8
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4706f8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.Wow64DisableWow64FsRedirection
push str.kernel32.dll
mov esi, ecx
mov dword [ebp - 0x34], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
test eax, eax
je 0x43e319
lea ecx, [ebp - 0x34]
push ecx
call eax
lea eax, [esi + 4]
call fcn.00401489
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043dde0
add esp, 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43e350
mov byte [ebp - 0x2d], 1
test al, 0x10
jne 0x43e354
mov byte [ebp - 0x2d], 0
push str.Wow64RevertWow64FsRedirection
push str.kernel32.dll
call edi
push eax
call ebx
test eax, eax
je 0x43e36d
lea edx, [ebp - 0x34]
push edx
call eax
lea ecx, [ebp - 0x2c]
call fcn.004012b8
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret
Function at 0x43f4e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x400
mov edi, ecx
call fcn.00450883
add esp, 4
push 1
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 4]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x43f52c
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [edi + 4]
push 0x200
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [edi + 4]
lea ecx, [ebp - 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43f550
push 0
sub eax, edx
lea ecx, [ebp - 0x14]
push ecx
sar eax, 1
push eax
push esi
push ebx
call dword [sym.imp.USER32.dll_DrawTextW]
push esi
call fcn.00450827
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4

Function at 0x43f750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x43f813
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x43f813
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x43f813
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43f80c
push esi
push edi
push eax
call fcn.00457a50
add esp, 0xc
lea eax, [ebp - 4]
push eax
xor edi, edi
push edi
push ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x43f805
mov ecx, dword [ebp - 4]
push ecx
call fcn.0043f710
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
cmp eax, edi
je 0x43f805
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x43f7f5
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi]
cmp ecx, edi
je 0x43f803
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fb70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ca9b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48f310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [edi + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, ebx
add edi, 0x34
call fcn.004014ea
push eax
mov eax, dword [edi + 0x10]
push ebx
push eax
mov eax, edi
call fcn.0040f720
test eax, eax
je 0x43fc12
push ebx
call fcn.00401d13
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x24
call fcn.00450883
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x43fbfa
push ebx
call fcn.00401cc7
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
jmp 0x43fbfc
xor esi, esi
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x43fa50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x43ff60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44000a
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ff72
push ebx
sub eax, edx
sar eax, 1
push esi
mov ebx, eax
push edi
lea edi, [ebx + 1]
push edi
call fcn.0045081c
push ebx
mov esi, eax
push 0
push esi
call fcn.004579d0
add esp, 0x10
test edi, edi
je 0x43ffcd
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push 0
push edi
push esi
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, edi
jae 0x43ffc3
mov byte [eax + esi], 0
jmp 0x43ffcd
cmp byte [edi + esi - 1], 0
je 0x43ffcd
mov byte [esi], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ffd2
mov edi, dword [ebp + 8]
sub eax, edx
push 0
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [edi]
push esi
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00450827
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x440620
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
push str.getHDDSerialAlternate_start
push str.INFO
mov ecx, esi
mov edi, eax
call fcn.00414290
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov edx, dword [ebp - 4]
mov ecx, 0x5f
push 0xa
mov word [edi], cx
push 0xff
add edi, 2
push edi
push edx
call fcn.00451331
add esp, 0x10
push str.getHDDSerialAlternate_end
push str.INFO
mov ecx, esi
call fcn.00414290
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x445cc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472613
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48f310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0xb8
mov dword [ebp - 4], edi
call fcn.00450883
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x445d42
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [eax + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push ecx
push edx
sub esp, 8
mov eax, esp
mov dword [ebp + 0x1c], esp
mov dword [eax], edi
mov dword [eax + 4], edi
push eax
lea eax, [ebp + 0x2c]
call fcn.00425d70
mov eax, dword [ebp + 0x10]
push eax
push esi
call fcn.0044c280
mov esi, eax
jmp 0x445d44
xor esi, esi
mov byte [ebp - 4], 0
mov cl, byte [ebp + 0x28]
push 0x24
mov byte [esi + 0xac], cl
call fcn.00450883
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x445d81
push ecx
mov eax, esp
lea edi, [ebx + 4]
mov dword [ebp + 0x28], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push 0
push 0
call fcn.004012f5
jmp 0x445d83
xor ebx, ebx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebx + 4]
push eax
mov dword [ebx], esi
call fcn.00401cf8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x20], edx
mov dword [esi + 0xa8], eax
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x445db4
push eax
lea edi, [esi + 0x40]
call fcn.00401d13
lea ecx, [ebp - 0x14]
push ecx
push 0
push ebx
push 0x4459b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 8
mov edi, eax
call fcn.00450883
add esp, 4
test eax, eax
je 0x445de3
mov dword [eax], edi
mov dword [eax + 4], esi
mov edi, eax
jmp 0x445de5
xor edi, edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x20]
lea edx, [ebp + 0x28]
mov dword [ebp + 0x28], edi
cmp edx, eax
jae 0x445e23
mov ecx, dword [esi + 0x1c]
cmp ecx, edx
ja 0x445e23
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0x24]
jne 0x445e10
lea eax, [esi + 0x1c]
call fcn.00407d00
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edi*4]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x445e39
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x445e39
cmp eax, dword [esi + 0x24]
jne 0x445e30
lea eax, [esi + 0x1c]
call fcn.00407d00
mov eax, dword [esi + 0x20]
test eax, eax
je 0x445e39
mov dword [eax], edi
add dword [esi + 0x20], 4
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x30]
test esi, esi
je 0x445e74
lea edx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x445e74
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x445e74
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
Function at 0x446a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x446aa8
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x446ada
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x446ad6
cmp esi, eax
jae 0x446ada
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x446ac8
cmp esi, eax
jb 0x446ae0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x44a3b0
Capabilities:
Copy file
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cfab
mov eax, dword fs:[0]
push eax
sub esp, 0x658
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x640], eax
xor ebx, ebx
lea eax, [ebp - 0x218]
lea edi, [ecx + 4]
push ebx
push eax
mov dword [ebp - 0x644], edx
mov esi, edi
call fcn.004579d0
push 0x208
lea ecx, [ebp - 0x420]
push ebx
push ecx
call fcn.004579d0
add esp, 0x18
cmp word [esi], 0x7c
je 0x44a42d
add esi, 2
cmp word [esi], 0x7c
jne 0x44a424
push edi
xor edx, edx
lea eax, [ebp - 0x218]
push 0x104
mov word [esi], dx
push eax
add esi, 2
call fcn.00450e0b
lea eax, [ebp - 0x218]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x44a453
sub eax, edx
push esi
lea edx, [ebp - 0x420]
sar eax, 1
xor ecx, ecx
push 0x104
push edx
mov word [ebp + eax*2 - 0x216], cx
call fcn.00450e0b
add esp, 0xc
push str.Copy_
lea eax, [ebp - 0x63c]
call fcn.00401cc7
push 0x47c0ac
lea ecx, [ebp - 0x420]
push ecx
push str._to_
lea edx, [ebp - 0x218]
push edx
push eax
mov dword [ebp - 4], ebx
call fcn.00401cf8
push eax
call fcn.00401cf8
push eax
call fcn.00401cf8
push eax
call fcn.00401cf8
call fcn.00401489
mov edi, dword [ebp - 0x644]
push eax
push str.INFO
mov ecx, edi
call fcn.00414290
lea ecx, [ebp - 0x63c]
mov dword [ebp - 4], 0xffffffff
call fcn.004012b8
push ebx
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x65c], ecx
lea ecx, [ebp - 0x664]
lea edx, [ebp - 0x420]
mov eax, 0xe14
push ecx
mov dword [ebp - 0x664], ebx
mov dword [ebp - 0x660], 2
mov dword [ebp - 0x658], edx
mov word [ebp - 0x654], ax
mov dword [ebp - 0x652], ebx
mov dword [ebp - 0x64e], ebx
mov dword [ebp - 0x64a], 0x479144
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
cmp esi, ebx
je 0x44a59d
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x640]
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push esi
push 0x480788
push edx
push eax
call ebx
push esi
push str.Error_copy_file__err:__d
lea ecx, [ebp - 0x620]
push 0x100
push ecx
call ebx
add esp, 0x20
lea edx, [ebp - 0x620]
push edx
push str.INFO
mov ecx, edi
call fcn.00414290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a890
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cf6b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
push 0x208
mov esi, ecx
xor edi, edi
lea ecx, [ebp - 0x218]
push edi
push ecx
mov dword [ebp - 0x438], eax
call fcn.004579d0
add esi, 4
push esi
lea edx, [ebp - 0x218]
push 0x104
push edx
call fcn.00450e0b
lea eax, [ebp - 0x218]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44a901
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x216], cx
push str.Delete
lea eax, [ebp - 0x434]
call fcn.00401cc7
lea edx, [ebp - 0x218]
push edx
push eax
mov dword [ebp - 4], edi
call fcn.00401cf8
call fcn.00401489
push eax
push str.INFO
mov ecx, ebx
call fcn.00414290
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], 0xffffffff
call fcn.004012b8
lea edx, [ebp - 0x458]
lea eax, [ebp - 0x218]
mov ecx, 0xc14
push edx
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x454], 3
mov dword [ebp - 0x450], eax
mov dword [ebp - 0x44c], edi
mov word [ebp - 0x448], cx
mov dword [ebp - 0x446], edi
mov dword [ebp - 0x442], edi
mov dword [ebp - 0x43e], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov esi, eax
cmp esi, edi
je 0x44a9f4
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x438]
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
push esi
push 0x480788
push eax
push ecx
call edi
push esi
push str.Error_delete_file__err:__d
lea edx, [ebp - 0x418]
push 0x100
push edx
call edi
add esp, 0x20
lea eax, [ebp - 0x418]
push eax
push str.INFO
mov ecx, ebx
call fcn.00414290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44aa20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47056b
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x48f310]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
push edi
mov eax, dword [0x48f310]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
push str.Create_directory
lea eax, [esp + 0xe0]
mov esi, ecx
call fcn.00401cc7
add esi, 4
push esi
push eax
mov dword [esp + 0x110], 0
call fcn.00401cf8
call fcn.00401489
push eax
push str.INFO
mov ecx, edi
call fcn.00414290
lea ecx, [esp + 0xdc]
mov dword [esp + 0x108], 0xffffffff
call fcn.004012b8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44aadd
test al, 0x10
je 0x44aadd
push str.Folder_exist_already
push str.INFO
mov ecx, edi
call fcn.00414290
jmp 0x44ab96
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x44ab96
push 0xa
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00452c80
add esp, 0xc
lea eax, [esp + 0x14]
push eax
call fcn.00406b30
push ebx
push ecx
push str.__error_code
push ecx
push esi
push ecx
lea ecx, [esp + 0x3c]
push str.Cant_create_folder_
push ecx
mov dword [esp + 0x128], 1
call fcn.0040a510
add esp, 0xc
push eax
call fcn.0040a510
add esp, 0xc
push eax
call fcn.0040a510
add esp, 0xc
push eax
call fcn.0040a510
add esp, 8
lea ecx, [esp + 0xc0]
lea eax, [esp + 0x14]
call fcn.00406bd0
mov byte [esp + 0x108], 2
call fcn.00401489
push eax
push str.ERROR
mov ecx, edi
call fcn.00414290
lea ecx, [esp + 0xc0]
call fcn.004012b8
lea ecx, [esp + 0x14]
mov dword [esp + 0x108], 0xffffffff
call fcn.00405430
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44aca0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cef8
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x48f310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x20]
mov eax, edi
mov dword [ebp - 4], 0
call fcn.00401d24
lea esi, [eax - 1]
cmp dword [edi + 0x10], esi
ja 0x44ace5
call fcn.004020a4
mov eax, edi
call fcn.00401336
movzx eax, word [eax + esi*2]
cmp eax, 0x5c
je 0x44acfa
cmp eax, 0x2f
jne 0x44ad08
push 0
lea eax, [ebp + 8]
push eax
or eax, 0xffffffff
call fcn.00401d62
mov eax, edi
call fcn.00401489
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x481350
mov eax, edi
call fcn.00401489
push eax
call fcn.0045158b
add esp, 8
mov dword [ebx + 0x1c], eax
lea ecx, [ebp + 8]
test eax, eax
jne 0x44ad50
call fcn.004012b8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004012b8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x44ad70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x1c]
push 0
push eax
push ecx
call fcn.0046a896
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push edx
push eax
push 1
push ecx
call fcn.00451b40
mov edx, dword [esi + 0x1c]
push edx
call fcn.0045275a
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x44ae40
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d83d
mov eax, dword fs:[0]
push eax
mov eax, 0x2280
call fcn.004601c0
mov eax, dword [0x48f310]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push ecx
xor ebx, ebx
mov eax, esp
mov esi, ecx
mov dword [ebp - 0x227c], edi
mov dword [ebp - 0x2284], ebx
mov dword [ebp - 0x2280], esp
call fcn.00402a24
mov eax, edi
call fcn.00401f4d
push ebx
push ebx
call fcn.004012f5
mov dword [ebp - 4], ebx
mov edi, 1
mov dword [ebp - 0x2284], edi
cmp dword [esi + 0x1c], ebx
je 0x44afd8
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x2280], eax
mov dword [ebp - 0x228c], eax
mov byte [ebp - 0x2288], 1
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], edi
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push eax
mov dword [ebp - 0x2278], 0x67452301
mov dword [ebp - 0x2274], 0xefcdab89
mov dword [ebp - 0x2270], 0x98badcfe
mov dword [ebp - 0x226c], 0x10325476
mov dword [ebp - 0x2268], ebx
mov dword [ebp - 0x2264], ebx
call fcn.0046a896
mov ecx, dword [esi + 0x1c]
push ecx
push 0x2000
lea edx, [ebp - 0x2220]
push edi
push edx
call fcn.00451957
add esp, 0x1c
cmp eax, ebx
jbe 0x44af64
push eax
lea eax, [ebp - 0x2220]
push eax
lea eax, [ebp - 0x2278]
call fcn.0044e1d0
mov ecx, dword [esi + 0x1c]
push ecx
push 0x2000
lea edx, [ebp - 0x2220]
push edi
push edx
call fcn.00451957
add esp, 0x18
cmp eax, ebx
ja 0x44af34
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x2278]
call fcn.0044e2e0
mov edi, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor ecx, ecx
add esp, 4
mov word [ebp - 0x220], cx
xor esi, esi
jmp 0x44af90
movzx edx, byte [ebp + esi - 0x20]
push edx
lea eax, [ebp - 0x220]
push eax
push str._s_02x
mov ecx, eax
push 0x100
push ecx
call edi
inc esi
add esp, 0x14
cmp esi, 0x10
jb 0x44af90
mov edi, dword [ebp - 0x227c]
lea edx, [ebp - 0x220]
push edx
call fcn.00401d13
mov eax, dword [ebp - 0x2280]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x44afde
mov eax, dword [ebp - 0x227c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045080d
mov esp, ebp
pop ebp
ret 4