Function at 0x415614
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
mov eax, 0x4b84cc
call fcn.00498c30
mov word [ebp - 0x40], 0xc
mov edx, str.getBiosDllFile
lea eax, [ebp - 4]
call fcn.004a4d1c
inc dword [ebp - 0x34]
push dword [eax]
call fcn.00414588
pop ecx
dec dword [ebp - 0x34]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a4dc8
mov ecx, dword [str._ASEXBSIF_]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [0x4b671c]
mov dword [ebp - 0x58], ecx
mov cx, word [0x4b6720]
mov word [ebp - 0x54], cx
mov word [ebp - 0x40], 0x18
call fcn.0041527c
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
dec edx
push edx
or ecx, 0xffffffff
sub ecx, dword [ebp - 0x60]
inc ecx
push ecx
call dword [0x4c5878]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x60], 0
jne 0x4156de
mov word [ebp - 0x40], 0x24
mov edx, str.GetDMIROMSize_is_0...
lea eax, [ebp - 0xc]
call fcn.004a4d1c
inc dword [ebp - 0x34]
push dword [eax]
call fcn.00414588
pop ecx
dec dword [ebp - 0x34]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a4dc8
xor eax, eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x415906
mov word [ebp - 0x40], 0x30
lea eax, [ebp - 0x10]
call fcn.00401fdc
mov edx, eax
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x60]
call fcn.0042dda4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
call fcn.00401fdc
mov ecx, eax
inc dword [ebp - 0x34]
mov eax, str.GetDMIROMSize_is
pop edx
call fcn.004a4eb4
lea ecx, [ebp - 0x14]
push dword [ecx]
call fcn.00414588
pop ecx
dec dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004a4dc8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a4dc8
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x40], 0x18
xor eax, eax
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x6c]
push ecx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
call fcn.0040eeb0
add esp, 0x10
mov byte [ebp - 0x71], al
cmp dword [ebp - 0x6c], 0
jne 0x4157ae
mov word [ebp - 0x40], 0x3c
mov edx, str.SearchDllFile_failed..
lea eax, [ebp - 0x18]
call fcn.004a4d1c
inc dword [ebp - 0x34]
push dword [eax]
call fcn.00414588
pop ecx
dec dword [ebp - 0x34]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004a4dc8
xor eax, eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
jmp 0x415906
mov word [ebp - 0x40], 0x48
lea eax, [ebp - 0x1c]
call fcn.00401fdc
mov edx, eax
inc dword [ebp - 0x34]
mov eax, dword [0x4c45f4]
mov eax, dword [eax]
call fcn.00434450
lea edx, [ebp - 0x1c]
push dword [edx]
lea eax, [ebp - 0x20]
call fcn.00401fdc
mov edx, eax
inc dword [ebp - 0x34]
pop eax
call fcn.0042e72c
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x28]
call fcn.00401fdc
push eax
inc dword [ebp - 0x34]
mov edx, str.PEbiosinterface32.dll
lea eax, [ebp - 0x24]
call fcn.004a4d1c
inc dword [ebp - 0x34]
lea edx, [ebp - 0x24]
pop ecx
pop eax
call fcn.004a4e04
lea edx, [ebp - 0x28]
lea eax, [ebp - 8]
call fcn.00406510
add dword [ebp - 0x34], 2
dec dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a4dc8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a4dc8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a4dc8
dec dword [ebp - 0x34]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004a4dc8
mov word [ebp - 0x40], 0x18
push 0x80
lea eax, [ebp - 8]
call fcn.004065a4
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov word [ebp - 0x40], 0x54
lea edx, [ebp - 8]
lea eax, [ebp - 0x2c]
call fcn.00415058
inc dword [ebp - 0x34]
mov eax, dword [eax]
call fcn.004a4954
dec dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a4dc8
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
lea eax, [ebp - 8]
call fcn.004065a4
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x78], eax
mov word [ebp - 0x40], 0x18
push 0
lea edx, [ebp - 0x7c]
push edx
push dword [ebp - 0x70]
push dword [ebp - 0x6c]
push dword [ebp - 0x78]
call sub.KERNEL32.DLL_WriteFile
push dword [ebp - 0x78]
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
push eax
sub dword [ebp - 0x34], 2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406550
pop eax
mov edx, dword [ebp - 0x50]
mov dword fs:[0], edx
mov esp, ebp
pop ebp
ret