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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00449100
mov eax, dword [esp + 0x70]
xor edi, edi
cmp eax, edi
je 0x492374
mov dword [ebx + 0x244], 1
jmp 0x49237a
mov dword [ebx + 0x244], edi
mov ecx, dword [ebx + 0x88]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x8c]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x90]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x94]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [ebx + 0x98]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [0x5a2408]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov eax, dword [ecx + 0x910]
mov dword [esp + 0x38], edi
add eax, 0x24
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], eax
mov ebp, dword [eax]
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x492437
test edi, edi
je 0x49242e
xor eax, eax
test edi, edi
jle 0x492427
mov esi, dword [ebp + 0x78]
lea edx, [esp + 0x2c]
mov ecx, dword [edx]
cmp esi, dword [ecx + 0x78]
jg 0x49240c
inc eax
add edx, 4
cmp eax, edi
jl 0x4923f6
mov dword [esp + eax*4 + 0x2c], ebp
inc edi
jmp 0x492437
cmp eax, 2
jg 0x492427
mov esi, 3
lea edx, [esp + 0x38]
sub esi, eax
mov ecx, dword [edx - 4]
mov dword [edx], ecx
sub edx, 4
dec esi
jne 0x49241c
mov dword [esp + eax*4 + 0x2c], ebp
inc edi
jmp 0x492437
mov dword [esp + 0x2c], ebp
mov edi, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add eax, 4
dec ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jne 0x4923dc
mov ecx, dword [0x5a2408]
mov esi, dword [esp + 0x2c]
mov eax, dword [ecx + 0x910]
mov edx, dword [esi + 0x78]
cmp edx, dword [eax + 0x6bc]
jl 0x4924dd
mov eax, dword [esi + 0x18]
push 1
push eax
call fcn.004af750
mov ecx, dword [esi + 0x18]
push eax
lea eax, [esp + 0x50]
mov edx, dword [ecx + 8]
push edx
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x4c]
push 2
push ecx
mov ecx, ebx
call fcn.004d7d00
mov ecx, dword [ebx + 0x9c]
push 0x13
call fcn.0046b4a0
mov ecx, dword [ebx + 0xbc]
push 0x13
call fcn.0046b4a0
mov ecx, dword [ebx + 0xcc]
push 0x13
call fcn.0046b4a0
mov ecx, dword [ebx + 0xac]
push 0x13
call fcn.0046b4a0
mov ecx, dword [ebx + 0x23c]
mov edx, dword [ecx]
call dword [edx + 0x18]
jmp 0x4924eb
push 2
push str.Current_Standings
mov ecx, ebx
call fcn.004d7d00
lea edx, [ebx + 0xdc]
xor eax, eax
mov dword [esp + 0x10], edx
mov edx, 0xffffff44
lea ecx, [esp + 0x2c]
sub edx, ebx
mov dword [esp + 0x3c], 0x56c348
mov dword [esp + 0x40], 0x56c344
mov dword [esp + 0x44], 0x56c340
mov dword [esp + 0x48], 0x56c33c
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
lea edi, [ebx + 0xbc]
mov dword [esp + 0x24], edx
jmp 0x49253e
mov edx, dword [esp + 0x24]
mov esi, dword [ecx]
test esi, esi
je 0x4925c2
test eax, eax
je 0x492553
mov ecx, dword [ecx - 4]
mov eax, dword [esi + 0x78]
cmp dword [ecx + 0x78], eax
je 0x492559
add edx, edi
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov edx, dword [esp + ecx + 0x3c]
push eax
push edx
lea eax, [esp + 0x54]
push str._s__s
push eax
call fcn.005308a0
mov ecx, dword [edi - 0x20]
add esp, 0x10
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov eax, dword [esi + 0x78]
lea ecx, [esp + 0x4c]
push eax
push 0x55c730
push ecx
call fcn.005308a0
mov ecx, dword [edi]
add esp, 0xc
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov eax, dword [esi + 0x5c]
lea ecx, [esp + 0x4c]
push eax
push 0x55c730
push ecx
call fcn.005308a0
add esp, 0xc
jmp 0x4925ed
lea ecx, [esp + 0x4c]
push 0x586b28
push ecx
call fcn.005308a0
mov ecx, dword [edi - 0x20]
add esp, 8
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov ecx, dword [edi]
lea eax, [esp + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x4c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov ecx, dword [edi - 0x20]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x492716
test esi, esi
je 0x4926ef
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x18], ebx
xor ebp, ebp
call fcn.004631c0
test eax, eax
jle 0x49267b
push ebp
mov ecx, esi
call fcn.004632b0
push ebp
mov ecx, esi
mov ebx, eax
call fcn.004632b0
mov ecx, eax
call fcn.004d5eb0
mov edx, eax
mov ecx, ebx
mov dword [esp + 0x28], edx
call fcn.004d5ec0
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add eax, ebx
inc ebp
lea ebx, [eax + ecx]
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.004631c0
cmp ebp, eax
jl 0x492638
push ebx
lea edx, [esp + 0x50]
push 0x55c730
push edx
call fcn.005308a0
mov ecx, dword [edi - 0x10]
add esp, 0xc
lea edx, [esp + 0x4c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x3c]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, esi
xor ebp, ebp
call fcn.004631c0
test eax, eax
jle 0x492716
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx]
push 0x7f9
call fcn.004b5da0
push ebp
mov ecx, esi
call fcn.004632b0
mov ecx, eax
call fcn.004d5ea0
mov ecx, dword [ebx]
push eax
call fcn.004b5e40
mov ecx, dword [ebx]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, esi
inc ebp
add ebx, 4
call fcn.004631c0
cmp ebp, eax
jl 0x4926b4
jmp 0x492716
lea eax, [esp + 0x4c]
push 0x586b28
push eax
call fcn.005308a0
mov ecx, dword [edi - 0x10]
add esp, 8
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x3c]
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
call dword [edx + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
inc eax
add edi, 4
add ecx, 4
add esi, 0x58
cmp eax, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], esi
jl 0x49253a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 4