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

Disassembly:
sub esp, 0x138
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x6b4]
mov dword [esp + 0x34], eax
xor eax, eax
or ebx, 0xffffffff
cmp ecx, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], edi
jle 0x48c418
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ecx
jmp 0x48c32d
xor edi, edi
mov edx, dword [esp + 0x20]
xor ebx, ebx
mov esi, dword [edx]
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x3c], ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.004631c0
test eax, eax
jle 0x48c38d
push edi
mov ecx, esi
call fcn.004632b0
push edi
mov ecx, esi
mov ebp, eax
call fcn.004632b0
mov ecx, eax
call fcn.004d5eb0
mov edx, eax
mov ecx, ebp
mov dword [esp + 0x40], edx
call fcn.004d5ec0
mov edx, dword [esp + 0x40]
add eax, ebx
mov ecx, esi
inc edi
lea ebx, [eax + edx]
call fcn.004631c0
cmp edi, eax
jl 0x48c34e
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x14]
push eax
push ecx
inc edx
push ebx
push edx
lea eax, [esp + 0x58]
push str.Player__i:_Pip_count___2i__Cumulative_score___3i__Hands_won___i._n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea ecx, [esp + 0x48]
push ecx
call fcn.004f07d0
mov eax, dword [esi + 0x58]
add esp, 4
test eax, eax
je 0x48c3ec
mov ecx, dword [esp + 0x10]
mov esi, dword [esi + 0x78]
mov eax, dword [ebp + 0x6bc]
mov edx, dword [esp + 0x1c]
inc ecx
cmp esi, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jl 0x48c3ec
cmp esi, dword [esp + 0x24]
jle 0x48c3ec
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x6b4]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
jl 0x48c32b
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, 1
jne 0x48c44a
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x28]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x74]
push ecx
lea ecx, [esp + 0x4c]
mov eax, dword [edx + 8]
push eax
push str._s_won_with_a_score_of__i._n
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x48]
push edx
jmp 0x48c46f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + ecx*4 + 0x28]
mov ecx, dword [edx + 0x74]
lea edx, [esp + 0x48]
push ecx
push eax
push str._i_players_won_with_a_score_of__i._n
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0x48]
push eax
call fcn.004f07d0
add esp, 4
cmp ebx, 0xffffffff
jle 0x48c56b
mov edx, dword [ebp + 0x6b4]
xor esi, esi
xor eax, eax
cmp edx, edi
jle 0x48c4a8
lea ecx, [esp + 0x28]
mov edi, dword [ecx]
cmp dword [edi + 0x78], ebx
jne 0x48c49e
mov dword [esp + 0x14], eax
inc esi
inc eax
add ecx, 4
cmp eax, edx
jl 0x48c492
xor edi, edi
cmp dword [0x5a26fc], edi
jne 0x48c554
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 0x18]
call fcn.0047ed50
mov edx, dword [eax + 0x20]
mov dword [esp + 0x10], eax
inc edx
cmp esi, 1
mov dword [0x5a24b0], edx
jne 0x48c508
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + eax*4 + 0x28]
mov ecx, dword [ecx + 0x18]
call fcn.0047e230
cmp eax, edi
je 0x48c4f3
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
inc eax
mov dword [0x5a24b4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], 1
mov ecx, dword [eax + 0x18]
call fcn.0047edf0
jmp 0x48c55c
mov eax, dword [ebp + 0x6b4]
test eax, eax
jle 0x48c545
lea esi, [esp + 0x28]
mov eax, dword [esi]
cmp dword [eax + 0x78], ebx
jne 0x48c537
mov ecx, dword [eax + 0x18]
call fcn.0047e230
test eax, eax
je 0x48c537
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x28]
inc edx
mov dword [0x5a24b8], edx
mov eax, dword [ebp + 0x6b4]
inc edi
add esi, 4
cmp edi, eax
jl 0x48c516
mov eax, dword [ebp + 0x14]
xor edi, edi
mov ecx, dword [eax + 0x18]
call fcn.0047edf0
jmp 0x48c55c
mov dword [esp + 0x18], 1
mov ecx, dword [0x5a2408]
push edi
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
call dword [edx + 8]
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x48c5a8
add ebp, 0x24
mov ecx, 4
mov eax, dword [ebp]
cmp eax, edi
je 0x48c588
mov dword [eax + 0x78], edi
mov dword [eax + 0x5c], edi
add ebp, 4
dec ecx
jne 0x48c57b
mov eax, dword [0x5a2408]
mov ecx, dword [eax + 0x3c]
call fcn.004984a0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret
mov ecx, dword [0x5a2408]
push edi
mov ecx, dword [ecx + 8]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret