Function at 0x574a00
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58af56
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x5ed130]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a8], ecx
push 0
push 0x80
push 3
push 0
push 1
push accept
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x574de2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call fcn.0043d429
add esp, 4
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00428d20
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0xc4]
call fcn.00408f90
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0xc4]
call fcn.0041f960
mov byte [eax], 0
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x3d4
call fcn.0041e820
lea ecx, [ebp - 0xbc]
call fcn.00434c30
mov byte [ebp - 4], 1
push 0
lea ecx, [ebp - 0x24]
call fcn.00430080
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.00408f90
push eax
lea ecx, [ebp - 0x150]
call fcn.00401580
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xbc]
call fcn.00434cb0
mov byte [ebp - 0x131], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.00401600
movzx edx, byte [ebp - 0x131]
test edx, edx
je 0x574db5
lea ecx, [ebp - 0x124]
call fcn.0041b670
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1a8]
add eax, 0x3ec
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x24]
call fcn.00431560
mov dword [ebp - 0x12c], eax
jmp 0x574ba9
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp - 0x12c]
jae 0x574d94
push str.typeId
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
mov dword [ebp - 0x124], eax
push str.configType
mov ecx, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.00430bd0
mov dword [ebp - 0x120], eax
lea edx, [ebp - 0x16c]
push edx
push str.notice
mov eax, dword [ebp - 0x128]
push eax
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.004307d0
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x11c]
call fcn.00401620
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x16c]
call fcn.00401600
lea eax, [ebp - 0x188]
push eax
push str.noticeOther
mov ecx, dword [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.004307d0
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1b8]
push eax
lea ecx, [ebp - 0x100]
call fcn.00401620
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x188]
call fcn.00401600
lea ecx, [ebp - 0x1a4]
push ecx
push str.filterNotice
mov edx, dword [ebp - 0x128]
push edx
lea ecx, [ebp - 0x24]
call fcn.00431610
mov ecx, eax
call fcn.004318c0
mov ecx, eax
call fcn.004307d0
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0xe4]
call fcn.00401620
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1a4]
call fcn.00401600
lea edx, [ebp - 0x124]
push edx
mov ecx, dword [ebp - 0x1a8]
add ecx, 0x3d4
call fcn.0041e7a0
lea ecx, [ebp - 0xe4]
call fcn.00401700
push eax
lea ecx, [ebp - 0x100]
call fcn.00401700
push eax
lea ecx, [ebp - 0x11c]
call fcn.00401700
push eax
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
push 0x5dd2d0
mov edx, dword [0x5f9318]
push edx
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0x20
jmp 0x574b9a
mov eax, dword [ebp - 0x1a8]
add eax, 0x3ec
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x124]
call fcn.0041b6a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.004305b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.0040af50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041b650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0043dd0c
mov esp, ebp
pop ebp
ret 4