Function at 0x48fbf0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb077
mov eax, dword fs:[0]
push eax
mov eax, 0x102c
call fcn.00496b60
mov eax, dword [0x58f080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1030], edi
mov ebx, dword [ebp + 8]
push 0x50011c
push 0x500128
push 2
push 0xa
push ebx
call fcn.0047f4e0
push str.v_width
push 0x500148
mov word [edi + 0x418], ax
movzx eax, word [edi + 0x622]
push 2
push eax
push ebx
call fcn.0047f4e0
push str.v_height
push 0x500170
mov word [edi + 0x622], ax
movzx eax, word [edi + 0x624]
push 2
push eax
push ebx
call fcn.0047f4e0
mov cx, word [edi + 0x622]
lea esi, [edi + 0x62c]
add esp, 0x3c
mov word [edi + 0x624], ax
mov word [edi + 0xc77c], cx
mov word [edi + 0xc77e], ax
xor edi, edi
lea ebx, [ebx]
push edi
lea eax, [ebp - 0x30]
push str.type_d
push eax
call fcn.00496e1e
push 0x500198
lea eax, [ebp - 0x30]
push eax
push 0x50019c
push 0x5001a4
push 4
push dword [esi - 4]
push ebx
call fcn.0047f4e0
push 0x5001ac
mov dword [esi - 4], eax
lea eax, [ebp - 0x30]
push eax
push str.list
push 0x5001b8
push 4
push dword [esi]
push ebx
call fcn.0047f4e0
inc edi
mov dword [esi], eax
add esp, 0x44
lea esi, [esi + 8]
cmp edi, 5
jl 0x48fcb0
mov edi, dword [ebp - 0x1030]
push 0x5001c0
push 0x5001c8
push 2
lea eax, [edi + 0x650]
push eax
push eax
push ebx
call fcn.0047fa60
push 0x5001cc
push 0x5001d4
lea eax, [edi + 0x858]
push 2
push eax
push eax
push ebx
call fcn.0047fa60
push 0x5001d8
push 0x5001e0
lea eax, [edi + 0xa60]
push 2
push eax
push eax
push ebx
call fcn.0047f820
add esp, 0x48
lea eax, [edi + 0xb64]
push str.mutex_cfg
push 0x5001f8
push 2
push eax
push eax
push ebx
call fcn.0047f820
push str.v_code
push 0x50020c
lea eax, [edi + 0x41a]
push 2
push eax
push eax
push ebx
call fcn.0047f820
push str.no_skip
push 0x500220
push 2
push 0
push ebx
call fcn.0047f4e0
add esp, 0x44
mov dword [edi + 0xc1d8], eax
movzx eax, word [edi + 0xc68]
push 0x500228
push 0x500230
push 2
push eax
push ebx
call fcn.0047f4e0
push 0x500238
push str.VERSION
mov word [edi + 0xc68], ax
movzx eax, word [edi + 0xc6a]
push 2
push eax
push ebx
call fcn.0047f4e0
push 0x500248
push 0x50024c
mov word [edi + 0xc6a], ax
lea eax, [edi + 0xc6c]
push 2
push eax
push eax
push ebx
call fcn.0047f820
add esp, 0x40
push 0x500258
push 0x500260
push 2
push dword [edi + 0xd6c]
push ebx
call fcn.0047f4e0
push 0x500270
push 0x500280
mov dword [edi + 0xd6c], eax
lea eax, [edi + 0xc630]
push 2
push eax
push eax
push ebx
call fcn.0047f820
push 0x500288
push 0x500290
push 2
push dword [edi + 0xd70]
push ebx
call fcn.0047f4e0
add esp, 0x40
mov dword [edi + 0xd70], eax
lea eax, [edi + 0xd74]
push 0x500298
push 0x5002ac
push 2
push eax
push eax
push ebx
call fcn.0047fa60
push 0x5002bc
push 0x5002c8
push 2
push 0
push ebx
call fcn.0047f4e0
push 0x5002d8
push str.CURSOR
push 2
push 0
push ebx
mov dword [edi + 0xf7c], eax
call fcn.0047f4e0
add esp, 0x40
mov dword [edi + 0xf80], eax
lea esi, [edi + 0xf84]
lea eax, [ebp - 0x33c]
push 0x5002f4
push 0x500304
push 2
push esi
push eax
push ebx
call fcn.0047fa60
add esp, 0x18
lea eax, [ebp - 0x33c]
mov ecx, edi
push eax
push esi
call fcn.00484080
push str.imglib
push 0x500318
push 2
lea esi, [edi + 0x118c]
push esi
lea eax, [ebp - 0x33c]
push eax
push ebx
call fcn.0047fa60
add esp, 0x18
lea eax, [ebp - 0x33c]
mov ecx, edi
push eax
push esi
call fcn.00484080
push str.icon
push 0x500328
push 2
push 0x500334
lea eax, [edi + 0xc1dc]
push eax
push ebx
call fcn.0047fa60
push str.iconno
push 0x500358
push 2
push 0
push ebx
call fcn.0047f4e0
push str.banner
push 0x500368
push 2
mov dword [edi + 0xc3e4], eax
lea eax, [edi + 0xc3e8]
push 0x50036c
push eax
push ebx
call fcn.0047fa60
add esp, 0x44
lea eax, [edi + 0xd0bc]
push str.file
push 0x500378
push 2
push str.info.txt
push eax
push ebx
call fcn.0047fa60
push str.comment
mov ecx, 0x1c
lea edi, [ebp - 0x3ac]
mov esi, 0x5003b8
lea eax, [ebp - 0x3ac]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x1030]
push str.INFO
push 2
push eax
lea eax, [esi + 0xd2c4]
push eax
push ebx
call fcn.0047fa60
push 0x500464
push 0x500470
push 0x500488
push 3
push dword [esi + 0xbc9c]
push ebx
call fcn.0047f4e0
add esp, 0x48
mov dword [esi + 0xbc9c], eax
push 0x5004a0
push str.size
push 0x5004c8
push 3
push dword [esi + 0xbca0]
push ebx
call fcn.0047f4e0
push 0x5004e0
push 0x5004f4
push 0x500508
push 3
push dword [esi + 0xbca4]
mov dword [esi + 0xbca0], eax
push ebx
call fcn.0047f4e0
push 0x50051c
push 0x500530
push 0x50053c
push 3
push dword [esi + 0xbca8]
mov dword [esi + 0xbca4], eax
push ebx
call fcn.0047f4e0
add esp, 0x48
mov dword [esi + 0xbca8], eax
lea edi, [esi + 0xbcb0]
xor esi, esi
lea esp, [esp]
push esi
lea eax, [ebp - 0x134]
push str.area_02d
push eax
call fcn.00496e1e
push 0x500570
lea eax, [ebp - 0x134]
push eax
push 0x500574
push 3
push dword [edi - 4]
push ebx
call fcn.0047f4e0
push 0x50057c
mov dword [edi - 4], eax
lea eax, [ebp - 0x134]
push eax
push 0x500580
push 3
push dword [edi]
push ebx
call fcn.0047f4e0
push 0x500590
mov dword [edi], eax
lea eax, [ebp - 0x134]
push eax
push 0x50059c
push 3
push dword [edi + 4]
push ebx
call fcn.0047f4e0
add esp, 0x54
mov dword [edi + 4], eax
lea eax, [ebp - 0x134]
push 0x5005ac
push eax
push 0x5005b0
push 3
push dword [edi + 8]
push ebx
call fcn.0047f4e0
inc esi
mov dword [edi + 8], eax
add esp, 0x18
lea edi, [edi + 0x10]
cmp esi, 8
jl 0x490070
mov esi, dword [ebp - 0x1030]
push str.bpp32y
push 0x5005cc
push 2
push dword [esi + 0xbd2c]
push ebx
call fcn.0047f4e0
push str.bpp16y
push 0x5005ec
push 2
push dword [esi + 0xbd30]
mov dword [esi + 0xbd2c], eax
push ebx
call fcn.0047f4e0
push str.VERTEX_MA
push 0x500610
push 2
push dword [esi + 0xbd34]
mov dword [esi + 0xbd30], eax
push ebx
call fcn.0047f4e0
push str.VERTEX_MI
push 0x500630
push 2
push dword [esi + 0xbd38]
mov dword [esi + 0xbd34], eax
push ebx
call fcn.0047f4e0
add esp, 0x50
mov dword [esi + 0xbd38], eax
push 0x500640
push 0x500650
push 2
push dword [esi + 0xbd3c]
push ebx
call fcn.0047f4e0
push str.PIXEL_MA
push str.SHADER
push 2
push dword [esi + 0xbd40]
mov dword [esi + 0xbd3c], eax
push ebx
call fcn.0047f4e0
mov dword [esi + 0xbd40], eax
add esp, 0x28
lea eax, [esi + 0xb994]
xor edi, edi
mov esi, eax
lea esp, [esp]
push edi
lea eax, [ebp - 0x134]
push str.need_02d
push eax
call fcn.00496e1e
lea eax, [ebp - 0x134]
push eax
push 0x5006a0
push 2
push dword [esi]
push ebx
call fcn.0047f4e0
inc edi
mov dword [esi], eax
add esp, 0x20
lea esi, [esi + 4]
cmp edi, 0x40
jl 0x4901e0
mov edi, dword [ebp - 0x1030]
add edi, 0x13b4
xor esi, esi
push esi
lea eax, [ebp - 0x134]
push str.int_02d
push eax
call fcn.00496e1e
push 0x5006d0
lea ecx, [ebp - 0x134]
push ecx
push 0x5006d8
lea eax, [edi - 0x20]
push 3
push eax
push eax
push ebx
call fcn.0047f820
push 0x5006e4
lea eax, [ebp - 0x134]
push eax
push 0x5006e8
push 3
push edi
push edi
push ebx
call fcn.0047f820
add esp, 0x44
lea ecx, [ebp - 0x134]
lea eax, [edi + 8]
push 0x5006ec
push ecx
push 0x5006f0
push 3
push eax
push eax
push ebx
call fcn.0047f820
push 0x5006f4
lea ecx, [ebp - 0x134]
push ecx
push 0x500700
lea eax, [edi + 0x10c]
push 3
push eax
push eax
push ebx
call fcn.0047f820
inc esi
add esp, 0x38
add edi, 0x14c
cmp esi, 0x80
jl 0x490224
mov esi, dword [ebp - 0x1030]
push 0x500710
push str.FOLDER
push 2
lea eax, [esi + 0xba94]
push eax
push eax
push ebx
call fcn.0047fa60
push 0x50072c
push str.MANUAL
push 2
lea edi, [esi + 0xbd44]
push edi
push edi
push ebx
call fcn.0047fa60
add esp, 0x30
cmp word [edi], 0
jne 0x490316
mov dword [esi + 0xbf4c], 0
jmp 0x490352
lea ecx, [ebp - 0x5bc]
call fcn.0046cdd0
push edi
lea ecx, [ebp - 0x5bc]
mov dword [ebp - 4], 0
call fcn.0046d030
neg eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5bc]
sbb eax, eax
neg eax
mov dword [esi + 0xbf4c], eax
call fcn.0046ce10
push str.cdid
push 0x500788
lea eax, [esi + 0xc158]
push 2
push eax
push eax
push ebx
call fcn.0047fa60
push 0x50078c
push 0x500794
push 2
push 1
push ebx
call fcn.0047f4e0
push 0x5007a0
push 0x5007a4
push 2
push 1
push ebx
mov dword [esi + 0xc5f0], eax
call fcn.0047f4e0
add esp, 0x40
mov dword [esi + 0xc5f4], eax
push 0x5007b8
push 0x5007c4
push 2
push 1
push ebx
call fcn.0047f4e0
push 0x5007dc
push 0x5007e8
push 2
push 1
push ebx
mov dword [esi + 0xc5f8], eax
call fcn.0047f4e0
push 0x500800
push 0x500808
push 2
push 1
push ebx
mov dword [esi + 0xc5fc], eax
call fcn.0047f4e0
push 0x500820
push 0x50082c
push 2
push 1
push ebx
mov dword [esi + 0xc600], eax
call fcn.0047f4e0
add esp, 0x50
mov dword [esi + 0xc604], eax
push str.font
push 0x500850
push 2
push 1
push ebx
call fcn.0047f4e0
push str.sysv
push 0x500874
push 2
push 1
push ebx
mov dword [esi + 0xc608], eax
call fcn.0047f4e0
push str.sysconfig
push 0x5008a0
push 2
push 0
push ebx
mov dword [esi + 0xc60c], eax
call fcn.0047f4e0
push 0x5008b4
push 0x5008c8
push 2
push 0
push ebx
mov dword [esi + 0xc610], eax
call fcn.0047f4e0
add esp, 0x50
mov dword [esi + 0xc614], eax
push str.smp_wndalpha
push 0x5008f0
push 2
push 0
push ebx
call fcn.0047f4e0
push str.wnd_alpha
push 0x500918
push 2
push 1
push ebx
mov dword [esi + 0xc618], eax
call fcn.0047f4e0
push str.view3d
push str.CONFIG_B
push 2
push 0
push ebx
mov dword [esi + 0xc61c], eax
call fcn.0047f4e0
push 0x500954
push 0x50096c
push 2
push 1
push ebx
mov dword [esi + 0xc620], eax
call fcn.0047f4e0
add esp, 0x50
mov dword [esi + 0xc788], eax
push str.strframe_count
push 0x500994
push 2
push 0
push ebx
call fcn.0047f4e0
push str.strframe_frame
push 0x5009bc
push 2
push 0
push ebx
mov dword [esi + 0xc790], eax
call fcn.0047f4e0
push str.autoframe_count
push 0x5009e8
push 2
push 0
push ebx
mov dword [esi + 0xc794], eax
call fcn.0047f4e0
push str.disp_frame
push 0x5009fc
push 2
push 0
push ebx
mov dword [esi + 0xc798], eax
call fcn.0047f4e0
add esp, 0x50
mov dword [esi + 0xc624], eax
push str.enablefullskip
push 0x500a14
push 2
push 0
push ebx
call fcn.0047f4e0
add esp, 0x14
mov dword [esi + 0xc78c], eax
lea edi, [esi + 0xc7a0]
xor esi, esi
push esi
lea eax, [ebp - 0x134]
push str.p_02d
push eax
call fcn.00496e1e
push 0x500a24
lea eax, [ebp - 0x134]
push eax
push 0x500a2c
push 0x500a38
push 4
push dword [edi - 4]
push ebx
call fcn.0047f4e0
push 0x500a40
mov dword [edi - 4], eax
lea eax, [ebp - 0x134]
push eax
push str.autopriset
push 0x500a54
push 4
push dword [edi]
push ebx
call fcn.0047f4e0
inc esi
mov dword [edi], eax
add esp, 0x44
lea edi, [edi + 8]
cmp esi, 0x20
jl 0x490574
mov esi, dword [ebp - 0x1030]
mov ecx, dword [esi + 0x1385c]
lea edi, [esi + 0xc674]
mov eax, dword [esi + ecx*8 + 0xc79c]
mov dword [esi + 0x13864], eax
mov eax, dword [esi + ecx*8 + 0xc7a0]
mov dword [esi + 0x13868], eax
xor esi, esi
jmp 0x490610
push esi
lea eax, [ebp - 0x134]
push str.group_02d
push eax
call fcn.00496e1e
push 0x500a70
lea eax, [ebp - 0x134]
push eax
push 0x500a78
push 3
push 0xffffffffffffffff
push ebx
call fcn.0047f4e0
xor ecx, ecx
mov dword [edi + 0x14], eax
cmp eax, 0xffffffff
lea eax, [edi + 4]
push 0x500a98
setne cl
mov dword [edi], ecx
lea ecx, [ebp - 0x134]
push ecx
push 0x500abc
push 3
push eax
push eax
push ebx
call fcn.0047f820
add esp, 0x40
lea eax, [ebp - 0x134]
push 0x500ac8
push eax
push 0x500acc
push 3
push 0xffffffffffffffff
push ebx
call fcn.0047f4e0
push 0x500ad8
mov dword [edi + 0x18], eax
lea eax, [ebp - 0x134]
push eax
push str.SOUNDGROUP
push 3
push 0xffffffffffffffff
push ebx
call fcn.0047f4e0
inc esi
mov dword [edi + 0x1c], eax
add esp, 0x30
lea edi, [edi + 0x20]
cmp esi, 8
jl 0x490610
mov esi, dword [ebp - 0x1030]
push str.current
push 0x500b00
push 0x500b14
lea eax, [esi + 0xc8a4]
push 3
push eax
push eax
push ebx
call fcn.0047f820
push str.command
push 0x500b28
push 0x500b30
lea eax, [esi + 0xc9a8]
push 3
push eax
push eax
push ebx
call fcn.0047f820
push str.param
push str.convert
push str.SCENELIST
lea eax, [esi + 0xcaac]
push 3
push eax
push eax
push ebx
call fcn.0047f820
add esp, 0x54
push 0x500b78
push 0x500b8c
push 0x500b94
push 3
push dword [esi + 0xcbb0]
push ebx
call fcn.0047f4e0
push 0x500ba4
push 0x500bb4
push 0x500bbc
push 3
push dword [esi + 0xcbb4]
mov dword [esi + 0xcbb0], eax
push ebx
call fcn.0047f4e0
push str.prof
push 0x500bcc
push 0x500bd0
push 3
push dword [esi + 0xcbb8]
mov dword [esi + 0xcbb4], eax
push ebx
call fcn.0047f4e0
add esp, 0x48
mov dword [esi + 0xcbb8], eax
push str.nameline
push 0x500be4
push 0x500be8
push 3
push dword [esi + 0xcbbc]
push ebx
call fcn.0047f4e0
push str.first
push 0x500bf8
push 0x500c10
push 0x500c20
mov dword [esi + 0xcbbc], eax
lea eax, [esi + 0xcbc0]
push 4
push eax
push eax
push ebx
call fcn.0047f820
push str.last
push str.nameformat
push 0x500c40
push 0x500c44
push 4
lea eax, [esi + 0xcbe0]
push eax
push eax
push ebx
call fcn.0047f820
add esp, 0x58
push str.indent
push 0x500c54
push 0x500c58
push 3
push dword [esi + 0xcc00]
push ebx
call fcn.0047f4e0
push str.nameindent
push 0x500c6c
push 0x500c70
push 3
push dword [esi + 0xcc04]
mov dword [esi + 0xcc00], eax
push ebx
call fcn.0047f4e0
push 0x500c78
push 0x500c7c
push 0x500c84
push 0x500c88
push 4
push dword [esi + 0xcc08]
mov dword [esi + 0xcc04], eax
push ebx
call fcn.0047f4e0
add esp, 0x4c
mov dword [esi + 0xcc08], eax
push str.name
push str.disp
push 0x500ca0
push 0x500ca4
push 4
push dword [esi + 0xcc0c]
push ebx
call fcn.0047f4e0
push str.space
push 0x500cb4
push 0x500cb8
push 3
push dword [esi + 0xcc10]
mov dword [esi + 0xcc0c], eax
push ebx
call fcn.0047f4e0
push str.escape
push 0x500cc8
push 0x500ccc
push 3
push dword [esi + 0xcc14]
mov dword [esi + 0xcc10], eax
push ebx
call fcn.0047f4e0
add esp, 0x4c
mov dword [esi + 0xcc14], eax
push 0x500cd4
push 0x500cdc
push 0x500ce0
push 3
push dword [esi + 0xcc18]
push ebx
call fcn.0047f4e0
push str.cr_next
push 0x500cf0
push 0x500cf4
push 3
push dword [esi + 0xcc1c]
mov dword [esi + 0xcc18], eax
push ebx
call fcn.0047f4e0
push str.frameimg
push str.SCREEN
mov dword [esi + 0xcc1c], eax
lea eax, [esi + 0xce2c]
push 2
push eax
push eax
push ebx
call fcn.0047fa60
add esp, 0x48
push str.direct
push 0x500d18
push 2
push dword [esi + 0xd034]
push ebx
call fcn.0047f4e0
push 0x500d1c
push 0x500d20
push 0x500d28
push 3
push dword [esi + 0xd038]
mov dword [esi + 0xd034], eax
push ebx
call fcn.0047f4e0
add esp, 0x2c
mov dword [esi + 0xd038], eax
lea edi, [esi + 0xd040]
xor esi, esi
jmp 0x490990
push esi
lea eax, [ebp - 0x134]
push str.local_d
push eax
call fcn.00496e1e
push 0x500d38
lea eax, [ebp - 0x134]
push eax
push 0x500d40
push 0x500d48
push 4
push dword [edi - 4]
push ebx
call fcn.0047f4e0
push 0x500d50
mov dword [edi - 4], eax
lea eax, [ebp - 0x134]
push eax
push 0x500d58
push 0x500d60
push 4
push dword [edi]
push ebx
call fcn.0047f4e0
add esp, 0x44
mov dword [edi], eax
lea eax, [ebp - 0x134]
push esi
push str.global_d
push eax
call fcn.00496e1e
push str.start
lea eax, [ebp - 0x134]
push eax
push 0x500d7c
push 0x500d84
push 4
push dword [edi + 0x3c]
push ebx
call fcn.0047f4e0
push str.count
mov dword [edi + 0x3c], eax
lea eax, [ebp - 0x134]
push eax
push str.flag
push 0x500d9c
push 4
push dword [edi + 0x40]
push ebx
call fcn.0047f4e0
inc esi
mov dword [edi + 0x40], eax
add esp, 0x44
lea edi, [edi + 8]
cmp esi, 8
jl 0x490990
mov esi, dword [ebp - 0x1030]
push str.use_ps
push 0x500dac
push 2
push dword [esi + 0xe2c4]
push ebx
call fcn.0047f4e0
push str.touch
push 0x500db8
push 2
push dword [esi + 0xe2c8]
mov dword [esi + 0xe2c4], eax
push ebx
call fcn.0047f4e0
push str.render_always
push 0x500dcc
push 2
push dword [esi + 0xe4d4]
mov dword [esi + 0xe2c8], eax
push ebx
call fcn.0047f4e0
xor edi, edi
mov dword [esi + 0xe4d4], eax
push edi
lea eax, [ebp - 0x7ac]
push str.r_02d
push eax
call fcn.00496e1e
add esp, 0x48
lea eax, [ebp - 0x7ac]
push str.find
push eax
push 0x500de0
push 0x500de8
push 4
push 0x4fff4b
lea eax, [ebp - 0xbac]
push eax
push ebx
call fcn.0047f820
add esp, 0x20
test eax, eax
je 0x490d06
push 0x500df0
lea eax, [ebp - 0x7ac]
push eax
push str.replace
push str.SCRIPT
push 4
push 0x4fff55
lea eax, [ebp - 0xfac]
push eax
push ebx
call fcn.0047f820
add esp, 0x20
test eax, eax
je 0x490d06
cmp byte [ebp - 0xfac], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x490b55
xor ecx, ecx
jmp 0x490b69
lea ecx, [ebp - 0xfac]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490b60
sub ecx, edx
push ecx
lea eax, [ebp - 0xfac]
push eax
lea ecx, [ebp - 0x28]
call fcn.0042ed20
cmp byte [ebp - 0xbac], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0xfe8], 0xf
mov dword [ebp - 0xfec], 0
mov byte [ebp - 0xffc], 0
jne 0x490ba8
xor ecx, ecx
jmp 0x490bba
lea ecx, [ebp - 0xbac]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x490bb1
sub ecx, edx
push ecx
lea eax, [ebp - 0xbac]
push eax
lea ecx, [ebp - 0xffc]
call fcn.0042ed20
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xffc]
push eax
lea ecx, [ebp - 0x102c]
call fcn.00491f00
mov esi, dword [esi + 0xe4d8]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.00491fc0
push eax
add eax, 0x10
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x1038]
push eax
call fcn.00492270
cmp dword [ebp - 0x1000], 0x10
jb 0x490c21
push dword [ebp - 0x1014]
call fcn.0049494e
add esp, 4
cmp dword [ebp - 0x1018], 0x10
mov dword [ebp - 0x1000], 0xf
mov dword [ebp - 0x1004], 0
mov byte [ebp - 0x1014], 0
jb 0x490c53
push dword [ebp - 0x102c]
call fcn.0049494e
add esp, 4
cmp dword [ebp - 0xfe8], 0x10
mov dword [ebp - 0x1018], 0xf
mov dword [ebp - 0x101c], 0
mov byte [ebp - 0x102c], 0
jb 0x490c85
push dword [ebp - 0xffc]
call fcn.0049494e
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0xfe8], 0xf
mov dword [ebp - 0xfec], 0
mov byte [ebp - 0xffc], 0
mov dword [ebp - 4], 0xffffffff
jb 0x490cb8
push dword [ebp - 0x28]
call fcn.0049494e
add esp, 4
inc edi
lea eax, [ebp - 0x7ac]
push edi
push str.r_02d
push eax
call fcn.00496e1e
push str.find
lea eax, [ebp - 0x7ac]
push eax
push 0x500de0
push 0x500de8
push 4
push 0x4fff4b
lea eax, [ebp - 0xbac]
push eax
push ebx
call fcn.0047f820
mov esi, dword [ebp - 0x1030]
add esp, 0x2c
test eax, eax
jne 0x490b01
push str.tweet
push 0x500a74
push 2
push dword [esi + 0xe4dc]
push ebx
call fcn.0047f4e0
push 0x500a84
push 0x500a8c
push 2
push dword [esi + 0xe4e0]
mov dword [esi + 0xe4dc], eax
push ebx
call fcn.0047f4e0
add esp, 0x28
mov dword [esi + 0xe4e0], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [ebp - 0x1034], eax
movzx eax, ax
push eax
push eax
push str.Default_Language_:__d_0x_x_
call fcn.0046c180
xor edi, edi
lea eax, [ebp - 0x134]
push edi
push str.L_02d
push eax
call fcn.00496e1e
push str.code
lea eax, [ebp - 0x134]
push eax
push 0x500b08
push 3
push edi
push ebx
call fcn.0047f4e0
movzx eax, ax
add esp, 0x30
test ax, ax
je 0x491035
cmp ax, word [ebp - 0x1034]
jne 0x490dbb
mov dword [esi + 0xe4e0], edi
mov dword [esi + 0x10028], edi
mov dword [esi + 0x1002c], edi
xor eax, eax
mov dword [ebp - 0xfd0], 7
mov dword [ebp - 0xfd4], 0
mov word [ebp - 0xfe4], ax
mov dword [ebp - 0xfb8], 7
mov dword [ebp - 0xfbc], eax
mov word [ebp - 0xfcc], ax
push str.prefix
lea eax, [ebp - 0x134]
mov dword [ebp - 4], 4
push eax
push 0x500b4c
push 3
push 0x500b60
lea eax, [ebp - 0x33c]
push eax
push ebx
call fcn.0047fa60
add esp, 0x1c
cmp word [ebp - 0x33c], 0
jne 0x490e2c
xor ecx, ecx
jmp 0x490e44
lea ecx, [ebp - 0x33c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490e35
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0xfe4]
call fcn.004679f0
push str.lang
lea eax, [ebp - 0x134]
push eax
push 0x500b80
push 3
push 0x500b90
lea eax, [ebp - 0x33c]
push eax
push ebx
call fcn.0047fa60
add esp, 0x1c
cmp word [ebp - 0x33c], 0
jne 0x490e8d
xor ecx, ecx
jmp 0x490ea5
lea ecx, [ebp - 0x33c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490e96
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x33c]
push eax
lea ecx, [ebp - 0xfcc]
call fcn.004679f0
push str.accel
lea eax, [ebp - 0x134]
push eax
push 0x500ba8
push 3
push 0x500bb8
lea eax, [ebp - 0x33c]
push eax
push ebx
call fcn.0047fa60
mov ax, word [ebp - 0x33c]
add esp, 0x1c
mov word [ebp - 0xfb2], ax
movzx eax, word [ebp - 0x33a]
sub eax, 0x41
je 0x490f1f
sub eax, 2
je 0x490f16
sub eax, 0x10
je 0x490f0d
mov byte [ebp - 0xfb4], 0
jmp 0x490f26
mov byte [ebp - 0xfb4], 4
jmp 0x490f26
mov byte [ebp - 0xfb4], 8
jmp 0x490f26
mov byte [ebp - 0xfb4], 0x10
push str.accelsub
lea eax, [ebp - 0x134]
push eax
push 0x500c14
push 3
push 0x500c28
lea eax, [ebp - 0x33c]
push eax
push ebx
call fcn.0047fa60
mov ax, word [ebp - 0x33c]
add esp, 0x1c
mov word [ebp - 0xfae], ax
movzx eax, word [ebp - 0x33a]
sub eax, 0x41
je 0x490f8d
sub eax, 2
je 0x490f84
sub eax, 0x10
je 0x490f7b
mov byte [ebp - 0xfb0], 0
jmp 0x490f94
mov byte [ebp - 0xfb0], 4
jmp 0x490f94
mov byte [ebp - 0xfb0], 8
jmp 0x490f94
mov byte [ebp - 0xfb0], 0x10
mov ecx, dword [esi + 0xe4e4]
lea eax, [ebp - 0xfe4]
push eax
call fcn.004928d0
cmp dword [ebp - 0xfb8], 8
mov dword [ebp - 4], 0xffffffff
jb 0x490fc4
push dword [ebp - 0xfcc]
call fcn.0049494e
add esp, 4
xor eax, eax
mov dword [ebp - 0xfb8], 7
cmp dword [ebp - 0xfd0], 8
mov dword [ebp - 0xfbc], 0
mov word [ebp - 0xfcc], ax
jb 0x490ff8
push dword [ebp - 0xfe4]
call fcn.0049494e
add esp, 4
inc edi
lea eax, [ebp - 0x134]
push edi
push str.L_02d
push eax
call fcn.00496e1e
push str.code
lea eax, [ebp - 0x134]
push eax
push 0x500b08
push 3
push 0
push ebx
call fcn.0047f4e0
movzx eax, ax
add esp, 0x24
test ax, ax
jne 0x490da0
push str.enable_sub
push 0x4fff4c
push 2
push dword [esi + 0xe4e8]
push ebx
call fcn.0047f4e0
push str.OPTTABLE
push 0x4fff64
push 2
mov dword [esi + 0xe4e8], eax
lea eax, [ebp - 0x33c]
push 0x4fff70
push eax
push ebx
call fcn.0047fa60
lea eax, [ebp - 0x33c]
push eax
lea eax, [esi + 0xe4ec]
push eax
call fcn.0047a490
push str.steamid
push 0x4fff7c
push 2
push dword [esi + 0xf52c]
push ebx
call fcn.0047f4e0
add esp, 0x48
mov dword [esi + 0xf52c], eax
push str.cgregmode
push 0x4fff8c
push 2
push dword [esi + 0xf530]
push ebx
call fcn.0047f4e0
push str.utfmode
push 0x4fff9c
push 2
push dword [esi + 0xf534]
mov dword [esi + 0xf530], eax
push ebx
call fcn.0047f4e0
push str.checksteam
push 0x4fffac
push 2
push dword [esi + 0xf538]
mov dword [esi + 0xf534], eax
push ebx
call fcn.0047f4e0
push str.ttstable
push 0x4fffbc
mov dword [esi + 0xf538], eax
lea eax, [esi + 0xf53c]
push 2
push eax
push eax
push ebx
call fcn.0047fa60
add esp, 0x54
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049493f
mov esp, ebp
pop ebp
ret 4