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

Disassembly:
push 0xffffffffffffffff
push 0x603e7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp + 0x174]
mov ecx, dword [ebp + 0x170]
push edi
lea edi, [ebp + 0x170]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x1c], ebp
call fcn.00490270
mov ecx, ebp
call fcn.004c1d20
mov esi, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, edx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
mov ecx, edi
mov dword [esp + 0x68], eax
call fcn.00475270
mov ebx, dword [esi]
mov esi, dword [esi + 4]
mov ebp, dword [ebp + 0x17c]
mov ecx, esi
sub ecx, ebx
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x1c], 0
jge 0x4c2482
imul ebp, ebp, 0x34
add ebx, ebp
cmp ebx, esi
je 0x4c260b
lea ebx, [ebx]
cmp dword [esp + 0x1c], 0xa
jae 0x4c260b
mov al, byte [ebx + 0x14]
test al, al
je 0x4c25f7
lea ecx, [esp + 0x13]
push ecx
push str.IMAGE_GUI_MEDALS_CROWN
lea ecx, [esp + 0x70]
call fcn.00402f20
push 0
push 0
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xe4], 0
call fcn.004712c0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0xd8], 2
mov esi, ecx
je 0x4c252c
cmp eax, 0x80
jbe 0x4c2500
push ecx
call fcn.005e05ca
jmp 0x4c2529
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov eax, dword [ebp]
mov dword [esi], eax
mov dword [ebp], esi
mov dword [0x655bd8], 0
add esp, 4
mov ecx, dword [0x656304]
imul ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0xa8]
or ebp, 0x10
test ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0xa8], ebp
fild dword [esp + 0x20]
jge 0x4c255a
fadd dword [0x60de00]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [0x656334]
call fcn.005e0b1c
fld dword [0x656330]
push eax
call fcn.005e0b1c
push eax
lea ecx, [esp + 0x98]
call fcn.0046ee50
lea ecx, [esp + 0x90]
call fcn.0046ee80
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
je 0x4c25c3
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0xd8], 3
je 0x4c25bd
lea edx, [esp + 0x90]
push edx
mov ecx, eax
call fcn.0040fe50
add dword [edi + 4], 0x40
jmp 0x4c25dc
push 1
push 1
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x9c]
push edx
push eax
mov ecx, edi
call fcn.00474fd0
lea ecx, [esp + 0x90]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0046fd20
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
add ebx, 0x34
inc ecx
cmp ebx, esi
mov dword [esp + 0x1c], ecx
jne 0x4c2490
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x164]
mov ecx, dword [esi + 0x168]
add esi, 0x164
cmp eax, ecx
jne 0x4c2b49
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 6
cmp ecx, 0x1e
jae 0x4c267c
mov ecx, dword [esi + 4]
mov edi, ecx
sub edi, eax
sar edi, 6
test eax, eax
je 0x4c265a
push ecx
push eax
push 0x1e
mov ecx, esi
call fcn.00474e70
mov ecx, esi
mov ebp, eax
call fcn.004732e0
jmp 0x4c2669
push 0x780
call fcn.005d0282
add esp, 4
mov ebp, eax
shl edi, 6
add edi, ebp
mov dword [esi], ebp
add ebp, 0x780
mov dword [esi + 4], edi
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x64]
xor ebx, ebx
test eax, eax
jbe 0x4c2b49
lea ebx, [ebx]
lea edx, [esp + 0x13]
push edx
push str.IMAGE_GUI_MEDALS_STAR
lea ecx, [esp + 0x70]
call fcn.00402f20
push 0
push 0
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0xe4], 4
call fcn.004712c0
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0xd8], 6
mov edi, ecx
je 0x4c2713
cmp eax, 0x80
jbe 0x4c26e7
push ecx
call fcn.005e05ca
jmp 0x4c2710
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [ebp]
mov dword [edi], ecx
mov dword [ebp], edi
mov dword [0x655bd8], 0
add esp, 4
mov edx, dword [0x656304]
mov ebp, dword [esp + 0x3c]
imul edx, ebx
or ebp, 0x10
test edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ebp
fild dword [esp + 0x18]
jge 0x4c2739
fadd dword [0x60de00]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [0x65631c]
call fcn.005e0b1c
fld dword [0x656318]
push eax
call fcn.005e0b1c
push eax
lea ecx, [esp + 0x2c]
call fcn.0046ee50
lea ecx, [esp + 0x24]
call fcn.0046ee80
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4c2805
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xd8], 7
je 0x4c27f2
mov dword [eax], 0x60c7a4
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x24], ecx
mov dl, byte [esp + 0x4c]
mov byte [eax + 0x28], dl
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], ecx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [eax + 0x34]
mov dword [eax + 0x30], edx
call fcn.00404e60
mov eax, dword [esi + 4]
add eax, 0x40
mov byte [esp + 0xd8], 6
mov dword [esi + 4], eax
jmp 0x4c281b
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00474fd0
lea edx, [esp + 0x13]
push edx
push str.IMAGE_GUI_MEDALS_FISH
lea ecx, [esp + 0x8c]
call fcn.00402f20
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 8
call fcn.004717f0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x8c]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0xd8], 6
mov edi, ecx
je 0x4c28a3
cmp eax, 0x80
jbe 0x4c2877
push ecx
call fcn.005e05ca
jmp 0x4c28a0
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [ebp]
mov dword [edi], ecx
mov dword [ebp], edi
mov dword [0x655bd8], 0
add esp, 4
mov edx, dword [0x656304]
mov ebp, dword [esp + 0x3c]
imul edx, ebx
or ebp, 0x10
test edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ebp
fild dword [esp + 0x18]
jge 0x4c28c9
fadd dword [0x60de00]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [0x656324]
call fcn.005e0b1c
fld dword [0x656320]
push eax
call fcn.005e0b1c
push eax
lea ecx, [esp + 0x2c]
call fcn.0046ee50
lea ecx, [esp + 0x24]
call fcn.0046ee80
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4c2995
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xd8], 9
je 0x4c2982
mov dword [eax], 0x60c7a4
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x24], ecx
mov dl, byte [esp + 0x4c]
mov byte [eax + 0x28], dl
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], ecx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [eax + 0x34]
mov dword [eax + 0x30], edx
call fcn.00404e60
mov eax, dword [esi + 4]
add eax, 0x40
mov byte [esp + 0xd8], 6
mov dword [esi + 4], eax
jmp 0x4c29ab
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00474fd0
lea edx, [esp + 0x13]
push edx
push str.IMAGE_GUI_MEDALS_SUN
lea ecx, [esp + 0x80]
call fcn.00402f20
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0xdc], 0xa
call fcn.004717f0
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
sub eax, ecx
test ecx, ecx
mov byte [esp + 0xd8], 6
mov edi, ecx
je 0x4c2a2d
cmp eax, 0x80
jbe 0x4c2a01
push ecx
call fcn.005e05ca
jmp 0x4c2a2a
lea ebp, [eax - 1]
shr ebp, 3
push 0x655bd8
lea ebp, [ebp*4 + 0x655be0]
call fcn.00401450
mov ecx, dword [ebp]
mov dword [edi], ecx
mov dword [ebp], edi
mov dword [0x655bd8], 0
add esp, 4
mov edx, dword [0x656304]
mov ebp, dword [esp + 0x3c]
imul edx, ebx
or ebp, 0x10
test edx, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ebp
fild dword [esp + 0x18]
jge 0x4c2a53
fadd dword [0x60de00]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fadd dword [0x65632c]
call fcn.005e0b1c
fld dword [0x656328]
push eax
call fcn.005e0b1c
push eax
lea ecx, [esp + 0x2c]
call fcn.0046ee50
lea ecx, [esp + 0x24]
call fcn.0046ee80
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4c2b12
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xd8], 0xb
je 0x4c2b0c
mov dword [eax], 0x60c7a4
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x44]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x24], ecx
mov dl, byte [esp + 0x4c]
mov byte [eax + 0x28], dl
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x2c], ecx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [eax + 0x34]
mov dword [eax + 0x30], edx
call fcn.00404e60
add dword [esi + 4], 0x40
jmp 0x4c2b28
push 1
push 1
lea edx, [esp + 0x1b]
push edx
lea ecx, [esp + 0x30]
push ecx
push eax
mov ecx, esi
call fcn.00474fd0
lea ecx, [esp + 0x24]
mov dword [esp + 0xd8], 0xffffffff
call fcn.0046fd20
mov eax, dword [esp + 0x64]
inc ebx
cmp ebx, eax
jb 0x4c2690
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret