Function at 0x5c6c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x74a367
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebx
mov ebx, dword [esp + 0x280]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
push edi
je 0x5c6d1e
push ebx
call fcn.005c6ac0
test eax, eax
jne 0x5c6d1e
lea ecx, [esp + 0x64]
call fcn.00412d40
push ebx
lea eax, [esp + 0x68]
push str.users__d.in2
push eax
mov dword [esp + 0x290], ebp
call fcn.00413950
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.004049b0
mov ecx, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 1
call fcn.00403a50
test eax, eax
lea ecx, [esp + 0x1c]
jne 0x5c6cfd
push str.user
push ebp
call fcn.00402f30
mov edi, eax
cmp edi, ebp
lea ecx, [esp + 0x1c]
jne 0x5c6d25
mov byte [esp + 0x284], 0
call fcn.004049f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x284], 0xffffffff
call fcn.00412de0
xor eax, eax
jmp 0x5c736d
mov esi, dword [esp + 0x290]
push str.name
push edi
mov dword [esi], ebx
call fcn.00403230
test eax, eax
je 0x5c6d5f
push str.name
push edi
lea ecx, [esp + 0x24]
call fcn.00403230
push 0x10
push eax
lea edx, [esi + 4]
push edx
call fcn.0071ed54
add esp, 0xc
mov word [esi + 0x24], bp
mov eax, dword [esi + 0x1e8]
push eax
push str.autosave
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
push ebp
push str.female
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x1e8], eax
call fcn.00403300
movzx ecx, word [esi + 0x26]
neg eax
push ecx
sbb eax, eax
push str.picidx
neg eax
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x2c], eax
call fcn.00403300
movzx edx, word [esi + 0x28]
push edx
push str.titleidx
push edi
lea ecx, [esp + 0x28]
mov word [esi + 0x26], ax
call fcn.00403300
push str.sound
push ebp
lea ecx, [esp + 0x24]
mov word [esi + 0x28], ax
call fcn.00402f30
mov edi, eax
mov eax, dword [esi + 0x30]
push eax
push str.music
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
movsx ecx, word [esi + 0x34]
push ecx
push str.music_vol
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x30], eax
call fcn.00403300
mov edx, dword [esi + 0x38]
push edx
push str.sound
push edi
lea ecx, [esp + 0x28]
mov word [esi + 0x34], ax
call fcn.00403300
mov dword [esi + 0x38], eax
movsx eax, word [esi + 0x3c]
push eax
push str.sound_vol
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov ecx, dword [esi + 0x40]
push ecx
push str.reverse_speakers
push edi
lea ecx, [esp + 0x28]
mov word [esi + 0x3c], ax
call fcn.00403300
push str.visuals
push ebp
lea ecx, [esp + 0x24]
mov dword [esi + 0x40], eax
call fcn.00402f30
mov edx, dword [esi + 0x44]
push edx
mov edi, eax
push str.water_reflections
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x48]
push eax
push str.distant_fog
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov ecx, dword [esi + 0x4c]
push ecx
push str.clouds_and_rain
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x48], eax
call fcn.00403300
mov edx, dword [esi + 0x50]
push edx
push str.sea_waves
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x4c], eax
call fcn.00403300
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
push eax
push str.water_animation
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov ecx, dword [esi + 0x5c]
push ecx
push str.forest_animation
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x54], eax
call fcn.00403300
mov edx, dword [esi + 0x60]
push edx
push str.particles
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x5c], eax
call fcn.00403300
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x54]
push eax
push str.water_animation
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov ecx, dword [esi + 0x64]
push ecx
push str.realm_names
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x54], eax
call fcn.00403300
mov edx, dword [esi + 0x68]
push edx
push str.view_morale
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x64], eax
call fcn.00403300
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x6c]
push eax
push str.short_help
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov ecx, dword [esi + 0x70]
push ecx
push str.show_wv_icons
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x6c], eax
call fcn.00403300
mov edx, dword [esi + 0x58]
push edx
mov dword [esi + 0x70], eax
push str.clouds_overlay
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x1ec]
push eax
push str.tut_chapter
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
mov ecx, dword [esi + 0x1f0]
push ecx
push str.tut_topic
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x1ec], eax
call fcn.00403300
movzx edx, byte [esi + 0x1f4]
push edx
push str.mpa_metagroup
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0x1f0], eax
call fcn.00403300
mov byte [esi + 0x1f4], al
movzx eax, byte [esi + 0x1f5]
push eax
push str.mpa_units
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
xor bl, bl
test al, al
mov byte [esi + 0x1f5], al
jbe 0x5c7060
mov edi, edi
movzx ebp, bl
push ebp
lea ecx, [esp + 0x80]
push str.mpa_unit_.2d
push ecx
call fcn.0071f52c
add esp, 0xc
push 0
lea edx, [esp + 0x80]
push edx
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
push ebp
mov byte [esi + ebp + 0x204], al
lea eax, [esp + 0x80]
push str.mpa_unitlev_.2d
push eax
call fcn.0071f52c
add esp, 0xc
push 0
lea ecx, [esp + 0x80]
push ecx
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
add bl, 1
mov byte [esi + ebp + 0x1f6], al
cmp bl, byte [esi + 0x1f5]
jb 0x5c6ff0
push 0x7d2ab4
push edi
lea ecx, [esp + 0x24]
call fcn.00403230
test eax, eax
je 0x5c7091
push 0x7d2ab4
push edi
lea ecx, [esp + 0x24]
call fcn.00403230
push 0x18
push eax
lea edx, [esi + 0x74]
push edx
call fcn.0071ed54
add esp, 0xc
push str.gamepass
push edi
lea ecx, [esp + 0x24]
call fcn.00403230
test eax, eax
je 0x5c70c5
push str.gamepass
push edi
lea ecx, [esp + 0x24]
call fcn.00403230
push 0xc
push eax
lea eax, [esi + 0xa6]
push eax
call fcn.0071ed54
add esp, 0xc
push 0
push str.mp_locked
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
push 0
push str.mp_mode
push edi
lea ecx, [esp + 0x28]
mov dword [esi + 0xc0], eax
call fcn.00403300
push 0
push str.mp_players
push edi
lea ecx, [esp + 0x28]
mov byte [esi + 0xc4], al
call fcn.00403300
push 0
push str.mp_ip
push edi
lea ecx, [esp + 0x28]
mov byte [esi + 0xc5], al
call fcn.00403300
lea ecx, [esi + 0xcc]
mov dword [esi + 0xc8], eax
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 5
push ebx
lea ecx, [esp + 0x78]
call fcn.00413ef0
push eax
lea edx, [esp + 0x70]
push str.recent_game_
push edx
mov byte [esp + 0x290], 2
call fcn.00413c20
add esp, 0xc
mov eax, dword [eax]
push eax
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x28c], 3
call fcn.00403230
lea ecx, [esp + 0x6c]
mov ebp, eax
mov byte [esp + 0x284], 2
call fcn.00412de0
lea ecx, [esp + 0x74]
mov byte [esp + 0x284], 1
call fcn.00412de0
test ebp, ebp
je 0x5c71a7
mov eax, dword [esp + 0x18]
push 0x18
push ebp
push eax
call fcn.0071ed54
add esp, 0xc
add dword [esp + 0x18], 0x32
add ebx, 1
sub dword [esp + 0x10], 1
jne 0x5c7135
push 0
push str.mp_sort
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
push 0
push str.mp_filter
push edi
lea ecx, [esp + 0x28]
mov byte [esi + 0x1c6], al
call fcn.00403300
push str.joinpass
push edi
lea ecx, [esp + 0x24]
mov byte [esi + 0x1c7], al
call fcn.00403230
test eax, eax
je 0x5c721c
push str.joinpass
push edi
lea ecx, [esp + 0x24]
call fcn.00403230
push 0xc
push eax
lea ecx, [esi + 0x1c8]
push ecx
call fcn.0071ed54
add esp, 0xc
push 0
push str.mp_ornament
push edi
lea ecx, [esp + 0x28]
call fcn.00403300
push 0
push str.mp_color
push edi
lea ecx, [esp + 0x28]
mov byte [esi + 0x1e2], al
call fcn.00403300
push 0
push str.mp_teamcolor1
push edi
lea ecx, [esp + 0x28]
mov byte [esi + 0x1e3], al
call fcn.00403300
push 1
push str.mp_teamcolor2
push edi
lea ecx, [esp + 0x28]
mov byte [esi + 0x1e4], al
call fcn.00403300
push 0x7d2998
push 0
lea ecx, [esp + 0x24]
mov byte [esi + 0x1e5], al
call fcn.00402f30
test eax, eax
je 0x5c72d6
push eax
lea ecx, [esp + 0x20]
call fcn.004030f0
mov edi, eax
test edi, edi
je 0x5c72d6
lea ebx, [esi + 0x214]
sub esp, 8
mov ebp, esp
mov dword [esp + 0x18], esp
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x2c]
call fcn.00402f50
push eax
mov ecx, ebp
call fcn.00413870
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
push edi
lea ecx, [esp + 0x20]
call fcn.00403110
mov edi, eax
test edi, edi
jne 0x5c72a2
mov ecx, dword [0x894420]
test ecx, ecx
je 0x5c72ef
add esi, 4
push esi
push esi
push str.usernames
call fcn.00414ab0
mov eax, dword [0x914218]
test eax, eax
je 0x5c7343
mov eax, dword [eax + 0x29c]
test eax, eax
je 0x5c7343
mov esi, dword [eax]
lea ecx, [esp + 0x10]
call fcn.00412d40
push esi
lea eax, [esp + 0x14]
push str.SAVE__d
push eax
mov byte [esp + 0x290], 4
call fcn.00413950
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00401920
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 1
call fcn.00412de0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x284], 0
call fcn.004049f0
lea ecx, [esp + 0x64]
mov dword [esp + 0x284], 0xffffffff
call fcn.00412de0
mov eax, 1
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x278
ret 8