Function at 0x10007590
Capabilities:
Contain obfuscated stackstrings
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a515b
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x10216040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x13c]
xor eax, eax
mov dword [ebp - 0x2f4], edi
mov dword [ebp - 0x2e4], eax
xorps xmm0, xmm0
mov dword [ebp - 4], eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x131]
sub eax, ecx
movq qword [ebp - 0x168], xmm0
mov dword [ebp - 0x13c], 0x656c6946
mov dword [ebp - 0x138], 0x616e614d
mov word [ebp - 0x134], 0x6567
mov byte [ebp - 0x132], 0x72
mov dword [ebp - 0x340], 0
mov dword [ebp - 0x33c], 0
mov dword [ebp - 0x338], 0
mov dword [ebp - 0x2ec], eax
je 0x10007685
cmp eax, 0x7fffffff
ja 0x100085a0
push eax
lea ecx, [ebp - 0x340]
call fcn.10002a90
push dword [ebp - 0x2ec]
mov esi, dword [ebp - 0x340]
lea eax, [ebp - 0x13c]
push eax
push esi
call fcn.1017c530
mov eax, dword [ebp - 0x2ec]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x33c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
lea eax, [ebp - 0x13d]
mov dword [ebp - 0x144], 0x50746547
sub eax, ecx
mov word [ebp - 0x140], 0x7461
mov byte [ebp - 0x13e], 0x68
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x2ec], eax
je 0x10007718
cmp eax, 0x7fffffff
ja 0x100085a5
push eax
lea ecx, [ebp - 0x334]
call fcn.10002a90
push dword [ebp - 0x2ec]
mov esi, dword [ebp - 0x334]
lea eax, [ebp - 0x144]
push eax
push esi
call fcn.1017c530
mov eax, dword [ebp - 0x2ec]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x330], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2e4]
push eax
lea edx, [ebp - 0x340]
mov dword [ebp - 0x168], 0
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x328], edx
lea eax, [ebp - 0x328]
mov dword [ebp - 0x2e4], ecx
push eax
sub ecx, edx
mov dword [ebp - 0x164], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x160], 0
imul ecx
lea ecx, [ebp - 0x168]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.1000bbb0
push fcn.10002b90
push 2
push 0xc
lea eax, [ebp - 0x340]
mov byte [ebp - 4], 4
push eax
call fcn.10178a3e
push edi
lea ecx, [ebp - 0x15c]
call fcn.1000d690
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x180]
push 0x40
xorps xmm0, xmm0
mov dword [ebp - 0x170], 0
push str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
movups xmmword [ebp - 0x180], xmm0
mov dword [ebp - 0x16c], 0
call fcn.1000d570
push 0x58
mov byte [ebp - 4], 6
call fcn.1002aa88
mov esi, eax
add esp, 4
mov dword [ebp - 0x2f0], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x10007837
push 0x58
push 0
push esi
call fcn.1017cab0
add esp, 0xc
lea eax, [ebp - 0x324]
push dword [ebp - 0x168]
push eax
call fcn.10029f40
mov ecx, eax
mov eax, 1
mov byte [ebp - 4], 8
push ecx
mov ecx, esi
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], eax
call fcn.1001b3f0
mov esi, eax
jmp 0x10007839
xor esi, esi
mov dword [ebp - 0x144], esi
mov dword [ebp - 4], 0xb
mov eax, dword [ebp - 0x2e8]
test al, 1
je 0x100078ae
mov ecx, dword [ebp - 0x310]
and eax, 0xfffffffe
mov dword [ebp - 0x2e8], eax
cmp ecx, 0xf
jbe 0x10007893
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007889
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085aa
push ecx
push edx
call fcn.10178716
add esp, 8
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0xf
mov byte [ebp - 0x324], 0
mov eax, dword [ebp - 0x168]
add eax, 0xc
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.10029f40
mov edi, dword [esi + 4]
add edi, 4
mov dword [ebp - 0x2e4], eax
cmp edi, eax
je 0x1000793f
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x1000790d
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x100078fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085af
mov eax, edx
push ecx
push eax
call fcn.10178716
mov eax, dword [ebp - 0x2e4]
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x2f8]
cmp ecx, 0xf
jbe 0x10007979
mov edx, dword [ebp - 0x30c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000796f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085af
push ecx
push edx
call fcn.10178716
add esp, 8
mov ecx, dword [esi + 4]
add ecx, 0x4c
cmp ecx, 0x102211f0
je 0x100079a6
cmp dword [0x10221204], 0xf
mov eax, 0x102211f0
push dword [0x10221200]
cmova eax, dword [0x102211f0]
push eax
call fcn.1000aa50
mov edi, dword [ebp - 0x2f4]
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x100079b6
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 2
push 0x101f1278
call fcn.1000c560
add esp, 8
test al, al
jne 0x100079f0
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x100079d6
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 2
push 0x101f127c
call fcn.1000c560
add esp, 8
test al, al
je 0x10007ac0
mov edx, edi
lea ecx, [ebp - 0x30c]
call fcn.100131f0
mov edi, eax
lea eax, [ebp - 0x15c]
cmp eax, edi
je 0x10007a86
mov ecx, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x10007a43
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007a39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085b4
push ecx
push edx
call fcn.10178716
add esp, 8
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x15c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x14c], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp - 0x2f8]
cmp ecx, 0xf
jbe 0x10007ac0
mov edx, dword [ebp - 0x30c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007ab6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085b4
push ecx
push edx
call fcn.10178716
add esp, 8
push 0xb0
lea eax, [ebp - 0x2e0]
push 0
push eax
call fcn.1017cab0
add esp, 8
lea ecx, [ebp - 0x2e0]
call fcn.1000a230
push 0xb0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xc
push 0
push eax
call fcn.1017cab0
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.1000a230
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
call fcn.1000d690
lea ecx, [ebp - 0x13c]
call fcn.10012080
add esp, 0x18
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x138]
mov edi, dword [ebp - 0x13c]
mov dword [ebp - 0x2f4], eax
nop
cmp edi, eax
je 0x10007cd8
push 0x104
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.1017cab0
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0xf
jbe 0x10007b68
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x130]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x2f8], 0
movups xmmword [ebp - 0x30c], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007ba4
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.1000d570
or dword [ebp - 0x2e8], 0x40
mov edx, edi
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x324]
call fcn.10011710
mov byte [ebp - 4], 0x10
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x10007be6
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebp - 0x2d0]
call fcn.1000c310
add esp, 4
mov edx, 0x101f1274
mov ecx, eax
call fcn.1000b910
cmp dword [ebp - 0x2f8], 0xf
lea edx, [ebp - 0x30c]
push dword [ebp - 0x2fc]
cmova edx, dword [ebp - 0x30c]
mov ecx, eax
call fcn.1000c310
add esp, 4
mov edx, 0x101f1274
mov ecx, eax
call fcn.1000b910
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x310]
cmp ecx, 0xf
jbe 0x10007c71
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007c67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085b9
push ecx
push edx
call fcn.10178716
add esp, 8
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 0xf
mov byte [ebp - 0x324], 0
cmp ecx, 0xf
jbe 0x10007cca
mov edx, dword [ebp - 0x30c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007cc0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085b9
push ecx
push edx
call fcn.10178716
add esp, 8
mov eax, dword [ebp - 0x2f4]
add edi, 0x18
jmp 0x10007b40
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.1000a9d0
sub esp, 0x18
lea eax, [ebp - 0x15c]
mov ecx, esp
push eax
call fcn.1000d690
lea ecx, [ebp - 0x13c]
call fcn.100119c0
add esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x138]
mov edi, dword [ebp - 0x13c]
mov dword [ebp - 0x2f0], ecx
mov dword [ebp - 0x2e4], edi
cmp edi, ecx
je 0x100080b0
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10007d34
mov eax, dword [edi]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x328], eax
cmp eax, 0xffffffff
je 0x10007d7a
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x328]
mov edi, eax
mov dword [ebp - 0x2ec], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x10007d88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x2ec], edi
lea ecx, [ebp - 0x17]
nop dword [eax + eax]
mov eax, 0xcccccccd
dec ecx
mul edi
mov dword [ebp - 0x2f4], ecx
shr edx, 3
mov al, dl
mov cl, dl
shl al, 2
mov edi, edx
add cl, al
mov eax, dword [ebp - 0x2ec]
add cl, cl
sub al, cl
mov ecx, dword [ebp - 0x2f4]
add al, 0x30
mov byte [ecx], al
mov eax, edx
mov dword [ebp - 0x2ec], eax
test eax, eax
jne 0x10007d90
push ecx
lea eax, [ebp - 0x17]
push eax
push ecx
lea ecx, [ebp - 0x324]
call fcn.10002dc0
or dword [ebp - 0x2e8], 0x30
push 0x104
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x12
push 0
push eax
call fcn.1017cab0
mov edi, dword [ebp - 0x2e4]
add esp, 0xc
mov eax, edi
cmp dword [edi + 0x14], 0xf
jbe 0x10007e0e
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x130]
push ecx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
xorps xmm0, xmm0
mov dword [ebp - 0x2fc], 0
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x2f8], 0
movups xmmword [ebp - 0x30c], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007e50
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0x30c]
call fcn.1000d570
or dword [ebp - 0x2e8], 8
mov byte [ebp - 4], 0x13
mov ecx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x10007e81
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push 2
sub esp, 8
call fcn.10015120
add esp, 0xc
cmp eax, 0xffffffff
je 0x10007eef
lea ecx, [eax + 1]
mov dword [ebp - 0x330], 0
mov eax, dword [edi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x32c], 0
movups xmmword [ebp - 0x340], xmm0
cmp eax, ecx
jb 0x100085be
sub eax, ecx
or edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x10007ed7
mov eax, dword [edi]
add eax, ecx
lea ecx, [ebp - 0x340]
push edx
push eax
call fcn.1000d570
or dword [ebp - 0x2e8], 6
jmp 0x10007f02
push edi
lea ecx, [ebp - 0x340]
call fcn.1000d690
or dword [ebp - 0x2e8], 2
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x340]
cmp dword [ebp - 0x32c], 0xf
lea ecx, [ebp - 0x220]
push dword [ebp - 0x330]
cmova edx, dword [ebp - 0x340]
call fcn.1000c310
add esp, 4
mov edx, 0x101f1274
mov ecx, eax
call fcn.1000b910
cmp dword [ebp - 0x2f8], 0xf
lea edx, [ebp - 0x30c]
push dword [ebp - 0x2fc]
cmova edx, dword [ebp - 0x30c]
mov ecx, eax
call fcn.1000c310
add esp, 4
mov edx, 0x101f1274
mov ecx, eax
call fcn.1000b910
mov edx, 0x101f1280
mov ecx, eax
call fcn.1000b910
mov edx, 0x101f1274
mov ecx, eax
call fcn.1000b910
cmp dword [ebp - 0x310], 0xf
lea edx, [ebp - 0x324]
push dword [ebp - 0x314]
cmova edx, dword [ebp - 0x324]
mov ecx, eax
call fcn.1000c310
add esp, 4
mov edx, 0x101f1274
mov ecx, eax
call fcn.1000b910
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x32c]
cmp ecx, 0xf
jbe 0x10007ff0
mov edx, dword [ebp - 0x340]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10007fe6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085c3
push ecx
push edx
call fcn.10178716
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x2f8]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 0xf
mov byte [ebp - 0x340], 0
cmp ecx, 0xf
jbe 0x10008049
mov edx, dword [ebp - 0x30c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000803f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085c3
push ecx
push edx
call fcn.10178716
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f8], 0xf
mov byte [ebp - 0x30c], 0
cmp ecx, 0xf
jbe 0x100080a2
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008098
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085c3
push ecx
push edx
call fcn.10178716
add esp, 8
mov ecx, dword [ebp - 0x2f0]
add edi, 0x18
jmp 0x10007d1c
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xd
call fcn.1000a9d0
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.1000a140
mov edi, dword [esi + 4]
add edi, 0x7c
mov dword [ebp - 0x2f0], eax
cmp edi, eax
je 0x1000814c
mov ecx, dword [edi + 0x14]
cmp ecx, 0xf
jbe 0x1000811a
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x1000810a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085c8
mov eax, edx
push ecx
push eax
call fcn.10178716
mov eax, dword [ebp - 0x2f0]
add esp, 8
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x310]
cmp ecx, 0xf
jbe 0x10008186
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000817c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085c8
push ecx
push edx
call fcn.10178716
add esp, 8
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x230]
call fcn.1000a140
push eax
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x15
push eax
call fcn.10029e50
mov edi, dword [esi + 4]
mov ecx, eax
add edi, 0xdc
mov dword [ebp - 0x2f0], ecx
cmp edi, ecx
je 0x1000822f
mov eax, dword [edi]
test eax, eax
je 0x1000820b
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, 0x1000
jb 0x100081e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085cd
mov eax, edx
push ecx
push eax
call fcn.10178716
mov ecx, dword [ebp - 0x2f0]
add esp, 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov eax, dword [ecx + 8]
mov dword [edi + 8], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov ecx, dword [ebp - 0x13c]
test ecx, ecx
je 0x10008287
mov edx, dword [ebp - 0x134]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x1000825f
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085cd
push edx
push ecx
call fcn.10178716
add esp, 8
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x310]
cmp ecx, 0xf
jbe 0x100082c5
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100082bb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085cd
push ecx
push edx
call fcn.10178716
add esp, 8
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x15c]
add ecx, 0xac
cmp ecx, eax
je 0x100082f2
cmp dword [ebp - 0x148], 0xf
push dword [ebp - 0x14c]
cmova eax, dword [ebp - 0x15c]
push eax
call fcn.1000aa50
lea eax, [ebp - 0x324]
mov ecx, esi
push eax
call fcn.1001d530
mov byte [ebp - 4], 0x16
mov ecx, dword [0x10221060]
push eax
call fcn.10027190
mov ecx, dword [ebp - 0x310]
cmp ecx, 0xf
jbe 0x1000834a
mov edx, dword [ebp - 0x324]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10008340
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085d2
push ecx
push edx
call fcn.10178716
add esp, 8
lea ecx, [ebp - 0x230]
call fcn.100074c0
lea ecx, [ebp - 0x2e0]
call fcn.100074c0
test esi, esi
je 0x10008376
mov ecx, esi
call fcn.1000ab80
push 0x58
push esi
call fcn.10178716
add esp, 8
mov ecx, dword [ebp - 0x16c]
cmp ecx, 0xf
jbe 0x100083b0
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100083a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085d7
push ecx
push edx
call fcn.10178716
add esp, 8
mov ecx, dword [ebp - 0x148]
cmp ecx, 0xf
jbe 0x100083ea
mov edx, dword [ebp - 0x15c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100083e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100085d7
push ecx
push edx
call fcn.10178716
add esp, 8
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
call fcn.1000a950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101786e5
mov esp, ebp
pop ebp
ret 4
call fcn.10002a80
call fcn.10002a80
call fcn.1018001f
call fcn.1018001f
call fcn.1018001f
call fcn.1018001f
call fcn.10002920
call fcn.1018001f
call fcn.1018001f
call fcn.1018001f
call fcn.1018001f
call fcn.1018001f
int3