Function at 0x410d80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c7ae
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2e0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2f0]
mov ecx, 0xb8
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 - 0x74], eax
mov cl, byte [0x46ebd8]
mov byte [ebp - 0x70], cl
push 0xff
push 0
lea eax, [ebp - 0x188]
push eax
call fcn.00418870
add esp, 0xc
push 0x3f
push 0
lea eax, [ebp - 0x1d0]
push eax
call fcn.00418870
add esp, 0xc
push str.Character
lea eax, [ebp - 0x188]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x188]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x188]
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 - 0x1d0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp esi, esp
call fcn.00418a80
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x188]
push eax
call fcn.0041acc0
add esp, 8
push 0x46e9b4
lea eax, [ebp - 0x188]
push eax
call fcn.0041acc0
add esp, 8
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.0041acc0
add esp, 8
push str..txt
lea eax, [ebp - 0x188]
push eax
call fcn.0041acc0
add esp, 8
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x55], 0
push 0x46f9d8
lea eax, [ebp - 0x188]
push eax
call fcn.0041ba10
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x411232
push 2
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041c3a0
add esp, 0xc
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041cbf0
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041d220
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
call fcn.0041b070
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x28]
push eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.0041c140
add esp, 0x10
push 0x414
call fcn.00418dd0
add esp, 4
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2d4], 0
je 0x410f9c
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x2d4]
call fcn.00416390
mov dword [ebp - 0x2ec], eax
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x2f0], eax
jmp 0x410fa6
mov dword [ebp - 0x2f0], 0
mov ecx, dword [ebp - 0x2f0]
mov dword [ebp - 0x2e0], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2e0]
mov dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x80]
call fcn.00416550
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x4111c1
movsx eax, byte [ebp - 0x55]
test eax, eax
je 0x4110e8
movsx eax, byte [ebp - 0x55]
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp - 0x2e8]
sub ecx, 1
mov dword [ebp - 0x2e8], ecx
cmp dword [ebp - 0x2e8], 5
ja case.default.0x411018
mov edx, dword [ebp - 0x2e8]
jmp dword [edx*4 + 0x411304]
push 0xb
push 0
lea eax, [ebp - 0x1e4]
push eax
call fcn.00418870
add esp, 0xc
push 0xa
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1e4]
push ecx
call fcn.00413650
add esp, 0xc
mov byte [ebp - 0x55], 0
jmp case.default.0x411018
push 4
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.00418870
add esp, 0xc
push 0xb
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413650
add esp, 0xc
mov byte [ebp - 0x55], 0
jmp case.default.0x411018
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041b010
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [ebp - 0x55], 0
jmp case.default.0x411018
push 4
push 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.00418870
add esp, 0xc
push 0x15
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00413650
add esp, 0xc
mov byte [ebp - 0x55], 0
jmp case.default.0x411018
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041b010
add esp, 4
mov ecx, dword [ebp + 0x18]
mov byte [ecx], al
mov byte [ebp - 0x55], 0
jmp case.default.0x411018
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041b010
add esp, 4
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov byte [ebp - 0x55], 0
jmp 0x4111a5
push 0x11
push str.character_loc_map
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x411103
mov byte [ebp - 0x55], 1
push 0xc
push str.account_name
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x41111e
mov byte [ebp - 0x55], 2
push 0xf
push str.character_LEVEL
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x411139
mov byte [ebp - 0x55], 3
push 0x14
push str.character_guild_name
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x411154
mov byte [ebp - 0x55], 4
push 0x14
push str.character_guild_rank
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x41116f
mov byte [ebp - 0x55], 5
push 0x14
push str.character_guild_GUID
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x41118a
mov byte [ebp - 0x55], 6
push 5
push str._EOF_
mov eax, dword [ebp - 0x4c]
push eax
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x4111a5
mov byte [ebp - 0x55], 7
mov ecx, dword [ebp - 0x80]
call fcn.00416550
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x4c], eax
jmp 0x410fd6
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2c8], ecx
cmp dword [ebp - 0x2c8], 0
je 0x411210
mov esi, esp
push 1
mov edx, dword [ebp - 0x2c8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c8]
mov edx, dword [eax]
call edx
cmp esi, esp
call fcn.00418a80
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
jmp 0x41121a
mov dword [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call fcn.00418130
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x411244
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041b1b0
add esp, 4
jmp 0x411269
push edx
mov ecx, ebp
push eax
lea edx, [0x4112a8]
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, 0x2f0
cmp ebp, esp
call fcn.00418a80
mov esp, ebp
pop ebp
ret 0x18