Function at 0x10051570
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
mov byte [ebp - 0x59], 3
mov dword [ebp - 0x50], 0x18955d40
mov eax, dword [0x100c30c8]
mov ecx, dword [0x100c30cc]
mov dword [ebp - 0x188], ecx
mov dword [ebp - 0x3c], eax
xor edx, edx
mov dword [ebp - 0xc0], 0xa4b79040
mov dword [ebp - 0xbc], edx
movsx eax, word [0x100c308c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x40], 0x1c1e6b30
mov ecx, 0x32af
mov word [ebp - 0x20], cx
mov dx, word [0x100c30b0]
mov word [ebp - 0x18], dx
movsx ax, byte [str.NDisablePerfBackoff]
mov word [ebp - 0x1c], ax
mov ecx, 0x4ea9
mov word [ebp - 4], cx
mov edx, dword [0x100c30e8]
mov eax, dword [0x100c30ec]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
xor ecx, ecx
mov dword [ebp - 0xb8], 0x44d
mov dword [ebp - 0xb4], ecx
mov eax, dword [0x100c30f8]
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov dx, word [0x100c30fc]
mov byte [ebp - 0xa], dl
movsx eax, word [0x100c3118]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov ax, word [0x100c30f8]
mov word [ebp - 0x24], ax
mov ecx, dword [0x100c3080]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0x61
mov dx, word [0x100c30fc]
mov word [ebp - 0x10], dx
mov byte [ebp - 0x11], 0x16
mov eax, 0xffff9024
mov word [ebp - 0x38], ax
movsx eax, word [0x100c30fc]
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ecx, dword [0x100c30e8]
mov edx, dword [0x100c30ec]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov eax, 0x6aaa
mov word [ebp - 8], ax
mov byte [ebp - 9], 0xc6
mov cl, byte [0x100c3090]
mov byte [ebp - 0x5a], cl
xor edx, edx
mov dword [ebp - 0x1c8], 0x63b7
mov dword [ebp - 0x1c4], edx
mov eax, 0x356ff
mov dword [ebp - 0x1d0], 0x2afdfc9
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x184], 0x373449f1
movzx eax, byte [0x100c3063]
cdq
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], edx
xor ecx, ecx
mov dword [ebp - 0x1e0], 0x42a5aa04
mov dword [ebp - 0x1dc], ecx
xor edx, edx
mov dword [ebp - 0x1e8], 0xaf
mov dword [ebp - 0x1e4], edx
mov dword [ebp - 0x180], 0x14870fa9
movzx ax, byte [0x100c303b]
mov word [ebp - 0xf8], ax
mov ecx, dword [0x100c30a8]
mov edx, dword [0x100c30ac]
mov dword [ebp - 0x17c], edx
mov dword [ebp - 0x178], ecx
movzx eax, byte [0x100c3063]
mov dword [ebp - 0x174], eax
mov ecx, dword [0x100c30d0]
mov edx, dword [0x100c30d4]
mov dword [ebp - 0x1f0], ecx
mov dword [ebp - 0x1ec], edx
mov dword [ebp - 0x170], 0xee61c7d
xor eax, eax
mov dword [ebp - 0x1f8], 0x34c4
mov dword [ebp - 0x1f4], eax
mov ecx, 9
mov word [ebp - 0xfc], cx
mov dword [ebp - 0x16c], 0x2dd8
mov edx, dword [0x100c3120]
mov eax, dword [0x100c3124]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x1b0], edx
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0x56
call fcn.10052870
add esp, 0xc
mov byte [0x100c303b], al
movzx edx, byte [0x100c303b]
test edx, edx
jne 0x10051b68
xor eax, eax
mov dword [0x100c3100], 4
mov dword [0x100c3104], eax
mov ecx, dword [0x100c3b38]
mov dword [0x100c30f8], ecx
mov edx, 0xd434
mov word [ebp - 0x10], dx
movzx eax, word [ebp - 4]
imul eax, eax, 0x22db4e72
cdq
mov dword [0x100c30d8], eax
mov dword [0x100c30dc], edx
movsx ecx, word [ebp - 0x38]
sar ecx, 2
mov word [0x100c308c], cx
movsx eax, word [0x100c30fc]
cdq
push edx
push eax
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x64]
push eax
call fcn.1008eb70
mov dword [0x100c30b8], eax
mov dword [0x100c30bc], edx
mov ecx, dword [0x100c3100]
mov edx, dword [0x100c3104]
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], edx
cmp dword [ebp - 0xcc], 0
ja 0x10051b68
jb 0x10051860
cmp dword [ebp - 0xd0], 4
ja 0x10051b68
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
jmp dword [ecx*4 + 0x1005284c]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [0x100c30a0], ax
xor ecx, ecx
mov dword [0x100c30a8], 2
mov dword [0x100c30ac], ecx
imul edx, dword [ebp - 0x34], 0xaa29505f
mov dword [ebp - 0x30], edx
mov eax, dword [0x100c30d8]
add eax, 0x54d5bb74
mov ecx, dword [0x100c30dc]
adc ecx, 0
mov edx, dword [0x100c30e8]
mov esi, dword [0x100c30ec]
sub edx, eax
sbb esi, ecx
mov dword [0x100c30e8], edx
mov dword [0x100c30ec], esi
mov eax, dword [0x100c3110]
mov ecx, dword [0x100c3114]
push 0
push 0xee
push ecx
push eax
call fcn.1008eb70
mov byte [0x100c303b], al
movsx eax, byte [ebp - 0xa]
cdq
xor eax, 0x9ee4f7d6
mov word [ebp - 0x38], ax
movsx eax, word [ebp - 0x18]
cdq
mov ecx, dword [0x100c30d0]
mov esi, dword [0x100c30d4]
add ecx, eax
adc esi, edx
mov dword [0x100c30d0], ecx
mov dword [0x100c30d4], esi
mov edx, dword [0x100c30a8]
mov eax, dword [0x100c30ac]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x74]
or ecx, dword [ebp - 0x70]
je 0x10051c4a
cmp dword [ebp - 0x74], 1
jne 0x10051c35
cmp dword [ebp - 0x70], 0
je 0x10051d09
cmp dword [ebp - 0x74], 2
jne 0x10051c45
cmp dword [ebp - 0x70], 0
je 0x10051d73
jmp 0x10051ddd
movzx eax, word [0x100c30b0]
sar eax, 3
cdq
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xbc]
mov dword [0x100c30e8], edx
mov dword [0x100c30ec], eax
mov ecx, dword [ebp - 0x30]
xor edx, edx
sub ecx, 0xeeed8599
sbb edx, 0xaca6f
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
sub eax, ecx
sbb esi, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], esi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov eax, dword [0x100c3120]
mov esi, dword [0x100c3124]
push esi
push eax
push edx
push ecx
call fcn.1008eb70
mov ecx, eax
mov esi, edx
movsx edx, word [ebp - 0x1c]
imul eax, edx, 0xffffff56
cdq
add ecx, eax
adc esi, edx
mov dword [0x100c30c8], ecx
mov dword [0x100c30cc], esi
movsx eax, word [ebp - 0x1c]
cdq
mov ecx, dword [0x100c30c0]
mov esi, dword [0x100c30c4]
push edx
push eax
push esi
push ecx
call fcn.1008eb70
mov dword [0x100c30c0], eax
mov dword [0x100c30c4], edx
movsx edx, word [ebp - 0x18]
movzx eax, word [ebp - 0x20]
lea ecx, [eax + edx + 0x42e4ba41]
mov word [ebp - 0x20], cx
jmp 0x10051ddd
movzx eax, byte [0x100c3062]
add eax, 0xac98
cdq
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
add ecx, eax
adc esi, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov edx, 0xffffd269
mov word [0x100c30fc], dx
mov eax, dword [0x100c3b38]
xor ecx, ecx
mov dword [0x100c3100], eax
mov dword [0x100c3104], ecx
movsx eax, byte [ebp - 0xa]
cdq
mov ecx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x68]
add ecx, eax
adc esi, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
movsx edx, word [ebp - 8]
movzx eax, word [0x100c30b0]
and edx, eax
movsx ecx, word [ebp - 8]
imul ecx, edx
mov word [ebp - 8], cx
jmp 0x10051ddd
movzx edx, word [0x100c30e0]
add edx, 0x40e2b1bd
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x50]
sar eax, 7
mov word [0x100c30b0], ax
push 0
push 0xaf
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.1008eb70
mov dword [0x100c3108], eax
movzx eax, byte [0x100c303b]
add eax, dword [ebp - 0x30]
movzx ecx, byte [0x100c303b]
add ecx, eax
mov byte [0x100c303b], cl
movzx edx, byte [0x100c303b]
sar edx, 4
mov word [0x100c3088], dx
mov eax, 0x776d
mov word [0x100c3118], ax
movsx ecx, word [0x100c3088]
test ecx, ecx
je 0x10051f3c
movzx edx, word [ebp - 0x20]
test edx, edx
je 0x10051e29
mov eax, dword [0x100c3098]
mov ecx, dword [0x100c309c]
not eax
not ecx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x110]
or edx, dword [ebp - 0x10c]
je 0x10051e29
mov dword [ebp - 0xc8], 1
jmp 0x10051e33
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
not eax
movsx ecx, word [ebp - 0x1c]
cmp eax, ecx
jg 0x10051e4c
mov dword [ebp - 0x7c], 1
jmp 0x10051e53
mov dword [ebp - 0x7c], 0
movzx edx, word [ebp - 4]
cmp edx, dword [0x100c3108]
jg 0x10051ec3
cmp dword [ebp - 0x40], 0
jne 0x10051e79
xor eax, eax
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0xd4], eax
jmp 0x10051e84
xorps xmm0, xmm0
movlpd qword [ebp - 0xd8], xmm0
mov ecx, dword [0x100c3120]
mov edx, dword [0x100c3124]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], edx
mov eax, dword [ebp - 0x114]
cmp eax, dword [ebp - 0xd4]
ja 0x10051ec3
jb 0x10051eba
mov ecx, dword [ebp - 0x118]
cmp ecx, dword [ebp - 0xd8]
ja 0x10051ec3
mov dword [ebp - 0x78], 1
jmp 0x10051eca
mov dword [ebp - 0x78], 0
mov edx, dword [ebp - 0x78]
not edx
cmp dword [ebp - 0x7c], edx
jle 0x10051f37
movzx eax, word [ebp - 4]
test eax, eax
je 0x10051f37
movsx ecx, word [0x100c3118]
test ecx, ecx
jne 0x10051ef0
mov dword [ebp - 0x80], 1
jmp 0x10051ef7
mov dword [ebp - 0x80], 0
mov edx, dword [ebp - 0x80]
add edx, 0xb4
mov byte [0x100c3075], dl
movsx eax, word [0x100c308c]
add eax, 0x7c
mov byte [0x100c303b], al
movsx ecx, word [0x100c30fc]
movsx edx, word [0x100c30fc]
sub ecx, edx
mov word [0x100c30fc], cx
imul eax, dword [ebp - 0x3c], 0xe5
mov word [ebp - 0x10], ax
jmp 0x10052031
mov cx, word [0x100c30b0]
mov edx, 2
imul eax, edx, 0x49
mov word [eax + 0x101928b8], cx
mov cx, word [0x100c3b38]
mov word [0x100c30fc], cx
movsx edx, byte [ebp - 9]
mov dword [ebp - 0x40], edx
mov eax, dword [0x100c3b38]
xor ecx, ecx
mov dword [0x100c30c0], eax
mov dword [0x100c30c4], ecx
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x120]
or ecx, dword [ebp - 0x11c]
jne 0x10051fa5
mov dword [ebp - 0x84], 1
jmp 0x10051faf
mov dword [ebp - 0x84], 0
movsx edx, byte [ebp - 0x11]
movsx eax, word [0x100c30fc]
sub edx, eax
imul edx, dword [ebp - 0x84]
test edx, edx
jne 0x10051fdb
xor ecx, ecx
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0xdc], ecx
jmp 0x10051fe6
xorps xmm0, xmm0
movlpd qword [ebp - 0xe0], xmm0
movzx edx, word [ebp - 0x10]
test edx, edx
jne 0x10051ffa
mov dword [ebp - 0x88], 1
jmp 0x10052004
mov dword [ebp - 0x88], 0
mov eax, 0x60d631ce
sub eax, dword [ebp - 0x88]
cdq
mov ecx, dword [ebp - 0x58]
sub ecx, eax
mov eax, dword [ebp - 0x54]
sbb eax, edx
add ecx, dword [ebp - 0xe0]
adc eax, dword [ebp - 0xdc]
mov dword [0x100c30a8], ecx
mov dword [0x100c30ac], eax
mov dword [ebp - 0x100], 1
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_BeginDeferWindowPos]
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
push edx
call dword [sym.imp.USER32.dll_EndDeferWindowPos]
mov dword [ebp - 0x1a4], eax
cmp dword [0x100c3108], 0
je 0x10052082
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x1a8], ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1005236f
movsx edx, word [ebp - 0x24]
mov eax, dword [0x100c310c]
add eax, edx
je 0x100521d0
mov byte [str.NDisablePerfBackoff], 0x17
movzx eax, word [ebp - 0x10]
not eax
cdq
mov dword [0x100c30d8], eax
mov dword [0x100c30dc], edx
mov ecx, dword [0x100c30c0]
mov edx, dword [0x100c30c4]
sub ecx, 0xb5399ba2
sbb edx, 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
movsx eax, word [ebp - 0x18]
not eax
test eax, eax
jne 0x100520e5
xor ecx, ecx
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x13c], ecx
jmp 0x100520f0
xorps xmm0, xmm0
movlpd qword [ebp - 0x140], xmm0
mov edx, dword [0x100c3110]
mov eax, dword [0x100c3114]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x128]
or ecx, dword [ebp - 0x124]
jne 0x10052129
xor edx, edx
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xf0], edx
jmp 0x10052134
xorps xmm0, xmm0
movlpd qword [ebp - 0xf4], xmm0
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x130]
or edx, dword [ebp - 0x12c]
jne 0x1005216e
xor eax, eax
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], eax
jmp 0x10052179
xorps xmm0, xmm0
movlpd qword [ebp - 0x138], xmm0
mov ecx, dword [ebp - 0xf4]
or ecx, dword [0x100c30d8]
not ecx
add ecx, dword [ebp - 0x138]
xor ecx, dword [ebp - 0x140]
mov byte [0x100c3075], cl
imul eax, dword [0x100c3108], 0x747dfab7
cdq
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1ac], ecx
not edx
xor eax, edx
mov byte [0x100c3027], al
xor edx, edx
mov dword [0x100c30f0], 0x10d31575
mov dword [0x100c30f4], edx
jmp 0x1005236f
movzx eax, byte [0x100c303b]
test eax, eax
je 0x100522c7
mov ecx, dword [ebp - 0x3c]
sub ecx, 0xd9f7
mov edx, dword [ebp - 0x30]
or edx, ecx
mov dword [ebp - 0x30], edx
movzx eax, word [0x100c30a0]
cdq
mov ecx, eax
mov edx, dword [0x100c3100]
mov eax, dword [0x100c3104]
mov dword [ebp - 0x1b4], eax
xor ecx, edx
movzx eax, word [0x100c30a0]
cdq
add eax, ecx
mov word [0x100c30a0], ax
movsx ecx, word [0x100c308c]
movsx edx, byte [str.NDisablePerfBackoff]
sub ecx, edx
jne 0x10052243
xor eax, eax
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xe4], eax
jmp 0x1005224e
xorps xmm0, xmm0
movlpd qword [ebp - 0xe8], xmm0
mov ecx, dword [0x100c3124]
mov edx, dword [ebp - 0xe8]
sub edx, dword [0x100c3120]
mov eax, dword [ebp - 0xe4]
sbb eax, ecx
not edx
not eax
mov ecx, dword [ebp - 0x30]
and ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x4c]
xor esi, esi
push esi
push ecx
push eax
push edx
call fcn.1008eb70
mov byte [0x100c303b], al
mov edx, dword [0x100c310c]
xor eax, eax
and edx, dword [0x100c30d8]
and eax, dword [0x100c30dc]
push eax
push edx
mov ecx, dword [0x100c30dc]
push ecx
mov edx, dword [0x100c30d8]
push edx
call fcn.1008eb70
mov dword [0x100c30d8], eax
mov dword [0x100c30dc], edx
mov eax, 4
mov word [ebp - 0x10], ax
jmp 0x1005236f
mov ecx, dword [ebp - 0x30]
cmp dword [0x100c310c], ecx
jae 0x1005236f
movsx eax, byte [str.NDisablePerfBackoff]
cdq
mov edx, dword [0x100c3110]
mov ecx, dword [0x100c3114]
mov dword [ebp - 0x1b8], ecx
sub eax, edx
mov byte [str.NDisablePerfBackoff], al
mov eax, dword [ebp - 0x40]
cdq
xor eax, dword [0x100c30b8]
xor edx, dword [0x100c30bc]
add eax, dword [0x100c30b8]
adc edx, dword [0x100c30bc]
mov dword [0x100c30b8], eax
mov dword [0x100c30bc], edx
movzx edx, byte [0x100c3062]
test edx, edx
jne 0x10052335
mov dword [ebp - 0x8c], 1
jmp 0x1005233f
mov dword [ebp - 0x8c], 0
movsx eax, word [ebp - 0x24]
sub eax, dword [ebp - 0x8c]
movsx ecx, word [ebp - 0x1c]
movzx edx, byte [0x100c303b]
or ecx, edx
imul eax, ecx
not eax
cdq
mov dword [0x100c3110], eax
mov dword [0x100c3114], edx
mov al, byte [0x100c3b38]
mov byte [ebp - 9], al
mov ecx, dword [0x100c30a8]
mov edx, dword [0x100c30ac]
mov dword [ebp - 0x1bc], edx
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov word [ebp - 0x1c], ax
movsx eax, word [ebp - 0x1c]
test eax, eax
je 0x100523d1
mov ecx, dword [0x100c30b8]
mov edx, dword [0x100c30bc]
mov dword [0x100c3110], ecx
mov dword [0x100c3114], edx
mov eax, dword [ebp - 0x34]
cdq
sub eax, 0x91e0310e
mov dword [0x100c3108], eax
mov eax, 2
mov word [0x100c3090], ax
mov ecx, 0xe47b
mov word [0x100c30b0], cx
mov edx, dword [0x100c3b38]
xor eax, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov ecx, dword [0x100c3110]
mov edx, dword [0x100c3114]
mov dword [ebp - 0x1c0], edx
xor ecx, 0x121d
movsx eax, word [0x100c3090]
cdq
sub eax, ecx
mov word [0x100c3090], ax
mov ax, word [0x100c30e0]
add ax, 1
mov word [0x100c30e0], ax
mov ecx, 0xa56de
mov dword [0x100c30d0], 0xfd1cf3cc
mov dword [0x100c30d4], ecx
movzx eax, byte [0x100c303b]
movsx edx, byte [str.NDisablePerfBackoff]
sub eax, edx
cdq
mov dword [0x100c30a8], eax
mov dword [0x100c30ac], edx
mov eax, dword [0x100c30c0]
mov ecx, dword [0x100c30c4]
mov dword [ebp - 0x154], ecx
sub eax, 0x8b76
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 3
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x158], eax
add edx, 0x63
mov word [0x100c30e0], dx
movsx ecx, word [0x100c308c]
movsx edx, word [ebp - 0x24]
imul ecx, edx
movsx eax, word [0x100c308c]
and eax, ecx
mov word [0x100c308c], ax
mov ecx, dword [ebp - 0x58]
sub ecx, 0xe24f64ec
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x15c], eax
xor edx, 0x26
mov dword [ebp - 0x4c], edx
movzx ecx, word [ebp - 0x10]
sub ecx, 0x612914b2
imul ecx, dword [0x100c3108]
mov dword [0x100c3108], ecx
mov edx, 1
imul eax, edx, 0x3678
movsx eax, byte [eax + 0x100dfcd8]
cdq
mov ecx, dword [0x100c30c8]
mov esi, dword [0x100c30cc]
add ecx, eax
adc esi, edx
mov dword [0x100c30c8], ecx
mov dword [0x100c30cc], esi
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x90], edx
cmp dword [ebp - 0x90], 3
ja case.default.0x1005251b
mov eax, dword [ebp - 0x90]
jmp dword [eax*4 + 0x10052860]
cmp dword [ebp - 0x40], 0
jne 0x10052534
mov dword [ebp - 0x94], 1
jmp 0x1005253e
mov dword [ebp - 0x94], 0
movsx ecx, word [0x100c30fc]
test ecx, ecx
jne 0x10052555
mov dword [ebp - 0x98], 1
jmp 0x1005255f
mov dword [ebp - 0x98], 0
movzx edx, word [0x100c30a0]
test edx, edx
jne 0x10052576
mov dword [ebp - 0xa0], 1
jmp 0x10052580
mov dword [ebp - 0xa0], 0
mov eax, dword [0x100c30a8]
mov ecx, dword [0x100c30ac]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x148]
or edx, dword [ebp - 0x144]
jne 0x100525b1
mov dword [ebp - 0x9c], 1
jmp 0x100525bb
mov dword [ebp - 0x9c], 0
movzx eax, word [0x100c30a0]
not eax
mov ecx, dword [ebp - 0x94]
sub ecx, eax
imul ecx, dword [ebp - 0x98]
movsx edx, word [0x100c308c]
add edx, dword [ebp - 0x9c]
add edx, dword [ebp - 0xa0]
sub ecx, edx
mov eax, ecx
cdq
mov dword [0x100c30c8], eax
mov dword [0x100c30cc], edx
movsx eax, word [ebp - 0x24]
xor eax, 0xc3
cdq
mov ecx, dword [0x100c30c8]
mov esi, dword [0x100c30cc]
sub ecx, eax
sbb esi, edx
mov dword [0x100c30c8], ecx
mov dword [0x100c30cc], esi
movzx edx, byte [0x100c3063]
mov eax, 4
imul ecx, eax, 0x29
mov dword [ecx + 0x100dfc18], edx
mov eax, dword [ebp - 0x34]
cdq
add eax, 0x91d6020f
adc edx, 0xc61e6
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov dl, byte [0x100c3b38]
mov byte [str.NDisablePerfBackoff], dl
jmp case.default.0x1005251b
mov eax, dword [0x100c3b38]
mov dword [ebp - 0x30], eax
movsx ecx, word [ebp - 0x18]
test ecx, ecx
jne 0x10052673
mov dword [ebp - 0xa4], 1
jmp 0x1005267d
mov dword [ebp - 0xa4], 0
movsx eax, word [ebp - 8]
add eax, dword [0x100c30f8]
not eax
imul edx, dword [ebp - 0xa4], 0x1507
xor eax, edx
cdq
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x160], edx
xor ecx, 0xc7
mov edx, dword [0x100c3110]
mov esi, dword [0x100c3114]
mov dword [ebp - 0x164], esi
sub edx, ecx
add eax, edx
mov word [0x100c30e0], ax
movsx eax, word [ebp - 8]
sar eax, 7
cdq
mov dword [0x100c3098], eax
mov dword [0x100c309c], edx
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov cx, word [ebp - 0x24]
mov edx, 1
imul eax, edx, 0x46
mov byte [eax + 0x10118be8], cl
movsx ecx, word [ebp - 8]
imul edx, ecx, 0x2c5d7b62
mov word [ebp - 0x10], dx
jmp case.default.0x1005251b
movsx eax, word [ebp - 8]
add eax, 0x12
mov word [0x100c3118], ax
movsx eax, word [0x100c3090]
cdq
sub eax, 0x3d85b602
sbb edx, 0xe0281
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
movsx ecx, word [0x100c3118]
imul eax, ecx, 0x5234
cdq
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x44]
and ecx, eax
and esi, edx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], esi
movzx edx, word [0x100c30b0]
sub edx, dword [ebp - 0x50]
movzx eax, word [0x100c30b0]
and eax, edx
mov word [0x100c30b0], ax
mov eax, dword [ebp - 0x3c]
add eax, 0x60
cdq
mov dword [0x100c3098], eax
mov dword [0x100c309c], edx
jmp case.default.0x1005251b
mov ecx, dword [0x100c30e8]
mov edx, dword [0x100c30ec]
mov dword [0x100c3110], ecx
mov dword [0x100c3114], edx
mov eax, dword [0x100c310c]
mov ecx, 2
imul edx, ecx, 0x68
mov word [edx + 0x100c3b40], ax
movsx eax, byte [0x100c3027]
imul eax, eax, 0x12
cdq
mov dword [0x100c30d8], eax
mov dword [0x100c30dc], edx
mov ecx, dword [ebp - 0x34]
movzx edx, word [ebp - 0x20]
lea eax, [edx + ecx + 0x92]
mov word [ebp - 0x20], ax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x150]
or eax, dword [ebp - 0x14c]
jne 0x100527ff
mov dword [ebp - 0xa8], 1
jmp 0x10052809
mov dword [ebp - 0xa8], 0
imul ecx, dword [0x100c310c], 0x3803
mov edx, dword [0x100c3108]
add edx, dword [ebp - 0xa8]
sub ecx, edx
movsx eax, word [0x100c3118]
movsx edx, byte [ebp - 0x11]
movzx esi, word [ebp - 0x10]
sub edx, esi
add eax, edx
sub ecx, eax
xor eax, eax
mov dword [0x100c3100], ecx
mov dword [0x100c3104], eax
movzx eax, word [ebp - 0x18]
pop esi
mov esp, ebp
pop ebp
ret