Function at 0x1003deef
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10074da4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push esi
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003edce
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1e8], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x1d4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
movzx eax, byte [eax]
test eax, eax
je 0x1003edba
mov eax, dword [ebp - 0x1e8]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x168], 9
mov dword [ebp - 0x118], 0
mov dword [ebp - 0xd0], 0x6695998
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x130], 3
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x140], 0xbfef
mov dword [ebp - 0xd8], 0x392a
mov dword [ebp - 0x18], 0
jmp 0x1003dfd1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1003dfe4
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x40], 0
jmp 0x1003dfca
mov dword [ebp - 0x18], 0
jmp 0x1003dff4
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x1003e00a
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x158], 8
jmp 0x1003dfed
cmp dword [ebp - 0x168], 0xfffffffa
jg 0x1003e01f
mov dword [ebp - 0xa8], 1
jmp 0x1003e026
and dword [ebp - 0xa8], 0
xor eax, eax
jne 0x1003e062
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x23c], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x158]
mov dword [ebp - 0x250], eax
xor eax, eax
jne 0x1003e062
and dword [ebp - 0x10c], 0
jmp 0x1003e06c
mov dword [ebp - 0x10c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
cmp dword [ebp - 0x10c], eax
jge 0x1003e08a
mov dword [ebp - 0x98], 1
jmp 0x1003e091
and dword [ebp - 0x98], 0
cmp dword [ebp - 0x98], 3
jg 0x1003e0a6
mov dword [ebp - 0x14c], 1
jmp 0x1003e0ad
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1cc], eax
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x1cc], 0x133d496
jg 0x1003e0dc
mov dword [ebp - 0xf8], 1
jmp 0x1003e0e3
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xf8], eax
jl 0x1003e0fa
mov dword [ebp - 0xa0], 1
jmp 0x1003e101
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x118]
add eax, dword [ebp - 0xa0]
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x158]
jle 0x1003e128
mov dword [ebp - 0x128], 1
jmp 0x1003e12f
and dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x128], eax
jg 0x1003e146
mov dword [ebp - 0x100], 1
jmp 0x1003e14d
and dword [ebp - 0x100], 0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x100]
jge 0x1003e167
mov dword [ebp - 0xb0], 1
jmp 0x1003e16e
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
add eax, 4
jne 0x1003e18b
cmp dword [ebp - 0x140], 0
jne 0x1003e18b
and dword [ebp - 0xb8], 0
jmp 0x1003e195
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0xb8], eax
jl 0x1003e2f3
mov eax, 0x1325
test eax, eax
je 0x1003e2f3
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x5c], 0x861e80f9
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x54], 0
jmp 0x1003e1dc
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 1
jge 0x1003e1f2
mov eax, dword [ebp - 0x54]
mov dword [ebp + eax*4 - 0x170], 0xffffffff
jmp 0x1003e1d5
push 0
lea eax, [ebp - 0x108]
push eax
call fcn.1004d66f
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xc0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xc0]
mov dword [ebp + eax - 0x170], ecx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0xc0]
jle 0x1003e245
mov dword [ebp - 0x1d8], 1
jmp 0x1003e24c
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x130]
add eax, 9
cmp eax, 0x84bafc8d
jae 0x1003e268
mov dword [ebp - 0xc8], 1
jmp 0x1003e26f
and dword [ebp - 0xc8], 0
imul eax, dword [ebp - 0xc8], 0x4407
cmp eax, 0x9626dac1
je 0x1003e28c
mov dword [ebp - 0x110], 1
jmp 0x1003e293
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
add eax, 0x54c8d3dc
mov dword [ebp - 0x5c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xd8]
imul ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp + eax - 0x40]
cmp ecx, 0x985da400
jb 0x1003e2c9
mov dword [ebp - 0x15c], 1
jmp 0x1003e2d0
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x184], eax
jmp 0x1003e35c
mov dword [ebp - 0x180], 1
mov dword [ebp - 0x24], 1
jmp 0x1003e30d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x1003e350
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x158]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x150]
mov dword [ebp + eax*4 - 0x158], ecx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x180], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x40], 0
je 0x1003e34e
jmp 0x1003e306
jmp 0x1003e306
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1b8]
add ecx, dword [eax]
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x4c], 9
mov dword [ebp - 0x120], 0x8f4727c
mov dword [ebp - 0x7c], 8
mov dword [ebp - 0x268], 0x7c
mov dword [ebp - 0x270], 0x189f42c6
mov dword [ebp - 0x208], 0xfffffff6
mov dword [ebp - 0x204], 0xfffffff6
mov dword [ebp - 0x200], 0xfffffff6
mov dword [ebp - 0x1fc], 0xfffffff6
lea ecx, [ebp - 0x69]
call fcn.1002247b
push eax
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x298]
call fcn.1002247e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x280]
call fcn.1002242a
and dword [ebp - 4], 0
mov dword [ebp - 0x68], 0x199314e7
mov dword [ebp - 0x4c], 9
jmp 0x1003e410
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x19
jl 0x1003e5d1
mov dword [ebp - 0x188], 0xfff9
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x190], 0x11e7bff4
mov dword [ebp - 0x264], 0x23dcdf5e
mov dword [ebp - 0x1a0], 1
push 2
lea ecx, [ebp - 0x220]
call fcn.100223ce
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
jmp 0x1003e46d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1003e480
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x60], 0x1c097bc8
jmp 0x1003e466
push 0x786d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x7f75
push 0x26e5
call fcn.1004120c
add esp, 0x18
cmp dword [ebp - 0x188], 0
je 0x1003e4be
xor eax, eax
inc eax
je 0x1003e4be
mov dword [ebp - 0xe0], 1
jmp 0x1003e4c5
and dword [ebp - 0xe0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
mov dword [ebp - 0x1d0], eax
push 2
lea ecx, [ebp - 0x280]
call fcn.1002246c
mov ecx, dword [ebp - 0x1d0]
mov dword [eax], ecx
mov eax, dword [ebp - 0x190]
mov dword [ebp - 0x238], eax
imul eax, dword [ebp - 0x68], 0xffff
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x60]
sub ecx, 0x6ea0
imul eax, ecx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x198]
cmp eax, dword [ebp - 0x1e4]
je 0x1003e549
mov dword [ebp - 0x138], 1
jmp 0x1003e550
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0x138]
jge 0x1003e56c
or eax, 0xffffffff
jne 0x1003e56c
and dword [ebp - 0xe8], 0
jmp 0x1003e576
mov dword [ebp - 0xe8], 1
mov eax, dword [ebp - 0x1a0]
cmp dword [ebp - 0xe8], eax
je 0x1003e590
mov dword [ebp - 0x1c8], 1
jmp 0x1003e597
and dword [ebp - 0x1c8], 0
push 1
lea ecx, [ebp - 0x220]
call fcn.1002246c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x120], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp + eax - 0x60], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.10022450
jmp 0x1003e409
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call fcn.10022450
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
add eax, 8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x14], 8
push 1
lea ecx, [ebp - 0x1f4]
call fcn.100223ce
mov dword [ebp - 4], 2
mov dword [ebp - 0x17c], 0x41b6add7
mov dword [ebp - 0x44], 0
jmp 0x1003e635
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x1003e651
push dword [ebp - 0x44]
lea ecx, [ebp - 0x1f4]
call fcn.1002246c
mov dword [eax], 0x6c65
jmp 0x1003e62e
cmp dword [ebp - 0x10], 0
jne 0x1003e6db
cmp dword [ebp - 0x10], 0
je 0x1003e673
cmp dword [ebp - 0x10], 0
je 0x1003e673
mov dword [ebp - 0xf0], 1
jmp 0x1003e67a
and dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0x4a52
jne 0x1003e695
cmp dword [ebp - 0x10], 0
jne 0x1003e695
and dword [ebp - 0x1a8], 0
jmp 0x1003e69f
mov dword [ebp - 0x1a8], 1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x284], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jg 0x1003e6bc
mov dword [ebp - 0x148], 1
jmp 0x1003e6c3
and dword [ebp - 0x148], 0
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x1003e6db
and dword [ebp - 0x94], 0
jmp 0x1003e6e5
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x94]
cmp eax, 0x3e45
jl 0x1003e701
mov dword [ebp - 0x9c], 1
jmp 0x1003e708
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x206dd2cc
jg 0x1003e720
cmp dword [ebp - 0x20], 0
jne 0x1003e72f
cmp dword [ebp - 0x20], 0
jne 0x1003e72f
and dword [ebp - 0xa4], 0
jmp 0x1003e739
mov dword [ebp - 0xa4], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xa4], eax
jne 0x1003e750
mov dword [ebp - 0xac], 1
jmp 0x1003e757
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jg 0x1003e771
mov dword [ebp - 0xb4], 1
jmp 0x1003e778
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc], eax
push 0
lea ecx, [ebp - 0x1f4]
call fcn.1002246c
mov ecx, dword [ebp - 0xbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
neg eax
je 0x1003e805
mov dword [ebp - 0x14], 0
jmp 0x1003e7bf
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe6
jl 0x1003e7f8
mov dword [ebp - 0x1dc], 0xe83
mov byte [ebp - 0x19], 0
push 0
lea eax, [ebp - 0x19]
push eax
call fcn.100411d2
pop ecx
pop ecx
push 0
push 0x2175
lea eax, [ebp - 0x1dc]
push eax
call fcn.10052e6c
add esp, 0xc
jmp 0x1003e7b8
push 0
call fcn.10042a65
pop ecx
jmp 0x1003ea93
mov dword [ebp - 0x30], 0x360abed9
push 1
lea ecx, [ebp - 0x8c]
call fcn.100223ce
mov byte [ebp - 4], 3
mov dword [ebp - 0x90], 0xc7819afc
mov dword [ebp - 0x48], 0
jmp 0x1003e837
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x1003e853
push dword [ebp - 0x48]
lea ecx, [ebp - 0x8c]
call fcn.1002246c
mov dword [eax], 0x51ef224b
jmp 0x1003e830
mov eax, 0xa0f83931
test eax, eax
je 0x1003e8e9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x240], eax
push 0
lea ecx, [ebp - 0x1f4]
call fcn.1002246c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x274], eax
mov esi, dword [ebp - 0x30]
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
sub esi, dword [eax]
cmp esi, dword [ebp - 0x64]
jne 0x1003e8bd
mov dword [ebp - 0x1b0], 1
jmp 0x1003e8c4
and dword [ebp - 0x1b0], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
mov eax, 0xffff
imul eax, eax, 0
test eax, eax
je 0x1003e8e9
mov dword [ebp - 0xc4], 1
jmp 0x1003e8f0
and dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0x3d0c
jle 0x1003e908
mov dword [ebp - 0x178], 1
jmp 0x1003e90f
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x254], eax
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
imul eax, dword [eax], 0xf149
cmp eax, dword [ebp - 0x90]
jl 0x1003e948
mov eax, 0xf77a3124
test eax, eax
je 0x1003e948
mov dword [ebp - 0xcc], 1
jmp 0x1003e94f
and dword [ebp - 0xcc], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [eax]
je 0x1003e972
mov dword [ebp - 0xd4], 1
jmp 0x1003e979
and dword [ebp - 0xd4], 0
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
mov ecx, dword [ebp - 0xd4]
add ecx, dword [eax]
sub ecx, dword [ebp - 0x20]
cmp ecx, 0xa872
jl 0x1003e9a5
mov dword [ebp - 0xdc], 1
jmp 0x1003e9ac
and dword [ebp - 0xdc], 0
mov esi, dword [ebp - 0xdc]
dec esi
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
cmp esi, dword [eax]
jg 0x1003e9d0
mov dword [ebp - 0xe4], 1
jmp 0x1003e9d7
and dword [ebp - 0xe4], 0
mov eax, dword [ebp - 0xe4]
sub eax, 3
cmp eax, 0xc2cfccff
ja 0x1003e9f3
mov dword [ebp - 0xec], 1
jmp 0x1003e9fa
and dword [ebp - 0xec], 0
imul eax, dword [ebp - 0xec], 0xec51
test eax, eax
je 0x1003ea1d
mov eax, 0x9f7e48ff
test eax, eax
je 0x1003ea1d
mov dword [ebp - 0xf4], 1
jmp 0x1003ea24
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0xf4], eax
je 0x1003ea44
mov eax, 0x7809
test eax, eax
jne 0x1003ea44
and dword [ebp - 0xfc], 0
jmp 0x1003ea4e
mov dword [ebp - 0xfc], 1
push 0
lea ecx, [ebp - 0x8c]
call fcn.1002246c
mov ecx, dword [ebp - 0xfc]
cmp ecx, dword [eax]
jge 0x1003ea71
mov dword [ebp - 0x104], 1
jmp 0x1003ea78
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.10022450
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.10022450
and dword [ebp - 0x70], 0
jmp 0x1003eab7
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
inc eax
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 0x70], eax
jae 0x1003edab
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x18c]
push eax
push 0x1ee5
push 0
call fcn.1003f73a
add esp, 0x10
mov dword [ebp - 0x28], 0xe0648261
push 1
lea ecx, [ebp - 0x22c]
call fcn.100223ce
mov dword [ebp - 4], 4
mov dword [ebp - 0x26c], 0xfffffff9
mov dword [ebp - 0x3c], 0x664a1160
push 0
push 1
lea eax, [ebp - 0x22c]
push eax
push 0x78dc
push 0x68a6
push 1
push 0x5b88
push 0x7e0c
lea eax, [ebp - 0x25c]
push eax
call fcn.10052258
add esp, 0x24
mov dword [ebp - 0x28], 0
jmp 0x1003eb53
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffff7
jge 0x1003ed18
mov dword [ebp - 0x78], 0xffffffff
push 3
lea ecx, [ebp - 0x214]
call fcn.100223ce
mov byte [ebp - 4], 5
mov dword [ebp - 0x124], 1
mov dword [ebp - 0x34], 0
jmp 0x1003eb8f
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x1003eba5
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x290], 0x45ccb972
jmp 0x1003eb88
push 0x1994
push 0
push 0x357f
lea eax, [ebp - 0x34]
push eax
push 0x28ef
lea eax, [ebp - 0x214]
push eax
call fcn.1004a7ea
add esp, 0x18
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x114], eax
push 0
lea ecx, [ebp - 0x22c]
call fcn.1002246c
mov ecx, dword [ebp - 0x114]
mov dword [eax], ecx
cmp dword [ebp - 0x114], 0
jne 0x1003ec19
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x78]
dec ecx
mov dword [ebp - 0x78], ecx
test eax, eax
jne 0x1003ec19
push 1
lea ecx, [ebp - 0x214]
call fcn.1002246c
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
imul eax, dword [ebp - 0x3c], 6
cmp eax, dword [ebp - 0x3c]
je 0x1003ec2e
mov dword [ebp - 0x11c], 1
jmp 0x1003ec35
and dword [ebp - 0x11c], 0
xor eax, eax
sub eax, dword [ebp - 0x28]
cmp eax, 0xe13f
jne 0x1003ec4d
mov dword [ebp - 0x174], 1
jmp 0x1003ec54
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x234], eax
push 8
pop eax
test eax, eax
je 0x1003ec8f
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x290], 0
je 0x1003ec8f
mov dword [ebp - 0x12c], 1
jmp 0x1003ec96
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x12c], eax
jne 0x1003ecad
mov dword [ebp - 0x134], 1
jmp 0x1003ecb4
and dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0xf4f9
jl 0x1003eccc
mov dword [ebp - 0x13c], 1
jmp 0x1003ecd3
and dword [ebp - 0x13c], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x290]
cmp dword [ebp - 0x13c], eax
jl 0x1003ecf4
mov dword [ebp - 0x144], 1
jmp 0x1003ecfb
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x214]
call fcn.10022450
jmp 0x1003eb4c
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x7687
push 0x548e
call fcn.10040581
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10022450
lea eax, [ebp - 0x50]
push eax
push 1
lea eax, [ebp - 0x1a4]
push eax
push 0
call fcn.10041d24
add esp, 0x10
push 0x6162
push 0
call fcn.1003ee2d
pop ecx
pop ecx
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x194], eax
cmp dword [ebp - 0x194], 3
je 0x1003ed7d
jmp 0x1003eda6
mov eax, dword [ebp - 0x19c]
add eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x1b4], eax
push dword [ebp - 0x1ac]
push 0
lea eax, [ebp - 0x1b4]
push eax
call fcn.1004ada4
add esp, 0xc
jmp 0x1003eaa8
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.10040786
pop ecx
pop ecx
jmp 0x1003edcc
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1003edcc
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
jmp 0x1003ee1e
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x1bc], eax
push dword [ebp - 0x1bc]
push 0x3932
push dword [ebp - 0x160]
push dword [ebp - 0x164]
push dword [ebp - 0x16c]
push 1
push 0x32c4
call fcn.1003d7f4
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret