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

Disassembly:
push 0xffffffffffffffff
push 0x5d34cd
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x6396a8]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6396a8]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov ebp, ecx
push 0xa
xor ebx, ebx
mov esi, 0xf
push str.recipebook
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0043df40
lea eax, [esp + 0x30]
push eax
mov ecx, 0x63e65c
mov dword [esp + 0x15c], ebx
call fcn.00520690
mov eax, dword [eax]
push 1
push ebx
push ebx
push eax
mov ecx, ebp
call fcn.00537570
cmp dword [esp + 0x48], 0x10
jb 0x52ca9c
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005b28f2
add esp, 4
lea edi, [ebp + 0x1b4]
mov dword [ebp], 0x5ed4d4
mov dword [ebp + 0x88], 0x5ed4b4
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov edx, dword [esp + 0x160]
mov dword [ebp + 0x1c4], edx
mov dword [ebp + 0x1ec], esi
mov dword [ebp + 0x1e8], ebx
mov byte [ebp + 0x1d8], bl
push esi
push str.recipebook_flip
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 4
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0043df40
lea eax, [esp + 0x30]
push eax
mov ecx, 0x63e65c
mov byte [esp + 0x15c], 5
call fcn.00520690
cmp dword [esp + 0x48], 0x10
mov eax, dword [eax]
mov dword [ebp + 0x1f4], eax
mov byte [esp + 0x158], 4
jb 0x52cb39
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005b28f2
add esp, 4
mov edx, dword [ebp + 0x1f4]
push ebx
mov dword [ebp + 0x1fc], ebx
push 0x5ff2b0
lea ecx, [esp + 0x60]
mov dword [edx + 0x30], 5
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0043df40
push 8
push str.Tab_Back
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 6
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0043df40
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x219
push 0x290
mov ecx, ebp
mov byte [esp + 0x168], 7
call fcn.00537f70
cmp dword [esp + 0x48], 0x10
mov dword [ebp + 0x1cc], eax
jb 0x52cbc8
mov edx, dword [esp + 0x34]
push edx
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x158], 4
jb 0x52cbf0
mov eax, dword [esp + 0x5c]
push eax
call fcn.005b28f2
add esp, 4
push ebx
push 0x5ff2b0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0043df40
push 9
push str.Tab_Exams
lea ecx, [esp + 0x38]
mov byte [esp + 0x160], 8
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.0043df40
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x34]
push edx
push 0x21d
push 0x8c
mov ecx, ebp
mov byte [esp + 0x168], 9
call fcn.00537f70
cmp dword [esp + 0x48], 0x10
mov dword [ebp + 0x1d0], eax
jb 0x52cc6c
mov eax, dword [esp + 0x34]
push eax
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x158], 4
jb 0x52cc94
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005b28f2
add esp, 4
mov eax, 0x13
push 0xa
push str.Appetizers
lea ecx, [esp + 0xc8]
mov dword [esp + 0xa0], 0x75
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0xe2
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0x14e
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0x1e5
mov dword [esp + 0xbc], 0x11
mov dword [esp + 0xc0], 0x26a
mov dword [esp + 0xc4], 0x12
mov dword [esp + 0xe0], esi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.0043df40
push 9
push str.Breakfast
lea ecx, [esp + 0xe4]
mov byte [esp + 0x160], 0xa
mov dword [esp + 0xfc], esi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
call fcn.0043df40
push 5
push str.Lunch
lea ecx, [esp + 0x100]
mov byte [esp + 0x160], 0xb
mov dword [esp + 0x118], esi
mov dword [esp + 0x114], ebx
mov byte [esp + 0x104], bl
call fcn.0043df40
push 6
push str.Dinner
lea ecx, [esp + 0x11c]
mov byte [esp + 0x160], 0xc
mov dword [esp + 0x134], esi
mov dword [esp + 0x130], ebx
mov byte [esp + 0x120], bl
call fcn.0043df40
push 7
push str.Dessert
lea ecx, [esp + 0x138]
mov byte [esp + 0x160], 0xd
mov dword [esp + 0x150], esi
mov dword [esp + 0x14c], ebx
mov byte [esp + 0x13c], bl
call fcn.0043df40
mov byte [esp + 0x158], 0xe
call fcn.00548b70
xor esi, esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x2c], esi
call fcn.005251d0
test eax, eax
jle 0x52d4fa
mov edx, dword [esp + 0x4c]
add edx, 0x38
lea eax, [esp + 0xc0]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov ecx, dword [0x63e720]
cmp ecx, ebx
je 0x52ce3d
mov eax, dword [0x63e724]
sub eax, ecx
sar eax, 7
cmp esi, eax
jb 0x52ce48
call fcn.005b2af7
mov ecx, dword [0x63e720]
mov edx, dword [esp + 0x50]
lea ebp, [edx + ecx]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
lea eax, [esp + 0x58]
push eax
mov ecx, edi
mov byte [esp + 0x15c], 0x10
call fcn.0052bbc0
mov eax, dword [esp + 0x80]
cmp eax, ebx
mov byte [esp + 0x158], 0xe
je 0x52cea4
push eax
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
jb 0x52cecd
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005b28f2
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52ceee
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52cef3
call fcn.005b2af7
mov ecx, dword [edi + 4]
add ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ebx
push ebp
call fcn.0043b440
push ebx
push 0x5ff2b0
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0043df40
mov edx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x34]
push str.Tab_
push eax
mov byte [esp + 0x164], 0x11
call fcn.00441e70
add esp, 0xc
mov dword [esp + 0x20], eax
mov eax, dword [edi + 4]
cmp eax, ebx
mov byte [esp + 0x158], 0x12
je 0x52cf6e
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52cf73
call fcn.005b2af7
mov eax, dword [edi + 4]
add eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + esi*8 + 0x9c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + esi*8 + 0xa0]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00537f70
mov edx, dword [esp + 0x24]
mov dword [edx + 0x1c], eax
cmp dword [esp + 0x48], 0x10
jb 0x52cfbc
mov eax, dword [esp + 0x34]
push eax
call fcn.005b28f2
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov byte [esp + 0x158], 0xe
jb 0x52cfe8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.005b28f2
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d009
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d00e
call fcn.005b2af7
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edx + 0x1c]
mov byte [ecx + 0x41], bl
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d03d
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d042
call fcn.005b2af7
mov ecx, dword [edi + 4]
add ecx, dword [esp + 0x14]
mov eax, dword [edi + 4]
cmp eax, ebx
mov dword [esp + 0x20], ecx
je 0x52d06e
mov edx, dword [edi + 8]
sub edx, eax
mov eax, 0x4ec4ec4f
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d077
call fcn.005b2af7
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [edx + 0xbc]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov dword [edx + eax + 0x20], ecx
mov eax, dword [esp + 0x28]
cmp esi, dword [eax + 0x1c4]
je 0x52d0ce
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d0b8
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d0bd
call fcn.005b2af7
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ecx + 0x1c]
mov dword [eax + 0xbc], ebx
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.00527710
cmp byte [eax + 2], bl
je 0x52d4ca
mov dword [esp + 0x24], 0x168
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x64]
cmp eax, ebx
je 0x52d374
mov ecx, dword [ebp + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jae 0x52d374
push 6
push str._small
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0043df40
mov eax, dword [ebp + 0x64]
cmp eax, ebx
mov byte [esp + 0x158], 0x13
je 0x52d16b
mov ecx, dword [ebp + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x52d170
call fcn.005b2af7
mov eax, dword [ebp + 0x64]
add eax, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x98]
push ecx
mov ecx, dword [esp + 0x58]
push eax
push ebp
call fcn.00527710
mov ecx, eax
add ecx, 0xc
call fcn.0052b5e0
mov edx, dword [eax + 8]
push edx
call fcn.00550e70
add esp, 0x10
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x158], 0xe
jb 0x52d1c9
mov eax, dword [esp + 0x5c]
push eax
call fcn.005b28f2
add esp, 4
push 0x150
call fcn.005b2b20
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x158], 0x14
je 0x52d1fc
mov ecx, dword [esp + 0x28]
add ecx, 0x88
push ecx
mov ecx, eax
call fcn.005349a0
mov esi, eax
jmp 0x52d1fe
xor esi, esi
mov eax, dword [ebp + 0x64]
cmp eax, ebx
mov byte [esp + 0x158], 0xe
je 0x52d22b
mov ecx, dword [ebp + 0x68]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x52d230
call fcn.005b2af7
mov eax, dword [ebp + 0x64]
add eax, dword [esp + 0x1c]
push eax
call fcn.00526bd0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x8c]
call fcn.0043b440
mov ecx, dword [0x6408f8]
mov dword [esi + 0x130], ecx
mov edx, dword [0x6408fc]
mov dword [esi + 0x134], edx
mov eax, dword [0x640900]
mov dword [esi + 0x138], eax
mov ecx, dword [0x640904]
mov dword [esi + 0x13c], ecx
mov edx, dword [esi + 0x130]
mov eax, dword [esi + 0x134]
mov ecx, dword [esi + 0x138]
mov dword [esi + 0x120], edx
mov edx, dword [esi + 0x13c]
mov dword [esi + 0x124], eax
mov eax, dword [esi]
mov dword [esi + 0x128], ecx
mov dword [esi + 0x12c], edx
mov ecx, dword [0x63e5b0]
mov edx, dword [eax + 0x11c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esi + 0xac]
mov byte [esi + 0x41], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
push 0xffffffffffffffff
push 0xd2
push ebx
sub eax, 8
push 0xe7
mov ecx, esi
mov dword [esi + 0x14c], eax
call fcn.005348c0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
cmp ecx, dword [edx + 0x1c4]
mov eax, dword [esi]
mov edx, dword [eax + 0x7c]
sete cl
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x28]
push esi
mov dword [esp + 0x90], esi
call fcn.00537d40
mov eax, dword [esi + 0x3c]
sub dword [esp + 0x24], eax
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d344
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x52d349
call fcn.005b2af7
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [eax + edx + 0x24]
call fcn.0052af50
add dword [esp + 0x18], 1
add dword [esp + 0x1c], 0x38
mov esi, dword [esp + 0x2c]
jmp 0x52d0f1
mov dword [esp + 0x1c], 0x96
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d3a5
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d3aa
call fcn.005b2af7
mov ecx, dword [edi + 4]
mov ebp, dword [esp + 0x14]
mov edx, dword [ecx + ebp + 0x28]
cmp edx, ebx
lea eax, [ecx + ebp + 0x24]
je 0x52d4ce
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jae 0x52d4ce
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d401
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d406
call fcn.005b2af7
mov edx, dword [edi + 4]
mov eax, dword [edx + ebp + 0x28]
cmp eax, ebx
lea esi, [edx + ebp + 0x24]
je 0x52d430
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x18], eax
jb 0x52d435
call fcn.005b2af7
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov ebp, dword [ecx + eax]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x34], edx
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x52d469
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x52d46e
call fcn.005b2af7
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax + 0x28]
cmp edx, ebx
lea eax, [ecx + eax + 0x24]
jne 0x52d485
xor ecx, ecx
jmp 0x52d49a
mov ecx, dword [eax + 8]
sub ecx, edx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, dword [esp + 0x24]
sub ecx, dword [esp + 0x18]
xor edx, edx
mov eax, esi
div ecx
mov edx, dword [ebp + 0x3c]
add dword [esp + 0x18], 1
sub esi, eax
add edx, eax
add dword [esp + 0x1c], edx
add dword [esp + 0x20], 0xc
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x2c]
jmp 0x52d384
mov ebp, dword [esp + 0x14]
add dword [esp + 0x50], 0x80
add dword [esp + 0x54], 0x1c
add esi, 1
add ebp, 0x34
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], ebp
call fcn.005251d0
cmp esi, eax
jl 0x52ce25
mov ebp, dword [esp + 0x28]
mov eax, dword [edi + 4]
cmp eax, ebx
mov esi, dword [ebp + 0x1c4]
je 0x52d521
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x52d526
call fcn.005b2af7
mov eax, dword [edi + 4]
imul esi, esi, 0x34
mov ecx, dword [esi + eax + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x94]
push 1
call eax
mov ecx, dword [esp + 0x164]
push ecx
mov ecx, ebp
call fcn.0052c6e0
push fcn.00525310
push 5
push 0x1c
lea edx, [esp + 0xcc]
push edx
mov byte [esp + 0x168], 4
call fcn.005b3550
mov eax, ebp
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.005b2f9b
add esp, 0x148
ret 8