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

Disassembly:
push 0xffffffffffffffff
push 0x477f9e
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x49ef38]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49ef38]
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 [0x49f4e4]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, 0x49f4e4
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
push 0x47dd5c
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c4], 0
call fcn.00406330
push 0x47dd5c
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c4], 1
call fcn.00406330
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
or ebp, 0xffffffff
mov ecx, 0x49f4e4
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.00402eb0
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 0x436fdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Invalid_file_handle._Error_is__u_n
call fcn.004031a0
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 0x436f6a
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 0x436f91
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 0x436fb8
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 0x436fd8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4374e1
lea ecx, [esp + 0x18c]
push ecx
push str.First_file_name_is__s_n
call fcn.004031a0
add esp, 8
jmp 0x437000
lea edx, [esp + 0x18c]
push edx
push str.Next_file_name_is__s_n
call fcn.004031a0
lea eax, [esp + 0x194]
add esp, 8
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x437020
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x24]
call fcn.004028e0
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 0x437067
push esi
lea ecx, [esp + 0x20]
call fcn.00401eb0
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 0x437254
cmp esi, dword [ebp - 8]
jg 0x437254
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 0x437254
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x437254
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040e2b0
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x3c]
jg 0x43717b
mov ebx, dword [esp + 0x38]
jl 0x4370f1
cmp dword [esp + 0x2c], ebx
jae 0x43717b
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x437161
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f4e4
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.00402eb0
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 0x437161
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.00404480
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x160]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x437000
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x12
je 0x43725e
push esi
push str.FindNextFile_error._Error_is__u_n
call fcn.004031a0
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 0x4371e4
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 0x43720c
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 0x437234
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 0x436fcc
push 0x80070057
call fcn.00401120
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x4371bc
push 0x2e
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x437281
or eax, 0xffffffff
jmp 0x437287
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407770
mov ecx, dword [esp + 0x34]
push eax
mov byte [esp + 0x4c4], 5
call fcn.00404480
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 0x4372d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x49f4e4]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f4e4
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.00402eb0
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 SysReAllocStringLen
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.00401940
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
mov bl, 7
push str.SERIAL
mov byte [esp + 0x4c8], bl
call fcn.00406330
mov eax, dword [esp + 0x60]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x4cc], 8
call fcn.00406330
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x4cc], bl
call fcn.004369c0
add esp, 0xc
mov ecx, dword [esp + 0x40]
push eax
mov byte [esp + 0x4c4], 9
call fcn.00404480
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 0x4373fc
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 0x437419
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 0x43743d
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 0x437465
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 0x43748d
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 0x4374b5
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 0x4374dc
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.00471f66
add esp, 0x4b0
ret