Function at 0x439e00
Capabilities:
Get file size
Resolve function by parsing pe exports
Timestomp file

Disassembly:
sub esp, 0x59c
mov eax, dword [0x4c437c]
xor eax, esp
mov dword [esp + 0x598], eax
mov eax, dword [esp + 0x5a4]
mov ecx, dword [esp + 0x5a8]
mov edx, dword [esp + 0x5b0]
push ebx
xor ebx, ebx
push esi
mov esi, 1
push edi
mov edi, dword [esp + 0x5ac]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x24], ebx
cmp dword [eax], ebx
je 0x43a390
cmp dword [ecx], ebx
je 0x43a390
push ebp
call fcn.00424a60
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.004241d0
add esp, 0xc
cmp dword [esp + 0x18], ebx
jne 0x439eb6
xor eax, eax
jmp 0x439ea0
mov cl, byte [esp + eax + 0x9c]
mov byte [esp + eax + 0x3a0], cl
add eax, esi
test cl, cl
jne 0x439ea0
jmp 0x439ee5
push ebx
lea edx, [esp + 0x3a4]
push edx
lea eax, [esp + 0x4ac]
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.00424230
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp eax, ebx
jne 0x43a29f
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
lea edx, [esp + 0x3b8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
je 0x43a29f
cmp dword [esp + 0x18], 0
je 0x439fa6
lea eax, [esp + 0x7c]
push eax
push edi
call fcn.004261d0
add esp, 8
test eax, eax
je 0x439f3f
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x1c], ecx
jmp 0x439f90
push 0
lea eax, [esp + 0x4c]
push eax
push 0x18
lea ecx, [esp + 0x70]
push ecx
push 0
push 0
push 0x70000
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x43a29f
mov eax, dword [esp + 0x70]
mul dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push 0
push ecx
push edx
push eax
call fcn.0046d370
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push ecx
push edx
push eax
call fcn.0046d370
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x1c]
or edx, dword [esp + 0x20]
jne 0x439fca
lea esi, [edx + 7]
jmp 0x43a29f
lea eax, [esp + 0x34]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43a29f
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call fcn.0043ed70
test eax, eax
jne 0x43a29f
cmp dword [esp + 0x18], eax
jne 0x43a005
cmp dword [0x4c2ccc], eax
je 0x43a005
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x5c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
neg eax
sbb eax, eax
neg eax
mov dword [esp + 0x28], eax
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
xor edi, edi
mov dword [esp + 0x24], 0
mov ecx, edi
lea ecx, [ecx]
mov eax, ecx
sub eax, edi
je 0x43a05f
sub eax, 1
je 0x43a040
sub eax, 1
jne 0x43a063
mov ebp, dword [esp + 0x1c]
sub ebp, 0x600
mov ebx, edx
sbb ebx, edi
jmp 0x43a063
cmp edx, edi
jb 0x43a0db
ja 0x43a058
cmp dword [esp + 0x1c], 0x20000
jb 0x43a0db
mov ebp, 0x10000
jmp 0x43a061
xor ebp, ebp
xor ebx, ebx
mov esi, dword [esp + 0x14]
push edi
push edi
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x43a0f6
push 0x200
lea eax, [esp + 0x1a4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll__lread]
cmp eax, 0x200
je 0x43a0ab
push 0x200
lea ecx, [esp + 0x1a4]
push edi
push ecx
call fcn.00469be0
add esp, 0xc
mov eax, dword [esp + 0x40]
push edi
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x1ac]
push ecx
push edi
call fcn.0043cbc0
mov esi, eax
add esp, 0x14
cmp esi, 0x12
je 0x43a100
cmp esi, 3
jne 0x43a0e9
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
inc ecx
cmp ecx, 3
mov dword [esp + 0x24], ecx
jl 0x43a020
cmp esi, edi
je 0x43a100
mov dword [esp + 0x10], edi
jmp 0x43a29f
mov esi, 1
jmp 0x43a29f
mov eax, dword [esp + 0x10]
test byte [eax + 0x4458], 1
je 0x43a117
mov esi, 0x1f
jmp 0x43a29f
mov ecx, dword [esp + 0x5bc]
cmp ecx, edi
je 0x43a12c
mov dword [eax + 0x43ec], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x43ec]
push edx
call fcn.0043df60
add esp, 4
xor edi, edi
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
cmp ecx, 1
je 0x43a158
cmp ecx, 2
je 0x43a158
xor ecx, ecx
xor esi, esi
jmp 0x43a164
mov ecx, dword [eax + 0x4410]
mov esi, dword [eax + 0x4414]
xor edx, edx
cmp edi, 2
setl dl
push edx
mov edx, dword [eax + 0x4458]
push edx
movzx edx, word [eax + 0x4438]
push edx
mov edx, dword [eax + 0x4454]
push edx
mov edx, dword [eax + 0x4450]
push edx
mov edx, dword [eax + 0x444c]
push edx
mov edx, dword [eax + 0x4448]
push edx
mov edx, dword [eax + 0x4440]
push esi
push ecx
mov ecx, dword [eax + 0x4444]
push ecx
push edx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [eax + 0x43ec]
lea edx, [eax + 0x41a8]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1e4]
push eax
push 0
call fcn.0043d520
mov esi, eax
mov eax, dword [esp + 0x7c]
add esp, 0x4c
test eax, eax
je 0x43a1ec
push eax
call fcn.0043aa30
add esp, 4
test esi, esi
jne 0x43a29f
push esi
push esi
mov esi, dword [esp + 0x1c]
push ebx
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x43a0f6
push 0x200
lea ecx, [esp + 0x1a4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll__lwrite]
cmp eax, 0x200
jne 0x43a0f6
cmp dword [esp + 0x18], 0
je 0x43a28c
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x443c], 0
jne 0x43a28c
cmp dword [eax + 0x29a0], 0
jne 0x43a28c
cmp word [eax + 0x29a4], 4
jne 0x43a28c
mov ecx, dword [eax + 0x4458]
test cl, 2
je 0x43a28c
test ecx, 0xfffffffd
jne 0x43a28c
mov edx, dword [eax + 0x4444]
mov ecx, dword [eax + 0x4440]
push 1
push 0
push edx
push ecx
push eax
mov edx, esi
push edx
call fcn.0043dbb0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x43a29f
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
inc edi
cmp edi, 3
jl 0x43a140
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x1a0]
mov ecx, 0x200
mov ebp, eax
mov edi, ecx
mov eax, edx
mov byte [eax], 0
inc eax
sub edi, 1
jne 0x43a2b7
dec ecx
mov byte [edx], 0
inc edx
test ecx, ecx
jne 0x43a2c0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43a2da
push eax
call fcn.0043aa30
add esp, 4
cmp dword [esp + 0x28], 0
mov edi, dword [esp + 0x14]
je 0x43a2fb
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x5c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp edi, 0xffffffff
je 0x43a307
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x2c], 0
jne 0x43a326
lea eax, [esp + 0x4a4]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.00424290
add esp, 8
push 0
call fcn.0043de30
add esp, 4
call fcn.00424a90
push ebp
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 1
jne 0x43a37a
cmp ebp, 5
jne 0x43a37e
cmp dword [esp + 0x18], 0
je 0x43a37e
cmp dword [0x4e9ed4], 0
jne 0x43a37e
call fcn.0042c250
test eax, eax
je 0x43a37e
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x598]
xor ecx, esp
call fcn.0046a1be
add esp, 0x59c
ret
test esi, esi
je 0x43a38c
mov edx, dword [esp + 0x44]
push esi
push edx
call fcn.00429b80
add esp, 8
mov eax, esi
jmp 0x43a361
mov ecx, dword [esp + 0x5a4]
pop edi
pop esi
pop ebx
xor ecx, esp
or eax, 0xffffffff
call fcn.0046a1be
add esp, 0x59c
ret