Function at 0x4f58d0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58683e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 0x3f800000
xor ebx, ebx
mov dword [esi + 0x100], eax
mov dword [esi + 0x104], eax
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], eax
mov dword [esi + 0x110], eax
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov dword [esi + 0x120], eax
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], eax
mov dword [esi + 0x12c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esi + 0x130], ebx
lea eax, [esp + 0x1c]
mov dword [esi + 0x134], ebx
push 0x60
lea ecx, [esi + 0xf0]
mov dword [esi + 0x138], ebx
push eax
mov dword [esi + 0x13c], ebx
or edi, 0xffffffff
mov ebp, 8
push ecx
mov dword [esi + 0x140], 0x42480000
mov ecx, 0x620cd0
mov dword [esp + 0x28], 0xbf800000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0xbf800000
mov dword [esp + 0x5c], 0xbf800000
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x74], 0xbf800000
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
mov dword [0x620cf8], ebp
mov dword [0x620cfc], 0x142
mov dword [0x620d00], ebx
call fcn.0040d040
mov dword [esp + 0xdc], 0xbf800000
mov dword [esp + 0xe0], 0x3f800000
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], 0xbf800000
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], 0x3f400000
mov dword [esp + 0xfc], 0x3f800000
mov dword [esp + 0x100], 0x3f800000
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], 0xbf800000
mov dword [esp + 0x114], 0x3f800000
mov dword [esp + 0x118], 0x3f400000
mov dword [esp + 0x11c], 0xbf800000
mov dword [esp + 0x120], 0xbf800000
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
lea edx, [esp + 0xdc]
push 0x80
lea eax, [esi + 0xf4]
push edx
push eax
mov ecx, 0x620cd0
mov dword [esp + 0x13c], 0xbf800000
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], 0x3f800000
mov dword [esp + 0x148], 0x3f800000
mov dword [esp + 0x14c], 0xbf800000
mov dword [esp + 0x150], ebx
mov dword [esp + 0x154], ebx
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], 0xbf800000
mov dword [esp + 0x160], 0x3f800000
mov dword [esp + 0x164], 0x3f800000
mov dword [0x620cf8], ebp
mov dword [0x620cfc], 0x112
mov dword [0x620d00], ebx
call fcn.0040d040
push 0x60
lea ecx, [esi + 0xf8]
push ebx
push ecx
mov ecx, 0x620cd0
mov dword [0x620cf8], ebp
mov dword [0x620cfc], 0x142
mov dword [0x620d00], ebx
call fcn.0040d040
lea edx, [esp + 0x7c]
push 0x60
lea eax, [esi + 0xfc]
push edx
push eax
mov ecx, 0x620cd0
mov dword [esp + 0x88], 0xbf800000
mov dword [esp + 0x8c], 0x3f800000
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], 0x3f800000
mov dword [esp + 0xa4], 0x3f800000
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], 0x3f800000
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], 0xbf800000
mov dword [esp + 0xbc], 0xbf800000
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], 0x3f800000
mov dword [esp + 0xcc], 0x3f800000
mov dword [esp + 0xd0], 0x3f800000
mov dword [esp + 0xd4], 0xbf800000
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], 0x3f800000
mov dword [0x620cf8], ebp
mov dword [0x620cfc], 0x142
mov dword [0x620d00], ebx
call fcn.0040d040
lea edx, [esi + 0x144]
mov byte [esi], bl
xor ecx, ecx
mov byte [esi + 0x14c], bl
mov dword [edx], ecx
lea eax, [esi + 0x150]
mov dword [edx + 4], ecx
mov byte [esi + 0x14e], bl
mov byte [esi + 0x14f], bl
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov byte [esi + 0x1d4], bl
mov byte [esi + 0x1d5], bl
mov byte [esi + 0x1e4], bl
mov byte [esi + 0x1e5], bl
mov byte [esi + 0x1e7], 2
lea ebp, [esi + 0x209c]
lea edx, [esi + 0x2098]
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
push edx
mov ecx, ebp
mov dword [esi + 0x1e0], 0xbf000000
call fcn.0048edb0
push 0x41f00000
mov ecx, ebp
call fcn.0048edd0
lea ebp, [esi + 0x20a8]
lea eax, [esi + 0x20a4]
push eax
mov ecx, ebp
call fcn.0048edb0
push ebx
mov ecx, ebp
call fcn.0048edd0
lea ecx, [esi + 0x20b0]
lea ebp, [esi + 0x20b4]
push ecx
mov ecx, ebp
call fcn.0048edb0
push ebx
mov ecx, ebp
call fcn.0048edd0
lea ebp, [esi + 0x20c0]
lea edx, [esi + 0x20bc]
push edx
mov ecx, ebp
call fcn.0048edb0
push ebx
mov ecx, ebp
call fcn.0048edd0
xor eax, eax
mov dl, 0x77
mov cl, 0x7c
cmp eax, ebx
mov byte [eax + esi + 0x1e8], al
jne 0x4f5d8b
mov byte [esi + 0x21b], dl
mov byte [esi + 0x24e], dl
jmp 0x4f5d9e
cmp eax, 1
jne 0x4f5dcf
mov byte [esi + 0x21c], 0x75
mov byte [eax + esi + 0x24e], cl
inc eax
cmp eax, 0x33
jl 0x4f5d72
push 0x4c3c
mov byte [esi + 0x1e6], bl
call fcn.005756f6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x164], ebx
je 0x4f5ded
mov ecx, eax
call fcn.0049d550
jmp 0x4f5def
cmp eax, 0xa
jge 0x4f5de4
mov dl, al
add dl, 0x6b
mov byte [eax + esi + 0x21b], dl
mov dl, 0x77
jmp 0x4f5d97
mov byte [eax + esi + 0x21b], cl
jmp 0x4f5d97
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 4], eax
call fcn.0049d610
mov ecx, dword [esi + 4]
push 6
call fcn.0049d990
mov ecx, dword [esi + 4]
push str.Menuplate_tex_titlematchp_heavy
push ebx
call fcn.0049e4e0
mov ecx, dword [esi + 4]
push str.Menuplate_tex_titlematchp_ic
push 1
call fcn.0049e4e0
mov ecx, dword [esi + 4]
push str.Menuplate_tex_titlematchp_european
push 2
call fcn.0049e4e0
mov ecx, dword [esi + 4]
push str.Menuplate_tex_titlematchp_hardcore
push 3
call fcn.0049e4e0
mov ecx, dword [esi + 4]
push str.Menuplate_tex_titlematchp_lightheavy
push 4
call fcn.0049e4e0
mov ecx, dword [esi + 4]
push str.Menuplate_tex_titlematchp_wemen
push 5
call fcn.0049e4e0
push 0x88
call fcn.005756f6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x164], 1
je 0x4f5e8c
mov ecx, eax
call fcn.004936f0
jmp 0x4f5e8e
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 8], eax
call fcn.004a7850
mov ecx, dword [esi + 8]
push 1
call fcn.004a7820
push 0x48
call fcn.005756f6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x164], 2
je 0x4f5ecf
mov ecx, eax
call fcn.004a6b80
jmp 0x4f5ed1
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0xc], eax
call fcn.00405d90
mov ecx, dword [esi + 0xc]
push 6
call fcn.004a7820
push 0x98
call fcn.005756f6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x164], 3
je 0x4f5f15
mov ecx, eax
call fcn.004936f0
jmp 0x4f5f17
xor eax, eax
push ebx
mov ecx, eax
mov dword [esp + 0x168], edi
mov dword [esi + 0x18], eax
call fcn.004977c0
mov ecx, dword [esi + 0x18]
push ebx
push ebx
call fcn.00553b80
push 0x98
call fcn.005756f6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x164], 4
je 0x4f5f5c
mov ecx, eax
call fcn.004936f0
jmp 0x4f5f5e
xor eax, eax
push 0xc
mov ecx, eax
mov dword [esp + 0x168], edi
mov dword [esi + 0x1c], eax
call fcn.004977c0
mov ecx, dword [esi + 0x1c]
push 0xc0b80000
push ebx
call fcn.00553b80
push 0x98
call fcn.005756f6
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov dword [esp + 0x164], 5
je 0x4f5fa8
mov ecx, eax
call fcn.004936f0
jmp 0x4f5faa
xor eax, eax
push ebx
mov ecx, eax
mov dword [esp + 0x168], edi
mov dword [esi + 0x50], eax
call fcn.004977c0
mov ecx, dword [esi + 0x50]
push 0xc0b00000
push ebx
call fcn.00553b80
xor ebp, ebp
lea eax, [esi + 0x20]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
push 0x98
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 6
je 0x4f6000
mov ecx, eax
call fcn.004936f0
jmp 0x4f6002
xor eax, eax
mov ecx, dword [esp + 0x18]
push 0xe
mov dword [esp + 0x168], edi
mov dword [ecx], eax
mov ecx, eax
call fcn.004977c0
cmp ebp, 6
jge 0x4f603e
fild dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0x4099999a
push ecx
fmul dword [0x5887e4]
mov ecx, dword [edx]
fsub dword [0x58a0ac]
fstp dword [esp]
jmp 0x4f6064
lea eax, [ebp - 6]
push 0xc099999a
mov dword [esp + 0x14], eax
push ecx
fild dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
fmul dword [0x5887e4]
mov ecx, dword [ecx]
fsub dword [0x58a0ac]
fstp dword [esp]
call fcn.00553b80
mov ecx, dword [esp + 0x18]
inc ebp
add ecx, 4
cmp ebp, 0xc
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ecx
jl 0x4f5fd7
push 0x94
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 7
je 0x4f60ab
mov ecx, eax
call fcn.0048ee50
jmp 0x4f60ad
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0x14], eax
call fcn.0048ee60
push 0x1b0
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 8
je 0x4f60e7
mov ecx, eax
call fcn.004a8b50
jmp 0x4f60e9
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0x10], eax
call fcn.004a8b60
mov ecx, dword [esi + 0x10]
call fcn.004a9940
lea ebp, [esi + 0x54]
mov dword [esp + 0x10], 0xa
push 0x3c
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 9
je 0x4f6133
mov ecx, eax
call fcn.00496a40
jmp 0x4f6135
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [ebp], eax
call fcn.00496a50
mov ecx, dword [ebp]
push ebx
push 0x3f800000
push 0x41e00000
call fcn.00496b20
mov eax, dword [esp + 0x10]
add ebp, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x4f610d
push ebx
push str.Menucolorbar_p0
mov ecx, 0x655f38
call fcn.0040fee0
push ebx
push str.Menucolorbar_p1
mov ecx, 0x655f38
mov dword [esi + 0x7c], eax
call fcn.0040fee0
push ebx
push str.Menucolorbar_p2
mov ecx, 0x655f38
mov dword [esi + 0x80], eax
call fcn.0040fee0
push ebx
push str.Menucolorbar_p3
mov ecx, 0x655f38
mov dword [esi + 0x84], eax
call fcn.0040fee0
push ebx
push str.Menucolorbar_p4
mov ecx, 0x655f38
mov dword [esi + 0x88], eax
call fcn.0040fee0
push ebx
push str.Menucolorbar_p5
mov ecx, 0x655f38
mov dword [esi + 0x8c], eax
call fcn.0040fee0
push 0x3c
mov dword [esi + 0x90], eax
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0xa
je 0x4f620e
mov ecx, eax
call fcn.00496a40
jmp 0x4f6210
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0xb4], eax
call fcn.00496a50
mov ecx, dword [esi + 0xb4]
push 5
push 0x25
push 0x5a
call fcn.00496af0
push 0x3c
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0xb
je 0x4f625b
mov ecx, eax
call fcn.00496a40
jmp 0x4f625d
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0xb8], eax
call fcn.00496a50
mov ecx, dword [esi + 0xb8]
push 5
push 0xffffffffffffffdb
push 0x5a
call fcn.00496af0
push ebx
push str.Menulight_s
mov ecx, 0x655f38
call fcn.0040fee0
push ebx
push str.MenuLR
mov ecx, 0x655f38
mov dword [esi + 0xbc], eax
call fcn.0040fee0
push 0x8c
mov dword [esi + 0xec], eax
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0xc
je 0x4f62d7
mov ecx, eax
call fcn.00544ab0
jmp 0x4f62d9
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0x94], eax
call fcn.00544ad0
mov ecx, dword [esi + 0x94]
push 0x30
call fcn.00546550
mov ecx, dword [esi + 0x94]
push 0x65ea3c
push 0x40b00000
push 0x40b00000
call fcn.00544b60
mov ecx, dword [esi + 0x94]
push ebx
call fcn.005464a0
mov ecx, dword [esi + 0x94]
push 0x1f
call fcn.005464b0
push 0x8c
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0xd
je 0x4f6356
mov ecx, eax
call fcn.00544ab0
jmp 0x4f6358
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0x98], eax
call fcn.00544ad0
mov ecx, dword [esi + 0x98]
push 0x30
call fcn.00546550
mov ecx, dword [esi + 0x98]
lea ebp, [esi + 0x24e]
push ebp
push 0x40b00000
push 0x40b00000
call fcn.00544b60
mov ecx, dword [esi + 0x98]
push ebx
call fcn.005464a0
mov ecx, dword [esi + 0x98]
push ebx
call fcn.005464b0
push 0xd0
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0xe
je 0x4f63d6
mov ecx, eax
call fcn.004936f0
jmp 0x4f63d8
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0x9c], eax
call fcn.00543e90
mov ecx, dword [esi + 0x9c]
push 0x30
call fcn.005449b0
mov ecx, dword [esi + 0x9c]
push ebx
call fcn.00544930
mov ecx, dword [esi + 0x9c]
push 0x30
push 0x65ea3c
call fcn.005449c0
mov ecx, dword [esi + 0x9c]
push 0x1f
call fcn.005448f0
push 0xd0
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0xf
je 0x4f644d
mov ecx, eax
call fcn.004936f0
jmp 0x4f644f
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0xa0], eax
call fcn.00543e90
mov ecx, dword [esi + 0xa0]
push 0x30
call fcn.005449b0
mov ecx, dword [esi + 0xa0]
push ebx
call fcn.00544930
mov ecx, dword [esi + 0xa0]
lea edx, [esi + 0x21b]
push 0x30
push edx
call fcn.005449c0
mov ecx, dword [esi + 0xa0]
push ebx
call fcn.005448f0
push 0xd0
call fcn.005756f6
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x164], 0x10
je 0x4f64c5
mov ecx, eax
call fcn.004936f0
jmp 0x4f64c7
xor eax, eax
mov ecx, eax
mov dword [esp + 0x164], edi
mov dword [esi + 0xa4], eax
call fcn.00543e90
mov ecx, dword [esi + 0xa4]
push 0x30
call fcn.005449b0
mov ecx, dword [esi + 0xa4]
push ebx
call fcn.00544930
mov ecx, dword [esi + 0xa4]
push 0x30
push ebp
call fcn.005449c0
mov ecx, dword [esi + 0xa4]
push ebx
call fcn.005448f0
push ebx
push str.Menucursor1
mov ecx, 0x655f38
call fcn.0040fee0
push ebx
push str.Menucursor2
mov ecx, 0x655f38
mov dword [esi + 0xc0], eax
call fcn.0040fee0
push ebx
push str.Menucursor3
mov ecx, 0x655f38
mov dword [esi + 0xc4], eax
call fcn.0040fee0
push ebx
push str.Menu_stump
mov ecx, 0x655f38
mov dword [esi + 0xc8], eax
call fcn.0040fee0
mov ecx, dword [esi + 0x94]
push ebx
mov dword [esi + 0xcc], eax
call fcn.00545a00
push 0x10
push str.Menuplate_tex_titlematchp_gameover
mov ecx, 0x655f38
mov dword [esi + 0xd0], eax
call fcn.0040fee0
push 0x10
push str.Menu_title_title_match
mov ecx, 0x655f38
mov dword [esi + 0xd4], eax
call fcn.0040fee0
push 0x10
push str.Menu_title_t_ssselect
mov ecx, 0x655f38
mov dword [esi + 0xd8], eax
call fcn.0040fee0
push ebx
push str.Menu_title1_10match
mov ecx, 0x655f38
mov dword [esi + 0xdc], eax
call fcn.0040fee0
push 0x10
push str.Menu_title_t_semifinal
mov ecx, 0x655f38
mov dword [esi + 0xe0], eax
call fcn.0040fee0
push 0x10
push str.Menu_title_t_final
mov ecx, 0x655f38
mov dword [esi + 0xe4], eax
call fcn.0040fee0
push ebx
push str.Menu_
push str.Menu_n_window_for_t.fml
mov ecx, 0x63b370
mov dword [esi + 0xe8], eax
call fcn.00418500
push 2
push str.Menu_
mov dword [esi + 0xa8], eax
push str.Menu_select_frame2.fml
mov ecx, 0x63b370
call fcn.00418500
push ebx
push str.Menu_
push str.MenuVS_letter.fml
mov ecx, 0x63b370
mov dword [esi + 0xac], eax
call fcn.00418500
mov dword [esi + 0xb0], eax
mov dword [esi + 0x150], edi
mov dword [esi + 0x154], edi
mov ecx, 0xfffffe90
mov dword [esi + 0x158], edi
lea eax, [esi + 0x170]
sub ecx, esi
mov dl, 0xff
mov byte [eax - 0x14], dl
mov byte [eax], dl
mov byte [eax + 0x14], dl
mov byte [eax + 0x28], dl
mov byte [eax + 0x3c], dl
mov byte [eax + 0x50], dl
inc eax
lea edi, [ecx + eax]
cmp edi, 0x14
jl 0x4f6674
mov ecx, esi
call fcn.004ff3b0
mov ecx, dword [esp + 0x15c]
mov dword [esi + 0x21a4], ebx
mov byte [esi + 0x2095], 3
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret