Function at 0xa1bfc3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0xc64388
call fcn.00be12c8
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0xd7c420]
push edi
lea edi, [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, edi
mov dword [ebp - 0x1c], edi
call fcn.0042d5a8
push eax
mov ecx, esi
call fcn.00670865
mov esi, dword [0xd7c46c]
mov ecx, edi
mov ebx, eax
call fcn.0042d5a8
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx]
xor edi, edi
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0x21
push eax
push 0xe
call fcn.00a23d1a
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.0042abbb
mov eax, dword [eax + 4]
push dword [esi + 0x20c4]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0x20bc]
push eax
mov dword [ebp - 4], edi
call fcn.00419768
push dword [ebx + 0x68]
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x60]
push eax
call fcn.00419768
mov ecx, dword [ebp - 0x20]
add esp, 0x10
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x28], eax
push edi
call fcn.005243ad
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00a24ca1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0042d822
push dword [esi + 0x20dc]
lea eax, [esi + 0x20d4]
push eax
call fcn.00419768
push dword [ebx + 0x20]
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0x18]
push eax
call fcn.00419768
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push edi
push edi
push dword [ebp + 8]
push 1
push dword [ebp - 0x28]
push eax
call fcn.00a249e0
push dword [esi + 0x20e8]
lea eax, [esi + 0x20e0]
push eax
call fcn.00419768
push dword [ebx + 0x38]
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0x30]
push eax
call fcn.00419768
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push edi
push edi
push dword [ebp + 8]
push 2
push dword [ebp - 0x28]
push eax
call fcn.00a249e0
push dword [esi + 0x20f4]
lea eax, [esi + 0x20ec]
push eax
call fcn.00419768
push dword [ebx + 0x2c]
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0x24]
push eax
call fcn.00419768
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push edi
push edi
push dword [ebp + 8]
push 3
push dword [ebp - 0x28]
push eax
call fcn.00a249e0
push dword [esi + 0x2100]
lea eax, [esi + 0x20f8]
push eax
call fcn.00419768
push dword [ebx + 0x44]
mov dword [ebp - 0x28], eax
lea eax, [ebx + 0x3c]
push eax
call fcn.00419768
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push edi
push edi
push dword [ebp + 8]
push 4
push dword [ebp - 0x28]
push eax
call fcn.00a249e0
push dword [ebx + 0x50]
lea eax, [ebx + 0x48]
push eax
call fcn.00419768
push dword [esi + 0x210c]
add esi, 0x2104
push esi
mov dword [ebp - 0x28], eax
call fcn.00419768
push dword [ebx + 0x50]
mov esi, eax
lea eax, [ebx + 0x48]
push eax
call fcn.00419768
add esp, 0x18
xor ecx, ecx
cmp dword [ebp - 0x28], edi
push edi
sete cl
push ecx
push dword [ebp + 8]
push 5
push esi
mov esi, dword [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00a249e0
push dword [ebx + 0x5c]
lea eax, [ebx + 0x54]
push eax
call fcn.00419768
pop ecx
pop ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.00a1754c
mov ecx, dword [ebp - 0x1c]
call fcn.0042d5a8
cdq
mov ecx, 0x2710
idiv ecx
cmp eax, 0x86
jne 0xa1c23e
add dword [esi + 0x424], 0x12
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push 0xe
push eax
mov ecx, esi
call fcn.00a231fc
lea eax, [ebp - 0x28]
push 0x1758
push eax
mov dword [ebp - 4], 1
call fcn.00877d11
mov ecx, eax
call fcn.00406bc6
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042d27a
push eax
mov eax, dword [ebp + 8]
add eax, 0x9f
push eax
mov ecx, esi
call fcn.00a2416a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406a50
push 3
push edi
lea ecx, [ebp - 0x48]
call fcn.00403001
cmp dword [esi + 0x10], edi
mov dword [ebp - 4], 4
jne 0xa1c25f
push 0x80004003
call fcn.00be0541
mov ecx, dword [esi + 0x10]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042ab76
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 6
call fcn.00402973
cmp eax, edi
pop ecx
jge 0xa1c287
push eax
call fcn.00be0541
mov eax, dword [0xd7c420]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
call fcn.0042d5a8
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0067c0d3
push 3
push 0xff
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], eax
call fcn.00403001
xor eax, eax
cmp dword [ebp - 0x1c], edi
mov byte [ebp - 4], 7
sete al
mov dword [ebp - 0x20], eax
mov eax, dword [esi + eax*4 + 0x8cc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0xa1c2df
push 0x80004003
call fcn.00be0541
mov eax, dword [ebp - 0x14]
sub esp, 0x10
mov ecx, dword [eax]
mov edi, esp
push dword [ebp - 0x28]
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea edx, [esi + 0x68]
push edx
push 0x60
push eax
mov dword [ebp - 0x24], eax
call dword [ecx + 0x80]
test eax, eax
jge 0xa1c315
push 0xd3b9b8
push dword [ebp - 0x24]
push eax
call fcn.00be054f
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c32d
push eax
call fcn.00be0541
push 3
push 0xff
lea ecx, [ebp - 0x38]
call fcn.00403001
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4 + 0x8d4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 8
jne 0xa1c364
push 0x80004003
call fcn.00be0541
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
lea ecx, [esi + 0x74]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x28]
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
push 0x60
push eax
mov dword [ebp - 0x24], eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x80]
xor edi, edi
cmp eax, edi
jge 0xa1c399
push 0xd3b9b8
push dword [ebp - 0x24]
push eax
call fcn.00be054f
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.00402973
cmp eax, edi
pop ecx
jge 0xa1c3b1
push eax
call fcn.00be0541
cmp dword [ebp - 0x1c], edi
je 0xa1c663
mov edi, dword [ebp + 0xc]
push dword [edi + 0xdd]
lea esi, [edi + 0x49]
lea eax, [esi + 0x92]
push eax
call fcn.00487874
pop ecx
mov byte [ebp - 0xd], al
mov eax, dword [0xd7c420]
pop ecx
lea ecx, [edi + 0xc]
mov dword [ebp - 0x28], eax
call fcn.0042d5a8
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0067c13f
movzx ecx, byte [ebp - 0xd]
cmp ecx, eax
jne 0xa1c50d
push 3
push 0xff
lea ecx, [ebp - 0x38]
call fcn.00403001
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x8dc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 9
jne 0xa1c42f
push 0x80004003
call fcn.00be0541
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x28]
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, 0x6c
push edx
movsd dword es:[edi], dword [esi]
push 0xa0
push eax
mov dword [ebp - 0x24], eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
jge 0xa1c468
push 0xd3b9b8
push dword [ebp - 0x24]
push eax
call fcn.00be054f
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 6
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c480
push eax
call fcn.00be0541
push 3
push 0xff
lea ecx, [ebp - 0x38]
call fcn.00403001
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x8dc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 0xa
jne 0xa1c4b3
push 0x80004003
call fcn.00be0541
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [eax]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x28]
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add edx, 0x78
push edx
movsd dword es:[edi], dword [esi]
push 0xa0
push eax
mov dword [ebp - 0x24], eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
jge 0xa1c4ec
push 0xd3b9b8
push dword [ebp - 0x24]
push eax
call fcn.00be054f
mov byte [ebp - 4], 6
lea eax, [ebp - 0x38]
push eax
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c859
push eax
call fcn.00be0541
jmp 0xa1c859
test edi, edi
push ecx
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
mov dword [eax + 4], edi
je 0xa1c525
add edi, 4
push edi
call dword [sym.imp.kernel32.dll_InterlockedIncrement]
call fcn.00865559
push dword [esi + 0xa0]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x98]
push eax
call fcn.00419768
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
add esp, 0x10
fidiv dword [ebp - 0x24]
fmul qword [0xc85308]
call fcn.00be26b4
test eax, eax
jge 0xa1c55e
xor eax, eax
jmp 0xa1c565
push 0x63
pop ecx
cmp eax, ecx
jge 0xa1c56a
mov dword [ebp - 0x1c], eax
jmp 0xa1c56d
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x18]
push 1
push ecx
lea edi, [eax + 0x8ec]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
call fcn.0042d1cc
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00a1ca1d
movzx eax, al
push eax
mov eax, dword [ebp + 8]
add eax, 0x6c
push eax
mov esi, 0xa0
push esi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0042d1e7
mov byte [ebp - 4], 6
call fcn.00add442
add esp, 0x18
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push edi
call fcn.0042d1cc
push dword [ebp - 0x1c]
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
push esi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0042d1e7
call fcn.00add442
add esp, 0x18
push 3
push 0xff
lea ecx, [ebp - 0x38]
call fcn.00403001
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x8e4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 0xc
jne 0xa1c61e
push 0x80004003
call fcn.00be0541
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x28]
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0x74
push ecx
movsd dword es:[edi], dword [esi]
push 0xad
push eax
mov dword [ebp - 0x24], eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x80]
test eax, eax
jge 0xa1c657
push 0xd3b9b8
push dword [ebp - 0x24]
push eax
call fcn.00be054f
mov byte [ebp - 4], 6
lea eax, [ebp - 0x38]
jmp 0xa1c4f3
push edi
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x2c], esp
push 0x62a
push eax
call fcn.00877d11
mov ecx, eax
call fcn.00406a03
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x18]
lea ecx, [eax + 0x8f0]
mov byte [ebp - 4], 6
call fcn.00402691
mov ecx, eax
call fcn.00403881
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00403308
cmp eax, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], edi
je 0xa1c6cc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042258b
cmp eax, edi
jge 0xa1c6cc
cmp eax, 0x80004002
je 0xa1c6cc
push eax
call fcn.00be0541
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0x10
call fcn.00402973
cmp eax, edi
pop ecx
jge 0xa1c6e4
push eax
call fcn.00be0541
push 3
push 0xff
lea ecx, [ebp - 0x58]
call fcn.00403001
cmp dword [ebp - 0x1c], edi
mov byte [ebp - 4], 0x11
mov esi, 0x80004003
jne 0xa1c712
push esi
call fcn.00be0541
cmp dword [ebp - 0x1c], edi
jne 0xa1c712
push esi
call fcn.00be0541
cmp dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x1c]
jne 0xa1c721
push esi
call fcn.00be0541
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
call fcn.00411d4a
mov ecx, eax
mov eax, dword [ebp + 8]
sub eax, ecx
add eax, 0x6c
mov ecx, edi
mov dword [ebp - 0x2c], eax
call fcn.00411d23
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x24]
mov ecx, 0xa0
push dword [ebp - 0x2c]
sub ecx, eax
mov eax, dword [esi]
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x80]
test eax, eax
jge 0xa1c77d
push 0xd3b9b8
push dword [ebp - 0x20]
push eax
call fcn.00be054f
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x10
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c795
push eax
call fcn.00be0541
push 3
push 0xff
lea ecx, [ebp - 0x58]
call fcn.00403001
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 4], 0x12
mov esi, 0x80004003
jne 0xa1c7c5
push esi
call fcn.00be0541
cmp dword [ebp - 0x1c], 0
jne 0xa1c7c5
push esi
call fcn.00be0541
cmp dword [ebp - 0x14], 0
mov edi, dword [ebp - 0x1c]
jne 0xa1c7d4
push esi
call fcn.00be0541
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], ecx
call fcn.00411d4a
mov ecx, eax
mov eax, dword [ebp + 8]
sub eax, ecx
add eax, 0x78
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.00411d23
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x2c]
mov ecx, 0xa0
push dword [ebp - 0x24]
sub ecx, eax
mov eax, dword [esi]
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
push dword [ebp - 0x20]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x80]
test eax, eax
jge 0xa1c830
push 0xd3b9b8
push dword [ebp - 0x20]
push eax
call fcn.00be054f
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x10
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c848
push eax
call fcn.00be0541
mov eax, dword [ebp - 0x1c]
test eax, eax
mov byte [ebp - 4], 6
je 0xa1c859
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebx + 0x258], 0
jle 0xa1c9f8
mov eax, dword [ebp + 0xc]
push dword [eax + 0xf5]
add eax, 0xed
push eax
call fcn.00419768
imul eax, eax, 0x64
cdq
idiv dword [ebx + 0x258]
pop ecx
pop ecx
xor ecx, ecx
push 3
mov ebx, 0xff
push ebx
cmp eax, 0xa
setle cl
mov dword [ebp + 0xc], eax
mov esi, ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], esi
call fcn.00403001
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4 + 0x8f4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 0x13
jne 0xa1c8cb
push 0x80004003
call fcn.00be0541
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
sub esp, 0x10
mov edi, esp
push dword [ebp - 0x2c]
lea esi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add ecx, 0x80
push ecx
movsd dword es:[edi], dword [esi]
push 0x60
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp + 8], ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x80]
test eax, eax
jge 0xa1c907
push 0xd3b9b8
push dword [ebp - 0x28]
push eax
call fcn.00be054f
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 6
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c91f
push eax
call fcn.00be0541
mov esi, dword [ebp - 0x24]
test esi, esi
mov eax, dword [ebp - 0x18]
je 0xa1c930
add eax, 0x8c8
jmp 0xa1c935
add eax, 0x8c4
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0042d1cc
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push 0xad
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0042d1e7
call fcn.00add442
add esp, 0x18
push 3
push ebx
lea ecx, [ebp - 0x58]
call fcn.00403001
push 0x20
pop eax
mov byte [ebp - 4], 0x14
call fcn.00be1990
cmp dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + esi*4 + 0x8fc]
mov edi, esp
mov dword [ebp - 0x2c], eax
jne 0xa1c99b
push 0x80004003
call fcn.00be0541
mov ebx, dword [ebp - 0x14]
push 0xa
push edi
push dword [ebp + 0xc]
call fcn.00be22c0
push eax
call fcn.00be1c90
mov ecx, dword [ebx]
mov edi, esp
push dword [ebp - 0x2c]
lea esi, [ebp - 0x58]
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0x1d
lea eax, [eax + eax*2]
shl eax, 1
movsd dword es:[edi], dword [esi]
push eax
push ebx
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x80]
test eax, eax
jge 0xa1c9e0
push 0xd3b9b8
push ebx
push eax
call fcn.00be054f
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 6
call fcn.00402973
test eax, eax
pop ecx
jge 0xa1c9f8
push eax
call fcn.00be0541
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0xa1ca09
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8