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

Disassembly:
push 0xffffffffffffffff
push 0x1016dc8e
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x101b01e4]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b01e4]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
mov eax, dword [esp + 0x268]
mov edi, ecx
mov ecx, dword [esp + 0x274]
xor ebx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x14], ebx
mov ecx, dword [edi + 0x124]
cmp ecx, ebx
mov dword [esp + 0x4c], eax
je 0x10049f60
call fcn.1012cb2d
mov ecx, dword [edi + 0x124]
mov dword [esp + 0xec], eax
call fcn.1012db03
mov dword [esp + 0x50], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov eax, dword [edi + 0xc]
cmp eax, ebx
lea esi, [edi + 8]
mov dword [esp + 0x260], ebx
jne 0x10049da5
mov dword [esp + 0x94], ebx
jmp 0x10049dc2
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x94], eax
mov ebp, dword [esi + 4]
cmp ebp, dword [esi + 8]
jbe 0x10049dcf
call fcn.10149775
mov ebx, dword [esi + 8]
cmp dword [esi + 4], ebx
mov dword [esp + 0x48], ebx
jbe 0x10049de0
call fcn.10149775
mov dword [esp + 0x1c], 0
cmp esi, esi
je 0x10049df1
call fcn.10149775
cmp ebp, ebx
je 0x10049efb
cmp ebp, dword [esi + 8]
jb 0x10049e03
call fcn.10149775
cmp dword [ebp + 8], 0
je 0x10049e42
cmp ebp, dword [esi + 8]
jb 0x10049e13
call fcn.10149775
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x1c0]
push eax
call edx
or dword [esp + 0x14], 1
push eax
lea ecx, [edi + 0x88]
mov byte [esp + 0x264], 1
call fcn.100e7803
test al, al
je 0x10049e82
cmp ebp, dword [esi + 8]
jb 0x10049e4c
call fcn.10149775
cmp dword [ebp + 8], 0
je 0x10049e82
cmp ebp, dword [esi + 8]
jb 0x10049e5c
call fcn.10149775
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x48], esp
push ebp
mov ecx, ebx
call fcn.10066950
mov ecx, edi
mov dword [ebx], 0x10187138
call fcn.10044e80
test al, al
je 0x10049e82
xor bl, bl
jmp 0x10049e84
mov bl, 1
test byte [esp + 0x14], 1
mov dword [esp + 0x260], 0
je 0x10049ea7
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x1c0]
call fcn.1000b680
test bl, bl
je 0x10049ee0
cmp ebp, dword [esi + 8]
jb 0x10049eb5
call fcn.10149775
mov eax, dword [esp + 0x270]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
push ebp
mov ecx, edi
call fcn.100481f0
add dword [esp + 0x34], 1
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0xa0]
call fcn.1001d5a0
cmp ebp, dword [esi + 8]
jb 0x10049eea
call fcn.10149775
mov ebx, dword [esp + 0x48]
add ebp, 0x18
add dword [esp + 0x1c], 1
jmp 0x10049de8
mov eax, dword [edi + 0x152c]
mov ecx, dword [edi + 0x124]
push eax
call fcn.1012d33b
mov ecx, dword [edi + 0x152c]
push ecx
mov ecx, dword [edi + 0x124]
mov byte [esp + 0x1f], al
call fcn.1012d2f8
mov edx, dword [edi + 0x152c]
mov ecx, dword [edi + 0x124]
mov ebp, eax
push edx
mov dword [esp + 0x4c], ebp
call fcn.1012d69b
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x44], ebx
call fcn.10045b70
test ebp, ebp
jne 0x10049f67
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x10049f60
push eax
call fcn.10149646
add esp, 4
xor al, al
jmp 0x1004b681
lea ebp, [edi + 0x88]
mov ecx, ebp
call fcn.100e712d
cmp ebx, eax
ja 0x1004a028
lea ecx, [edi + 0xc0]
call fcn.100ec9a5
cmp eax, 2
jb 0x1004a028
mov eax, dword [esp + 0x30]
mov byte [eax], 1
xor eax, eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov edx, dword [edi + 0x152c]
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [edi + 0x124]
push edx
mov byte [esp + 0x268], 2
call fcn.1012d37e
mov ecx, ebp
mov ebx, eax
call fcn.100e70d5
mov ecx, eax
cmp ebx, ecx
jbe 0x10049fee
test ecx, ecx
jbe 0x10049fee
lea eax, [ecx + ebx - 1]
xor edx, edx
div ecx
push eax
jmp 0x10049ff0
push 1
mov ecx, ebp
call fcn.100e7262
mov ecx, ebp
call fcn.100e712d
cmp eax, 1
jne 0x1004a00c
push 2
mov ecx, ebp
call fcn.100e7262
mov eax, dword [esp + 0x84]
test eax, eax
mov byte [esp + 0x260], 0
je 0x1004a028
push eax
call fcn.10149646
add esp, 4
mov ecx, ebp
call fcn.1012cac8
cmp byte [esp + 0x1b], 0
mov eax, dword [esp + 0x34]
je 0x1004a648
cmp eax, dword [esp + 0x94]
jne 0x1004a648
test eax, eax
jle 0x1004b660
mov ecx, ebp
call fcn.100e712d
xor ebp, ebp
cmp eax, ebp
jne 0x1004a073
lea ecx, [esp + 0x9c]
call fcn.10037160
mov al, 1
jmp 0x1004b681
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jbe 0x1004a081
mov ecx, eax
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0x48]
xor edx, edx
lea eax, [ebx + ecx - 1]
div ecx
cmp eax, 0xa
mov dword [esp + 0x50], eax
jge 0x1004a09e
mov dword [esp + 0x50], 0xa
cmp ebx, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], ebp
jbe 0x1004b660
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x30]
cmp ebp, dword [esp + 0x34]
je 0x1004b660
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a0e1
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a0e6
call fcn.10149775
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [eax + edx + 0x10], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a116
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a11b
call fcn.10149775
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x14]
lea ebx, [edi + 0x1544]
push ebx
mov dword [eax + edx + 0x14], ecx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov al, byte [edi + 0x155c]
push ebx
mov byte [esp + 0x50], al
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x1c4]
push edx
lea ecx, [edi + 0x88]
call fcn.100e7e6b
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x264], 3
call fcn.10046d30
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a19d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a1a2
call fcn.10149775
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x1004a1c5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a1ca
call fcn.10149775
cmp dword [esp + 0xe8], 0x10
jb 0x1004a1e4
mov ecx, dword [esp + 0xd4]
push ecx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x1d4], ebx
jbe 0x1004a637
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
lea eax, [edi + 0x1570]
lea ebx, [eax + 4]
push ebx
mov dword [esp + 0x3c], 0x1018442c
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [edi + 0x20], 0
mov byte [esp + 0x260], 5
sete al
test al, al
mov byte [esp + 0x1b], al
jne 0x1004a2c2
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
lea ebx, [edi + 0x18]
mov dword [esp + 0xcc], eax
jne 0x1004a26b
call fcn.10149775
mov eax, dword [esp + 0xcc]
add eax, 8
push eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x48], eax
call fcn.1001cdc0
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 0x10]
mov dword [esp + 0xbc], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 0x18]
mov eax, dword [ebx + 4]
mov dword [esp + 0xc4], edx
mov eax, dword [eax]
push eax
push ebx
lea eax, [esp + 0x108]
push eax
mov ecx, ebx
call fcn.100459e0
mov ebx, dword [esp + 0x40]
push ebx
mov byte [esp + 0x264], 4
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [esp + 0x1b], 0
mov dword [esp + 0x38], 0x10186684
je 0x1004a4bc
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a305
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a30a
call fcn.10149775
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x14]
mov edx, dword [ecx + ebx + 0x10]
mov eax, dword [edi + 0x152c]
mov ecx, dword [edi + 0x124]
push 0
push edx
push eax
call fcn.1012cf46
xor ecx, ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov eax, dword [esi + 4]
cmp eax, ecx
mov byte [esp + 0x260], 6
je 0x1004a361
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a366
call fcn.10149775
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a390
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a395
call fcn.10149775
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x1004a3bf
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a3c4
call fcn.10149775
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x10]
mov ebp, dword [esi + 4]
mov ebx, dword [edi]
add ebp, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c4]
push eax
mov ecx, edi
add ebx, 4
call fcn.10044480
mov ecx, dword [edi + 0x1528]
mov edx, dword [edi + 0x1524]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [esp + 0x278]
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebp + 0x10]
push 0
push edx
push eax
push ecx
lea edx, [esp + 0x1e0]
push edx
mov edx, dword [ebx]
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
mov byte [esp + 0x260], 7
je 0x1004a454
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x30], eax
jb 0x1004a459
call fcn.10149775
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x14]
push ebx
call fcn.100668f0
lea ecx, [esp + 0x84]
mov byte [esp + 0x260], 6
mov dword [esp + 0x80], 0x10187138
mov dword [esp + 0x84], 0x1018710c
call fcn.1000dbe0
mov eax, dword [esp + 0x58]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x260], 4
je 0x1004a4ab
push eax
call fcn.10149646
add esp, 4
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
jmp 0x1004a598
mov eax, dword [esp + 0xbc]
mov ecx, dword [edi + 0x152c]
push 0
push eax
push ecx
mov ecx, dword [edi + 0x124]
call fcn.1012cf46
mov edx, dword [esp + 0xbc]
mov ebx, dword [edi]
push edx
lea eax, [esp + 0x1c4]
push eax
mov ecx, edi
add ebx, 4
call fcn.10044480
mov ecx, dword [edi + 0x1528]
mov edx, dword [edi + 0x1524]
push eax
push ecx
mov ecx, dword [esp + 0xc8]
push edx
mov edx, dword [esp + 0xc8]
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 0x27c]
push 0
push ecx
push edx
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x1e0]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, edi
call eax
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
mov byte [esp + 0x260], 8
je 0x1004a563
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004a568
call fcn.10149775
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x14]
push ebx
call fcn.100668f0
lea ecx, [esp + 0x24]
mov byte [esp + 0x260], 4
mov dword [esp + 0x20], 0x10187138
mov dword [esp + 0x24], 0x1018710c
call fcn.1000dbe0
xor ebx, ebx
lea ecx, [esp + 0x1c0]
push ecx
lea ecx, [edi + 0x88]
call fcn.100e7349
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], 0
call fcn.10001ec0
cmp dword [esp + 0x7c], 0x10
jb 0x1004a5ea
mov eax, dword [esp + 0x68]
push eax
call fcn.10149646
add esp, 4
mov eax, dword [esp + 0xb0]
cmp eax, ebx
je 0x1004a5fe
push eax
call fcn.10149646
add esp, 4
mov ebx, dword [esp + 0x1c]
add ebx, dword [esp + 0x50]
add dword [esp + 0x30], 1
add dword [esp + 0x14], 0x18
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x260], 0
call fcn.1000b680
cmp ebx, dword [esp + 0x48]
jb 0x1004a0b2
jmp 0x1004b660
lea ecx, [esp + 0x1c0]
call fcn.1000b680
jmp 0x1004b660
test eax, eax
jle 0x1004b660
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov edx, dword [edi + 0x152c]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edi + 0x124]
push edx
mov byte [esp + 0x268], 9
call fcn.1012d37e
test eax, eax
jne 0x1004a6b9
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1004a692
push eax
call fcn.10149646
add esp, 4
mov eax, dword [esp + 0xa0]
cmp eax, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
je 0x1004a6b2
push eax
call fcn.10149646
add esp, 4
mov al, 1
jmp 0x1004b681
mov ecx, ebp
call fcn.100e712d
lea ecx, [edi + 0xc0]
call fcn.100ec9a5
mov eax, dword [edi + 0x152c]
mov ecx, dword [edi + 0x124]
push eax
call fcn.1012d69b
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x14], ebx
jmp 0x1004a6f0
test ecx, ecx
je 0x1004a824
mov edx, ebp
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x1004a824
mov edx, dword [esp + 0x14]
mov eax, dword [ecx + edx]
test eax, eax
mov dword [esp + 0x1c], eax
jbe 0x1004a75b
sub eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x1004a744
sub ebp, ecx
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1004a74d
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea ebp, [ecx + eax]
lea ecx, [esp + 0x1c]
push ecx
jmp 0x1004a78a
test ecx, ecx
je 0x1004a775
sub ebp, ecx
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1004a77e
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
lea ebp, [ecx + edx]
push eax
mov ecx, edi
call fcn.10045d20
mov byte [ebp + 8], al
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004a7b8
mov ebp, dword [esp + 0x28]
mov edx, ebp
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1004a7c5
call fcn.10149775
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004a7e1
mov edx, ebp
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1004a7ee
call fcn.10149775
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004a80a
mov edx, ebp
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1004a817
call fcn.10149775
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add ebx, 1
add dword [esp + 0x14], 0xc
jmp 0x1004a6f0
cmp ecx, ebp
mov dword [esp + 0x40], ebp
jbe 0x1004a839
call fcn.10149775
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
mov ebx, ecx
jbe 0x1004a844
call fcn.10149775
mov ebp, dword [esp + 0x40]
mov ecx, ebp
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push ebp
push ebx
call fcn.10051cc0
xor eax, eax
add esp, 0xc
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x30]
cmp byte [edx], al
mov byte [esp + 0x260], 0xa
je 0x1004a96a
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add ecx, 1
shr ecx, 1
test eax, eax
je 0x1004a8b7
mov edx, dword [esp + 0x28]
sub edx, eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jae 0x1004a8b7
lea ecx, [eax + eax]
cmp ecx, 2
jae 0x1004a8c1
mov ecx, 2
push ecx
lea eax, [esp + 0x58]
push eax
lea ecx, [edi + 0xc0]
call fcn.100ee179
test eax, eax
jbe 0x1004a96a
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x1004a8fd
mov ecx, dword [esp + 0x5c]
sub ecx, ebx
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x1004a906
call fcn.10149775
mov ebx, dword [esp + 0x58]
push ebx
lea ebx, [edi + 0x88]
mov ecx, ebx
call fcn.100e7886
cmp eax, dword [edi + 0x1a0]
jae 0x1004a96a
cmp eax, 2
jae 0x1004a96a
add eax, 1
push eax
push 0
lea ecx, [esp + 0x5c]
call fcn.10043b90
push eax
mov ecx, ebx
call fcn.100e74da
push 0
lea ecx, [esp + 0x58]
call fcn.10043b90
push eax
lea ecx, [esp + 0xd4]
call fcn.100021d0
cmp dword [esp + 0xe8], 0x10
jb 0x1004a96a
mov edx, dword [esp + 0xd4]
push edx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
jle 0x1004b646
mov ecx, dword [esp + 0xa0]
test ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
je 0x1004b646
mov eax, dword [esp + 0xa4]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x30], eax
jae 0x1004b646
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x1004a9c8
mov ecx, dword [esp + 0x28]
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004a9d1
call fcn.10149775
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c0]
call fcn.1000b5f0
mov eax, dword [esp + 0x58]
test eax, eax
mov byte [esp + 0x260], 0xb
je 0x1004aa73
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, 0xdd67c8a7
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1004aa73
lea ebp, [edi + 0x1544]
push ebp
call ebx
mov cl, byte [edi + 0x155c]
push ebp
mov byte [esp + 0x44], cl
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x134]
push ecx
lea ecx, [edi + 0x88]
call fcn.100e7c6a
push eax
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x264], 0xc
call fcn.10046ec0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x260], 0xb
call fcn.1000b680
cmp dword [esp + 0x1d4], 0
jne 0x1004ab20
lea ebp, [edi + 0x1544]
push ebp
call ebx
mov dl, byte [edi + 0x155c]
push ebp
mov byte [esp + 0x48], dl
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
mov eax, dword [esp + 0x44]
push eax
lea ecx, [esp + 0x130]
push ecx
lea ecx, [edi + 0x88]
call fcn.100e7e6b
push eax
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x264], 0xd
call fcn.10046ec0
lea ecx, [esp + 0x12c]
mov byte [esp + 0x260], 0xb
call fcn.1000b680
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.10001ec0
cmp dword [esp + 0x7c], 0x10
jb 0x1004ab20
mov eax, dword [esp + 0x68]
push eax
call fcn.10149646
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.10044860
test al, al
je 0x1004ac7c
cmp dword [esp + 0x1d4], 0
jbe 0x1004ac7c
cmp byte [edi + 0x1530], 0
mov ecx, dword [esp + 0x24]
je 0x1004ac73
test ecx, ecx
mov byte [edi + 0x1530], 0
je 0x1004ab7b
mov ebp, dword [esp + 0x28]
mov edx, ebp
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x1004ab88
call fcn.10149775
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xf0], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0xf8], edx
mov dword [esp + 0xf4], eax
mov edx, ebp
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004abc9
call fcn.10149775
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
test ecx, ecx
mov ebx, ecx
je 0x1004abe6
sub ebp, ecx
mov eax, 0x2aaaaaab
imul ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
ja 0x1004abef
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
add ecx, 0xc
mov dword [ecx], edx
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
mov edx, dword [ebx + 8]
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004ac21
call fcn.10149775
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
mov dword [eax], ecx
mov ecx, dword [esp + 0xf8]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1004ac62
mov edx, dword [esp + 0x28]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004ac6b
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
jmp 0x1004ac80
mov byte [edi + 0x1530], 1
jmp 0x1004ac80
mov ecx, dword [esp + 0x24]
xor ebp, ebp
cmp ecx, ebp
je 0x1004ac9e
mov edx, dword [esp + 0x28]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004aca7
call fcn.10149775
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x1004acc3
mov edx, dword [esp + 0x28]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004accc
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0xec]
cmp ebx, 2
mov dword [esp + 0x4c], ebp
jne 0x1004acff
cmp dword [esp + 0x50], 3
jne 0x1004acff
lea ecx, [esp + 0x4c]
push ecx
mov ecx, dword [edi + 0x124]
call fcn.1012e22f
test al, al
je 0x1004b5fa
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x1004ad1b
mov edx, dword [esp + 0x28]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004ad24
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.10046190
test al, al
jne 0x1004ae11
cmp dword [esp + 0x50], 3
je 0x1004ae11
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x1004b63a
mov ebx, dword [esp + 0x28]
mov ecx, ebx
sub ecx, ebp
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x1004b63a
cmp ebp, ebx
mov eax, ebp
mov dword [esp + 0x1c], eax
jbe 0x1004ad8f
call fcn.10149775
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jb 0x1004ada4
call fcn.10149775
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
cmp ebp, ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], eax
jbe 0x1004adce
call fcn.10149775
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov byte [esp + 0xfc], 0
mov ecx, dword [esp + 0xfc]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push ecx
push ebp
lea eax, [ebp + 0xc]
push ebx
push eax
call fcn.10055420
sub dword [esp + 0x40], 0xc
add esp, 0x18
lea edx, [esp + 0x108]
push edx
lea ecx, [esp + 0x24]
call fcn.10045eb0
jmp 0x1004b5d0
mov ecx, dword [esp + 0xa0]
cmp ecx, ebp
je 0x1004ae2e
mov eax, dword [esp + 0xa4]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x30], eax
jb 0x1004ae3a
call fcn.10149775
mov ecx, dword [esp + 0xa0]
cmp ebx, 2
mov eax, dword [esp + 0x30]
mov ebp, dword [ecx + eax*4]
jne 0x1004ae8a
cmp dword [esp + 0x50], 3
jne 0x1004ae8a
mov eax, dword [esi + 4]
test eax, eax
je 0x1004ae6e
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004ae73
call fcn.10149775
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x4c]
lea ebx, [ebp + ebp*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov dword [ebx + ecx + 0x10], edx
jmp 0x1004aec5
mov eax, dword [esi + 4]
test eax, eax
je 0x1004aeab
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004aeb0
call fcn.10149775
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
lea ebx, [ebp + ebp*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov dword [ebx + eax + 0x10], ecx
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x14], ebx
je 0x1004aeea
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004aeef
call fcn.10149775
mov eax, dword [esp + 0x48]
mov edx, dword [esi + 4]
mov dword [ebx + edx + 0x14], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x1004af1b
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004af20
call fcn.10149775
mov ecx, dword [esi + 4]
cmp dword [ebx + ecx + 8], 0
je 0x1004b041
mov eax, ecx
test eax, eax
je 0x1004af4e
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004af53
call fcn.10149775
mov eax, dword [esi + 4]
add eax, ebx
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, eax
call edx
push eax
lea ecx, [edi + 0x88]
mov byte [esp + 0x264], 0xe
call fcn.100e740c
lea ecx, [esp + 0x12c]
mov byte [esp + 0x260], 0xb
call fcn.1000b680
mov eax, dword [esi + 4]
test eax, eax
je 0x1004afb5
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004afba
call fcn.10149775
mov eax, dword [esi + 4]
add eax, ebx
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov edx, dword [edx + 0x34]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, eax
call edx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x26c], 0xf
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
call fcn.10001ec0
cmp dword [esp + 0x7c], 0x10
jb 0x1004b018
mov eax, dword [esp + 0x68]
push eax
call fcn.10149646
add esp, 4
lea ecx, [esp + 0x12c]
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], 0
mov byte [esp + 0x68], 0
mov byte [esp + 0x260], 0xb
call fcn.1000b680
lea ecx, [esp + 0xd0]
push ecx
lea ecx, [esp + 0x1c4]
call fcn.10046d30
mov eax, dword [esi + 4]
test eax, eax
je 0x1004b076
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b07b
call fcn.10149775
mov eax, dword [esi + 4]
test eax, eax
je 0x1004b09c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b0a1
call fcn.10149775
cmp dword [esp + 0xe8], 0x10
jb 0x1004b0bb
mov edx, dword [esp + 0xd4]
push edx
call fcn.10149646
add esp, 4
cmp dword [esp + 0x1d4], 0
jbe 0x1004b63a
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [edi + 0x1570]
mov dword [esp + 0xcc], eax
add eax, 4
push eax
mov dword [esp + 0xcc], 0x1018442c
mov dword [esp + 0x9c], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [edi + 0x20], 0
mov byte [esp + 0x260], 0x11
sete al
test al, al
mov byte [esp + 0x1b], al
jne 0x1004b18d
mov eax, dword [edi + 0x1c]
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
lea ebx, [edi + 0x18]
mov dword [esp + 0x104], eax
jne 0x1004b13c
call fcn.10149775
mov eax, dword [esp + 0x104]
add eax, 8
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x94], eax
call fcn.1001cdc0
mov eax, dword [esp + 0x90]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x74], ecx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x78], edx
mov eax, dword [eax + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push eax
push ebx
lea ecx, [esp + 0x12c]
push ecx
mov ecx, ebx
call fcn.100459e0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
push edx
mov byte [esp + 0x264], 0x10
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [esp + 0x1b], 0
mov eax, dword [esi + 4]
mov dword [esp + 0xc8], 0x10186684
je 0x1004b3e9
test eax, eax
je 0x1004b1da
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b1df
call fcn.10149775
mov ecx, dword [esi + 4]
push 0
add ecx, ebx
call fcn.10066df0
mov eax, dword [esi + 4]
test eax, eax
je 0x1004b20c
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b211
call fcn.10149775
mov eax, dword [esi + 4]
mov ecx, dword [ebx + eax + 0x10]
mov edx, dword [edi + 0x152c]
push 0
push ecx
mov ecx, dword [edi + 0x124]
push edx
call fcn.1012cf46
xor ecx, ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov eax, dword [esi + 4]
cmp eax, ecx
mov byte [esp + 0x260], 0x12
je 0x1004b26d
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b272
call fcn.10149775
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esp + 0x98], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x1004b29f
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b2a4
call fcn.10149775
mov eax, dword [esi + 4]
add eax, ebx
mov dword [esp + 0x90], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x1004b2d1
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b2d6
call fcn.10149775
mov eax, dword [edi]
mov ebx, dword [esi + 4]
add ebx, dword [esp + 0x14]
add eax, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x10]
push ecx
lea edx, [esp + 0x1c4]
push edx
mov ecx, edi
call fcn.10044480
mov ecx, dword [edi + 0x1524]
push eax
mov eax, dword [edi + 0x1528]
push eax
mov eax, dword [esp + 0x98]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [esp + 0x278]
lea edx, [esp + 0x8c]
push edx
mov edx, dword [ebx + 0x10]
push 0
push ecx
push edx
push eax
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x1e0]
push ecx
lea edx, [esp + 0x138]
push edx
mov edx, dword [eax]
mov ecx, edi
call edx
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
mov byte [esp + 0x260], 0x13
je 0x1004b375
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b37a
call fcn.10149775
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x14]
push ebx
call fcn.100668f0
lea ecx, [esp + 0x118]
mov byte [esp + 0x260], 0x12
mov dword [esp + 0x114], 0x10187138
mov dword [esp + 0x118], 0x1018710c
call fcn.1000dbe0
mov eax, dword [esp + 0x84]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x260], 0x10
je 0x1004b3cf
push eax
call fcn.10149646
add esp, 4
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebp
jmp 0x1004b4f9
test eax, eax
je 0x1004b407
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b40c
call fcn.10149775
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x14]
push 0
call fcn.10066df0
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + 0x152c]
push 0
push eax
push ecx
mov ecx, dword [edi + 0x124]
call fcn.1012cf46
mov edx, dword [esp + 0x74]
mov ebx, dword [edi]
push edx
lea eax, [esp + 0x1c4]
push eax
mov ecx, edi
add ebx, 4
call fcn.10044480
mov ecx, dword [edi + 0x1528]
mov edx, dword [edi + 0x1524]
push eax
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
lea eax, [esp + 0x70]
push eax
mov eax, dword [esp + 0x27c]
push 0
push ecx
push edx
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x1e0]
push ecx
lea edx, [esp + 0xd0]
push edx
mov ecx, edi
call eax
mov ebx, eax
mov eax, dword [esi + 4]
test eax, eax
mov byte [esp + 0x260], 0x14
je 0x1004b4bb
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jb 0x1004b4c0
call fcn.10149775
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x14]
push ebx
call fcn.100668f0
lea ecx, [esp + 0xb0]
mov byte [esp + 0x260], 0x10
mov dword [esp + 0xac], 0x10187138
mov dword [esp + 0xb0], 0x1018710c
call fcn.1000dbe0
xor ebp, ebp
lea ecx, [esp + 0x1c0]
push ecx
lea ecx, [edi + 0x88]
call fcn.100e7349
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x1c8]
push edx
lea ecx, [esp + 0xdc]
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], ebp
mov byte [esp + 0xe0], 0
call fcn.10001ec0
cmp dword [esp + 0xe8], 0x10
jb 0x1004b557
mov eax, dword [esp + 0xd4]
push eax
call fcn.10149646
add esp, 4
mov ebx, dword [esp + 0x24]
cmp ebx, ebp
je 0x1004b577
mov ecx, dword [esp + 0x28]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x1004b580
call fcn.10149775
mov ebx, dword [esp + 0x24]
mov byte [ebx + 8], 1
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x1004b5a3
call fcn.10149775
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 4]
add edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
shr edx, 1
push edx
push ebp
push eax
call fcn.10133336
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp eax, ebp
je 0x1004b5d0
push eax
call fcn.10149646
add esp, 4
mov ebx, dword [esp + 0x30]
add ebx, 1
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x30], ebx
mov byte [esp + 0x260], 0xa
call fcn.1000b680
cmp ebx, dword [esp + 0x34]
jge 0x1004b646
jmp 0x1004a97d
lea ecx, [esp + 0x1c0]
call fcn.1000b680
lea ecx, [esp + 0x54]
call fcn.100495c0
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x1004b620
push eax
call fcn.10149646
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jmp 0x10049f55
lea ecx, [esp + 0x1c0]
call fcn.1000b680
lea ecx, [esp + 0x54]
call fcn.100495c0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004b660
push eax
call fcn.10149646
add esp, 4
cmp dword [esp + 0x94], 0
mov eax, dword [esp + 0xa0]
setne bl
test eax, eax
je 0x1004b67f
push eax
call fcn.10149646
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.10149c5e
add esp, 0x250
ret 0x10