Function at 0x411320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c7ee
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2cc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2dc]
mov ecx, 0xb3
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x485010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov eax, dword [str.__t_n]
mov dword [ebp - 0x68], eax
mov cl, byte [0x46ebd8]
mov byte [ebp - 0x64], cl
push 0xff
push 0
lea eax, [ebp - 0x17c]
push eax
call fcn.00418870
add esp, 0xc
push 0x3f
push 0
lea eax, [ebp - 0x1c4]
push eax
call fcn.00418870
add esp, 0xc
push str.Guild
lea eax, [ebp - 0x17c]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x17c]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x17c]
push eax
call fcn.0041acc0
add esp, 8
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
mov esi, esp
push ecx
push str.AscII_d
lea edx, [ebp - 0x1c4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x17c]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x17c]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x17c]
push eax
call fcn.0041acc0
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x17c]
push ecx
call fcn.0041acc0
add esp, 8
push str..txt
lea eax, [ebp - 0x17c]
push eax
call fcn.0041acc0
add esp, 8
mov esi, esp
lea eax, [ebp - 0x17c]
push eax
push str.Verify_Guild_Integrity___s_
push 0x4884a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
push 0x4884a0
call fcn.00413cf0
add esp, 4
mov byte [ebp - 0x55], 0
mov byte [ebp - 0x49], 0
push 0x46e9c8
lea eax, [ebp - 0x17c]
push eax
call fcn.0041ba10
add esp, 8
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
je 0x411696
push 2
push 0
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.0041c3a0
add esp, 0xc
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.0041cbf0
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.0041d220
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041b070
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1d0]
push eax
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.0041c140
add esp, 0x10
push 0x414
call fcn.00418dd0
add esp, 4
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c0], 0
je 0x41157e
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x2c0]
call fcn.00416390
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2dc], eax
jmp 0x411588
mov dword [ebp - 0x2dc], 0
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2cc], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x74], edx
mov ecx, dword [ebp - 0x74]
call fcn.00416550
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x411625
movsx eax, byte [ebp - 0x49]
test eax, eax
je 0x4115f1
mov al, byte [ebp - 0x49]
mov byte [ebp - 0x2d4], al
cmp byte [ebp - 0x2d4], 1
je 0x4115da
jmp 0x4115ef
mov eax, dword [ebp - 0x40]
push eax
call fcn.0041b010
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov byte [ebp - 0x49], 0
jmp 0x41160c
push 0xa
push str.guild_GUID
mov eax, dword [ebp - 0x40]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x41160c
mov byte [ebp - 0x49], 1
mov ecx, dword [ebp - 0x74]
call fcn.00416550
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x40], eax
jmp 0x4115b8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2b4], ecx
cmp dword [ebp - 0x2b4], 0
je 0x411674
mov esi, esp
push 1
mov edx, dword [ebp - 0x2b4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [eax]
call edx
cmp esi, esp
call fcn.00418a80
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], eax
jmp 0x41167e
mov dword [ebp - 0x2d8], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
push ecx
call fcn.00418130
add esp, 4
cmp dword [ebp - 0x1d0], 0
je 0x4116ae
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.0041b1b0
add esp, 4
jmp 0x4116d3
push edx
mov ecx, ebp
push eax
lea edx, [0x411710]
call fcn.00418a20
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00419b10
add esp, 0x2dc
cmp ebp, esp
call fcn.00418a80
mov esp, ebp
pop ebp
ret 8