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

Disassembly:
push 0xffffffffffffffff
push 0x4780ae
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x49eef8]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49eef8]
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 [0x49f474]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, 0x49f474
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
push 0x47dd68
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c4], 0
call fcn.004062a0
push 0x47dd68
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c4], 1
call fcn.004062a0
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
or ebp, 0xffffffff
mov ecx, 0x49f474
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.00402e10
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 0x4372af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Invalid_file_handle._Error_is__u_n
call fcn.00403100
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 0x43723a
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 0x437261
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 0x437288
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 0x4372a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4377b1
lea ecx, [esp + 0x18c]
push ecx
push str.First_file_name_is__s_n
call fcn.00403100
add esp, 8
jmp 0x4372d0
lea edx, [esp + 0x18c]
push edx
push str.Next_file_name_is__s_n
call fcn.00403100
lea eax, [esp + 0x194]
add esp, 8
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4372f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x190]
push eax
lea ecx, [esp + 0x24]
call fcn.00402840
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 0x437337
push esi
lea ecx, [esp + 0x20]
call fcn.00401ea0
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 0x437524
cmp esi, dword [ebp - 8]
jg 0x437524
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 0x437524
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x437524
push 0xffffffffffffffff
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040e230
mov edx, dword [esp + 0x30]
cmp edx, dword [esp + 0x3c]
jg 0x43744b
mov ebx, dword [esp + 0x38]
jl 0x4373c1
cmp dword [esp + 0x2c], ebx
jae 0x43744b
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x437431
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
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.00402e10
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 0x437431
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.004043f0
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x160]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4372d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0x12
je 0x43752e
push esi
push str.FindNextFile_error._Error_is__u_n
call fcn.00403100
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 0x4374b4
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 0x4374dc
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 0x437504
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 0x43729c
push 0x80070057
call fcn.00401120
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x43748c
push 0x2e
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x437551
or eax, 0xffffffff
jmp 0x437557
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00407680
mov ecx, dword [esp + 0x34]
push eax
mov byte [esp + 0x4c4], 5
call fcn.004043f0
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 0x4375a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x49f474]
mov eax, dword [edx + 0xc]
mov ecx, 0x49f474
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.00402e10
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.00401930
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
mov bl, 7
push str.SERIAL
mov byte [esp + 0x4c8], bl
call fcn.004062a0
mov eax, dword [esp + 0x60]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x4cc], 8
call fcn.004062a0
lea ecx, [esp + 0x40]
push ecx
mov byte [esp + 0x4cc], bl
call fcn.00436c90
add esp, 0xc
mov ecx, dword [esp + 0x40]
push eax
mov byte [esp + 0x4c4], 9
call fcn.004043f0
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 0x4376cc
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 0x4376e9
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 0x43770d
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 0x437735
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 0x43775d
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 0x437785
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 0x4377ac
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.00472076
add esp, 0x4b0
ret