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

Disassembly:
push 0xffffffffffffffff
push 0x5d43e3
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0xfc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x14], ebx
push 5
mov ebp, 0xf
push str.happy
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0043df40
push 8
push str.MainMenu
lea ecx, [esp + 0x28]
mov dword [esp + 0x124], ebx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0043df40
lea eax, [esp + 0x20]
push eax
mov ecx, 0x63e65c
mov byte [esp + 0x120], 1
call fcn.00520690
mov eax, dword [eax]
push ebx
lea ecx, [esp + 0x40]
push ecx
push eax
mov ecx, esi
call fcn.005292b0
mov edi, 0x10
cmp dword [esp + 0x38], edi
jb 0x53688d
mov edx, dword [esp + 0x24]
push edx
call fcn.005b28f2
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x54], edi
jb 0x5368ac
mov eax, dword [esp + 0x40]
push eax
call fcn.005b28f2
add esp, 4
lea edi, [esi + 0x1bc]
mov dword [esi], vtable.MainMenu.1.0
mov dword [esi + 0x88], vtable.MainMenu.0
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0x1e8], ebp
mov dword [esi + 0x1e4], ebx
mov byte [esi + 0x1d4], bl
mov dword [esi + 0x204], ebp
mov dword [esi + 0x200], ebx
mov byte [esi + 0x1f0], bl
push 0xe0
mov byte [esp + 0x120], 7
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
call fcn.005b2b20
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x11c], 8
je 0x5369be
push 9
push str.Title_Hud
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0043df40
push 9
push str.Title_Hud
lea ecx, [esp + 0x28]
mov byte [esp + 0x124], 9
mov dword [esp + 0x1c], 1
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0043df40
lea ecx, [esp + 0x3c]
push ecx
mov ecx, 0x63e65c
mov dword [esp + 0x120], 0xa
mov dword [esp + 0x18], 3
call fcn.00520690
mov edx, dword [eax]
lea eax, [esp + 0x20]
push eax
mov ecx, 0x63e65c
mov dword [esp + 0x20], edx
call fcn.00520690
mov eax, dword [eax]
mov edx, dword [esi + 0x3c]
mov ecx, dword [esp + 0x1c]
sub edx, dword [eax + 0x28]
push ebx
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ebx
call fcn.00558a70
jmp 0x5369c0
xor eax, eax
push eax
mov ecx, esi
mov dword [esp + 0x120], 0xc
call fcn.00537d40
test byte [esp + 0x14], 2
je 0x5369ff
and dword [esp + 0x14], 0xfffffffd
cmp dword [esp + 0x38], 0x10
jb 0x5369f3
mov eax, dword [esp + 0x24]
push eax
call fcn.005b28f2
add esp, 4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
test byte [esp + 0x14], 1
mov dword [esp + 0x11c], 7
je 0x536a25
cmp dword [esp + 0x54], 0x10
jb 0x536a25
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005b28f2
add esp, 4
push 4
push str.Cook
lea ecx, [esp + 0x8c]
mov dword [esp + 0x60], 0x69
mov dword [esp + 0x64], 0x208
mov dword [esp + 0x68], 0x113
mov dword [esp + 0x6c], 0x201
mov dword [esp + 0x70], 0x1b8
mov dword [esp + 0x74], 0x1ea
mov dword [esp + 0x78], 0x258
mov dword [esp + 0x7c], 0x1bd
mov dword [esp + 0x80], 0x2d0
mov dword [esp + 0x84], 0x181
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.0043df40
push 5
push str.Exams
lea ecx, [esp + 0xa8]
mov byte [esp + 0x124], 0xd
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], bl
call fcn.0043df40
push 6
push str.Awards
lea ecx, [esp + 0xc4]
mov byte [esp + 0x124], 0xe
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], bl
call fcn.0043df40
push 7
push str.Options
lea ecx, [esp + 0xe0]
mov byte [esp + 0x124], 0xf
mov dword [esp + 0xf8], ebp
mov dword [esp + 0xf4], ebx
mov byte [esp + 0xe4], bl
call fcn.0043df40
push 4
push str.Quit
lea ecx, [esp + 0xfc]
mov byte [esp + 0x124], 0x10
mov dword [esp + 0x114], ebp
mov dword [esp + 0x110], ebx
mov byte [esp + 0x100], bl
call fcn.0043df40
lea edx, [esp + 0x84]
mov byte [esp + 0x11c], 0x11
xor ebp, ebp
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + ebp*8 + 0x5c]
mov edx, dword [esp + ebp*8 + 0x58]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00538120
mov ecx, dword [edi + 4]
cmp ecx, ebx
mov dword [esp + 0x1c], eax
jne 0x536b9d
xor eax, eax
jmp 0x536ba5
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ecx, ebx
je 0x536bc6
mov edx, dword [edi + 0xc]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x536bc6
mov eax, dword [edi + 8]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
add eax, 4
mov dword [edi + 8], eax
jmp 0x536bed
mov eax, dword [edi + 8]
cmp ecx, eax
mov dword [esp + 0x18], eax
jbe 0x536bda
call fcn.005b2af7
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
push edi
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call fcn.00536730
add dword [esp + 0x14], 0x1c
add ebp, 1
cmp ebp, 5
jl 0x536b78
push 0x150
call fcn.005b2b20
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x11c], 0x12
je 0x536c2b
lea edx, [esi + 0x88]
push edx
mov ecx, eax
call fcn.005349a0
jmp 0x536c2d
xor eax, eax
mov dword [esi + 0x1cc], eax
mov ecx, dword [0x63e5b8]
mov edx, dword [eax]
mov edx, dword [edx + 0x11c]
push ecx
mov ecx, eax
mov byte [esp + 0x120], 0x11
call edx
push 7
push str.not_you
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.0043df40
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x63e6d0
mov byte [esp + 0x120], 0x13
call fcn.004790c0
mov ecx, dword [esi + 0x1cc]
push 0xffffffffffffffff
push ebx
add ecx, 0x8c
push eax
call fcn.0043b440
mov ebp, 0x10
cmp dword [esp + 0x54], ebp
mov byte [esp + 0x11c], 0x11
jb 0x536cba
mov ecx, dword [esp + 0x40]
push ecx
call fcn.005b28f2
add esp, 4
push 0x80
push 0x80
push 0xff
lea ecx, [esp + 0x2c]
call fcn.00404980
mov ecx, dword [esi + 0x1cc]
mov edx, dword [eax]
add ecx, 0x120
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
push ebx
push ebx
mov dword [ecx + 0xc], eax
push 0xff
lea ecx, [esp + 0x2c]
call fcn.00404980
mov ecx, dword [esi + 0x1cc]
mov edx, dword [eax]
mov dword [ecx + 0x130], edx
mov edx, dword [eax + 4]
add ecx, 0x130
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x1cc]
mov ecx, dword [ecx + 0xac]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
call eax
mov ecx, dword [esi + 0x1cc]
push ebx
push 0xaf
sub eax, 4
push 0x238
mov dword [ecx + 0x14c], eax
mov ecx, dword [esi + 0x1cc]
push 0x2bc
call fcn.005348c0
mov edx, dword [esi + 0x1cc]
push edx
mov ecx, esi
call fcn.00537d40
mov ecx, dword [0x63e700]
cmp ecx, ebx
mov edi, dword [0x63e6f8]
je 0x536da2
mov edx, dword [0x63e704]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x536dad
call fcn.005b2af7
mov ecx, dword [0x63e700]
lea eax, [edi + edi*2]
push 0xffffffffffffffff
shl eax, 5
add eax, ecx
push ebx
push eax
lea ecx, [esi + 0x1ec]
call fcn.0043b440
push 7
push str.welcome
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0043df40
lea eax, [esp + 0x58]
push eax
mov ecx, 0x63e6d0
mov byte [esp + 0x120], 0x14
call fcn.004790c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1d0]
call fcn.0043b440
cmp dword [esp + 0x70], ebp
mov byte [esp + 0x11c], 0x11
jb 0x536e25
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005b28f2
add esp, 4
mov edx, dword [0x63e6b0]
mov ecx, dword [0x63e5a0]
push edx
call fcn.005214a0
push fcn.00525310
push 5
push 0x1c
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x12c], 7
call fcn.005b3550
mov eax, esi
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xfc]
xor ecx, esp
call fcn.005b2f9b
add esp, 0x10c
ret