Function at 0x12fa8490
Capabilities:
Check for time delay via gettickcount
Get file size
Get thread local storage value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071021
push eax
mov dword fs:[0], esp
sub esp, 0xf14
mov ecx, 0x84
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xf44]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0xf4c]
mov ecx, 0x84
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f38], ebx
call edi
mov esi, dword [esp + 0xf34]
mov dword [0x131c8f40], eax
cmp esi, ebx
je 0x12fa95d7
cmp word [esi], bx
je 0x12fa95d7
mov eax, dword [esp + 0xf38]
cmp eax, ebx
je 0x12fa95d7
cmp word [eax], bx
je 0x12fa95d7
cmp dword [0x131c8f44], ebx
jne 0x12fa8533
mov dword [0x131c8f38], 2
mov dword [0x131c8f3c], 0x306
jmp 0x12fa95eb
mov eax, dword [0x1307d25c]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xf2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0xf48]
xor eax, eax
cmp ebp, ebx
mov ecx, 0xe1
setne al
mov dword [esp + 0x20], eax
xor eax, eax
lea edi, [esp + 0xad]
mov byte [esp + 0xac], bl
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xf40]
lea edx, [esp + 0x58]
stosw word es:[edi], ax
push edx
push 0x60
stosb byte es:[edi], al
push 1
mov dword [esp + 0x48], ecx
push 5
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x98]
push 0x80
mov dword [esp + 0x98], ebx
push 0x120089
push esi
rep stosd dword es:[edi], eax
mov byte [esp + 0xf48], 2
mov dword [esp + 0x68], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x50], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
call fcn.12fed860
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
mov dword [esp + 0x38], ebp
jne 0x12fa862d
cmp dword [esp + 0x58], 0xc0000034
je 0x12fa90c3
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push esi
call fcn.12fed860
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
mov dword [esp + 0x38], ebp
je 0x12fa9076
push ebp
call fcn.12fa1160
add esp, 4
cmp eax, ebx
push ebp
jne 0x12fa909b
call fcn.12fa1330
add esp, 4
test eax, eax
jne 0x12fa909a
lea eax, [esp + 0x84]
push 0x28
push eax
push ebp
call fcn.12feca70
add esp, 0xc
test eax, eax
je 0x12fa90ff
mov ecx, dword [0x131c9508]
mov esi, dword [esp + 0xf38]
lea edx, [esp + 0x2c]
push ecx
push edx
push 0x1311b178
push esi
mov dword [esp + 0x50], ebx
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fa86b9
push esi
call fcn.12fed8f0
add esp, 4
test eax, eax
je 0x12fa86b9
mov eax, dword [esp + 0x2c]
push eax
call fcn.12fed8f0
add esp, 4
test eax, eax
je 0x12fa86b9
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], 1
cmp eax, ebx
je 0x12fa88f8
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x18]
call fcn.12f473b0
mov edx, dword [esp + 0x14]
push ebx
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push edx
call fcn.12fed860
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x12fa9123
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x64]
mov dword [esp + 0x60], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xf38]
lea eax, [esp + 0x60]
push eax
push ecx
call fcn.12fecc50
add esp, 8
test eax, eax
je 0x12fa8d44
mov eax, dword [esp + 0xf3c]
mov dword [esp + 0x44], 1
cmp eax, ebx
jne 0x12fa8d44
mov edx, dword [esp + 0xf38]
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push edx
call fcn.12fed860
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x12fa8d44
cmp dword [esp + 0x20], ebx
je 0x12fa8812
mov dword [esp + 0x18], ebx
mov dword [0x131c8f38], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x7bd]
mov byte [esp + 0x7bc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x7bc]
push eax
push ebp
call fcn.12fb9b70
add esp, 8
test eax, eax
jne 0x12fa87d3
lea ecx, [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x12fa87ed
lea edx, [esp + 0x18]
test edx, edx
je 0x12fa87e6
mov eax, dword [esp + 0x7d8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x7d4]
cmp eax, ebx
jne 0x12fa87f7
cmp dword [esp + 0x18], ebx
je 0x12fa880e
cmp dword [esp + 0xf48], 1
jne 0x12fa8812
push ebp
call fcn.12fa1160
add esp, 4
test eax, eax
je 0x12fa8812
mov dword [esp + 0x20], ebx
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x435]
mov byte [esp + 0x434], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x434]
push ecx
push ebp
stosb byte es:[edi], al
call fcn.12faefe0
add esp, 8
test eax, eax
je 0x12fa88ec
mov edx, dword [esp + 0x434]
mov eax, dword [esp + 0x438]
mov ecx, dword [esp + 0x43c]
mov dword [esp + 0xac], edx
mov edx, dword [esp + 0x440]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xf40]
mov dword [esp + 0xb4], ecx
mov ecx, 0x66
lea esi, [esp + 0x47c]
lea edi, [esp + 0xf4]
mov dword [esp + 0xb8], edx
cmp eax, ebx
mov dword [esp + 0x48], ebx
rep movsd dword es:[edi], dword [esi]
jne 0x12fa88ec
mov eax, dword [esp + 0x7b4]
cmp eax, ebx
jbe 0x12fa88ec
push eax
call fcn.12f5bf8b
mov ecx, dword [esp + 0x7b8]
mov edx, eax
mov esi, ecx
xor eax, eax
mov edi, edx
mov dword [esp + 0x40], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x7b8]
lea eax, [esp + 0x44]
push eax
push ecx
push edx
push ebp
mov dword [esp + 0x54], ebx
call fcn.12faf350
add esp, 0x14
push ebp
call dword [0x131ca5fc]
jmp 0x12fa8d44
mov esi, dword [esp + 0xf38]
lea ecx, [esp + 0x14]
push esi
call fcn.12f474a0
lea edx, [esp + 0x60]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x64]
mov dword [esp + 0x60], ebx
push edx
rep stosd dword es:[edi], eax
push esi
call fcn.12fecc50
add esp, 8
test eax, eax
je 0x12fa89d1
mov eax, dword [esp + 0x80]
mov edi, 1
cmp eax, ebx
mov dword [esp + 0x44], edi
jne 0x12fa894e
cmp dword [esp + 0x7c], ebx
je 0x12fa89d5
mov eax, dword [0x131c9508]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x130e5240
push esi
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fa89b0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], 1
push edx
push esi
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fa898f
mov dword [esp + 0x28], 1
jmp 0x12fa89d5
mov dword [0x131c8f38], 0x28
mov dword [0x131c8f3c], 0x3e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa89d5
mov dword [0x131c8f38], 0x24
mov dword [0x131c8f3c], 0x3ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa89d5
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
push ebx
push 0x60
push 3
push 1
push 0x80
push 0x12019f
push eax
call fcn.12fed860
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
jne 0x12fa8a34
mov ecx, dword [esp + 0x14]
push 1
push ebx
push ecx
call fcn.12fecaf0
mov edx, dword [esp + 0x20]
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x12019f
push edx
call fcn.12fed860
add esp, 0x28
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x12fa9147
cmp edi, ebx
je 0x12fa8a44
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x12fa8a4c
mov dword [esp + 0x30], 1
cmp edi, ebx
je 0x12fa8c41
mov eax, dword [esp + 0x28]
or ebp, 0xffffffff
cmp eax, ebx
mov dword [esp + 0x18], 0xffffffff
je 0x12fa8b35
mov eax, dword [esp + 0x10]
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push eax
call fcn.12fed860
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x12fa8b3d
cmp dword [esp + 0x20], ebx
je 0x12fa8b2f
mov dword [esp + 0x18], ebx
mov dword [0x131c8f38], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x7bd]
mov byte [esp + 0x7bc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x7bc]
push ecx
push ebp
stosb byte es:[edi], al
call fcn.12fb9b70
add esp, 8
test eax, eax
jne 0x12fa8af0
lea edx, [esp + 0x18]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x12fa8b0a
lea eax, [esp + 0x18]
test eax, eax
je 0x12fa8b03
mov ecx, dword [esp + 0x7d8]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x7d4]
cmp eax, ebx
jne 0x12fa8b14
cmp dword [esp + 0x18], ebx
je 0x12fa8b2b
cmp dword [esp + 0xf48], 1
jne 0x12fa8b2f
push ebp
call fcn.12fa1160
add esp, 4
test eax, eax
je 0x12fa8b2f
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebp
jmp 0x12fa8b3d
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
cmp dword [esp + 0xf3c], ebx
jne 0x12fa8c35
mov edx, dword [esp + 0x18]
cmp edx, 0xffffffff
je 0x12fa8c35
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x435]
mov byte [esp + 0x434], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x434]
push eax
push edx
call fcn.12faefe0
add esp, 8
test eax, eax
je 0x12fa8c35
mov ecx, dword [esp + 0x434]
mov eax, dword [esp + 0x43c]
mov edx, dword [esp + 0x438]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x440]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xf40]
mov dword [esp + 0xb8], ecx
mov ecx, 0x66
lea esi, [esp + 0x47c]
lea edi, [esp + 0xf4]
mov dword [esp + 0xb0], edx
cmp eax, ebx
mov dword [esp + 0x48], ebx
rep movsd dword es:[edi], dword [esi]
jne 0x12fa8c35
mov eax, dword [esp + 0x7b4]
cmp eax, ebx
jbe 0x12fa8c35
push eax
call fcn.12f5bf8b
mov ecx, dword [esp + 0x7b8]
mov edx, eax
mov esi, ecx
xor eax, eax
mov edi, edx
mov dword [esp + 0x40], edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x7b8]
lea eax, [esp + 0x60]
push eax
push ecx
push edx
mov edx, dword [esp + 0x28]
push edx
mov dword [esp + 0x70], ebx
call fcn.12faf350
add esp, 0x14
cmp ebp, 0xffffffff
je 0x12fa8c41
push ebp
call dword [0x131ca5fc]
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
jne 0x12fa8d44
cmp dword [esp + 0x40], ebx
je 0x12fa8d44
mov eax, dword [esp + 0x10]
push eax
call fcn.12f5c44d
add esp, 4
test eax, eax
jbe 0x12fa8d44
mov dword [esp + 0x18], ebx
mov dword [0x131c8f38], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x7bd]
mov byte [esp + 0x7bc], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x7bc]
push ecx
push edi
call fcn.12fb9b70
add esp, 8
test eax, eax
jne 0x12fa8cc2
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x12fa8cdc
lea eax, [esp + 0x18]
test eax, eax
je 0x12fa8cd5
mov ecx, dword [esp + 0x7d8]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x7d4]
cmp eax, ebx
jne 0x12fa8cec
cmp dword [esp + 0x18], ebx
jne 0x12fa8cec
mov dword [esp + 0x20], ebx
jmp 0x12fa8d44
mov edx, dword [esp + 0x10]
push ebx
push 0x60
push 2
push 1
push 0x80
push 0x12019f
push edx
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
je 0x12fa8d35
push 0xffffffffffffffff
push esi
push edi
call fcn.12f9fac0
add esp, 0xc
test eax, eax
je 0x12fa8d2a
mov ebp, 1
mov dword [esp + 0x28], ebp
push esi
call dword [0x131ca5fc]
cmp ebp, ebx
jne 0x12fa8d44
mov eax, dword [esp + 0x10]
push 1
push eax
call fcn.12fecdf0
add esp, 8
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0xb45]
mov byte [esp + 0xb44], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xb44]
test ecx, ecx
stosb byte es:[edi], al
jne 0x12fa8da3
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f38], 1
mov dword [0x131c8f3c], 0x2947
call esi
mov dword [0x131c8f40], eax
mov dword [0x131c8f38], 7
mov dword [0x131c8f3c], 0x47f
jmp 0x12fa8e3a
mov eax, dword [0x13182828]
mov edx, dword [0x13182824]
mov ecx, dword [0x1318282c]
mov dword [esp + 0xb48], eax
mov dword [esp + 0xb44], edx
mov edx, dword [0x13182830]
lea eax, [esp + 0xac]
mov dword [esp + 0xb4c], ecx
test eax, eax
mov dword [esp + 0xb50], edx
mov dword [esp + 0xb64], 2
mov dword [esp + 0xb68], ebx
mov dword [esp + 0xb6c], ebx
mov dword [esp + 0xb70], ebx
jne 0x12fa8f06
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f38], 1
mov dword [0x131c8f3c], 0x2988
call esi
mov dword [0x131c8f40], eax
mov dword [0x131c8f38], 8
mov dword [0x131c8f3c], 0x486
call esi
mov ebp, dword [esp + 0x38]
mov dword [0x131c8f40], eax
cmp ebp, 0xffffffff
je 0x12fa8e51
push ebp
call dword [0x131ca5fc]
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x12fa8e61
push eax
call dword [0x131ca5fc]
cmp dword [esp + 0xf40], ebx
jne 0x12fa8e7b
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x12fa8e7b
push eax
call fcn.12f5bf80
add esp, 4
cmp dword [esp + 0x1c], ebx
jne 0x12fa91c7
cmp dword [0x131c94f8], ebx
je 0x12fa91ac
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [0x131c8f38], ebx
call ebp
cmp esi, ebx
mov dword [0x131c8f40], eax
je 0x12fa92ab
push esi
call fcn.12f5c44d
add esp, 4
test eax, eax
je 0x12fa92ab
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push esi
call fcn.12fed860
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x12fa916b
mov dword [0x131c8f38], 3
mov dword [0x131c8f3c], 0x175d
call ebp
mov dword [0x131c8f40], eax
jmp 0x12fa9189
lea ecx, [esp + 0x28c]
test ecx, ecx
jne 0x12fa8f32
mov dword [0x131c8f38], 1
mov dword [0x131c8f3c], 0x296f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa8f81
mov ecx, 0x66
xor eax, eax
lea edi, [esp + 0x28c]
mov esi, 0x131c8f48
rep stosd dword es:[edi], eax
mov eax, dword [0x13182788]
mov ecx, 0x66
lea edi, [esp + 0x28c]
cmp eax, 0xffffffff
rep movsd dword es:[edi], dword [esi]
je 0x12fa8f71
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x12fa8f71
mov dword [esp + 0x2ac], eax
lea edx, [esp + 0x28c]
push edx
call fcn.12feda20
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x12fa8fbb
mov ecx, 0x66
lea esi, [esp + 0x28c]
lea edi, [esp + 0xf4]
lea eax, [esp + 0xac]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.12feda50
add esp, 4
mov ecx, dword [0x131c9500]
mov edx, dword [0x131c9504]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x50]
mov dword [esp + 0x420], edx
push eax
lea edx, [esp + 0xb0]
push ecx
lea eax, [esp + 0xb4c]
push edx
push eax
push esi
push ebp
mov dword [esp + 0x68], ebx
call fcn.12fb2000
mov ecx, dword [esp + 0x68]
add esp, 0x18
cmp ecx, ebx
je 0x12fa901b
cmp dword [esp + 0x30], ebx
jne 0x12fa901b
mov dword [esp + 0x30], 1
cmp eax, ebx
je 0x12fa8e45
test byte [esp + 0xf50], 2
je 0x12fa9040
lea ecx, [esp + 0x84]
push 0x28
push ecx
push esi
call fcn.12fecab0
add esp, 0xc
test byte [esp + 0xf50], 4
je 0x12fa905d
lea edx, [esp + 0x54]
lea eax, [esp + 0x34]
push edx
push eax
push ebp
call fcn.12fee040
add esp, 0xc
cmp dword [esp + 0xf54], ebx
je 0x12fa906d
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov dword [esp + 0x1c], ebx
jmp 0x12fa8e45
mov dword [0x131c8f38], 3
mov dword [0x131c8f3c], 0x344
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa8e61
push ebp
call dword [0x131ca5fc]
mov ecx, dword [esp + 0xf54]
mov edx, dword [esp + 0xf50]
mov eax, dword [esp + 0xf38]
push ecx
push edx
push ebx
push eax
push esi
call fcn.12f9f760
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0xf2c], 1
call fcn.12f47220
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf2c], bl
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0xf2c], 0xffffffff
call fcn.12f47220
xor eax, eax
jmp 0x12fa95f7
mov dword [0x131c8f38], 5
mov dword [0x131c8f3c], 0x368
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa8e45
mov dword [0x131c8f38], 4
mov dword [0x131c8f3c], 0x384
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa8e45
mov dword [0x131c8f38], 4
mov dword [0x131c8f3c], 0x408
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c8f40], eax
jmp 0x12fa8e45
lea ecx, [esp + 0xac]
push ecx
push esi
call fcn.12fb1cb0
add esp, 8
mov edi, eax
push esi
call dword [0x131ca5fc]
cmp edi, ebx
jne 0x12fa91ac
mov dword [0x131c8f38], 0x1c
mov dword [0x131c8f3c], 0x4b2
call ebp
mov dword [0x131c8f40], eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x12fa91c7
mov edx, dword [esp + 0x54]
push edx
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.12fed2f0
add esp, 0xc
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov eax, dword [esp + 0x1c]
je 0x12fa9444
cmp eax, ebx
jne 0x12fa9430
cmp dword [esp + 0x44], ebx
je 0x12fa9392
mov ecx, dword [0x131c9508]
mov esi, dword [esp + 0xf38]
lea edx, [esp + 0x10]
push ecx
push edx
push 0x130e5240
push esi
call fcn.12fed380
add esp, 0x10
test eax, eax
je 0x12fa9587
mov eax, dword [esp + 0x10]
push eax
push esi
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fa9312
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.12fed0b0
add esp, 8
test eax, eax
je 0x12fa92df
cmp dword [esp + 0x20], ebx
je 0x12fa92cb
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xf4c]
mov eax, dword [esi - 8]
cmp eax, 0x104
mov dword [edx + 0x20c], eax
jb 0x12fa9473
lea eax, [eax + eax + 2]
push eax
call fcn.12f5bf8b
mov edx, dword [esp + 0xf50]
mov edi, eax
xor eax, eax
mov ecx, dword [edx + 0x20c]
mov dword [edx + 0x208], edi
lea ecx, [ecx + ecx + 2]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + 0x208]
push eax
push ecx
jmp 0x12fa957f
mov dword [0x131c8f38], 1
mov dword [0x131c8f3c], 0x174f
call ebp
mov dword [0x131c8f40], eax
jmp 0x12fa91ac
mov edx, dword [esp + 0x10]
push 1
push edx
call fcn.12fecdf0
add esp, 8
jmp 0x12fa9587
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.12fed0b0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xf4c]
add esp, 8
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esi - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x12fa9356
jmp 0x12fa9335
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xf44]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esi - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x12fa9356
mov edx, dword [esp + 0xf44]
mov ecx, 0x82
xor eax, eax
mov edi, edx
push esi
push edx
rep stosd dword es:[edi], eax
call fcn.12f5c88f
add esp, 8
jmp 0x12fa9587
lea edx, [eax + eax + 2]
push edx
call fcn.12f5bf8b
mov edx, dword [esp + 0xf48]
mov edi, eax
mov eax, dword [edx + 0x20c]
mov dword [edx + 0x208], edi
lea ecx, [eax + eax + 2]
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
jmp 0x12fa9577
mov eax, dword [esp + 0xf38]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.12fed0b0
add esp, 8
test eax, eax
jne 0x12fa9587
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0xf44]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esi - 8]
cmp eax, 0x104
mov dword [edx + 0x20c], eax
jae 0x12fa93ec
mov ecx, 0x82
xor eax, eax
mov edi, edx
push esi
rep stosd dword es:[edi], eax
push edx
call fcn.12f5c88f
add esp, 8
jmp 0x12fa9587
lea eax, [eax + eax + 2]
push eax
call fcn.12f5bf8b
mov edx, dword [esp + 0xf48]
mov edi, eax
xor eax, eax
mov ecx, dword [edx + 0x20c]
mov dword [edx + 0x208], edi
lea ecx, [ecx + ecx + 2]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + 0x208]
push eax
push ecx
jmp 0x12fa957f
mov edx, dword [esp + 0x14]
push 1
push edx
call fcn.12fecdf0
add esp, 8
jmp 0x12fa9587
cmp eax, ebx
jne 0x12fa94c0
cmp dword [esp + 0x28], ebx
je 0x12fa9587
cmp dword [esp + 0x20], ebx
je 0x12fa94ac
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xf4c]
mov eax, dword [esi - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x12fa9494
mov edx, dword [esp + 0xf4c]
mov ecx, 0x82
xor eax, eax
mov edi, edx
push esi
push edx
rep stosd dword es:[edi], eax
call fcn.12f5c88f
add esp, 8
jmp 0x12fa9587
lea edx, [eax + eax + 2]
push edx
call fcn.12f5bf8b
mov edx, dword [esp + 0xf50]
mov edi, eax
jmp 0x12fa9553
mov eax, dword [esp + 0x10]
push 1
push eax
call fcn.12fecdf0
add esp, 8
jmp 0x12fa9587
cmp dword [esp + 0x30], ebx
je 0x12fa94d8
mov ecx, dword [esp + 0xf38]
push 1
push ecx
call fcn.12fecdf0
add esp, 8
cmp dword [esp + 0x28], ebx
je 0x12fa9587
mov edx, dword [esp + 0xf38]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.12fed0b0
add esp, 8
test eax, eax
jne 0x12fa9587
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xf44]
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esi - 8]
cmp eax, 0x104
mov dword [ecx + 0x20c], eax
jae 0x12fa9540
mov edx, dword [esp + 0xf44]
mov ecx, 0x82
xor eax, eax
mov edi, edx
push esi
push edx
rep stosd dword es:[edi], eax
call fcn.12f5c88f
add esp, 8
jmp 0x12fa9587
lea edx, [eax + eax + 2]
push edx
call fcn.12f5bf8b
mov edx, dword [esp + 0xf48]
mov edi, eax
mov dword [edx + 0x208], edi
mov eax, dword [edx + 0x20c]
lea ecx, [eax + eax + 2]
xor eax, eax
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
mov edx, dword [edx + 0x208]
push ecx
push edx
call fcn.12f5c88f
add esp, 0xc
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x12fa959c
push eax
call fcn.12f5bf80
add esp, 4
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x14]
mov byte [esp + 0xf2c], 1
call fcn.12f47220
lea ecx, [esp + 0x2c]
mov byte [esp + 0xf2c], bl
call fcn.12f47220
lea ecx, [esp + 0x10]
mov dword [esp + 0xf2c], 0xffffffff
call fcn.12f47220
mov eax, dword [esp + 0x1c]
jmp 0x12fa95f7
mov dword [0x131c8f38], 1
mov dword [0x131c8f3c], 0x300
call edi
mov dword [0x131c8f40], eax
mov eax, 1
mov ecx, dword [esp + 0xf24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf20
ret