Function at 0x43a880
Capabilities:
Access peb ldr_data
Delete file
Enumerate files on windows
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b5fe
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4cc]
mov ecx, dword [esp + 0x4d0]
mov edx, dword [0x4a743c]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, 0x4a743c
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
push 0x481de0
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c4], 0
call fcn.00406310
push 0x481de0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c4], 1
call fcn.00406310
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
or ebp, 0xffffffff
mov ecx, 0x4a743c
mov byte [esp + 0x4c0], 2
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
movzx edi, word [esp + 0x4c8]
push edi
lea ecx, [esp + 0x24]
push str._c:.SAMSUNG
push ecx
mov byte [esp + 0x4cc], 3
call fcn.00402e80
mov ebx, dword [esp + 0x2c]
add esp, 0xc
lea edx, [esp + 0x160]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x24], eax
cmp eax, ebp
jne 0x43aa2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Invalid_file_handle._Error_is__u_n
call fcn.00403170
lea eax, [ebx - 0x10]
add esp, 8
mov byte [esp + 0x4c0], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a9ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 1
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a9e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43aa08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x4c0], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x43aa28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x43af31
lea ecx, [esp + 0x18c]
push ecx
push str.First_file_name_is__s_n
call fcn.00403170
add esp, 8
jmp 0x43aa50
lea edx, [esp + 0x18c]
push edx
push str.Next_file_name_is__s_n
call fcn.00403170
lea eax, [esp + 0x194]
add esp, 8
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43aa70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x24]
call fcn.004028b0
mov ebp, dword [esp + 0x1c]
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
sub eax, esi
or eax, ecx
jge 0x43aab7
push esi
lea ecx, [esp + 0x20]
call fcn.00401e80
mov ebp, dword [esp + 0x1c]
lea ecx, [esi + 1]
push ecx
push ebp
call dword [sym.imp.MSVCR90.dll__wcsupr_s]
add esp, 8
test esi, esi
jl 0x43aca4
cmp esi, dword [ebp - 8]
jg 0x43aca4
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x170]
xor edx, edx
mov dword [ebp - 0xc], esi
push ecx
mov word [ebp + esi*2], dx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x43aca4
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x43aca4
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x40]
call fcn.00410ac0
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x3c]
jg 0x43abcb
mov ebx, dword [esp + 0x38]
jl 0x43ab41
cmp dword [esp + 0x2c], ebx
jae 0x43abcb
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x43abb1
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x20]
push str._c:_s
push edx
mov byte [esp + 0x4d0], 4
call fcn.00402e80
mov esi, dword [esp + 0x28]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov byte [esp + 0x4c0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43abb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x30], ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], ebx
call fcn.00404460
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x160]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43aa50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x12
je 0x43acae
push esi
push str.FindNextFile_error._Error_is__u_n
call fcn.00403170
add esp, 8
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c0], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ac34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x4c0], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ac5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ac84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x4c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43aa1c
push 0x80070057
call fcn.00401120
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x43ac0c
push 0x2e
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x43acd1
or eax, 0xffffffff
jmp 0x43acd7
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407d60
mov ecx, dword [esp + 0x34]
push eax
mov byte [esp + 0x4c4], 5
call fcn.00404460
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ad20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x4a743c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4a743c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
push ecx
push edi
lea edx, [esp + 0x20]
push str._c:_s
push edx
mov byte [esp + 0x4d0], 6
call fcn.00402e80
push 0x104
lea eax, [esp + 0x3c4]
push 0
push eax
mov dword [esp + 0x40], 0x104
call sub.MSVCR90.dll_memset
mov edi, dword [esp + 0x34]
add esp, 0x1c
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 0x28]
push ecx
mov esi, eax
push edx
lea eax, [esp + 0x3bc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x60]
push 3
lea edx, [esp + 0x3b4]
mov dword [esp + 0x60], ecx
push edx
lea ecx, [esp + 0x64]
call fcn.00401930
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
mov bl, 7
push str.SERIAL
mov byte [esp + 0x4c8], bl
call fcn.00406310
mov eax, dword [esp + 0x60]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x4cc], 8
call fcn.00406310
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x4cc], bl
call fcn.0043a410
add esp, 0xc
mov ecx, dword [esp + 0x40]
push eax
mov byte [esp + 0x4c4], 9
call fcn.00404460
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ae4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x43ae69
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea eax, [edi - 0x10]
mov byte [esp + 0x4c0], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43ae8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43aeb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43aedd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x4c0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43af05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x4c0], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43af2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.004764f6
add esp, 0x4b0
ret