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

Disassembly:
push 0xffffffffffffffff
push 0x10159d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x18], al
call fcn.1000bc70
push 0x101913e8
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x14]
push eax
push 0x101913e8
call fcn.1000bf40
mov eax, 0x99
mov ecx, 0x81
mov word [esp + 0x2a], ax
mov word [esp + 0x34], ax
mov word [esp + 0x3e], ax
mov al, byte [0x1019803c]
mov word [esp + 0x2e], cx
mov word [esp + 0x30], cx
mov esi, 0x84
mov edx, 0x9e
mov edi, 0x8c
mov ebp, 0xb2
mov ecx, 0x80
mov dword [esp + 0xac], 1
test al, 1
mov word [esp + 0x24], si
mov word [esp + 0x26], 0x83
mov word [esp + 0x28], dx
mov word [esp + 0x2c], di
mov word [esp + 0x32], bp
mov word [esp + 0x36], si
mov word [esp + 0x38], cx
mov word [esp + 0x3a], 0x88
mov word [esp + 0x3c], dx
mov word [esp + 0x40], di
mov word [esp + 0x42], cx
mov word [esp + 0x44], 0x9d
jne 0x1003a7f0
lea ecx, [esp + 0x24]
push 0xed
or al, 1
push ecx
mov ecx, 0x10198040
mov byte [0x1019803c], al
call fcn.1000f240
push 0x10043bc0
call fcn.1013c36b
add esp, 4
mov dl, byte [esp + 0x13]
mov esi, dword [0x10198040]
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5c], dl
call fcn.1000bc70
push esi
call fcn.1013c2c2
add esp, 4
lea ecx, [esp + 0x58]
push eax
push esi
call fcn.1000bf40
lea eax, [esp + 0x14]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x84]
push ecx
mov ecx, dword [0x10191a54]
push edx
mov byte [esp + 0xb8], 2
call fcn.10058e60
mov ecx, eax
call fcn.10067fe0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 5
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 4
call fcn.1000bc70
mov al, byte [0x1018c567]
mov ecx, 0xb6
mov byte [0x1018c566], al
inc al
mov byte [0x1018c567], al
mov eax, 0xb7
mov word [esp + 0x24], ax
mov word [esp + 0x30], ax
mov word [esp + 0x32], ax
mov word [esp + 0x36], ax
mov al, byte [0x10198044]
mov word [esp + 0x26], bp
test al, 1
mov word [esp + 0x28], 0xa7
mov word [esp + 0x2a], cx
mov word [esp + 0x2c], di
mov word [esp + 0x2e], bp
mov word [esp + 0x34], cx
jne 0x1003a8ee
or al, 1
push 0xd3
mov byte [0x10198044], al
lea eax, [esp + 0x28]
push eax
mov ecx, 0x10198048
call fcn.100158d0
push 0x1003ad30
call fcn.1013c36b
add esp, 4
mov cl, byte [esp + 0x13]
mov edi, dword [0x10198048]
mov byte [esp + 0x58], cl
push ebx
lea ecx, [esp + 0x5c]
call fcn.1000bc70
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x58]
push 1
push esi
call fcn.1000c010
test al, al
je 0x1003a93a
mov edx, dword [esp + 0x5c]
push esi
push edi
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x58]
push esi
call fcn.1000bff0
mov al, byte [0x1019804c]
mov byte [esp + 0xac], 6
test al, 1
mov word [esp + 0x24], 0xffe6
mov word [esp + 0x26], 0xfff2
mov word [esp + 0x28], 0xfff8
mov word [esp + 0x2a], 0xfff1
mov word [esp + 0x2c], 0xfff7
mov word [esp + 0x2e], 0xfff5
mov word [esp + 0x30], 0xfffc
mov word [esp + 0x32], 0xffe2
mov word [esp + 0x34], 0xffec
mov word [esp + 0x36], 0xffe7
jne 0x1003a9b4
or al, 1
mov ecx, 0x10198050
mov byte [0x1019804c], al
lea eax, [esp + 0x24]
push eax
call fcn.10044a50
push 0x1003ad20
call fcn.1013c36b
add esp, 4
mov cl, byte [esp + 0x13]
mov edi, dword [0x10198050]
mov byte [esp + 0x14], cl
push ebx
lea ecx, [esp + 0x18]
call fcn.1000bc70
push edi
call fcn.1013c2c2
add esp, 4
mov esi, eax
lea ecx, [esp + 0x14]
push 1
push esi
call fcn.1000c010
test al, al
je 0x1003aa00
mov edx, dword [esp + 0x18]
push esi
push edi
push edx
call fcn.100017d0
add esp, 0xc
lea ecx, [esp + 0x14]
push esi
call fcn.1000bff0
lea eax, [esp + 0x90]
mov byte [esp + 0xac], 7
push eax
call fcn.10069cb0
mov esi, eax
mov byte [esp + 0xb0], 8
call fcn.1008c4f0
lea ecx, [esp + 0x84]
push eax
lea edx, [esp + 0x60]
push ecx
push edx
lea eax, [esp + 0x24]
push esi
lea ecx, [esp + 0x7c]
push eax
push ecx
call fcn.10094840
add esp, 0x1c
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0xb0], 0xc
call fcn.1000bc70
push 1
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 0xb
call fcn.1000bc70
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 0xa
call fcn.1000bc70
mov dl, byte [0x1018c568]
push 0xfffffffffffffff5
add dl, 0x52
push 0xffffffffffffff97
push edx
push 0xffffffffffffff89
call fcn.10039200
add esp, 0xc
push eax
push 0xffffffffffffffb5
call fcn.10039200
mov al, byte [esp + 0x1f]
add esp, 0xc
mov byte [esp + 0x48], al
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov eax, 0x28d
mov ecx, dword [0x1018c53c]
cdq
idiv dword [0x1018c540]
mov byte [esp + 0xac], 0xd
mov bl, byte [edx + ecx]
mov ecx, dword [0x10191a54]
lea edx, [esp + 0x48]
push edx
call fcn.10058e60
mov ecx, eax
call fcn.10068bd0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
cmp eax, ecx
mov esi, eax
je 0x1003abe8
mov eax, 0x19e
cdq
idiv dword [0x1018c540]
mov eax, dword [0x1018c53c]
mov cl, byte [edx + eax]
push ecx
call fcn.100391c0
mov dl, byte [0x1018c564]
mov ecx, dword [0x10191a54]
add esp, 4
lea eax, [esp + 0x14]
add dl, bl
dec bl
push esi
push eax
mov byte [0x1018c568], dl
call fcn.10058e60
mov ecx, eax
call fcn.10068ae0
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
mov byte [esp + 0xac], 0xe
jne 0x1003ab63
mov ecx, dword [esp + 0x18]
mov byte [esp + 0xac], 0xd
jmp 0x1003ab85
lea ecx, [esp + 0x14]
push 1
push ecx
push esi
lea ecx, [esp + 0x74]
call fcn.10095a40
mov ecx, dword [esp + 0x18]
cmp eax, 0xfffffffe
mov byte [esp + 0xac], 0xd
je 0x1003abc4
cmp ecx, edi
je 0x1003aba7
mov al, byte [ecx - 1]
test al, al
je 0x1003ab9b
cmp al, 0xff
je 0x1003ab9b
dec al
mov byte [ecx - 1], al
jmp 0x1003aba7
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
mov eax, dword [esp + 0x50]
add esi, 0x10
cmp esi, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jne 0x1003aafe
jmp 0x1003abea
cmp ecx, edi
je 0x1003abea
mov al, byte [ecx - 1]
test al, al
je 0x1003abda
cmp al, 0xff
je 0x1003abda
dec al
mov byte [ecx - 1], al
jmp 0x1003abea
lea eax, [ecx - 2]
push eax
call fcn.101307a0
add esp, 4
jmp 0x1003abea
xor edi, edi
mov esi, dword [esp + 0xb4]
mov ecx, dword [esp + 0x6c]
mov dl, byte [esp + 0x68]
cmp ecx, edi
mov byte [esi], dl
jne 0x1003ac03
xor eax, eax
jmp 0x1003ac0c
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 5
cmp eax, edi
jge 0x1003ac12
xor eax, eax
shl eax, 5
push eax
call fcn.1013c2df
mov ecx, dword [esp + 0x70]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x74]
push eax
push ecx
mov ecx, esi
call fcn.100456c0
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov byte [esp + 0xac], 0xf
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov byte [esp + 0xac], 0xd
mov dword [esp + 0xa0], 1
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
cmp edi, eax
mov byte [esp + 0xac], 0xa
mov ebp, eax
je 0x1003ac8c
push 1
mov ecx, edi
call fcn.1000bc70
add edi, 0x10
cmp edi, ebp
jne 0x1003ac78
mov edi, dword [esp + 0x4c]
push edi
call fcn.101307a0
xor edi, edi
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 4
call fcn.10094f40
mov ecx, dword [esp + 0x84]
mov byte [esp + 0xac], 0
cmp ecx, edi
je 0x1003ace5
mov al, byte [ecx - 1]
test al, al
je 0x1003acd9
cmp al, 0xff
je 0x1003acd9
dec al
mov byte [ecx - 1], al
jmp 0x1003ace5
add ecx, 0xfffffffe
push ecx
call fcn.101307a0
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret