Function at 0x47a425
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x5f3708]
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov dword [ebp - 0x118], esi
mov byte [ebp - 0x110], bl
call fcn.005306b0
add esp, 0xc
push 0x8c
lea eax, [ebp - 0x1ac]
push ebx
push eax
mov dword [ebp - 0x1b0], ebx
call fcn.005306b0
add esp, 0xc
mov dword [ebp - 0x114], ebx
call fcn.004fa8e4
push 0x323b
push str..Network.c
push 0x280
mov dword [ebp - 0x11c], eax
call fcn.00471db5
add esp, 0xc
push str.fTender.cfg
lea edi, [ebp - 0x110]
call fcn.00470e3d
pop ecx
push ebx
push ebx
push 4
push 7
push 0xc0000000
mov eax, edi
push eax
push 0x20
pop eax
call fcn.0042eb42
mov edi, eax
add esp, 0x18
cmp edi, 0xffffffff
mov dword [ebp - 0x120], edi
jne 0x47a4ff
push str._GetLastError_
lea eax, [ebp - 0x110]
push eax
push esi
push str.:5:FlagTenderTypesEnabledLegacyTAMS__d__FAILED:_CreateFileTimeOut__s__FAILED:__s
call fcn.0042b70b
add esp, 0x10
xor eax, eax
jmp 0x47a6e8
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x114]
push eax
mov esi, 0x90
push esi
lea eax, [ebp - 0x1b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x47a555
call fcn.00435716
push str._GetLastError_
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x118]
push str.:5:FlagTenderTypesEnabledLegacyTAMS__d__FAILED:_ReadFile__s__FAILED:_ByteCount_u:__s
call fcn.0042b70b
add esp, 0x14
jmp 0x47a4f8
cmp dword [ebp - 0x114], esi
jae 0x47a582
push esi
push dword [ebp - 0x114]
push str.:2:FlagTenderTypesEnabledLegacyTAMS___EAP:_Only__u_of__d_bytes_could_be_read.
call fcn.0042b70b
add esp, 0xc
push esi
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.005306b0
add esp, 0xc
cmp dword [ebp - 0x1b0], ebx
jl 0x47a593
cmp dword [ebp - 0x1b0], 7
jle 0x47a5bb
push dword [ebp - 0x1b0]
push str.:6:FlagTenderTypesEnabledLegacyTAMS___EAP:_ttef.iCurSlot_is_invalid:__d
call fcn.0042b70b
push esi
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.005306b0
add esp, 0x14
cmp dword [ebp - 0x1b0], 7
jl 0x47a5ef
xor ecx, ecx
lea eax, [ebp - 0x190]
mov edx, dword [ebp + ecx*4 - 0x1a8]
mov dword [ebp + ecx*4 - 0x1ac], edx
lea esi, [eax + 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc ecx
add eax, 0x10
cmp ecx, 6
movsd dword es:[edi], dword [esi]
jl 0x47a5c5
mov dword [ebp - 0x1b0], 6
mov ecx, dword [ebp - 0x1b0]
xor eax, eax
cmp dword [ebp - 0x118], ebx
push 0x3274
sete al
push str..Network.c
lea esi, [ebp - 0x1c0]
mov dword [ebp + ecx*4 - 0x1ac], eax
call fcn.004fb8cb
mov edi, dword [ebp - 0x1b0]
shl edi, 4
lea edi, [ebp + edi - 0x190]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
pop ecx
movsd dword es:[edi], dword [esi]
push ebx
push ebx
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x120]
inc dword [ebp - 0x1b0]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x114]
push eax
push 0x90
lea eax, [ebp - 0x1b0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47a690
call fcn.00435716
push str._GetLastError_
push dword [ebp - 0x114]
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x118]
push str.:5:FlagTenderTypesEnabledLegacyTAMS__d__FAILED:_WriteFile__s__FAILED:_ByteCount_u:__s
jmp 0x47a54b
call fcn.00435716
push 0x18
push 6
mov eax, 0x7d8
call fcn.004fca17
test eax, eax
pop ecx
pop ecx
je 0x47a6e5
call fcn.004fa8e4
sub eax, dword [ebp - 0x11c]
cmp eax, 0xfa
jbe 0x47a6cb
call fcn.004fa8e4
sub eax, dword [ebp - 0x11c]
push eax
push 2
jmp 0x47a6d8
call fcn.004fa8e4
sub eax, dword [ebp - 0x11c]
push eax
push ebx
push str.:_d:FYI:FlagTenderTypesEnabledLegacyTAMS___took__ums
call fcn.0042bd38
add esp, 0xc
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret