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

Disassembly:
sub esp, 0x464
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x460], eax
push ebx
mov ebx, dword [esp + 0x470]
push ebp
mov ebp, dword [esp + 0x470]
push esi
push edi
mov edi, ecx
push edi
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4e15b4
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x24c
lea edx, [esp + 0x20]
push 0
push edx
mov dword [esp + 0x24], 0
call fcn.0047a920
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, 0xffffffff
jne 0x436edb
xor eax, eax
jmp 0x436f5d
mov dword [esp + 0x10], 0
push 0x4fb9b0
lea edx, [esp + 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436f38
push 0x4fb9a8
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x436f38
test byte [esp + 0x18], 0x10
jne 0x436f38
push edi
lea esi, [edi + 0x410]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea ecx, [esp + 0x44]
push ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push esi
push ebx
call ebp
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x436f4a
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x436ee3
jmp 0x436f52
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x470]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0047a885
add esp, 0x464
ret 8

Function at 0x437120
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
mov edi, dword [esp + 0x23c]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x43716b
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x437184
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0047a885
add esp, 0x230
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x437190
lea ecx, [esp + 0x30]
push ecx
push edi
call ebx
test eax, eax
je 0x4371cc
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x437190
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0047a885
add esp, 0x230
ret
mov ecx, dword [esp + 0x238]
pop ebx
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.0047a885
add esp, 0x230
ret
Function at 0x4371f0
Capabilities:
Accept command line arguments

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebp
push esi
push edi
lea eax, [esp + 0xc]
push eax
push ecx
xor ebp, ebp
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor esi, esi
cmp dword [esp + 0xc], esi
mov edi, eax
jle 0x437251
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov edx, dword [edi + esi*4]
push 0x4e15c8
push edx
call ebx
test eax, eax
je 0x43724b
mov eax, dword [edi + esi*4]
push 0x4e15c0
push eax
call ebx
test eax, eax
je 0x43724b
inc esi
cmp esi, dword [esp + 0x10]
jl 0x437217
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
mov ebp, 1
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
Function at 0x437260
Capabilities:
Check if file exists
Copy file
Create process on windows
Get common file path

Disassembly:
sub esp, 0xa80
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0xa7c], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26a]
push ecx
mov word [esp + 0x26c], ax
call fcn.0047a920
lea edx, [esp + 0x26c]
push 0x104
push edx
call fcn.0043e3b0
add esp, 0x14
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
je 0x437442
push ebx
push esi
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x47a]
push edx
mov word [esp + 0x47c], cx
call fcn.0047a920
add esp, 0xc
lea eax, [esp + 0x470]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x6a]
push edx
mov word [esp + 0x6c], cx
call fcn.0047a920
push edi
xor esi, esi
push esi
lea eax, [esp + 0x484]
push eax
push 0x4df5ec
lea ecx, [esp + 0x7c]
push 0x104
push ecx
call fcn.0047b635
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x24
lea edx, [esp + 0x60]
push edx
call ebx
test eax, eax
je 0x43736d
nop
push edi
inc esi
push esi
lea eax, [esp + 0x478]
push eax
push 0x4df5ec
lea ecx, [esp + 0x70]
push 0x104
push ecx
call fcn.0047b635
add esp, 0x18
lea edx, [esp + 0x60]
push edx
call ebx
test eax, eax
jne 0x437340
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x437440
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
push 0x40e
mov esi, eax
push edx
lea eax, [esp + 0x682]
push eax
mov word [esp + 0x684], dx
call fcn.0047a920
push 0x40
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.0047a920
xor eax, eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x7c]
push eax
push str.__s___d
lea ecx, [esp + 0x69c]
xor edx, edx
push 0x208
push ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], dx
call fcn.0047b635
add esp, 0x2c
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x698]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x437440
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
pop esi
pop ebx
mov ecx, dword [esp + 0xa80]
pop edi
xor ecx, esp
call fcn.0047a885
add esp, 0xa80
ret

Function at 0x437810
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8
Function at 0x437830
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x437844
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [edi]
push esi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x437870
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x437886
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x437893
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x437ec0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x220], eax
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea esi, [esp + 0x14]
push esi
xor edi, edi
or eax, 0x2001f
push eax
push edi
push edx
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0xc]
mov esi, eax
cmp esi, edi
jne 0x437f36
xor eax, eax
cmp ecx, edi
je 0x437f24
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov esi, eax
mov dword [esp + 0xc], ecx
cmp eax, edi
je 0x437f44
cmp ecx, edi
je 0x437fe2
push ecx
jmp 0x437fdc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
jne 0x437fac
lea esp, [esp]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00437ec0
mov dword [esp + 0x14], eax
cmp eax, edi
jne 0x437ffb
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edi
push edx
mov dword [esp + 0x38], 0x100
call esi
test eax, eax
je 0x437f70
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x437fbf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx]
push eax
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x437fe2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0047a885
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x437fe4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047a885
mov esp, ebp
pop ebp
ret 4
Function at 0x438820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push esi
push edi
push 0x104
mov esi, ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push str.Lang
xor ecx, ecx
push esi
mov word [eax], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x4ded44
push 0x4df974
push 0x4df974
lea ecx, [esp + 0x20]
xor edx, edx
xor eax, eax
push str.software_s_s_s
lea edi, [esi + 0x208]
push ecx
mov word [esi + 0x410], dx
mov word [edi], ax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push 1
push 0
lea eax, [esp + 0x20]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438903
push ebx
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push edi
lea edx, [esp + 0x1c]
push edx
push eax
push str.LangModule
push ebx
mov dword [esp + 0x24], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test ebx, ebx
je 0x4388e7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
xor ecx, esp
call fcn.0047a885
add esp, 0x218
ret 4
mov eax, esi
jmp 0x4388ea

Function at 0x438950
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, eax
mov eax, dword [esi + 0x30]
cmp eax, 0xffffffff
je 0x43898c
push eax
call ebx
mov dword [esi + 0x30], 0xffffffff
mov eax, edi
mov dword [esi + 0x30], edi
cmp eax, 0xffffffff
jne 0x43899e
pop edi
pop esi
xor eax, eax
pop ebx
ret 4
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4389c2
push eax
call ebx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x2c], edi
cmp dword [esi + 0x30], 0xffffffff
je 0x438996
push 0
push 0
push 0
mov eax, edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 4], eax
test eax, eax
je 0x438996
mov dword [esi + 0x14], eax
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [esi + 0x18], ecx
mov edi, dword [ecx + 0x98]
push edi
push ecx
push eax
mov ecx, esi
call fcn.004370b0
test eax, eax
je 0x438996
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
ret 4
Function at 0x4399e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x4d89d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x536f50]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov edi, dword [ebp + 0x414]
mov ebx, dword [ebp + 0x418]
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x439a62
call fcn.004376e0
mov edi, eax
jmp 0x439b44
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x439a7b
call fcn.004376e0
jmp 0x439b3b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x439a96
call fcn.004376e0
jmp 0x439b3b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x18], edi
cmp eax, edi
jae 0x439acc
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x439aba
lea ecx, [ebp]
call fcn.00437eb0
lea ecx, [ebp - 0x20]
call fcn.00437e50
mov eax, 0x8007000e
jmp 0x439b56
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.00438620
mov dword [ebp - 4], 1
jmp 0x439af8
mov eax, dword [ebp]
test eax, eax
jne 0x439b06
mov edi, 0x8007000e
jmp 0x439b3d
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x439b1f
call fcn.004376e0
jmp 0x439b3b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x41c]
mov ecx, dword [ebp]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00439890
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x439b54
lea ecx, [ebp]
call fcn.00437eb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0047a885
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10
Function at 0x43b4d0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [esp]
mov ecx, 9
cmp cx, ax
je 0x43b4fb
mov edx, 6
cmp dx, ax
je 0x43b4fb
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret

Function at 0x43b510
Capabilities:
Delete service
Get common file path
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x4d8bab
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
push 0x20014
xor edi, edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x43b589
mov ebp, dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 1
push str.KuaiZipDrive
push esi
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x43b582
push eax
mov edi, 1
call ebx
push esi
call ebx
test edi, edi
jne 0x43b593
mov eax, 1
jmp 0x43b66f
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x43b5be
push 0x10020
push str.KuaiZipDrive
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x43b5c5
push edi
call ebx
xor eax, eax
jmp 0x43b66f
lea eax, [esp + 0x3c]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov ebp, eax
call ebx
push edi
call ebx
call fcn.0043b4d0
push 0x104
lea ecx, [esp + 0x5c]
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.driversKuaiZipDrive.sys
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test esi, esi
je 0x43b660
lea ecx, [esp + 0x18]
call fcn.004d1630
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x270], 0
call fcn.004d1450
lea ecx, [esp + 0x58]
push ecx
call fcn.00429b00
mov edx, dword [esp + 0x18]
add esp, 4
push edx
lea ecx, [esp + 0x1c]
call fcn.004d1410
lea ecx, [esp + 0x18]
mov dword [esp + 0x26c], 0xffffffff
call fcn.004d15f0
jmp 0x43b66d
lea eax, [esp + 0x58]
push eax
call fcn.00429b00
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.0047a885
add esp, 0x25c
ret
Function at 0x43e1f0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e200
sub eax, edx
sar eax, 1
mov ebp, eax
xor ecx, ecx
lea eax, [ebp + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004421d5
mov esi, eax
mov edx, esi
add esp, 4
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43e235
xor edi, edi
mov byte [esp + 0x10], 1
test ebp, ebp
jl 0x43e29d
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp word [esi + edi*2], 0x5c
jne 0x43e27f
xor eax, eax
push esi
mov word [esi + edi*2], ax
call ebx
test eax, eax
jne 0x43e276
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43e297
mov ecx, 0x5c
mov word [esi + edi*2], cx
inc edi
cmp edi, ebp
jle 0x43e256
pop ebx
push esi
call fcn.0047be0d
movzx eax, byte [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
ret
mov byte [esp + 0x14], 0
pop ebx
push esi
call fcn.0047be0d
movzx eax, byte [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
ret

Function at 0x43e2b0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x208], eax
push edi
mov edi, dword [esp + 0x214]
push str..del
push edi
call fcn.0047ab84
add esp, 8
test eax, eax
je 0x43e2ff
push 5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0047a885
add esp, 0x20c
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
xor esi, esi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov word [esp + 0x1c], ax
call fcn.0047a920
add esp, 0xc
test esi, esi
jne 0x43e343
push edi
lea edx, [esp + 0x14]
push str._s.del
push edx
call fcn.0047b59d
add esp, 0xc
jmp 0x43e357
push esi
push edi
lea eax, [esp + 0x18]
push str._s.del_d
push eax
call fcn.0047b59d
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
call ebp
test eax, eax
je 0x43e375
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
jne 0x43e375
cmp esi, 0xa
jge 0x43e392
inc esi
jmp 0x43e310
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0047ce5b
add esp, 8
push 5
push 0
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x218]
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.0047a885
add esp, 0x20c
ret
Function at 0x43e3b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4d8eb8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov esi, dword [esp + 0x54]
lea eax, [esp + 0x24]
push eax
call fcn.004d6500
add esp, 4
push 0xe
push 0x4e22c0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0
call fcn.00401420
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
jae 0x43e417
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004d3840
add esp, 8
cmp dword [eax + 0x18], 8
jb 0x43e430
mov eax, dword [eax + 4]
jmp 0x43e433
add eax, 4
mov edx, dword [esp + 0x58]
push eax
push 0x4e2238
push edx
push esi
call fcn.0047b635
add esp, 0x10
cmp dword [esp + 0x20], 8
jb 0x43e45b
mov eax, dword [esp + 0xc]
push eax
call fcn.004798f2
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esp + 0x3c], 0x10
mov esi, eax
jb 0x43e478
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004798f2
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0047a885
add esp, 0x48
ret

Function at 0x43ef90
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov byte [esi + 0x68], al
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov eax, dword [esp + 8]
push eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
call fcn.0043eee0
mov eax, esi
pop esi
ret 4

Function at 0x43efd0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
setne cl
mov eax, esi
mov dword [esi + 4], ecx
pop esi
ret 4